2007/11/24, Miod Vallat (on the road) <[EMAIL PROTECTED]>:
> > > Can you try to run either a 3.7 kernel with sys/dev/ic/pckbc.c r1.10
> > > (stock 3.7 is r1.9) and report whether this causes the keyboard to
> > > become unresponsive?
> >
> > Sure, it will take me some time to get the kernel though. Unless you
> > can tell me what cvs commandstring I have to unleash on my 4.2-stable
> > source to get the r1.10 version.
>
> Oh, if you have a 4.2 available, it's easier to test a 4.2 with the 1.10
> changes reverted, by doing this:
>
> cd /usr/src/sys/dev/ic/
> cvs diff -r1.9 -r1.10 pckbc.c > pckbc.revert
> patch -R < pckbc.revert
>
> and compile a new 4.2 kernel.
>

Keyboard works again after the booted and patched kernel, dmesg below.

A round of beer is on me next hackathlon! $25 sent to the paypal
account. Thanks Miod!

Jasper


# patch -R < pckbc.revert
Hmm...  Looks like a normal diff to me...
The text leading up to this was:
--------------------------
|Index: pckbc.c
|===================================================================
|RCS file: /cvs/src/sys/dev/ic/pckbc.c,v
|retrieving revision 1.9
|retrieving revision 1.10
|diff -r1.9 -r1.10
--------------------------
Patching file pckbc.c using Plan A...
Hunk #1 failed at 1.
Hunk #2 succeeded at 362 (offset 4 lines).
1 out of 2 hunks failed--saving rejects to pckbc.c.rej
done


OpenBSD 4.2-stable (GENERIC) #5: Sat Nov 24 23:39:10 CET 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel 486DX (486-class)
real mem  = 49901568 (47MB)
avail mem = 39292928 (37MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/07/95, BIOS32 rev. 0 @ 0xfbfa0
pcibios0 at bios0: rev 2.0 @ 0xf0000/0xc3b0
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xef000/0x1000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
xl0 at pci0 dev 12 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq
12, address 00:01:02:f6:c8:17
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
pchb0 at pci0 dev 16 function 0 "UMC UM8881F Host" rev 0x01
pcib0 at pci0 dev 18 function 0 "UMC UM8886" rev 0x01
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
vga0 at isa0 port 0x3b0/48 iomem 0xa0000/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <IBM-DALA-3540>
wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors
wd0(wdc0:0:0): using BIOS timings
wdc1 at isa0 port 0x170/8 irq 15
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-152L, C100> SCSI0
5/cdrom removable
cd0(wdc1:0:0): using BIOS timings
ne1 at isa0 port 0x300/32 irq 10, NE2000 (RTL8019), address 00:00:e8:5d:49:57
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
ne3 at isapnp0 "NE2000 PLUG & PLAY ETHERNET CAR, @@@9519, PNP80D6, "
port 0x200/32 irq 3: NE2000 (RTL8019), address 00:00:e8:5d:49:57
pccom3 at isapnp0 "Tornado Modem SFM56PC        , SFM0120, , " port
0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask ebe5 netmask ffed ttymask ffef
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b

-- 
"We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up."

Reply via email to