debugging a lockup

Andre Guibert de Bruet andy at
Fri Jul 18 20:08:32 PDT 2003

On Fri, 18 Jul 2003, David Hill wrote:

> cu -l /dev/cuaa0 completely locks up my machine...
> How can I debug this?


As usual, update your sources, enable all of the debugging options in your
kernel config file, including DDB. Compile a kernel and ensure that you
have an up-to-date world (Just to make sure that the issue hasn't already
been fixed).

To find out exactly where it's hanging, truss and strace are your friends.
What's the last line that's printed out? Can you break to the debugger
when the machine locks up (CTRL+ALT+ESC)? If so, can you get a backtrace
by means of a 'tr'?


> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. |    >

More information about the freebsd-current mailing list