Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2014 11:43:48 -0800
From:      Randall Fox <randall.fox@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Disconnects every 15 seconds
Message-ID:  <CANqctif759OC0Y8Oof-j1n2ECnnnsf5ro=54rnzCMV_HVTrLkg@mail.gmail.com>
In-Reply-To: <548DDC93.2020601@selasky.org>
References:  <CANqctidkhOkKv4wh=V_hcEiKxuN1Q=5g=DcBBkOUxRN85SJnNg@mail.gmail.com> <548D38D5.2010700@selasky.org> <CANqctif12bbn_iDBYS6DX6N_AaxQgw-tumLPch-pVMu_gALqFA@mail.gmail.com> <548DDC93.2020601@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On everything below, I removed the USB hub I tested with in the last
message and plugged the UPS directly into the computers USB port, like
before.

> Can you send the output from "pciconv -lv" especially those lines which
relate to USB controllers?
> Also try setting:
> sysctl hw.usb.no_cs_fail=1

$ sysctl hw.usb.no_cs_fail=1
hw.usb.no_cs_fail: 0 -> 1
$
I previously tried the above, it had no effect.  I tried it again just to
be sure, still no effect.  I assumed an immediate effect, unless a reboot
is needed?

Here are the interesting results from pciconf -lv, (I replaced the \n with
a comma to make thing more compact and I removed the boring stuff.  I also
put the USB stuff at the top.)
Note: I included my motherboard and periph data below if that helps.  And
thanks again for your help.

ehci0@pci0:0:26:0:    class=0x0c0320 card=0x062b15d9 chip=0x1d2d8086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg USB2
Enhanced Host Controller',class=serial bus,subclass= USB
ehci1@pci0:0:29:0:    class=0x0c0320 card=0x062b15d9 chip=0x1d268086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg USB2
Enhanced Host Controller',class=serial bus,subclass= USB

none12@pci0:0:31:3:    class=0x0c0500 card=0x062b15d9 chip=0x1d228086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg SMBus Host
Controller',class=serial bus,subclass= SMBus
ioapic0@pci0:0:5:4:    class=0x080020 card=0x062b15d9 chip=0x0e2c8086
rev=0x04 hdr=0x00,vendor='Intel Corporation',class=base
peripheral,subclass= interrupt controller
pcib5@pci0:0:17:0:    class=0x060400 card=0x062b15d9 chip=0x1d3e8086
rev=0x06 hdr=0x01,vendor='Intel Corporation',device= 'Patsburg PCI Express
Virtual Root Port',class=bridge,subclass= PCI-PCI
none10@pci0:0:22:0:    class=0x078000 card=0x062b15d9 chip=0x1d3a8086
rev=0x05 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg MEI
Controller',class=simple comms
none11@pci0:0:22:1:    class=0x078000 card=0x062b15d9 chip=0x1d3b8086
rev=0x05 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg MEI
Controller',class=simple comms
pcib6@pci0:0:28:0:    class=0x060400 card=0x062b15d9 chip=0x1d108086
rev=0xb6 hdr=0x01,vendor='Intel Corporation',device= 'Patsburg PCI Express
Root Port 1',class=bridge,subclass= PCI-PCI
pcib7@pci0:0:30:0:    class=0x060401 card=0x062b15d9 chip=0x244e8086
rev=0xa6 hdr=0x01,vendor='Intel Corporation',device= '82801 PCI
Bridge',class=bridge,subclass= PCI-PCI
isab0@pci0:0:31:0:    class=0x060100 card=0x062b15d9 chip=0x1d418086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg LPC
Controller',class=bridge,subclass= PCI-ISA
atapci0@pci0:0:31:2:    class=0x01018a card=0x062b15d9 chip=0x1d008086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg 4-Port SATA
IDE Controller',class=mass storage,subclass= ATA
atapci1@pci0:0:31:5:    class=0x010185 card=0x062b15d9 chip=0x1d088086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg 2-Port SATA
IDE Controller',class=mass storage,subclass= ATA
none13@pci0:0:31:6:    class=0x118000 card=0x062b15d9 chip=0x1d248086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg Thermal
Management Controller',class=dasp
mps0@pci0:2:0:0:    class=0x010700 card=0x30201000 chip=0x00721000 rev=0x02
hdr=0x00,vendor='LSI Logic / Symbios Logic',device= 'SAS2008 PCI-Express
Fusion-MPT SAS-2 [Falcon]',class=mass storage,subclass= SAS
igb0@pci0:3:0:0:    class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01
hdr=0x00,vendor='Intel Corporation',device= 'I350 Gigabit Network
Connection',class=network,subclass= ethernet
igb1@pci0:3:0:1:    class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01
hdr=0x00,vendor='Intel Corporation',device= 'I350 Gigabit Network
Connection',class=network,subclass= ethernet
mps1@pci0:5:0:0:    class=0x010700 card=0x30201000 chip=0x00721000 rev=0x03
hdr=0x00,vendor='LSI Logic / Symbios Logic',device= 'SAS2008 PCI-Express
Fusion-MPT SAS-2 [Falcon]',class=mass storage,subclass= SAS
isci0@pci0:6:0:0:    class=0x010700 card=0x062b15d9 chip=0x1d6b8086
rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg 4-Port SATA
Storage Control Unit',class=mass storage,subclass= SAS
mps2@pci0:7:0:0:    class=0x010700 card=0x30201000 chip=0x00721000 rev=0x02
hdr=0x00,vendor='LSI Logic / Symbios Logic',device= 'SAS2008 PCI-Express
Fusion-MPT SAS-2 [Falcon]',class=mass storage,subclass= SAS
vgapci0@pci0:8:4:0:    class=0x030000 card=0x062b15d9 chip=0x0532102b
rev=0x0a hdr=0x00,vendor='Matrox Graphics, Inc.',device= 'MGA G200eW
WPCM450',class=display,subclass= VGA

Computer stats:
CASE: SUPERMICRO CSE-846A-R1200B Black 4U R
PROCESSOR: Intel Xeon E5-2609 v2 Ivy Bridge-EP 2.5GHz 10MB L3
MOTHERBOARD: SUPERMICRO X9SRI-F ATX Server Motherboard LGA 2011
MEMORY: 16GB
FreeNAS v9.2.1.3  (FreeBSD 9.2, planning to upgrade to 9.3 shortly,as it
just came out)
UPS: Tripp Lite TRIPP LITE SMART1500RM2U
HD CONTROLLERS: IBM ServeRAID M1015 SAS/SATA Controller (x3)
Hard Drives: TOSHIBA 3TB DT01ACA3 (x6)




On Sun, Dec 14, 2014 at 10:53 AM, Hans Petter Selasky <hps@selasky.org>
wrote:
>
> On 12/14/14 19:26, Randall Fox wrote:
>
>> Thanks for the reply...  Here are the answers to you questions.
>>
>>  What USB controllers are you using? EHCI/XHCI/OHCI/UHCI?
>>>
>> I'm not sure how to check this, but it looks like it's using EHCI, at
>> least
>> it shows that when running usbconfig:
>> $ usbconfig
>>
>> ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=SAVE (0mA)
>> ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=SAVE (0mA)
>> ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH
>> (480Mbps) pwr=SAVE (0mA)
>> ugen1.2: <product 0x0024 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH
>> (480Mbps) pwr=SAVE (0mA)
>> ugen0.3: <Hermon USB hidmouse Device Winbond Electronics Corp> at usbus0,
>> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.3: <Cruzer SanDisk> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=ON (200mA)
>> ugen1.4: <TRIPP LITE SMART1500RM2U Tripp Lite> at usbus1, cfg=0 md=HOST
>> spd=LOW (1.5Mbps) pwr=ON (0mA)
>>
>>
>>  Are all USB controller drivers loaded?
>>>
>>
>> I would assume so.  Since the device is USB HID, I don't have any device
>> specific drivers to load.  And since the mouse/keyboard etc, loads
>> fine,and
>> I don't see any errors in the logs.  If there is somewhere else I should
>> check, just point me in that direction.  I would assume if it was a driver
>> problem, the communication to the device would not work at all.  I can
>> communicate with it, it just disconnects and reconnects frequently.
>>
>>  Did you try connecting the device through an external USB HUB?
>>>
>>
>> Just did, here is the result.  Interesting, but still the same result, but
>> with more info.  The hub I used is part of my monitor, a new Dell with a
>> USB3 hub in it.  I had to lug it into the server room.  I usually run
>> headless.
>>
>>
> Hi,
>
> Can you send the output from "pciconv -lv" especially those lines which
> relate to USB controllers?
>
> Also try setting:
>
> sysctl hw.usb.no_cs_fail=1
>
> --HPS
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANqctif759OC0Y8Oof-j1n2ECnnnsf5ro=54rnzCMV_HVTrLkg>