Subject: Re: 4.99.51 kernel crashes while detecting a PCI card
To: Matthias Scheler <tron@zhadum.org.uk>
From: Martin Husemann <martin@duskware.de>
List: port-sparc64
Date: 02/02/2008 01:52:25
On Sat, Feb 02, 2008 at 12:18:27AM +0000, Matthias Scheler wrote:
> How what I do that?

Matt is right, this is not an unaligned access but a null pointer deref.
Just build the same kernel with makeoptions DEBUG=-g, then do

  gdb netbsd.gdb

and check the pc that the crash reported, like "list *(0xXXXXX)".

Martin