kernel panic in usb0; was: RE: using vkbd device
Julian Elischer
julian at elischer.org
Wed Jun 15 19:43:23 GMT 2005
Norbert Koch wrote:
>>>>When quickly connecting/disconnecting
>>>>
>>>>
>>>i guess you mean here unplug the keyboard and then immediately plug it
>>>back, right?
>>>
>>>
>>>
>>sounds like he means "repeatedly."
>>
>>
>
>yes
>
>
>
>>booting with -gd drops you into the (gdb) debugger immediatly..
>>
>>I presume you have a gdb looking at the serial port and have a
>>serial debug port defined then?
>>
>>
>
>Yes.
>That's what I did:
>
>boot -gd && gdb -k kernel.debug && target remote /dev/cuaa0
>
>In gdb "bt" only shows two entries. The function where the panic
>occurred and 0x0!
>
>
that is normal
you don't want to jump into gdb that soon.
there is hardly anything set up.
use the sysctl to enter gdb later.
>BTW, after boot -gd, when gdb attaches I have a kernel panic too.
>But I can just enter "continue" and the kernel continues booting.
>Is that ok?
>
>
what do you mean "panic"?
I never use -gd, just -g
then hitting ^ALT-ESC or using th esysctl makes me enter the debugger
when I need to.
More information about the freebsd-hackers
mailing list