Tried (and eventually succeeded) installing NetBSD on a machine with
remote console access only.

It's a pretty standard machine (Intel Xeon E3-1240 v5), but I only
have access via a remote console (American Megatrends KVM Remote
Console Utility Version 2.36).

The main issue I had was that the kernel didn't accept any keyboard
inputs when asking for the root device.

I looks like the remote console uses virtual USB devices for the
keyboard and mouse:

[     2.368384] uhidev0: American Megatrends Inc. (0x046b) Virtual
Keyboard and Mouse (0xff10), rev 1.10/1.00, addr 2, iclass 3/1
[     2.368384] uhidev1: American Megatrends Inc. (0x046b) Virtual
Keyboard and Mouse (0xff10), rev 1.10/1.00, addr 2, iclass 3/1

But there is also a PC keyboard device:

[     1.024915] pckbc0 at isa0 port 0x60-0x64
[     1.024915] autoconfiguration error: pckbc: cmd word write error

Not sure what the error is about, but it probably confused the kernel
enough to not have a working keyboard.

So I initially tried to rebuild a kernel without the pckbc driver -
that only got a bit further to the point that the kernel then panicked
in ukbd_set_leds_task. I then disabled that code as well, and it
started working, and I could input the correct root device.

Now that I got it running, keyboard input actually works on the
console (even without my changes).

BTW, the kernel I rebuilt was from HEAD, but I am now using the normal
GENERIC 11.0 beta kernel (and verified again that keyboard input
doesn't work when the kernel asks for the root device, but works to
login via getty).

Any thoughts on this - would there have been an easier way to get
around this? (other than writing the image fully-preconfigured to disk
- but at that point I wasn't sure if the keyboard was the only
problem, and debugging any issues is so much more difficult without
any keyboard)


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Reply via email to