Subject: Re: Uh-oh... Broken keyboard input.
To: None <M.Drochner@fz-juelich.de>
From: Dave Huang <khym@bga.com>
List: port-i386
Date: 11/10/1999 02:02:45
On Fri, 5 Nov 1999 M.Drochner@fz-juelich.de wrote:
> The appended patch tries to read any data left over from the
> mouse probe, and then resets the keyboard.
> Can you try it, and if it helps, try both parts separately?

I haven't had occasion to stop by my friend's place, but it looks like
a lot of these AMD 5x86 machines are popping up... I happen to have one
on loan from another friend who wants me to configure Windows 98, set it
up with an internet connection, etc... I haven't opened it up to see if
it's the same motherboard as the one that I originally reported as
causing problems, but it seems similar: UMC chipset, PCI slots, AMD 5x86
CPU, no PS/2 mouse port, and NetBSD's opms probe locks up the keyboard.

I applied your patch, but it didn't help :( Here are the boot messages
(with "options PCKBCDEBUG"):

[ preserving 153048 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4M (FEL_OPMS) #5: Wed Nov 10 01:50:57 CST 1999
    khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/FEL_OPMS
cpu0: family 4 model f step 4
cpu0: AMD Am5x86 W/B 133/160 (486-class)
total memory = 16000 KB
avail memory = 13396 KB
using 225 buffers containing 900 KB of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
vga0 at pci0 dev 13 function 0: Trident Microsystems TGUI 9440 (rev. 0xe3)
wsdisplay0 at vga0
pchb0 at pci0 dev 16 function 0
pchb0: United Microelectronics UM8881F PCI-Host bridge (rev. 0x04)
pcib0 at pci0 dev 18 function 0
pcib0: United Microelectronics UM8886 (rev. 0x0d)
pciide0 at pci0 dev 18 function 1: United Microelectronics UM8886BF (rev. 0x0d)
pciide0: hardware does not support DMA
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <V008E0DS, , 8V001-3> type 5 cdrom removable
wd0 at pciide0 channel 0 drive 0: <Conner Peripherals 1275MB - CFS1275A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 1219MB, 2477 cyl, 16 head, 63 sec, 512 bytes/sect x 2496876 sectors
wd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com1: console
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0
pckbc_cmd: timeout
pckbc_cmd: timeout
kbc: cmd word write error
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb1: Creative SB AWE32 PnP Audio: dsp v4.13
audio0 at sb1: full duplex
mpu0 at sb1
midi1 at mpu0: SB MPU-401 MIDI UART
opl0 at sb1: model OPL3
midi2 at opl0: SB Yamaha OPL3
isapnp0: <Creative SB AWE32 PnP, PNPFFFF, , Reserved> port 0x100/1 not configure
d
isapnp0: <Creative SB AWE32 PnP, CTL0021, , WaveTable> port 0x620/4 not configur
ed
isapnp0: <Creative SB AWE32 PnP, CTL7001, PNPB02F, Game> port 0x200/8 not config
ured
isapnp0: <Creative SB AWE32 PnP, CTL0051, , StereoEnhance> port 0x100/1 not conf
igured
biomask ff45 netmask ff45 ttymask ffc7
wd0: no disk label
boot device: fd0
root on fd0a dumps on fd0b