1. Summary of the problem:
When connecting my USB keyboard (manufacterer: BTC), the system hangs completely: no interaction possible, no networking, nothing.


2. Full description.
I am running different versions of Linux on this hardware for about 1.5 years now. Never had problems with Redhat Linux 7.3, Redhat Linux 8.0 or Slackware 9.0. However, the kernel of Fedora core 1 never worked for me: system hangs during the boot process. Other, more recent Linux version (Slax 4.01, Suse live-eval 9.0) do not work either. I started to trace this down and found the following scenario to reproduce the problem:
- Boot the system without keyboard
- Plug in the keyboard after booting
---> The system locks up after a couple of seconds on Fedora, Slax and Suse. No actions are possible anymore except switching the power off.
The working linux-versions I tested all had a 2.4.20 kernel
The linux-versions that hang the system all have a 2.4.21 kernel or higher.


3. Keywords:
usb keyboard HID

4. Kernel version
2.4.25

5.  Oops message:
Sorry, too newbie for that but here are some messages from the system log:

Here is the system log:
Mar  4 17:32:11 localhost kernel: hub.c: new USB device 00:1f.2-2, assigned address 2
Mar  4 17:32:11 localhost kernel: hub.c: USB hub found
Mar  4 17:32:11 localhost kernel: hub.c: 2 ports detected
Mar  4 17:32:11 localhost kernel: hub.c: new USB device 00:1f.2-2.1, assigned ad dress 
3
Mar  4 17:32:14 localhost kernel: input: USB HID v1.00 Keyboard [BTC USB Keyboard] on 
usb1:3.0
Mar  4 17:32:14 localhost usb.agent[2437]: missing kernel or user mode driver usbcore
Mar  4 17:32:14 localhost usb.agent[2437]: missing kernel or user mode driver usbcore
Mar  4 17:32:15 localhost devlabel: devlabel service started/restarted
Mar  4 17:32:19 localhost kernel: usb_control/bulk_msg: timeout

6. Shell scripts
Not relevant/just plug in the keyboard

7. Environment:
7.1 Software
Linux slax 2.4.25 #1 Mon Feb 23 22:38:32 Local time zone must be set--see zic manu i686 unknown unknown GNU/Linux
Gnu C 18:
util-linux 2.12
mount 2.12
modutils 2.4.25
e2fsprogs 1.34
jfsutils 1.1.3
pcmcia-cs 3.2.5
PPP 2.4.2
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 2.0.18
Net-tools 1.60
Kbd 1.08
Sh-utils 5.2.0
Modules Loaded snd-pcm-oss snd-mixer-oss parport_pc lp parport uhci usbcore snd-intel8x0 gameport snd-mpu401-uart snd-rawmidi snd-seq-device snd-intel8x0m snd-pcm snd-timer snd-page-alloc snd-ac97-codec snd soundcore via-rhine mii crc32 pcmcia_core agpgart ovl file_io klists ntfs ide-scsi


7.2 CPU
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 1
model name      : Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping        : 2
cpu MHz         : 1700.072
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : 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 ht tm
bogomips        : 3394.76

7.3 Modules: (note: i generated this after I booted with a working 2.4.20 kernel)
sd_mod                 12844   0 (autoclean) (unused)
sr_mod                 16280   0 (autoclean)
i810_audio             26056   0 (autoclean)
ac97_codec             13064   0 (autoclean) [i810_audio]
soundcore               5892   2 (autoclean) [i810_audio]
parport_pc             17028   1 (autoclean)
lp                      8292   0 (autoclean)
parport                33120   1 (autoclean) [parport_pc lp]
via-rhine              14736   1
mii                     3592   0 [via-rhine]
ide-scsi               10672   0
scsi_mod              100664   3 [sd_mod sr_mod ide-scsi]
ide-cd                 32512   0
cdrom                  30272   0 [sr_mod ide-cd]
keybdev                 2688   0 (unused)
mousedev                5076   1
hid                    20196   0 (unused)
input                   5440   0 [keybdev mousedev hid]
usb-uhci               23756   0 (unused)
usbcore                71296   1 [hid usb-uhci]
ext3                   61792   2
jbd                    46644   2 [ext3]



7.4 Driver and hardware information: (generated after booting with a working 2.4.20 kernel)

[EMAIL PROTECTED] scripts]$ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0c00-0c0f : Intel Corp. 82801BA/BAM SMBus
0cf8-0cff : PCI conf1
9c00-9cff : VIA Technologies, Inc. VT6102 [Rhine-II]
 9c00-9cff : via-rhine
c800-c81f : Intel Corp. 82801BA/BAM USB (Hub #1)
 c800-c81f : usb-uhci
cc00-cc1f : Intel Corp. 82801BA/BAM USB (Hub #2)
 cc00-cc1f : usb-uhci
d000-d03f : Intel Corp. 82801BA/BAM AC'97 Audio
 d000-d03f : Intel ICH2
d400-d4ff : Intel Corp. 82801BA/BAM AC'97 Audio
 d400-d4ff : Intel ICH2
d800-d87f : Intel Corp. 82801BA/BAM AC'97 Modem
dc00-dcff : Intel Corp. 82801BA/BAM AC'97 Modem
fc00-fc0f : Intel Corp. 82801BA IDE U100
 fc00-fc07 : ide0
 fc08-fc0f : ide1

[EMAIL PROTECTED] scripts]$ cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d0000-000d3fff : reserved
000f0000-000fffff : System ROM
00100000-0ffeffff : System RAM
 00100000-0022fc04 : Kernel code
 0022fc05-0032c563 : Kernel data
0fff0000-0fff7fff : ACPI Tables
0fff8000-0fffffff : ACPI Non-volatile Storage
d5a00000-e5afffff : PCI Bus #01
 d8000000-dfffffff : nVidia Corporation NV11 [GeForce2 MX]
e8000000-ebffffff : Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge
edd00000-efdfffff : PCI Bus #01
 ee000000-eeffffff : nVidia Corporation NV11 [GeForce2 MX]
efefff00-efefffff : VIA Technologies, Inc. VT6102 [Rhine-II]
 efefff00-efefffff : via-rhine
fec00000-fec00fff : reserved
fee00000-fee00fff : reserved
ffb00000-ffbfffff : reserved
fffc0000-ffffffff : reserved


7.5 PCI information:


[EMAIL PROTECTED] root]# lspci -vvv
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ 
>SERR- <PERR-
       Latency: 0
       Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
       Capabilities: [e4] #09 [0104]
       Capabilities: [a0] AGP version 2.0
               Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2,x4
               Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03) 
(prog-if 00 [Normal decode])
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR+ FastB2B-
       Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 32
       Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
       I/O behind bridge: 0000f000-00000fff
       Memory behind bridge: edd00000-efdfffff
       Prefetchable memory behind bridge: d5a00000-e5afffff
       BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 
12) (prog-if 00 [Normal decode])
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR+ FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0
       Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
       I/O behind bridge: 00009000-00009fff
       Memory behind bridge: efe00000-efefffff
       Prefetchable memory behind bridge: e5b00000-e5bfffff
       BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12)
       Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0

00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12) (prog-if 80 [Master])
       Subsystem: Unknown device 1631:2440
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0
       Region 4: I/O ports at fc00 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12) (prog-if 00 
[UHCI])
       Subsystem: Unknown device 1631:2440
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0
       Interrupt: pin D routed to IRQ 9
       Region 4: I/O ports at c800 [size=32]

00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 12)
       Subsystem: Unknown device 1631:2440
       Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Interrupt: pin B routed to IRQ 9
       Region 4: I/O ports at 0c00 [size=16]

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12) (prog-if 00 
[UHCI])
       Subsystem: Unknown device 1631:2440
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0
       Interrupt: pin C routed to IRQ 9
       Region 4: I/O ports at cc00 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 12)
       Subsystem: Unknown device 1631:2004
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0
       Interrupt: pin B routed to IRQ 9
       Region 0: I/O ports at d400 [size=256]
       Region 1: I/O ports at d000 [size=64]

00:1f.6 Modem: Intel Corp. Intel 537 [82801BA/BAM AC'97 Modem] (rev 12) (prog-if 00 
[Generic])
       Subsystem: Unknown device 1631:3003
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 0
       Interrupt: pin B routed to IRQ 9
       Region 0: I/O ports at dc00 [size=256]
       Region 1: I/O ports at d800 [size=128]

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev 
b2) (prog-if 00 [VGA])
       Subsystem: LeadTek Research Inc.: Unknown device d351
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 32 (1250ns min, 250ns max)
       Interrupt: pin A routed to IRQ 11
       Region 0: Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
       Region 1: Memory at d8000000 (32-bit, prefetchable) [size=128M]
       Expansion ROM at efdf0000 [disabled] [size=64K]
       Capabilities: [60] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
               Status: D0 PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [44] AGP version 2.0
               Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2,x4
               Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

02:01.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 43)
       Subsystem: D-Link System Inc DFE-530TX rev A
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
       Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
       Latency: 32 (750ns min, 2000ns max), cache line size 08
       Interrupt: pin A routed to IRQ 10
       Region 0: I/O ports at 9c00 [size=256]
       Region 1: Memory at efefff00 (32-bit, non-prefetchable) [size=256]
       Expansion ROM at efee0000 [disabled] [size=64K]
       Capabilities: [40] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot-,D3cold-)
               Status: D0 PME-Enable- DSel=0 DScale=0 PME-

7.6 Scsi information
[EMAIL PROTECTED] root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
 Vendor: IDE-CD   Model: R/RW 12x8x32     Rev: N3.8
 Type:   CD-ROM                           ANSI SCSI revision: 02

7.7 Other information

[EMAIL PROTECTED] root]# cat /proc/bus/usb/devices
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=cc00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=134/900 us (15%), #Int=  4, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=c800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1631 ProdID=5400 Rev= 0.03
S:  Manufacturer=BTC
S:  Product=USB Keyboard
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms
T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1631 ProdID=5002 Rev= 0.03
S:  Manufacturer=BTC
S:  Product=USB Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=hid
E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=255ms
T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  4 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c001 Rev=20.00
S:  Manufacturer=Logitech?
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms





Kind regards,
Bruno





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to