Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to get into ddb after system is booted?



On Wed, 1 Feb 2012, Manuel Bouyer wrote:

On Tue, Jan 31, 2012 at 07:31:32AM -0800, Paul Goyette wrote:
I've got a system with both serial and USB keyboard attached, and I
would like to get into ddb after the system has booted (to
single-user mode).  I've verified that ddb.fromconsole is set and
I've used hw.cnmagic to create a keystroke sequence "QQ" (0x51 0x51)
but it does not get me into ddb.

I don't think hw.cnmagic is handled by wskbd, but ctrl-alt-esc
should work with PS/2 and USB keyboards.

Unfortunately the kernel being booted has wskbd so Ctrl-Alt-ESC does not work.

I was able to get 'gdb -write' to work, although 'crash' did not allow me to write to memory.


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index