Re: 5.0 and Thinkpad T20: ACPI related panics

Mark Santcroos <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Mon, Jan 20, 2003 at 08:01:50PM +0100, Lukas Ertl wrote:
> On Mon, 20 Jan 2003, Mark Santcroos wrote:
> 
> > Try to do a switch to the console before suspending if you are in X.
> > Does that work?
> 
> Suspending works, but when I resume again I get a kernel panic. The
> strange thing is that it doesn't dump core onto the swap device, although
> I configured dumpdev in /etc/rc.conf. So I only have this info from the
> panic:
> 
> pcm0: detached
> csa: card is Thinkpad 600X/A20/T20
> pcm0: <CS461x PCM Audio> on csa0
> wakeup from sleeping state (slept 00:00:15)
> ata0: resetting devices ..
> done
> ata1: resetting devices ..
> done
> pcm0: unregister: mixer busy
> csa: card is Thinkpad 600X/A20/T20
> panic: resource_list_alloc: resource entry is busy
> 
> syncing disks, buffers remaining... panic: bwrite: buffer is not busy???
> Uptime: 2m7s
> Dumping 255 MB                      <----- it says so, but it doesn't dump
> ata0: resetting devices ..
> 
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x24
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc025c166
> stack pointer           = 0x10:0xcd26ec88
> frame pointer           = 0x10:0xcd26ec88
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 20 (irq11: cbb0 cbb1+++)
> trap number             = 12
> panic: page fault
> Uptime: 2m7s
> pfs_vncache_unload(): 1 entries remaining
> Automatic reboot in 15 seconds - press a key on the console to abort
> Rebooting...

Do you have pccards inserted? If so, try to remove them before suspending.

> Did the APM code change so much? All that worked perfectly under 4.7.

Are you sure your system has apm btw? Is it in your dmesg?

> Another question: what's that hint.apm.0.flags="0x20" in
> /boot/device.hints for?

See sys/i386/conf/NOTES.

> > You can automate that using vidcontrol in your apmd.conf.
> 
> Oh, how can I do that?

Something in the order of in apmd.conf:
vidcontrol -s 1 < /dev/console

Mark

-- 
Mark Santcroos                    RIPE Network Coordination Centre
http://www.ripe.net/home/mark/    New Projects Group/TTM

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.