Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 14:38:07 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Peter Schuller <peter.schuller@infidyne.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Extra battery causes hangs (T40p, FreeBSD 5.1/CURRENT)
Message-ID:  <20030811143709.D75891@carver.gumbysoft.com>
In-Reply-To: <20030811192355.GB23117@infidyne.com>
References:  <20030811013921.GB24952@infidyne.com> <20030811004931.R72106@carver.gumbysoft.com> <20030811192355.GB23117@infidyne.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Aug 2003, Peter Schuller wrote:

> > Are you swapping the CDROM and battery while FreeBSD is booted? FreeBSD
> > does not handle this at all and will get really upset if you attempt it.
>
> Nope. I did try it once to see if it would affect the hang problem, but
> otherwise no.

Well whatever happens its causing some serious memory corruption or
something -- the items you identified all generate interrupts, so the
kernel's trap handler is getting wrecked.

> > You'd have to examine the DSDT table (and perhaps other namespace tables,
> > and dmesg)  to see exactly how the code path changes.  Typically, though,
> > the ACPI device tree already has space reserved for two batteries even if
> > one is not present.
>
> Ok. Do you know of any documentation on how to do this? (I'm not a kernel
> hacker of any kind...)

acpidump is a good place to start, but you'll also need the ACPI
Specification to make heads or tails of it.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030811143709.D75891>