tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: network-related deadlock
Maxime Villard <max%m00nbsd.net@localhost> wrote:
> I've disassembled %rip, it points to x86_pause(). So there must be a
> deadlock.
Forgot to mention. VirtualBox has a built-in debugger (if quirky and
idiosyncratic). See
https://www.virtualbox.org/manual/ch12.html#ts_debugger
You can use
$ VirtualBox --startvm $vmname --debug-command-line
to start the VM paused.
To get the symbols you can tell the debugger where the image is,
e.g. for i386:
loadimage "/path/to/host/location/of/netbsd" c0100000
You can unpause the VM from the "Machine" menu and examine its state
when it locks up. You may boot the VM normally, create a snapshot and
then switch the network card attachment to "Not attached" to trigger
the problem. Then you can close the VM and select "Poweroff" and tick
"Restore ..." to quickly get back to the snapshot state.
-uwe
Home |
Main Index |
Thread Index |
Old Index