From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 22:25:14 2005 Return-Path: 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 4B98216A4CF for ; Thu, 20 Jan 2005 22:25:14 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B64143D1F for ; Thu, 20 Jan 2005 22:25:13 +0000 (GMT) (envelope-from dwalton@acm.org) Received: (qmail 93994 invoked from network); 20 Jan 2005 22:25:12 -0000 Received: from unknown (HELO ?172.16.1.34?) (unknown) by unknown with SMTP; 20 Jan 2005 22:25:12 -0000 X-pair-Authenticated: 68.127.18.161 Message-ID: <41F02F9A.40201@acm.org> Date: Thu, 20 Jan 2005 14:24:26 -0800 From: Dave Walton User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gleb Smirnoff References: <41EF6101.7010008@acm.org> <20050120092812.GB16150@cell.sick.ru> In-Reply-To: <20050120092812.GB16150@cell.sick.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit cc: Andrew Belashov cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dwalton@acm.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 22:25:14 -0000 Gleb Smirnoff wrote: > On Wed, Jan 19, 2005 at 11:42:57PM -0800, Dave Walton wrote: > D> I've been unable to get APM suspend/resume to work with 5.3-R on my > D> Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine in > D> 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now causes > D> the system to properly suspend to disk, as it had before. However, when > D> the system resumes, it spits out three errors regarding pir0, then > D> panics. This happens with or without your patch applied to ata-all.c. > > pir0? What's that? Based on dmesg output, it's PCI Interrupt Routing Table. Whatever that is. > Anyway this should be another issue, then ATA. Can you pls show exact errors? > Andrew Belashov posted a patch that removes the pir0 errors, but didn't fix the panic. Here is what now appears on the screen when I resume. I hope it makes more sense to you than it does to me. ---------------------------------------------------------------------- kernel trap 12 with interrupts disabled fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc061ed2e stack pointer = 0x10:0xcde52ac8 frame pointer = 0x10:0xcde52ac8 code segment = base 0x8, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 28 (swi5: clock sio) trap number = 12 panic: page fault Uptime: 1m30s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot. --> or switch of the system now. ----------------------------------------------------------------------