Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2016 01:47:32 -0800
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Jeremie Le Hen <jlh@FreeBSD.org>
Cc:        Adrian Chadd <adrian.chadd@gmail.com>, Ryan Stone <rysto32@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@freebsd.org>
Subject:   Re: Panic from vesa_configure()
Message-ID:  <201601070947.u079lWFk066644@slippy.cwsent.com>
In-Reply-To: Message from Jeremie Le Hen <jlh@FreeBSD.org> of "Mon, 21 Dec 2015 16:44:45 %2B0100." <CAGSa5y0QiKV9SgJYJ_mz3SnJGNjieHSvYP8nLjt9eWXo4RU6ww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <CAGSa5y0QiKV9SgJYJ_mz3SnJGNjieHSvYP8nLjt9eWXo4RU6ww@mail.gmail.c
om>
, Jeremie Le Hen writes:
> On Mon, Dec 21, 2015 at 12:57 AM, Adrian Chadd <adrian.chadd@gmail.com> 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: <ISA Option ROM> at iomem 0xc0000-0xcc7ff on isa0
vga0: <Generic ISA VGA> 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 <Cy.Schubert@komquats.com> or <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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