NetBSD-Bugs archive

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

kern/41606: PS/2 keyboard and `boot -a' -> pckbport_start: command error



>Number:         41606
>Category:       kern
>Synopsis:       PS/2 keyboard and `boot -a' -> pckbport_start: command error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 16 16:55:00 +0000 2009
>Originator:     Jukka Salmi
>Release:        NetBSD 5.99.12
>Organization:
>Environment:
System: NetBSD moray.salmi.ch 5.99.12 NetBSD 5.99.12 (MORAY) #0: Mon May 25 
17:09:01 CEST 2009 
root%moray.salmi.ch@localhost:/b/build/nbsd/c/i386/sys/arch/i386/compile/MORAY 
i386
Architecture: i386
Machine: i386
>Description:
Using a PS/2 keyboard and booting a current i386 system with the -a option
(RB_ASKNAME, ask for root file system etc.) I'm reproducibly seeing keyboard
port problems:

        [...]
        boot device: raid0
        root device (default raid0a): pckbport_start: command error
        jkfatal breakpoint trap in supervisor mode
        [...]
        db{0}> reboot 0x4

As can be seen above, I can't specify the root device because the system
doesn't seem to receive the keyboard input (except for the `j' and `k' I was
hitting several times while wondering what was going on; they are shown on the
line following the error message, just before the ddb output).  However, I'm
able to enter ddb from the keyboard, and to type commands inside ddb just fine.

When booting normally (i.e. without the -a option) the keyboard in question
works just fine.  Furthermore booting with -a and a PS/2 keyboard used to work
fine some time ago, but I'm not sure when exactly.  And, BTW, I don't see this
problem with an USB keyboard.
>How-To-Repeat:
Boot using `boot -a' and try to enter a name for the root device etc.  I'm not
sure what hardware is needed to reproduce the problem, but I'm seeing it with a
"Happy Hacking Keyboard Lite 2" (HHKB Lite 2) PS/2 keyboard and an i386 system
(Asus P4P800-VM):

[...]
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,09000505>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
[...]
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
[...]
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
[...]

>Fix:
Would be great...



Home | Main Index | Thread Index | Old Index