From owner-freebsd-mobile Tue Jan 21 0:41:29 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C32B037B405 for ; Tue, 21 Jan 2003 00:41:26 -0800 (PST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id E900F43F65 for ; Tue, 21 Jan 2003 00:41:24 -0800 (PST) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id h0L8fNAq018740; Tue, 21 Jan 2003 09:41:23 +0100 Received: (nullmailer pid 878 invoked by uid 1000); Tue, 21 Jan 2003 07:29:40 -0000 Date: Tue, 21 Jan 2003 08:29:40 +0100 From: Mark Santcroos To: Lukas Ertl Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 5.0 and Thinkpad T20: ACPI related panics Message-ID: <20030121072940.GA746@laptop.6bone.nl> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120195526.T358@leelou.in.tern> User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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