Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 08:29:40 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        Lukas Ertl <l.ertl@univie.ac.at>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: 5.0 and Thinkpad T20: ACPI related panics
Message-ID:  <20030121072940.GA746@laptop.6bone.nl>
In-Reply-To: <20030120195526.T358@leelou.in.tern>
References:  <20030119223421.X363@leelou.in.tern> <20030120112334.GH12516@poup.poupinou.org> <20030120184751.Q358@leelou.in.tern> <20030120183509.GB624@laptop.6bone.nl> <20030120195526.T358@leelou.in.tern>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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