From owner-freebsd-current@freebsd.org Thu Jan 7 09:47:38 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5806A66565 for ; Thu, 7 Jan 2016 09:47:37 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6552B10A4; Thu, 7 Jan 2016 09:47:36 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id H7ALa8jHVsChYH7AMacJXI; Thu, 07 Jan 2016 02:47:35 -0700 X-Authority-Analysis: v=2.1 cv=N9CJbzJB c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=BWvPGDcYAAAA:8 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=VxmjJ2MpAAAA:8 a=kj9zAlcOel0A:10 a=7aQ_Q-yQQ-AA:10 a=pGLkceISAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=isE_CQCDc5cZHuKnxqMA:9 a=nTzQWuIkfPFCdLmb:21 a=AXG9owMHHOsl_8ci:21 a=CjuIK1q_8ugA:10 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 3164913751; Thu, 7 Jan 2016 01:47:33 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id u079lWFk066644; Thu, 7 Jan 2016 01:47:32 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201601070947.u079lWFk066644@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Jeremie Le Hen cc: Adrian Chadd , Ryan Stone , FreeBSD Current , =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= Subject: Re: Panic from vesa_configure() In-Reply-To: Message from Jeremie Le Hen of "Mon, 21 Dec 2015 16:44:45 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Jan 2016 01:47:32 -0800 X-CMAE-Envelope: MS4wfGhHJN26WTwSgh5+13LYqx5gPaJ6oVtPi1FNlXiguv086xEHkc744NWLLQq4wZcSgVkUcjNQCrAXFQheZxHYrUdO/Ncl4I9LYNmxb/lWPXxpmSWp1fdr KLKtnZqqZXYRHmswZXnWTPCQjRNRAGky6jR7aK0Pl7aN1qm3yxEpgK51kkY0OB8essv2xkKMokEiS5shoAFf1lyOWfTReEqV8Q/d/lR7GFBPOs+67Wx818J3 PICUvWUXJ5XRDiEi2HpxP0/DaUWvK36MGVXeLUFJIcCYbecuD1woJFE6NucPLCbKMZPj94+VPYV4KT6sDTiObw== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 09:47:38 -0000 In message , Jeremie Le Hen writes: > On Mon, Dec 21, 2015 at 12:57 AM, Adrian Chadd wrote > : > > can you copy/paste the file:line that each of those stackframes represents? > > > > I may have an idea or two.. > > Sure here we go: > > (kgdb) list *vesa_configure+0x270 > 0xffffffff80b25cd0 is in vesa_configure (/usr/src-svn/sys/dev/fb/vesa.c:827). > > (kgdb) list *vga_init+0x65 > 0xffffffff80b286e5 is in vga_init (/usr/src-svn/sys/dev/fb/vga.c:1402). > > (kgdb) list *isavga_attach+0x92 > 0xffffffff80b9afd2 is in isavga_attach (/usr/src-svn/sys/isa/vga_isa.c:224). Here is what I see. Only happens on real hardware (not VirtualBox VMs). uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) acpi_alloc_wakeup_handler: can't alloc wake memory orm0: at iomem 0xc0000-0xcc7ff on isa0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write data, page not present instruction pointer = 0x20:0xffffffff80bb7284 stack pointer = 0x28:0xffffffff81e4f960 frame pointer = 0x28:0xffffffff81e4f970 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff81e4f4f0 vpanic() at vpanic+0x182/frame 0xffffffff81e4f570 panic() at panic+0x43/frame 0xffffffff81e4f5d0 trap_fatal() at trap_fatal+0x351/frame 0xffffffff81e4f630 trap_pfault() at trap_pfault+0x1e4/frame 0xffffffff81e4f690 trap() at trap+0x46e/frame 0xffffffff81e4f8a0 calltrap() at calltrap+0x8/frame 0xffffffff81e4f8a0 --- trap 0xc, rip = 0xffffffff80bb7284, rsp = 0xffffffff81e4f970, rbp = 0xffffffff81e4f970 --- bcopy() at bcopy+0x24/frame 0xffffffff81e4f970 vesa_configure() at vesa_configure+0x270/frame 0xffffffff81e4fb60 vga_init() at vga_init+0x65/frame 0xffffffff81e4fb80 isavga_attach() at isavga_attach+0x92/frame 0xffffffff81e4fbc0 device_attach() at device_attach+0x420/frame 0xffffffff81e4fc20 isa_probe_children() at isa_probe_children+0x211/frame 0xffffffff81e4fc90 mi_startup() at mi_startup+0x108/frame 0xffffffff81e4fcb0 btext() at btext+0x2c Uptime: 1s acpi0: reset failed - timeout Automatic reboot in 15 seconds - press a key on the console to abort It's getting late here. I'll try digging around tomorrow. -- Cheers, Cy Schubert or FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.