From owner-freebsd-acpi@FreeBSD.ORG Thu Jan 29 20:16:50 2015 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A7BE751 for ; Thu, 29 Jan 2015 20:16:50 +0000 (UTC) Received: from nm8-vm3.bullet.mail.ne1.yahoo.com (nm8-vm3.bullet.mail.ne1.yahoo.com [98.138.91.138]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61E8225B for ; Thu, 29 Jan 2015 20:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1422562603; bh=yyghQQ/xZBojiHioa/5WD+aOgtIcuoBSqfGlkhCwVP0=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=2qcUP6RDhUN2zWNiNJYIaiKsHqsb8k5VJ4fkDI9f5/KvnyR5Jl1+J5HDOo2hFI1rRSTrnreu3a5ezqDhEgyl/7DXA2GodiB+9fFpN3MW4TEyKKUG7Vmcj3DEHbmw93swuJIYrvKtDNgR/c0VbQjwSjafiPid84yrdiSF2/N4B/g= Received: from [98.138.100.114] by nm8.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jan 2015 20:16:43 -0000 Received: from [98.138.226.127] by tm105.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jan 2015 20:16:43 -0000 Received: from [127.0.0.1] by smtp206.mail.ne1.yahoo.com with NNFMP; 29 Jan 2015 20:16:43 -0000 X-Yahoo-Newman-Id: 15736.70300.bm@smtp206.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _nUjATYVM1kOKhLnF.C9fVl1TPowPikYH8NWNEv7YpjUfIc ppU.21pQbjKjaefPlmeT8X_GTbDnnZ5AONAYvyjGrloY3JtPDTj8ERZzeD3u FExb_4tZ.LVeuh2lTK2Qur2K.UvEa28FWOO0IqhYZJs5DOdGdO09yl2UtjDl .YLomYXuHgf7Rdury3VdvDoQg2uiFf4JLqWuMEu9w26405SVrv.0hw2B5shq REW1GQcnSQSE1T1gXqdkyq9.HlHqvZ13IHQGleSiUy0q.7KR6ayiXUOzr.rt X5CYXn2oVxy0j1gz4vl.7jneYxuKyFn6QPyv2yYJl4BzW1u6U9m5M83JTkO7 vDwuRTvkx6Jvl5kc2knh386OOsKibg4jRx_fEg6G5z.LlAeyjxh7FV2RF9IU uYGwcVrRDbgueKaYo1bsX9vl1NMIJdiTyTEXxmFA4Dly1f15E9tuTUw2EM4W I7UzphHUqbNv7SAXKNqemWCr.g..Zyxj4NNKuDQd4pMKHVrHvEtUrE7pG1Ib V06MP6gxJSeZhjc5maYZx3LkWs8doRRQKputPeyuLI2oKxQ-- X-Yahoo-SMTP: OKD1keCswBBTAmAF1s00hLyKW3wE3YfSK0Eazl6b4VZG4LTqJxg- Message-ID: <54CA9529.1060903@att.net> Date: Thu, 29 Jan 2015 15:16:41 -0500 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Mohammad Najafi , Adrian Chadd Subject: Re: Fwd: Activating Suspend/Resume on FreeBSD 10.1 References: <54CA4C9D.4020500@att.net> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 20:16:50 -0000 Ahhh... good ol' VESA driver: Jan 29 23:06:57 MyBSD kernel: Fatal trap 12: page fault while in kernel mode Jan 29 23:06:57 MyBSD kernel: cpuid = 0; apic id = 00 Jan 29 23:06:57 MyBSD kernel: fault virtual address = 0x378 Jan 29 23:06:57 MyBSD kernel: fault code = supervisor read data, page not present Jan 29 23:06:57 MyBSD kernel: instruction pointer = 0x20:0xffffffff809149e1 Jan 29 23:06:57 MyBSD kernel: stack pointer = 0x28:0xfffffe011b3b9480 Jan 29 23:06:57 MyBSD kernel: frame pointer = 0x28:0xfffffe011b3b9500 Jan 29 23:06:57 MyBSD kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Jan 29 23:06:57 MyBSD kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Jan 29 23:06:57 MyBSD kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Jan 29 23:06:57 MyBSD kernel: current process = 996 (acpiconf) Jan 29 23:06:57 MyBSD kernel: trap number = 12 Jan 29 23:06:57 MyBSD kernel: panic: page fault Jan 29 23:06:57 MyBSD kernel: cpuid = 0 Jan 29 23:06:57 MyBSD kernel: KDB: stack backtrace: Jan 29 23:06:57 MyBSD kernel: #0 0xffffffff80963000 at kdb_backtrace+0x60 Jan 29 23:06:57 MyBSD kernel: #1 0xffffffff80928125 at panic+0x155 Jan 29 23:06:57 MyBSD kernel: #2 0xffffffff80d24f1f at trap_fatal+0x38f Jan 29 23:06:57 MyBSD kernel: #3 0xffffffff80d25238 at trap_pfault+0x308 Jan 29 23:06:57 MyBSD kernel: #4 0xffffffff80d2489a at trap+0x47a Jan 29 23:06:57 MyBSD kernel: #5 0xffffffff80d0a782 at calltrap+0x8 Jan 29 23:06:57 MyBSD kernel: #6 0xffffffff80d96ed5 at vesa_bios_save_restore+0x95 Jan 29 23:06:57 MyBSD kernel: #7 0xffffffff80e02296 at vga_suspend+0xa6 Jan 29 23:06:57 MyBSD kernel: #8 0xffffffff80e0258d at isavga_suspend+0x1d Jan 29 23:06:57 MyBSD kernel: #9 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: #10 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: #11 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: #12 0xffffffff8067e97d at pci_suspend+0x5d Jan 29 23:06:57 MyBSD kernel: #13 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: #14 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: #15 0xffffffff8035bc7f at acpi_suspend+0xf Jan 29 23:06:57 MyBSD kernel: #16 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: #17 0xffffffff8095b204 at bus_generic_suspend+0x64 Jan 29 23:06:57 MyBSD kernel: Uptime: 1m7s A frequent recommendation I see is to remove VESA support from your kernel, apparently it has suspend/resume issues. I don't think FreeBSD-10.1 uses the KMS graphics drivers by default, and I /thought/ the recommendation was for KMS systems. Shouldn't hurt to build a kernel without 'options VESA' and see what happens... Anthony On 01/29/2015 02:43 PM, Mohammad Najafi wrote: > Hi, > > I have tried FreeBSD 10.1 boot image and it almost works nicely. > However, my installed FreeBSD 10.1 does not suspend and gives kernel > panic as you can see in the attached kernel log (lines 265 to 313). > > Thanks, > M.Najafi > > > On Thu, Jan 29, 2015 at 6:02 PM, Adrian Chadd > wrote: > > Hi, > > Please try a freebsd-head snapshot and see if that resolves your > issue. > > The fixes may not have been backported. > > Thanks! > > -a > > > On 29 January 2015 at 07:07, Anthony Jenkins > > wrote: > > On 01/29/2015 08:42 AM, Mohammad Najafi wrote: > >> Dear Members: > >> > >> "acpiconf -s 3" results in kernel panic. > >> > >> For more info, I have attached my FreeBSD kernel boot message > > > > I don't see anything in the boot messages about a panic... > > > > Some suggestions: > > > > - You can try to capture a kernel dump. See > > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#kerneldebug-obtain > > - Try the hints in DebuggingSuspendResume on the FreeBSD wiki. See > > https://wiki.freebsd.org/SuspendResume and > > https://wiki.freebsd.org/DebuggingSuspendResume > > - Try running FreeBSD-CURRENT. You can boot it off a USB flash > drive > > and try suspend/resume. > > > > Also read the FreeBSD ACPI stuff at > > https://www.freebsd.org/doc/handbook/acpi-overview.html . > > > > Anthony Jenkins > > > >> Any help is highly welcome. > >> > >> Thanks in advance. > >> M.Najafi > >> > >> > >> _______________________________________________ > >> freebsd-acpi@freebsd.org > mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > >> To unsubscribe, send any mail to > "freebsd-acpi-unsubscribe@freebsd.org > " > > > > _______________________________________________ > > freebsd-acpi@freebsd.org > mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > > To unsubscribe, send any mail to > "freebsd-acpi-unsubscribe@freebsd.org > " > >