How to find the cause of a hang

Greg 'groggy' Lehey grog at FreeBSD.org
Sat Aug 14 14:54:24 PDT 2004


On Saturday, 14 August 2004 at 12:17:31 +0200, Eirik verby wrote:
> Hi all,
>
> I'm currently experiencing frequent (about once per week) hangs of a
> server that is about 1500 kilometers away from me. I have a serial
> cable on the box, and using minicom on the neighbor box I am now in the
> kernel debugger - but I'm at a complete loss as to what to do to figure
> out what is, in fact, wrong.
>
> Calling panic or boot doesn't work - it just stops at "syncing
> disks..." and never actually reboots. I suspect something fishy going
> on with disk I/O, but I can't be certain of that.
> The box responds to ping - until I call panic or boot - but no other
> services are working.
>
> What can I do? I'm now at the db> prompt ... Help :)

Well, one possibility would be to debug online.  But dumping seems to
be broken on recent versions of -CURRENT--see my message on the topic
yesterday.  Try 'call doadump' instead of 'panic'.

Greg
--
Note: I discard all HTML mail unseen.
Finger grog at FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040815/590c3bb2/attachment.bin


More information about the freebsd-current mailing list