blog'o thnet

To content | To menu | To search

Tag - debug

Entries feed - Comments feed

Sunday 28 January 2007

About Kernel Debugging on FreeBSD

After posting about some very interesting entries on how to debug kernel problems in Solaris 10, here are some keywords which may be needed while looking for help on FreeBSD mailing lists. This is just a quick memo, so please read the excellent Kernel Debugging chapter of the FreeBSD Developers's Handbook.

At the debugger prompt, using DDB at the system console:

db> where
db> show pcpu
db> show alllocks
db> ps
db> show lockedvnods
db> show lockedbufs

Good luck!

Saturday 6 January 2007

Kernel Debugger in Solaris 10

Here is a little note to point out those two blog entries on how to debug kernel problem at boot time, from Dan Mick and Eric Lowe, respectively.

Too bad i didn't have a serial console on my Sun Ultra 20 workstation. I will try these steps when U20 will be near my hands, though.