Re: Debug kernel panic with gdb?

2011-03-25 Thread Mulyadi Santosa
On Fri, Mar 25, 2011 at 23:13, Arvid Brodin arvid.bro...@enea.com wrote: To reply to my own email, the problem probably has to do with the fact that the kernel is built with optimization. Modifying KBUILD_CFLAGS in the Makefile to specify -O1 made things a lot better (although you still

Debug kernel panic with gdb?

2011-03-24 Thread Arvid Brodin
Hi, I'm trying to debug a kernel panic (something like this): Unable to handle kernel NULL pointer dereference at virtual address 0014 ptbr = 93959000 pgd = 93a0a000 Oops: Kernel access of bad area, sig: 11 [#1] FRAME_POINTER chip: 0x01f:0x1e82 rev 2 Modules linked in: ftdi_sio usbserial PC