On 01/19/11 08:48, Steve Polyack wrote:
On 1/18/2011 5:56 PM, Jeremy Chadwick wrote:
On Tue, Jan 18, 2011 at 04:40:13PM -0500, Steve Polyack wrote:
We've recently upgraded a few desktop workstations from Dell
Optiplex 960s to Optiplex 980s.  We were running FreeBSD
8.1-RELEASE.  The migration was performed by simply swapping the
drives into the new systems.  Immediately after switching people
over, they all began to report bizarre keyboard issues - things like
infinite key repeats (letters, numbers, "enter") for keys they did
not hold down.  The key repeats continue indefinitely until another
key is pressed.  Occasionally, even mouse input will trigger similar
infinite keyboard input repetition.  In addition to the repeat
issue, sometimes physical key-presses are not registered by FreeBSD,
leading to typos and angry developers.

We've tried doing fresh installs of FreeBSD 8.2-RC2 on two of these
systems, and the issue persists.  Because of the observed behavior,
I'm thinking that this is due to new hardware in the 980s which
isn't timing or handling interrupts correctly under the FreeBSD
kernel.

Looking at a 'pciconf -lvb' from each system, I noticed that the 980
has two USB controllers which probe under ehci(4), while the 960
(which does not exhibit this problem), enumerates six uhci(4)
controllers and two ehci(4) controllers.  To cut to the chase here,
the 960 users' keyboards probe under a USB1.0 uhci(4), while the
980s only have ehci(4) devices to attach to.

So, I guess what I'm asking is - has anyone else seen any keyboard
repeat or other USB craziness with ehci(4) ports or otherwise Intel
PCH controllers?    Any fellow Optiplex 980 users?  I'd be more than
happy to provide pciconf or other output if requested.
Try adding the following to /boot/loader.conf then reboot and see if
the "excessive repeat" behaviour changes:

hint.kbdmux.0.disabled="1"

It would also help if you would state exactly what brand/model of
keyboard is used.  Yes, believe it or not, it matters.  dmesg output
would be helpful in this case.

The keyboard is also a Dell model - model KB1421, or listed as "Dell QuiteKey Keyboard" under dmesg. The same keyboard does not exhibit the strange behavior when used with the older model of tower (Optiplex 960).

I'll reboot today with the loader.conf hint you provided. I'll let you guys know if it helps. Thanks!

I forgot to attach my dmesg - here it is!
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-RC2 #1: Mon Jan 17 12:10:53 EST 2011
    root@galvatron:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz (2660.02-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x106e5  Family = 6  Model = 1e  Stepping = 5
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  
Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 4082315264 (3893 MB)
ACPI APIC Table: <DELL   B11K   >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  6
ioapic0: Changing APIC ID to 8
ioapic0 <Version 2.0> irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
kbd1 at kbdmux0
acpi0: <DELL B11K   > on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 16 at device 3.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xdc80-0xdcff mem 
0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 16 at 
device 0.0 on pci1
nvidia0: <GeForce GT 330> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [ITHREAD]
hdac0: <NVidia (Unknown) High Definition Audio Controller> mem 
0xf7dfc000-0xf7dfffff irq 17 at device 0.1 on pci1
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pci0: <base peripheral> at device 8.0 (no driver attached)
pci0: <base peripheral> at device 8.1 (no driver attached)
pci0: <base peripheral> at device 8.2 (no driver attached)
pci0: <base peripheral> at device 16.0 (no driver attached)
pci0: <base peripheral> at device 16.1 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection 7.1.8> port 0xecc0-0xecdf mem 
0xf7fe0000-0xf7ffffff,0xf7fdc000-0xf7fdcfff irq 21 at device 25.0 on pci0
em0: Using an MSI interrupt
em0: [FILTER]
em0: Ethernet address: 84:2b:2b:a5:d0:45
ehci0: <Intel PCH USB 2.0 controller USB-B> mem 0xf7fdd000-0xf7fdd3ff irq 16 at 
device 26.0 on pci0
ehci0: [ITHREAD]
usbus0: EHCI version 1.0
usbus0: <Intel PCH USB 2.0 controller USB-B> on ehci0
hdac1: <Intel PCH High Definition Audio Controller> mem 0xff87c000-0xff87ffff 
irq 16 at device 27.0 on pci0
hdac1: HDA Driver Revision: 20100226_0142
hdac1: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
ehci1: <Intel PCH USB 2.0 controller USB-A> mem 0xf7fde000-0xf7fde3ff irq 23 at 
device 29.0 on pci0
ehci1: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <Intel PCH USB 2.0 controller USB-A> on ehci1
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel 5 Series/3400 Series AHCI SATA controller> port 
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfedf mem 
0xff870000-0xff8707ff irq 18 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier supported with FBS
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart0: <Non-standard ns8250 class UART with FIFOs> port 0x3f8-0x3ff irq 4 flags 
0x10 on acpi0
uart0: [FILTER]
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xcdfff,0xce000-0xcffff,0xd0000-0xd27ff,0xd2800-0xd3fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
            to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version 4
ZFS storage pool version 15
RTC BIOS diagnostic error 11<memory_size>
Timecounters tick every 1.000 msec
vboxdrv: fAsync=0 offMin=0x120 offMax=0x3c0
hdac0: HDA Codec #0: NVidia (Unknown)
hdac0: HDA Codec #1: NVidia (Unknown)
hdac0: HDA Codec #2: NVidia (Unknown)
hdac0: HDA Codec #3: NVidia (Unknown)
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0
pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0
pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0
hdac1: HDA Codec #0: Realtek ALC269
pcm4: <HDA Realtek ALC269 PCM #0 Analog> at cad 0 nid 1 on hdac1
pcm5: <HDA Realtek ALC269 PCM #1 Analog> at cad 0 nid 1 on hdac1
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD3200AAKS-75L9A0 02.03E02> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <WDC WD1600YS-18SHB2 20.06C07> ATA-7 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 152587MB (312500000 512 byte sectors: 16H 63S/T 16383C)
cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: <PIONEER DVD-RW  DVR-218L 1.02> Removable CD-ROM SCSI-0 device 
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray 
closedlapic6: Forcing LINT1 to edge trigger

SMP: AP CPU #3 Launched!
lapic4: Forcing LINT1 to edge trigger
SMP: AP CPU #2 Launched!
lapic2: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: <vendor 0x8087> at usbus0
uhub2: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on 
usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on 
usbus1
Root mount waiting for: usbus1 usbus0
uhub2: 6 ports with 6 removable, self powered
uhub3: 8 ports with 8 removable, self powered
ugen0.3: <Generic> at usbus0
umass0: <Generic Mass Storage Device, class 0/0, rev 2.00/1.29, addr 3> on 
usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4001
Root mount waiting for: usbus1 usbus0
ugen1.3: <vendor 0x0424> at usbus1
uhub4: <vendor 0x0424 product 0x2504, class 9/0, rev 2.00/0.01, addr 3> on 
usbus1
uhub4: 4 ports with 4 removable, self powered
umass0:5:0:-1: Attached to scbus5
da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: <Generic USB SD Reader 1.00> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 scbus5 target 0 lun 1
da1: <Generic USB CF Reader 1.01> Removable Direct Access SCSI-0 device 
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim0 bus 0 scbus5 target 0 lun 2
da2: <Generic USB SM Reader 1.02> Removable Direct Access SCSI-0 device 
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
da3 at umass-sim0 bus 0 scbus5 target 0 lun 3
da3: <Generic USB MS Reader 1.03> Removable Direct Access SCSI-0 device 
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
ugen1.4: <American Power Conversion> at usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
ugen1.5: <Microsoft> at usbus1
ums0: <Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), class 0/0, rev 
1.10/3.00, addr 5> on usbus1
ums0: 5 buttons and [XYZ] coordinates ID=0
ugen1.6: <DELL> at usbus1
ukbd0: <DELL Dell QuietKey Keyboard, class 0/0, rev 1.10/1.01, addr 6> on usbus1
kbd2 at ukbd0
Trying to mount root from ufs:/dev/ada0s1a
_______________________________________________
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"

Reply via email to