Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 16:47:12 -0600
From:      James Earl <kim-james@telusplanet.net>
To:        Colin Harford <colin.harford@mail.su.ualberta.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: uhub0: device problem, disabling port 2
Message-ID:  <20020614164712.5e680d81.kim-james@telusplanet.net>
In-Reply-To: <B92E27D3.19B2C%colin.harford@mail.su.ualberta.ca>
References:  <20020613171816.25c19e3f.kim-james@telusplanet.net> <B92E27D3.19B2C%colin.harford@mail.su.ualberta.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Jun 2002 10:43:31 -0600
Colin Harford <colin.harford@mail.su.ualberta.ca> wrote:

>On 6/13/02 5:18 PM, "James Earl" <kim-james@telusplanet.net> wrote:
>
>> On Wed, 12 Jun 2002 13:45:26 -0600
>> Colin Harford <colin.harford@mail.su.ualberta.ca> wrote:
>> 
>>> On 6/12/02 2:35 PM, "James Earl" <kim-james@telusplanet.net> wrote:
>>> 
>>>> I recompiled my kernel with some of the usb debug options.  Here's some of
>>>> the
>>>> new info it gave me.  I'm not sure if it helps though:
>>>> 
>>>> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 11
>>>> at
>>>> de
>>>> vice 7.2 on pci0
>>>> uhci0: LegSup = 0x00000010
>>>> uhci_run: setting run=0
>>>> uhci_run: done cmd=0x80 sts=0x20
>>>> uhci_run: setting run=1
>>>> uhci_run: done cmd=0x81 sts=0x0
>>>> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
>>>> usb0: USB revision 1.0
>>>> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>>>> uhub0: 2 ports with 2 removable, self powered
>>>> ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1
>>>> ums0: 3 buttons and Z dir.
>>>> uhci_waitintr: timeout
>>>> usbd_transfer_cb: short transfer 0<18
>>>> usbd_new_device: addr=3, getting full desc failed
>>>> uhub_explore: usb_new_device failed, error=SHORT_XFER
>>>> uhub0: device problem, disabling port 2
>>>> 
>>>> On Tue, 11 Jun 2002 11:31:30 -0600
>>>> Colin Harford <colin.harford@mail.su.ualberta.ca> wrote:
>>>> 
>>>>> On 6/11/02 3:52 PM, "James Earl" <kim-james@telusplanet.net> wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I have an HP ScanJet 4100C USB scanner.  FreeBSD (4.5, 4.6) gives for
>>>>>> following message when the device is connected to either usb port on my
>>>>>> computer:
>>>>>> 
>>>>>> uhub0: device problem, disabling port 2
>>>>>> 
>>>>>> My USB controller is stated as an: Intel 82371AB/EB (PIIX4) on uhci0
>>>>>> 
>>>>>> I have searched through the mailing list archives, and have seen a couple
>>>>>> other posts from people with a similar problem, but they haven't received
>>>>>> any
>>>>>> follow-up posts.
>>>>>> 
>>>>>> Can anyone here give me any direction regarding this problem?  Should I
>>>>>> post
>>>>>> this message on freebsd-hardware?
>>>>>> 
>>>>>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>>>>>> with "unsubscribe freebsd-questions" in the body of the message
>>>>> 
>>>>> 
>>>>> 1) try disabling pcibios
>>>>> 2) check IRQ conflicts...
>>>>> 
>>>>> 
>>>>> Colin Harford    
>>> 
>>> 
>>> Try unplugging your mouse and see if you still get the uhub errors.
>>> 
>>> As for the pcibios, it doesn't matter if you have a device that uses it or
>>> not.  In my experience a lot of hardware problems in BSD based systems stem
>>> from it.
>>> 
>>> 
>>> Colin Harford    
>> 
>> There was no difference with or without the mouse plugged in.
>> 
>> Regarding pcibios, I'm sorry I should have worded that differently.  When I
>> said I don't have a pcibios device to disable, I meant to say: when I tried to
>> disable pcibios it said I didn't have a device called "pcibios0."  I tried
>> this using the boot-up config (config -c at the boot prompt).  Is this the
>> same method you would use for disabling pcibios?
>> 
>> I was trying out some different BIOS settings to see if I can make anything
>> change, and one time I rebooted I received a different error message when
>> trying to attach the scanner:
>> 
>> uhci_idone: error, addr=0, endpt=0x00, status 0x440000<CRCTO,STALLED>
>> usb_new_device: set address 3 failed
>> uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED
>> uhub0: device problem, disabling port 2
>> 
>> After rebooting again numerous times, it seems this happens randomly and had
>> nothing to do with my BIOS settings.  Strange...
>> 
>> Are you aware of a way to better debug what's going on?
>> 
>> Thanks
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>
>What version of FreeBSD are you using.
>
>What type of mother board do you have.
>
>I know that some chipsets have problems with USB on BSD based systems.  My
>Asus p5a has that problem.
>
>
>Can you type dmesg and paste that to the list.
>
>Colin Harford    

I'm running the cvsup version of 4.6.  I was running 4.5-STABLE and thought I'd try upgrading to see if that changed anything.

My motherboard is a Gigabyte BX2000

Maybe this would be a good excuse to upgrade my motherboard and processor!  (but then I'd worry that the new one wouldn't work).

Here's my dmesg output:

Copyright (c) 1992-2002 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 4.6-RELEASE #15: Fri Jun 14 16:40:37 MDT 2002
    james@box.ici.net:/usr/src/sys/compile/BOX
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 399956718 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (399.96-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x653  Stepping = 3
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
real memory  = 335478784 (327616K bytes)
avail memory = 323055616 (315484K bytes)
Preloaded elf kernel "kernel" at 0xc02f9000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02f909c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fdd70
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci1: <ATI Rage128-RF graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 10 at de
vice 7.2 on pci0
uhci_run: setting run=0
uhci_run: done cmd=0x0 sts=0x20
uhci_run: setting run=1
uhci_run: done cmd=0x81 sts=0x0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci_idone: error, addr=0, endpt=0x00, status 0x440000<CRCTO,STALLED>
usb_new_device: set address 3 failed
uhub0: device problem, disabling port 2
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
pci0: <unknown card> (vendor=0x12eb, dev=0x0002) at 9.0 irq 5
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ad0: 9765MB <Maxtor 91024D4> [19841/16/63] at ata0-master UDMA33
acd0: CD-RW <Hewlett-Packard CD-Writer Plus 8100> at ata1-master PIO3
Mounting root from ufs:/dev/ad0s1a


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020614164712.5e680d81.kim-james>