I have a Tecom BT3030 USB Bluetooth dongle which was working fine when
connected to my 1200MHz Athlon machine. When I decided to put it on my
mail/web/etc server, which is a Pentium 133, I started getting entries
in kern.log like this:
Jun 24 09:00:37 cheops kernel: usb-uhci.c: interrupt, status 31, frame# 666
Jun 24 09:00:37 cheops kernel: usb-uhci.c: Host controller halted, trying to restart.
I wondered about these for a while, but the device seems to work
well enough (for the limited use I have for it at the moment). A
Google search turned up several people with the same problem, but no
obvious idea of what to do about it (except for one suggestion to try
using the uhci module instead of usb-uhci: I tried that, and couldn't
get USB to work at all).
Today, however, I noticed that it seemed to have something to do
with CPU load. I get several of them when mail comes in (CPU load goes
up because SpamAssassin and some AV stuff gets run). I tried running
some programs to deliberately load the CPU, and was rewarded (if
that's the right word) with several more of the same errors.
The USB adapter is a rather generic PCI card I got about three
years ago. Apart from the Bluetooth dongle, there's also an HP PSC
2210 printer hanging off the bus; it seems to be working ok (although
it does hang now and then).
Admittedly, the box is rather old, but it normally runs at very low
CPU load (except for bursts when mail arrives and so on). It's quite
adequate for everything else: why would a USB dongle be so CPU
intensive?
Hmmm. After typing the above, I wonder whether I might have a
faulty USB card. Is it worth trying to track down an OHCI card (since
your FAQ says that they do more of USB in hardware, so presumably it's
stress a low-end box a lot less)? Or should I stick with UHCI?
.....Ron
Data follows:
Output of 'cat /proc/version':
------------------------------
Linux version 2.4.21-cheops-2 ([EMAIL PROTECTED]) (gcc version 3.2.3 20030415 (Debian
prerelease)) #1 Sun Jun 15 21:16:58 EDT 2003
Output of 'cat /proc/bus/usb/devices':
--------------------------------------
T: Bus=01 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=6400
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=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=2911 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=PSC 2200 Series
S: SerialNumber=MY27BB34QK0G
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=cc Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=84(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=86(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=07(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=2033 Rev= 0.a0
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=83(I) Atr=01(Isoc) MxPS= 16 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 16 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=83(I) Atr=01(Isoc) MxPS= 32 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 32 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=83(I) Atr=01(Isoc) MxPS= 32 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 32 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=83(I) Atr=01(Isoc) MxPS= 64 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 64 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=83(I) Atr=01(Isoc) MxPS= 64 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 64 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
Output of 'lspci -v':
---------------------
00:00.0 Host bridge: Intel Corp. 430HX - 82439HX TXC [Triton II] (rev 03)
Flags: bus master, medium devsel, latency 32
00:07.0 ISA bridge: Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01)
Flags: bus master, medium devsel, latency 0
00:07.1 IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80
[Master])
Flags: bus master, medium devsel, latency 32
I/O ports at f000 [size=16]
00:08.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
Subsystem: D-Link System Inc DFE-530TX+ 10/100 Ethernet Adapter
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at 6100 [size=256]
Memory at e1001000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00:09.0 Ethernet controller: Digital Equipment Corporation DECchip 21041 [Tulip
Pass 3] (rev 21)
Flags: bus master, medium devsel, latency 32, IRQ 12
I/O ports at 6200 [size=128]
Memory at e1000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at <unassigned> [disabled] [size=256K]
00:0a.0 VGA compatible controller: Tseng Labs Inc ET6000 (rev 14) (prog-if 00 [VGA])
Flags: slow devsel, IRQ 12
Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
I/O ports at 6300 [size=256]
Expansion ROM at <unassigned> [disabled] [size=16M]
00:0b.0 USB Controller: VIA Technologies, Inc. USB (rev 04) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 12
I/O ports at 6400 [size=32]
Output of 'sh ver_linux':
-------------------------
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux cheops 2.4.21-cheops-2 #1 Sun Jun 15 21:16:58 EDT 2003 i586 GNU/Linux
Gnu C gcc (GCC) 3.3 (Debian) Copyright (C) 2003 Free Software
Foundation, Inc. This is free software; see the source for copying conditions. There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Gnu make 3.80
util-linux 2.11z
mount 2.11z
modutils 2.4.21
e2fsprogs 1.34-WIP
reiserfsprogs 3.x.0j
pcmcia-cs 3.2.2
PPP 2.4.1
Linux C Library 2.3.1
Dynamic linker (ldd) 2.3.1
Procps 3.1.9
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 5.0
Modules Loaded ipsec nfs l2cap rfcomm sd_mod ide-cd cdrom nfsd lockd sunrpc
ipt_mac ipt_TOS ipt_limit ipt_MASQUERADE ipt_state ipt_LOG ipt_REJECT iptable_nat
ip_conntrack iptable_mangle iptable_filter ip_tables parport_pc lp parport binfmt_misc
snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-pcm snd-timer
snd-page-alloc snd-mixer-oss snd soundcore orinoco_cs orinoco hermes ds i82365
pcmcia_core serial isa-pnp 8139too mii af_packet tulip hci_usb bluez usb-storage
scsi_mod printer usb-uhci usbcore
Output of 'cat /proc/cpuinfo':
------------------------------
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 132.875
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 264.60
--
Ron Murray ([EMAIL PROTECTED])
http://www.rjmx.net/~ron
GPG Public Key Fingerprint: F2C1 FC47 5EF7 0317 133C D66B 8ADA A3C4 D86C 74DE
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users