Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 07:31:01 -0600
From:      Brett Glass <brett@lariat.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Remember those spontaneous crashes I was getting? 
Message-ID:  <4.1.0.63.19980921072400.04165170@mail.lariat.org>
In-Reply-To: <199809210754.AAA21394@word.smith.net.au>
References:  <Your message of "Mon, 21 Sep 1998 00:48:03 MDT."             <199809210650.AAA00276@lariat.lariat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:54 AM 9/21/98 -0700, Mike Smith wrote:
 
>> Fatal trap 9: general protection fault while in kernel mode
>> 
>> Instruction pointer = 0x8:0xf0176fb5
>> Stack pointer = 0x10:0xf0199000
>
>Are you 100% sure about these numbers?  The kernel stack pointer 
>shouldn't be higher than the instruction pointer.  This looks like 
>either corrupt code eating %esp or a CPU fault.

I checked my transcript twice.

>There's nothing illegal about this at all; this really looks like a 
>memory read error (bad memory, CPU, cache or motherboard).  You might 
>have received the GPF because the stack pointer is pointing into the 
>kernel text segment (which it probably can't write to).
>
>Corrupting the stack pointer (as opposed to corrupting the contents of 
>the stack) is pretty difficult.  It's also very difficult to track 
>down. 8(

>> As I began to play with the debugger (I really didn't know the commands), I
>> saw:
>> wd0: interrupt timeout
>> wd0: status 50<rdy,seekdone> error 0
>> 
>> ...which may not have meant anything, but then again....

This is a hint. Could the corruption have occurred in the wd0 driver? Could
it have come out because an IRQ occurred at the wrong moment (e.g. while
an ATAPI command was executing and the kernel was busy-waiting)?

--Brett Glass


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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