Date: Thu, 15 Nov 2007 13:07:44 +0100 From: Ed Schouten <ed@fxq.nl> To: Benno Rice <benno@jeamland.net> Cc: current@freebsd.org Subject: Re: Repeatable crash with fdisk Message-ID: <20071115120744.GT17028@hoeg.nl> In-Reply-To: <F8F9FC83-81A3-4529-851B-CB9D3988BDD1@jeamland.net> References: <57A598F5-54A4-433D-9DB2-6141BC50B554@jeamland.net> <F8F9FC83-81A3-4529-851B-CB9D3988BDD1@jeamland.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] * Benno Rice <benno@jeamland.net> wrote: > Fatal trap 12: page fault while in kernel mode > cpuid = 1; apic id = 01 > fault virtual address = 0x20 > fault code = supervisor read data, page not present > instruction pointer = 0x8:0xffffffff80256ac4 > stack pointer = 0x10:0xffffffff9ed19b80 > frame pointer = 0x10:0xffffffff9ed19bd0 > 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 = 2 (g_event) > [thread pid 2 tid 100014 ] > Stopped at g_mbr_config+0x64: movq 0x20(%rax),%r15 > db> bt > Tracing pid 2 tid 100014 td 0xffffff00010946a0 > g_mbr_config() at g_mbr_config+0x64 > g_run_events() at g_run_events+0x1b8 > g_event_procbody() at g_event_procbody+0x57 > fork_exit() at fork_exit+0x11f > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffffff9ed19d30, rbp = 0 --- > db> Are you running FreeBSD/i386? If so, I guess gsp is NULL in g_mbr_config(). Not sure. Can you run the following command: addr2line -e <where kernel.debug is> <instruction pointer> That will return the C statement where it went wrong. Thanks. Yours, -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHPDaQ52SDGA2eCwURAk45AJ0S7iN5uPglqzoNHhWIT6BVCn8vmQCeLW+R oflWxZTSRKm3MZ4K7G99pbI= =SMUI -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115120744.GT17028>
