On Sun, Aug 10, 2025 at 10:18:48PM -0000, Michael van Elst wrote: > cme...@cmeerw.org (Christof Meerwald) writes: > > >[ 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. > > > It's usually vice versa. "Probing" the PC keyboard kills the USB access. > > > >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. > > That I haven't seen and should be analyzed.
This is what I get in that case on the console (screenshotted, OCRed and corrected): 2c0 Stopped in pid 0.216 (system) at netbsd: breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 upanic() at netbsd: upanic+0x171 panic() at netbsd:panic+0x3c usbd_transfer() at netbsd:usbd_transfer+0x5be usbd_do_request_len() at netbsd:usbd_do_request_len+0xdf usbd_do_request() at netbsd:usbd_do_request+0x21 usbd_set_report() at netbsd:usbd_set_report+0x76 ukbd_set_leds_task() at netbsd:ukbd_set_leds_task+0x5d usb_task_thread() at netbsd:usb_task_thread+0xb5 ds 0 es 0 fs 180 gs 5d80 rdi 0 rsi ffffffff81da8000 rbp ffffb4893f1d5dd0 rbx ffffffff813d3363 ostype+0x21613 rdx 1 rcx ffffffffffffff rax 800000000000000 r8 0 r9 0 --db_more-- As there is no working keyboard, there isn't much I can do to get more information at that point. And this is how I changed the config (without that change I only get the error from pckbc as mentioned in my original email): Index: arch/amd64/conf/GENERIC =================================================================== RCS file: /cvsroot/src/sys/arch/amd64/conf/GENERIC,v retrieving revision 1.617 diff -u -r1.617 GENERIC --- arch/amd64/conf/GENERIC 4 Aug 2025 20:03:12 -0000 1.617 +++ arch/amd64/conf/GENERIC 11 Aug 2025 19:10:23 -0000 @@ -432,7 +432,7 @@ # wscons pckbc0 at isa? # pc keyboard controller -pckbd* at pckbc? # PC keyboard +#pckbd* at pckbc? # PC keyboard pms* at pckbc? # PS/2 mouse for wsmouse #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads @@ -443,7 +443,7 @@ options VCONS_DRAW_INTR wsdisplay* at vga? console ? wsdisplay* at wsemuldisplaydev? -wskbd* at pckbd? console ? +#wskbd* at pckbd? console ? wsmouse* at pms? mux 0 wsmouse* at wsmousedev? Christof -- https://cmeerw.org sip:cmeerw at cmeerw.org mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org