2007-06-07 19:13:18

by Paul Albrecht

[permalink] [raw]
Subject: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

Hi,

I'm trying use the 2.6.20 kernel and have run into a problem using the
ps/2 keyboard with console. When I type input in response to console
output the characters aren't echo'ed and the console program doesn't
receive the character input. It seems like the problem is specific to
the ps/2 interface because a usb keyboard works fine.

Here's dmesg output:



Linux version 2.6.20 ([email protected]) (gcc version 3.3.3) #3 Wed
Jun 6 09:58:30 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end:
000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end:
00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end:
0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000001f6f0000 end:
000000001f7f0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000001f7f0000 size: 0000000000003000 end:
000000001f7f3000 type: 4
copy_e820_map() start: 000000001f7f3000 size: 000000000000d000 end:
000000001f800000 type: 3
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end:
0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
503MB LOWMEM available.
Entering add_active_range(0, 0, 129008) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 129008
early_node_map[1] active PFN ranges
0: 0 -> 129008
On node 0 totalpages: 129008
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 975 pages used for memmap
Normal zone: 123937 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 VIA605 ) @ 0x000f7510
ACPI: RSDT (v001 VIA605 AWRDACPI 0x42302e31 AWRD 0x00000000) @
0x1f7f3040
ACPI: FADT (v001 VIA605 AWRDACPI 0x42302e31 AWRD 0x00000000) @
0x1f7f30c0
ACPI: DSDT (v001 VIA605 AWRDACPI 0x00001000 MSFT 0x0100000e) @
0x00000000
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Detected 800.024 MHz processor.
Built 1 zonelists. Total pages: 128001
Kernel command line: root=/dev/hda1 vga=791 splash=noconsole ide=nodma
quiet noinitrd
bootsplash: no console.
ide_setup: ide=nodma : Prevented DMA
No local APIC present or hardware disabled
mapped APIC to ffffd000 (013f2000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503740k/516032k available (4429k kernel code, 11704k reserved,
1931k data, 224k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc073a000 - 0xc0772000 ( 224 kB)
.data : 0xc0553428 - 0xc073638c (1931 kB)
.text : 0xc0100000 - 0xc0553428 (4429 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.79 BogoMIPS
(lpj=3203585)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060707
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181215562.596:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
Supermount version 2.0.4 for kernel 2.6
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 6144k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size
8984 bytes,<6>...found (1024x768, 14465 bytes, v3).
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input3
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09
09:56:17 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ACPI: (supports S0 S3 S4<6>Time: tsc clocksource has been installed.
S5)
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
Time: pit clocksource has been installed.
ReiserFS: hda1: replayed 10 transactions in 1 seconds
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 224k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 20 transactions in 4 seconds
ReiserFS: dm-0: Using r5 hash to sort names
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for
details.
eth0: link up, 10Mbps, half-duplex, lpa 0x0000



Any idea what the problem is or how to debug?

Paul Albrecht


2007-06-08 03:23:16

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

Hi,

On Thursday 07 June 2007 13:17, Paul Albrecht wrote:
> Hi,
>
> I'm trying use the 2.6.20 kernel and have run into a problem using the
> ps/2 keyboard with console. When I type input in response to console
> output the characters aren't echo'ed and the console program doesn't
> receive the character input. It seems like the problem is specific to
> the ps/2 interface because a usb keyboard works fine.

I think this bug is fixed in newer kernels. Please try the latest 2.6.21.y
and if it still does not work please send me full dmesg after booting with
"i8042.debug log_buf_len=131072". Thanks!

--
Dmitry

2007-06-08 18:56:37

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Thu, 2007-06-07 at 23:23 -0400, Dmitry Torokhov wrote:
> Hi,
>
> On Thursday 07 June 2007 13:17, Paul Albrecht wrote:
> > Hi,
> >
> > I'm trying use the 2.6.20 kernel and have run into a problem using the
> > ps/2 keyboard with console. When I type input in response to console
> > output the characters aren't echo'ed and the console program doesn't
> > receive the character input. It seems like the problem is specific to
> > the ps/2 interface because a usb keyboard works fine.
>
> I think this bug is fixed in newer kernels. Please try the latest 2.6.21.y
> and if it still does not work please send me full dmesg after booting with
> "i8042.debug log_buf_len=131072". Thanks!
>

Hi Dmitry,

I tried 2.6.21.4 and it didn't work. Here's the dmesg output:



Linux version 2.6.21.4 ([email protected]) (gcc version 3.3.3) #1
Fri Jun 8 11:55:16 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end:
000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end:
00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end:
0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000001f6f0000 end:
000000001f7f0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000001f7f0000 size: 0000000000003000 end:
000000001f7f3000 type: 4
copy_e820_map() start: 000000001f7f3000 size: 000000000000d000 end:
000000001f800000 type: 3
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end:
0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
503MB LOWMEM available.
Entering add_active_range(0, 0, 129008) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 129008
early_node_map[1] active PFN ranges
0: 0 -> 129008
On node 0 totalpages: 129008
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 975 pages used for memmap
Normal zone: 123937 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP 000F7510, 0014 (r0 VIA605)
ACPI: RSDT 1F7F3040, 0028 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd
ide_setup: ide=nodma : Prevented DMA
No local APIC present or hardware disabled
mapped APIC to ffffd000 (013f2000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.040 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503700k/516032k available (4452k kernel code, 11744k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc0559110 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc0559110 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.89 BogoMIPS
(lpj=3203780)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff could not be reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181308919.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input3
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 23 transactions in 5 seconds
ReiserFS: dm-0: Using r5 hash to sort names



Paul Albrecht

2007-06-08 19:09:27

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On 6/8/07, Paul Albrecht <[email protected]> wrote:
> PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> PNP: PS/2 controller doesn't have AUX irq; using default 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> serio: i8042 AUX port at 0x60,0x64 irq 12
> mice: PS/2 mouse device common for all mice
> input: AT Translated Set 2 keyboard as /class/input/input3

Can I please see the debug data ("i8042.debug log_buf_len=131072" on
the kernel command line)?

--
Dmitry

2007-06-08 20:10:59

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Fri, 2007-06-08 at 15:08 -0400, Dmitry Torokhov wrote:
> On 6/8/07, Paul Albrecht <[email protected]> wrote:
> > PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> > PNP: PS/2 controller doesn't have AUX irq; using default 12
> > serio: i8042 KBD port at 0x60,0x64 irq 1
> > serio: i8042 AUX port at 0x60,0x64 irq 12
> > mice: PS/2 mouse device common for all mice
> > input: AT Translated Set 2 keyboard as /class/input/input3
>
> Can I please see the debug data ("i8042.debug log_buf_len=131072" on
> the kernel command line)?
>

Here's the dmesg output with i8042.debug and log_buf_len=131072:



SDT 1F7F3040, 0028 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd i8042.debug log_buf_len=131072
ide_setup: ide=nodma : Prevented DMA
log_buf_len: 131072
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01412000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.024 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503572k/516032k available (4452k kernel code, 11872k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc0559110 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc0559110 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.93 BogoMIPS
(lpj=3203867)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff could not be reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181314596.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 5a -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 5a <- i8042 (return) [0]
drivers/input/serio/i8042.c: a7 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 <- i8042 (return) [0]
drivers/input/serio/i8042.c: a8 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: a5 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: f0 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: f0 <- i8042 (return) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: a4 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: a4 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [0]
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [0]
drivers/input/serio/i8042.c: Interrupt 12, without any data [0]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [4]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [4]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [7]
input: AT Translated Set 2 keyboard as /class/input/input3
drivers/input/serio/i8042.c: d4 -> i8042 (command) [7]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [7]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [57]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [57]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [107]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [107]
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 22 transactions in 5 seconds
ReiserFS: dm-0: Using r5 hash to sort names



Paul Albrecht

2007-06-11 18:18:20

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console


Resending message from last week ... don't usually subscribe to the
kernel mailing list so please cc me in your response.

On Fri, 2007-06-08 at 15:08 -0400, Dmitry Torokhov wrote:
> On 6/8/07, Paul Albrecht <[email protected]> wrote:
> > PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> > PNP: PS/2 controller doesn't have AUX irq; using default 12
> > serio: i8042 KBD port at 0x60,0x64 irq 1
> > serio: i8042 AUX port at 0x60,0x64 irq 12
> > mice: PS/2 mouse device common for all mice
> > input: AT Translated Set 2 keyboard as /class/input/input3
>
> Can I please see the debug data ("i8042.debug log_buf_len=131072" on
> the kernel command line)?
>

Here's the dmesg output with i8042.debug and log_buf_len=131072:



SDT 1F7F3040, 0028 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd i8042.debug log_buf_len=131072
ide_setup: ide=nodma : Prevented DMA
log_buf_len: 131072
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01412000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.024 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503572k/516032k available (4452k kernel code, 11872k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc0559110 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc0559110 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.93 BogoMIPS
(lpj=3203867)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff could not be reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181314596.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 5a -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 5a <- i8042 (return) [0]
drivers/input/serio/i8042.c: a7 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 <- i8042 (return) [0]
drivers/input/serio/i8042.c: a8 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: a5 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: f0 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: f0 <- i8042 (return) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: a4 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: a4 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [0]
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [0]
drivers/input/serio/i8042.c: Interrupt 12, without any data [0]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [4]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [4]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [7]
input: AT Translated Set 2 keyboard as /class/input/input3
drivers/input/serio/i8042.c: d4 -> i8042 (command) [7]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [7]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [57]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [57]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [107]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [107]
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 22 transactions in 5 seconds
ReiserFS: dm-0: Using r5 hash to sort names



Paul Albrecht

2007-06-11 18:27:08

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

Hi Paul,

On 6/11/07, Paul Albrecht <[email protected]> wrote:
>
> Resending message from last week ... don't usually subscribe to the
> kernel mailing list so please cc me in your response.
>
> PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> PNP: PS/2 controller doesn't have AUX irq; using default 12

Does it start working if you boot with i8042.noloop?

--
Dmitry

2007-06-11 19:22:40

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Mon, 2007-06-11 at 14:26 -0400, Dmitry Torokhov wrote:
> Hi Paul,
>
> On 6/11/07, Paul Albrecht <[email protected]> wrote:
> >
> > Resending message from last week ... don't usually subscribe to the
> > kernel mailing list so please cc me in your response.
> >
> > PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> > PNP: PS/2 controller doesn't have AUX irq; using default 12
>
> Does it start working if you boot with i8042.noloop?
>

No, that doesn't work. Here's the dmesg output:


I NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
503MB LOWMEM available.
Entering add_active_range(0, 0, 129008) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 129008
early_node_map[1] active PFN ranges
0: 0 -> 129008
On node 0 totalpages: 129008
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 975 pages used for memmap
Normal zone: 123937 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP 000F7510, 0014 (r0 VIA605)
ACPI: RSDT 1F7F3040, 0028 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd i8042.debug log_buf_len=131072
i8042.noloop
ide_setup: ide=nodma : Prevented DMA
log_buf_len: 131072
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01412000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.062 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503572k/516032k available (4452k kernel code, 11872k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc0559110 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc0559110 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.89 BogoMIPS
(lpj=3203787)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff has been reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181569936.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: a9 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 00 <- i8042 (return) [0]
drivers/input/serio/i8042.c: a7 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 <- i8042 (return) [0]
drivers/input/serio/i8042.c: a8 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [0]
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
drivers/input/serio/i8042.c: Interrupt 12, without any data [0]
mice: PS/2 mouse device common for all mice
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [0]
drivers/input/serio/i8042.c: Interrupt 12, without any data [0]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [4]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [4]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [7]
input: AT Translated Set 2 keyboard as /class/input/input3
drivers/input/serio/i8042.c: d4 -> i8042 (command) [7]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [7]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [57]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [57]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [107]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [107]
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: replayed 9 transactions in 1 seconds
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journalecho -n "i8042"
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 28 transactions in 5 seconds
ReiserFS: dm-0: Using r5 hash to sort names



I don't know if this helps, but I can work around the problem in
2.6.20.x by unbinding/binding the i8042 in my console program before
soliciting input:

echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind
echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind

but this doesn't work for 2.6.21.x

Paul Albrecht

2007-06-11 19:28:45

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On 6/11/07, Paul Albrecht <[email protected]> wrote:
> On Mon, 2007-06-11 at 14:26 -0400, Dmitry Torokhov wrote:
> > Hi Paul,
> >
> > On 6/11/07, Paul Albrecht <[email protected]> wrote:
> > >
> > > Resending message from last week ... don't usually subscribe to the
> > > kernel mailing list so please cc me in your response.
> > >
> > > PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> > > PNP: PS/2 controller doesn't have AUX irq; using default 12
> >
> > Does it start working if you boot with i8042.noloop?
> >
>
> No, that doesn't work. Here's the dmesg output:
>

Argh, I meant i8042.noaux. Sorry for the confusion.

--
Dmitry

2007-06-11 19:50:44

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Mon, 2007-06-11 at 15:28 -0400, Dmitry Torokhov wrote:
> On 6/11/07, Paul Albrecht <[email protected]> wrote:
> > On Mon, 2007-06-11 at 14:26 -0400, Dmitry Torokhov wrote:
> > > Hi Paul,
> > >
> > > On 6/11/07, Paul Albrecht <[email protected]> wrote:
> > > >
> > > > Resending message from last week ... don't usually subscribe to the
> > > > kernel mailing list so please cc me in your response.
> > > >
> > > > PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
> > > > PNP: PS/2 controller doesn't have AUX irq; using default 12
> > >
> > > Does it start working if you boot with i8042.noloop?
> > >
> >
> > No, that doesn't work. Here's the dmesg output:
> >
>
> Argh, I meant i8042.noaux. Sorry for the confusion.
>

Yes, i8042.noaux works. Here's the dmesg output:



Linux version 2.6.21.4 ([email protected]) (gcc version 3.3.3) #1
Fri Jun 8 11:55:16 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end:
000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end:
00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end:
0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000001f6f0000 end:
000000001f7f0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000001f7f0000 size: 0000000000003000 end:
000000001f7f3000 type: 4
copy_e820_map() start: 000000001f7f3000 size: 000000000000d000 end:
000000001f800000 type: 3
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end:
0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
503MB LOWMEM available.
Entering add_active_range(0, 0, 129008) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 129008
early_node_map[1] active PFN ranges
0: 0 -> 129008
On node 0 totalpages: 129008
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 975 pages used for memmap
Normal zone: 123937 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP 000F7510, 0014 (r0 VIA605)
ACPI: RSDT 1F7F3040, 0028 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd i8042.debug log_buf_len=131072
i8042.noaux
ide_setup: ide=nodma : Prevented DMA
log_buf_len: 131072
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01412000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.024 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503572k/516032k available (4452k kernel code, 11872k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc0559110 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc0559110 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.87 BogoMIPS
(lpj=3203753)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff could not be reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181572600.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 -> i8042 (parameter) [0]
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [0]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [1]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [4]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [4]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [6]
input: AT Translated Set 2 keyboard as /class/input/input3
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 30 transactions in 10 seconds
ReiserFS: dm-0: Using r5 hash to sort names



Is i8042.noaux a workaround or a fix?

Paul Albrecht

2007-06-11 22:28:17

by Chris Wright

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

* Paul Albrecht ([email protected]) wrote:
> Yes, i8042.noaux works. Here's the dmesg output:
>
> Linux version 2.6.21.4 ([email protected]) (gcc version 3.3.3) #1

Does 2.6.21.5 work w/out noaux on command line?

thanks
-chris

2007-06-12 05:14:59

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Monday 11 June 2007 14:54, Paul Albrecht wrote:
>
> Is i8042.noaux a workaround or a fix?
>

Just a workaround. Do you have a PS/2 mouse you could test with? If so could
you check if both keybioard and mouse work with mouse plugged in and without
i8042.noaux.

Also cxould you please try the patch below (again with mouse if you have one
and without).

Thanks a lot!

--
Dmitry

Input: i8042 - give more trust PNP data on i386

On some boxes that don't have PS/2 mice connected at startup BIOS
completely disables AUX port and attempts to access it result in
hosed keyboard. Historically we do not trust ACPI/PNP data on
i386 and try to poke AUX port even if we did not find an active
PNP node for it. However in cases when BIOS writers got KBD port
properly described we can assume that they did the right thing
for AUX port as well.

Signed-off-by: Dmitry Torokhov <[email protected]>
---
drivers/input/serio/i8042-x86ia64io.h | 36 +++++++++++++++++++++++++++-------
1 file changed, 29 insertions(+), 7 deletions(-)

Index: linux/drivers/input/serio/i8042-x86ia64io.h
===================================================================
--- linux.orig/drivers/input/serio/i8042-x86ia64io.h
+++ linux/drivers/input/serio/i8042-x86ia64io.h
@@ -356,6 +356,7 @@ static void i8042_pnp_exit(void)
static int __init i8042_pnp_init(void)
{
char kbd_irq_str[4] = { 0 }, aux_irq_str[4] = { 0 };
+ int pnp_data_busted = 0;
int err;

if (i8042_nopnp) {
@@ -403,27 +404,48 @@ static int __init i8042_pnp_init(void)
#endif

if (((i8042_pnp_data_reg & ~0xf) == (i8042_data_reg & ~0xf) &&
- i8042_pnp_data_reg != i8042_data_reg) || !i8042_pnp_data_reg) {
- printk(KERN_WARNING "PNP: PS/2 controller has invalid data port %#x; using default %#x\n",
+ i8042_pnp_data_reg != i8042_data_reg) ||
+ !i8042_pnp_data_reg) {
+ printk(KERN_WARNING
+ "PNP: PS/2 controller has invalid data port %#x; "
+ "using default %#x\n",
i8042_pnp_data_reg, i8042_data_reg);
i8042_pnp_data_reg = i8042_data_reg;
+ pnp_data_busted = 1;
}

if (((i8042_pnp_command_reg & ~0xf) == (i8042_command_reg & ~0xf) &&
- i8042_pnp_command_reg != i8042_command_reg) || !i8042_pnp_command_reg) {
- printk(KERN_WARNING "PNP: PS/2 controller has invalid command port %#x; using default %#x\n",
+ i8042_pnp_command_reg != i8042_command_reg) ||
+ !i8042_pnp_command_reg) {
+ printk(KERN_WARNING
+ "PNP: PS/2 controller has invalid command port %#x; "
+ "using default %#x\n",
i8042_pnp_command_reg, i8042_command_reg);
i8042_pnp_command_reg = i8042_command_reg;
+ pnp_data_busted = 1;
}

if (!i8042_nokbd && !i8042_pnp_kbd_irq) {
- printk(KERN_WARNING "PNP: PS/2 controller doesn't have KBD irq; using default %d\n", i8042_kbd_irq);
+ printk(KERN_WARNING
+ "PNP: PS/2 controller doesn't have KBD irq; "
+ "using default %d\n", i8042_kbd_irq);
i8042_pnp_kbd_irq = i8042_kbd_irq;
+ pnp_data_busted = 1;
}

if (!i8042_noaux && !i8042_pnp_aux_irq) {
- printk(KERN_WARNING "PNP: PS/2 controller doesn't have AUX irq; using default %d\n", i8042_aux_irq);
- i8042_pnp_aux_irq = i8042_aux_irq;
+ if (!pnp_data_busted && i8042_pnp_kbd_irq) {
+ printk(KERN_WARNING
+ "PNP: PS/2 appears to have AUX port disabled, "
+ "if this is incorrect please boot with "
+ "i8042.nopnp\n");
+ i8042_noaux = 1;
+ } else {
+ printk(KERN_WARNING
+ "PNP: PS/2 controller doesn't have AUX irq; "
+ "using default %d\n", i8042_aux_irq);
+ i8042_pnp_aux_irq = i8042_aux_irq;
+ }
}

i8042_data_reg = i8042_pnp_data_reg;

2007-06-12 13:42:23

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Mon, 2007-06-11 at 15:28 -0700, Chris Wright wrote:
> * Paul Albrecht ([email protected]) wrote:
> > Yes, i8042.noaux works. Here's the dmesg output:
> >
> > Linux version 2.6.21.4 ([email protected]) (gcc version 3.3.3) #1
>
> Does 2.6.21.5 work w/out noaux on command line?
>

No, 2.6.21.5 doesn't work w/out noaux. Here's the dmesg output:



0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd i8042.debug log_buf_len=131072
ide_setup: ide=nodma : Prevented DMA
log_buf_len: 131072
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01412000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.062 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503572k/516032k available (4452k kernel code, 11872k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc05592a0 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc05592a0 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.88 BogoMIPS
(lpj=3203762)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff could not be reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181636372.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 5a -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 5a <- i8042 (return) [0]
drivers/input/serio/i8042.c: a7 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 <- i8042 (return) [0]
drivers/input/serio/i8042.c: a8 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: a5 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: f0 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: f0 <- i8042 (return) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 56 <- i8042 (return) [0]
drivers/input/serio/i8042.c: d3 -> i8042 (command) [0]
drivers/input/serio/i8042.c: a4 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: a4 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [0]
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [0]
drivers/input/serio/i8042.c: Interrupt 12, without any data [0]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [4]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [4]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [6]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [6]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [7]
input: AT Translated Set 2 keyboard as /class/input/input3
drivers/input/serio/i8042.c: d4 -> i8042 (command) [7]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [7]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [57]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [57]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [107]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [107]
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: replayed 8 transactions in 1 seconds
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 22 transactions in 5 seconds
ReiserFS: dm-0: Using r5 hash to sort names



Paul Albrecht

2007-06-12 14:58:15

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Tue, 2007-06-12 at 01:14 -0400, Dmitry Torokhov wrote:
> On Monday 11 June 2007 14:54, Paul Albrecht wrote:
> >
> > Is i8042.noaux a workaround or a fix?
> >
>
> Just a workaround. Do you have a PS/2 mouse you could test with? If so could
> you check if both keybioard and mouse work with mouse plugged in and without
> i8042.noaux.
>

The system I'm using has only one ps/2 interface so I can't test with
them both plugged in at the same time.

> Also cxould you please try the patch below (again with mouse if you have one
> and without).
>

I tried applying your patch to 2.6.21.5 and it failed. Here's the
output:

patch --dry-run -p1 < ../i8042.patch
patching file drivers/input/serio/i8042-x86ia64io.h
Hunk #1 FAILED at 356.
Hunk #2 FAILED at 404.
2 out of 2 hunks FAILED -- saving rejects to file
drivers/input/serio/i8042-x86ia64io.h.rej



Paul Albrecht

2007-06-12 18:50:53

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On 6/12/07, Paul Albrecht <[email protected]> wrote:
> On Tue, 2007-06-12 at 01:14 -0400, Dmitry Torokhov wrote:
> > On Monday 11 June 2007 14:54, Paul Albrecht wrote:
> > >
> > > Is i8042.noaux a workaround or a fix?
> > >
> >
> > Just a workaround. Do you have a PS/2 mouse you could test with? If so could
> > you check if both keybioard and mouse work with mouse plugged in and without
> > i8042.noaux.
> >
>
> The system I'm using has only one ps/2 interface so I can't test with
> them both plugged in at the same time.
>
> > Also cxould you please try the patch below (again with mouse if you have one
> > and without).
> >
>
> I tried applying your patch to 2.6.21.5 and it failed. Here's the
> output:
>
> patch --dry-run -p1 < ../i8042.patch
> patching file drivers/input/serio/i8042-x86ia64io.h
> Hunk #1 FAILED at 356.
> Hunk #2 FAILED at 404.
> 2 out of 2 hunks FAILED -- saving rejects to file
> drivers/input/serio/i8042-x86ia64io.h.rej
>

Hmm, wierd:

[~] tar jxf downloads/linux-2.6.21.5.tar.bz2
[~] cd linux-2.6.21.5/
[~/linux-2.6.21.5] patch -p1 --dry-run < ../quilt/i8042-trust-pnp-more.patch
patching file drivers/input/serio/i8042-x86ia64io.h
Hunk #1 succeeded at 313 (offset -43 lines).
Hunk #2 succeeded at 361 (offset -43 lines).
[~/linux-2.6.21.5]

The patch must have gotten corrupted on the way to you. Let me try
resending it, but this time as an attachment.

--
Dmitry


Attachments:
(No filename) (1.37 kB)
i8042-trust-pnp-more.patch (3.11 kB)
Download all attachments

2007-06-12 19:57:53

by Paul Albrecht

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On Tue, 2007-06-12 at 14:50 -0400, Dmitry Torokhov wrote:
> On 6/12/07, Paul Albrecht <[email protected]> wrote:
> > On Tue, 2007-06-12 at 01:14 -0400, Dmitry Torokhov wrote:
> > > On Monday 11 June 2007 14:54, Paul Albrecht wrote:
> > > >
> > > > Is i8042.noaux a workaround or a fix?
> > > >
> > >
> > > Just a workaround. Do you have a PS/2 mouse you could test with? If so could
> > > you check if both keybioard and mouse work with mouse plugged in and without
> > > i8042.noaux.
> > >
> >
> > The system I'm using has only one ps/2 interface so I can't test with
> > them both plugged in at the same time.
> >
> > > Also cxould you please try the patch below (again with mouse if you have one
> > > and without).
> > >
> >
> > I tried applying your patch to 2.6.21.5 and it failed. Here's the
> > output:
> >
> > patch --dry-run -p1 < ../i8042.patch
> > patching file drivers/input/serio/i8042-x86ia64io.h
> > Hunk #1 FAILED at 356.
> > Hunk #2 FAILED at 404.
> > 2 out of 2 hunks FAILED -- saving rejects to file
> > drivers/input/serio/i8042-x86ia64io.h.rej
> >
>
> Hmm, wierd:
>
> [~] tar jxf downloads/linux-2.6.21.5.tar.bz2
> [~] cd linux-2.6.21.5/
> [~/linux-2.6.21.5] patch -p1 --dry-run < ../quilt/i8042-trust-pnp-more.patch
> patching file drivers/input/serio/i8042-x86ia64io.h
> Hunk #1 succeeded at 313 (offset -43 lines).
> Hunk #2 succeeded at 361 (offset -43 lines).
> [~/linux-2.6.21.5]
>
> The patch must have gotten corrupted on the way to you. Let me try
> resending it, but this time as an attachment.
>

There must be some difference between the sources we're using because
when I try to patch 2.6.21.5 I get this for output:

patch --dry-run -p1 < ../i8042-trust-pnp-more.patch
patching file drivers/input/serio/i8042-x86ia64io.h
Hunk #1 succeeded at 313 (offset -43 lines).

However, the patch succeeded so I retested without i8042.noaux and that
worked. Here's the dmesg output:



nux version 2.6.21.5 ([email protected]) (gcc version 3.3.3) #2 Tue
Jun 12 14:08:06 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end:
000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end:
00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end:
0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000001f6f0000 end:
000000001f7f0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000001f7f0000 size: 0000000000003000 end:
000000001f7f3000 type: 4
copy_e820_map() start: 000000001f7f3000 size: 000000000000d000 end:
000000001f800000 type: 3
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end:
0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
503MB LOWMEM available.
Entering add_active_range(0, 0, 129008) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 129008
early_node_map[1] active PFN ranges
0: 0 -> 129008
On node 0 totalpages: 129008
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 975 pages used for memmap
Normal zone: 123937 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP 000F7510, 0014 (r0 VIA605)
ACPI: RSDT 1F7F3040, 0028 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 1F7F30C0, 0074 (r1 VIA605 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 1F7F3180, 2218 (r1 VIA605 AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 1F7F0000, 0040
Allocating PCI resources starting at 20000000 (gap: 1f800000:e07f0000)
Built 1 zonelists. Total pages: 128001
Kernel command line: THINIXCONF=true root=/dev/hda1 vga=791
splash=silent ide=nodma quiet noinitrd i8042.debug log_buf_len=131072
ide_setup: ide=nodma : Prevented DMA
log_buf_len: 131072
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01412000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 800.043 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 503572k/516032k available (4452k kernel code, 11872k reserved,
1952k data, 240k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb6000 - 0xfffff000 ( 292 kB)
vmalloc : 0xe0000000 - 0xfffb4000 ( 511 MB)
lowmem : 0xc0000000 - 0xdf7f0000 ( 503 MB)
.init : 0xc0744000 - 0xc0780000 ( 240 kB)
.data : 0xc05592a0 - 0xc074140c (1952 kB)
.text : 0xc0100000 - 0xc05592a0 (4452 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 1601.89 BogoMIPS
(lpj=3203785)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b03f 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000
Compat vDSO mapped to ffffe000.
CPU: Centaur VIA Nehemiah stepping 08
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:00: iomem range 0xcc000-0xcffff could not be reserved
pnp: 00:00: iomem range 0xda800-0xdbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: ec000000-ec0fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:0d.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 20000000-23ffffff
MEM window: 24000000-27ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Time: tsc clocksource has been installed.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level,
low) -> IRQ 10
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd
Freeing initrd memory: 22k freed
audit: initializing netlink socket (disabled)
audit(1181658118.292:1): initialized
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
Coda Kernel/Venus communications, v6.0.0, [email protected]
NTFS driver 2.1.28 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xe0000000, mapped to 0xe0080000, using 3072k,
total 7104k
vesafb: mode is 1024x768x16, linelength=2048, pages=3
vesafb: protected mode interface info at c000:79d0
vesafb: pmi: set display start = c00c7a5a, set palette = c00c7aa3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
VIA RNG detected
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Time: pit clocksource has been installed.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine: Broken BIOS detected, avoid_D3 enabled.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0xc800, 00:e0:4c:69:2b:a5, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin
<[email protected]>, et al)
orinoco_cs 0.15 (David Gibson <[email protected]>, Pavel
Roskin <[email protected]>, et al)
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xdd00-0xdd07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xdd08-0xdd0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-1024, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
hda: hda1 hda2
Yenta: CardBus bridge found at 0000:00:0d.0 [3412:7856]
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000006
usbmon: debugfs is not available
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 12, io base 0x0000e000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:07.3: irq 12, io base 0x0000dc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Basic Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
usb-0000:00:07.3-1
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver usbled
usbcore: registered new interface driver uss720
drivers/usb/misc/uss720.c: v0.6:USB Parport Cable driver for Cables
using the Lucent Technologies USS720 Chip
drivers/usb/misc/uss720.c: NOTE: this is a special purpose driver to
allow nonstandard
drivers/usb/misc/uss720.c: protocols (eg. bitbang) over USS720 usb to
parallel cables
drivers/usb/misc/uss720.c: If you just want to connect to a printer, use
usblp instead
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please
boot with i8042.nopnp
drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 <- i8042 (return) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 76 -> i8042 (parameter) [0]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
drivers/input/serio/i8042.c: 67 -> i8042 (parameter) [0]
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [0]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [1]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: 41 <- i8042 (interrupt, 0, 1) [2]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [3]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [4]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [4]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [5]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [5]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [6]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [6]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [7]
input: AT Translated Set 2 keyboard as /class/input/input3
input: PC Speaker as /class/input/input4
Linux telephony interface: v1.00
ixj driver initialized.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email protected]
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-usx2y
ALSA device list:
#0: VIA 82C686A/B rev50 with VIA1612A at 0xc000, irq 11
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Using IPI Shortcut mode
ReiserFS: hda1: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 512, journal first
block 18, max trans len 256, max batch 225, max commit age 30, max trans
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: replayed 9 transactions in 0 seconds
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
ReiserFS: dm-0: warning: read_super_block: found reiserfs format "3.6"
with non-standard journal
ReiserFS: dm-0: using ordered data mode
ReiserFS: dm-0: journal params: device dm-0, size 2048, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: dm-0: checking transaction log (dm-0)
ReiserFS: dm-0: replayed 20 transactions in 5 seconds
ReiserFS: dm-0: Using r5 hash to sort names



Paul Albrecht

2007-06-12 20:10:34

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [BUG] via c3/2.6.20 -- ps/2 keyboard doesn't work with console

On 6/12/07, Paul Albrecht <[email protected]> wrote:
>
> There must be some difference between the sources we're using because
> when I try to patch 2.6.21.5 I get this for output:
>
> patch --dry-run -p1 < ../i8042-trust-pnp-more.patch
> patching file drivers/input/serio/i8042-x86ia64io.h
> Hunk #1 succeeded at 313 (offset -43 lines).
>

Yes, I have bunch of changes in my tee that have not hit the mainline
yet. The patch wasn't actually gererated off 2.6.21.5; I just verified
that it spplies to it.

> However, the patch succeeded so I retested without i8042.noaux and that
> worked. Here's the dmesg output:

Ok, great! Now let's see if I can get some more testers to try it to
make sure there are no regressions on other people's boxes.

--
Dmitry