All of lore.kernel.org
 help / color / mirror / Atom feed
* PCI/USB 2.0 4 port hub fails to install under Ubuntu 12.04
@ 2016-02-23  0:06 Harvey Partridge
  2016-02-23 14:29 ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Harvey Partridge @ 2016-02-23  0:06 UTC (permalink / raw)
  To: linux-pci

Qm9uam91ciwKCkkgaGF2ZSBhIHZlcnkgb2xkIEhld2xldHQtUGFja2FyZCBQQyB3aXRoIFVidW50dSAxMi4wNC4gUmVjZW50bHkgbXkgYnVpbHQtaW4KdXNiIHBvcnRzIGhhdmUgYmVjb21lIHZlcnkgZmxha3kgc28gSSBoYXZlIGJvdWdodCBhIG5ldyBsb3cgcHJvZmlsZSBQQ0kKNC1wb3J0IFVTQiAyLjAgaHViIChWSUEgVGVjaG5vbG9naWVzLCBJbmMuKSB3aGljaCBoYXMgZmFpbGVkIHRvIGluc3RhbGwuCgpJbW1lZGlhdGVseSBhcHBhcmVudCBpcyB0aGUgISEhZXJyb3Igbm90aWNlLiBJIGhhdmUgc3BlbnQgc2V2ZXJhbCBob3VycyBpbgpyZXNlYXJjaCB3aXRoIG5vIHN1Y2Nlc3MgLSBJIGFtIG9idmlvdXNseSBub3QgZG9pbmcgaXQgcmlnaHQhCgpPZGQsIHRvbywgdGhhdCBsc3BjaSBhbmQgbHNodyBvbmx5IGVudW1lcmF0ZSAzIHBvcnRzIG9uIHRoaXMgY2FyZCwgd2hlcmVhcwp0aGVyZSBhcmUgNC4KCkFueSBoZWxwIGdyYXRlZnVsbHkgcmVjZWl2ZWQuIEZhaWxpbmcgZGlyZWN0IGhlbHAsIEkgc2hvdWxkIGFwcHJlY2lhdGUgc29tZQpwb2ludGVycyBvbiBob3cgdG8gc3RhcnQgc2VsZi1oZWxwaW5nIC4uLiBUYSEgRm9yIGV4YW1wbGUsIEkgaW1hZ2luZSBpdAp3b3VsZCBiZSB1c2VmdWwgdG8gdW5kZXJzdGFuZCB0aGUgZXJyb3IgbWVzc2FnZSE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250cm9sbGVyCiAgICAgICAgICAgICAgICBwcm9kdWl0OiBWSUEgVGVjaG5vbG9naWVzLCBJbmMuCiAgICAgICAgICAgICAgICBmYWJyaXF1YW50OiBWSUEgVGVjaG5vbG9naWVzLCBJbmMuCiAgICAgICAgICAgICAgICBpZGVudGlmaWFudCBtYXTDqXJpZWw6IDEKICAgICAgICAgICAgICAgIGluZm9ybWF0aW9uIGJ1czogcGNpQDAwMDA6MDE6MDEuMAogICAgICAgICAgICAgICAgdmVyc2lvbjogNjEKICAgICAgICAgICAgICAgIGJpdHM6IDMyIGJpdHMKICAgICAgICAgICAgICAgIGhvcmxvZ2U6IDMzTUh6CiAgICAgICAgICAgICAgICBmb25jdGlvbm5hbGl0w6lzOiBwbSB1aGNpIGJ1c19tYXN0ZXIgY2FwX2xpc3QKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb246IGxhdGVuY3k9MCBtaW5nbnQ9MgogICAgICAgICAgICotdXNiOjEgTk9OLVLDiUNMQU3DiQogICAgICAgICAgICAgICAgZGVzY3JpcHRpb246IFVTQiBjb250cm9sbGVyCiAgICAgICAgICAgICAgICBwcm9kdWl0OiBWSUEgVGVjaG5vbG9naWVzLCBJbmMuCiAgICAgICAgICAgICAgICBmYWJyaXF1YW50OiBWSUEgVGVjaG5vbG9naWVzLCBJbmMuCiAgICAgICAgICAgICAgICBpZGVudGlmaWFudCBtYXTDqXJpZWw6IDEuMQogICAgICAgICAgICAgICAgaW5mb3JtYXRpb24gYnVzOiBwY2lAMDAwMDowMTowMS4xCiAgICAgICAgICAgICAgICB2ZXJzaW9uOiA2MQogICAgICAgICAgICAgICAgYml0czogMzIgYml0cwogICAgICAgICAgICAgICAgaG9ybG9nZTogMzNNSHoKICAgICAgICAgICAgICAgIGZvbmN0aW9ubmFsaXTDqXM6IHBtIHVoY2kgYnVzX21hc3RlciBjYXBfbGlzdAogICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbjogbGF0ZW5jeT0wIG1pbmdudD0yCiAgICAgICAgICAgKi11c2I6MiBOT04tUsOJQ0xBTcOJCiAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjogVVNCIGNvbnRyb2xsZXIKICAgICAgICAgICAgICAgIHByb2R1aXQ6IFZUNjEwNS9WVDYxMDZTIFtSaGluZS1JSUldCiAgICAgICAgICAgICAgICBmYWJyaXF1YW50OiBWSUEgVGVjaG5vbG9naWVzLCBJbmMuCiAgICAgICAgICAgICAgICBpZGVudGlmaWFudCBtYXTDqXJpZWw6IDEuMgogICAgICAgICAgICAgICAgaW5mb3JtYXRpb24gYnVzOiBwY2lAMDAwMDowMTowMS4yCiAgICAgICAgICAgICAgICB2ZXJzaW9uOiA2MwogICAgICAgICAgICAgICAgYml0czogMzIgYml0cwogICAgICAgICAgICAgICAgaG9ybG9nZTogMzNNSHoKICAgICAgICAgICAgICAgIGZvbmN0aW9ubmFsaXTDqXM6IHBtIGVoY2kgYnVzX21hc3RlciBjYXBfbGlzdAogICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbjogbGF0ZW5jeT0wIG1pbmdudD0yCi4uLg==


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PCI/USB 2.0 4 port hub fails to install under Ubuntu 12.04
  2016-02-23  0:06 PCI/USB 2.0 4 port hub fails to install under Ubuntu 12.04 Harvey Partridge
@ 2016-02-23 14:29 ` Bjorn Helgaas
  2016-02-24  0:03   ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2016-02-23 14:29 UTC (permalink / raw)
  To: Harvey Partridge; +Cc: linux-pci

Hi Harvey,

Thanks a lot for your report, and sorry you're having problems.

On Tue, Feb 23, 2016 at 12:06:54AM +0000, Harvey Partridge wrote:
> Bonjour,
> 
> I have a very old Hewlett-Packard PC with Ubuntu 12.04. Recently my built-in
> usb ports have become very flaky so I have bought a new low profile PCI
> 4-port USB 2.0 hub (VIA Technologies, Inc.) which has failed to install.

This is a plug-in PCI card, right?

> Immediately apparent is the !!!error notice. I have spent several hours in
> research with no success - I am obviously not doing it right!
> 
> Odd, too, that lspci and lshw only enumerate 3 ports on this card, whereas
> there are 4.
> 
> Any help gratefully received. Failing direct help, I should appreciate some
> pointers on how to start self-helping ... Ta! For example, I imagine it
> would be useful to understand the error message!
> 
> I shall be glad to supply any further diagnostics - just tell me!
> I am not a stranger to programming, but my major interests have been DBs
> rather than hardware...
> 
> PCI/VEN_1106&DEV_303A&REV_61
> 
> lsusb does not find these ports
> dmesg has no references to this card, that I can discover/recognise.
> 
> lspci -vvv -s 01:01
> 
> 01:01.0 Non-VGA unclassified device: VIA Technologies, Inc. Device 303a (rev 61)
> Subsystem: Accelgraphics Inc. Device 0003
> !!! Invalid class 0000 for header type 02
> Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr-
> DEVSEL=medium >TAbort- SERR- Latency: 22
> Interrupt: pin A routed to IRQ 0
> Region 0: Memory at (32-bit, non-prefetchable) [disabled]
> Bus: primary=00, secondary=00, subordinate=02, sec-latency=0
> Memory window 0: 00020000-0002fce1 [disabled]
> Memory window 1: 00020000-00020000 [disabled]
> I/O window 0: 00001104-00000003 [disabled]
> I/O window 1: 00000080-00000003 [disabled]
> BridgeCtl: Parity- SERR+ ISA- VGA- MAbort- >Reset- 16bInt- PostWrite- 

This particular device looks like a bridge, not a USB controller.  Can
you collect the complete "lspci -vvvxxx" output (as root) and the
complete dmesg log?

The first step is to figure out whether the PCI core is enumerating
the device.  If nothing else works, you could collect the dmesg log
with the card removed, then again with the card installed, and diff
the two.  The PCI core prints at least one line for each PCI device it
finds.

Bjorn

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PCI/USB 2.0 4 port hub fails to install under Ubuntu 12.04
  2016-02-23 14:29 ` Bjorn Helgaas
@ 2016-02-24  0:03   ` Bjorn Helgaas
  0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2016-02-24  0:03 UTC (permalink / raw)
  To: Harvey Partridge; +Cc: linux-pci

[I'm replying to linux-pci so this will be archived and possibly
useful for others who search for similar issues]

On Tue, Feb 23, 2016 at 08:29:42AM -0600, Bjorn Helgaas wrote:
> Hi Harvey,
> 
> Thanks a lot for your report, and sorry you're having problems.
> 
> On Tue, Feb 23, 2016 at 12:06:54AM +0000, Harvey Partridge wrote:
> > Bonjour,
> > 
> > I have a very old Hewlett-Packard PC with Ubuntu 12.04. Recently my built-in
> > usb ports have become very flaky so I have bought a new low profile PCI
> > 4-port USB 2.0 hub (VIA Technologies, Inc.) which has failed to install.
> 
> This is a plug-in PCI card, right?
> 
> > Immediately apparent is the !!!error notice. I have spent several hours in
> > research with no success - I am obviously not doing it right!
> > 
> > Odd, too, that lspci and lshw only enumerate 3 ports on this card, whereas
> > there are 4.
> > 
> > Any help gratefully received. Failing direct help, I should appreciate some
> > pointers on how to start self-helping ... Ta! For example, I imagine it
> > would be useful to understand the error message!
> > 
> > I shall be glad to supply any further diagnostics - just tell me!
> > I am not a stranger to programming, but my major interests have been DBs
> > rather than hardware...
> > 
> > PCI/VEN_1106&DEV_303A&REV_61
> > 
> > lsusb does not find these ports
> > dmesg has no references to this card, that I can discover/recognise.
> > 
> > lspci -vvv -s 01:01
> > 
> > 01:01.0 Non-VGA unclassified device: VIA Technologies, Inc. Device 303a (rev 61)
> > Subsystem: Accelgraphics Inc. Device 0003
> > !!! Invalid class 0000 for header type 02
> > Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> > Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr-
> > DEVSEL=medium >TAbort- SERR- Latency: 22
> > Interrupt: pin A routed to IRQ 0
> > Region 0: Memory at (32-bit, non-prefetchable) [disabled]
> > Bus: primary=00, secondary=00, subordinate=02, sec-latency=0
> > Memory window 0: 00020000-0002fce1 [disabled]
> > Memory window 1: 00020000-00020000 [disabled]
> > I/O window 0: 00001104-00000003 [disabled]
> > I/O window 1: 00000080-00000003 [disabled]
> > BridgeCtl: Parity- SERR+ ISA- VGA- MAbort- >Reset- 16bInt- PostWrite- 
> 
> This particular device looks like a bridge, not a USB controller.  Can
> you collect the complete "lspci -vvvxxx" output (as root) and the
> complete dmesg log?
> 
> The first step is to figure out whether the PCI core is enumerating
> the device.  If nothing else works, you could collect the dmesg log
> with the card removed, then again with the card installed, and diff
> the two.  The PCI core prints at least one line for each PCI device it
> finds.

With the card installed, your dmesg log shows the following new
devices:

  pci 0000:01:01.0: [1106:3038] type 0 class 0x000c03
  pci 0000:01:01.1: [1106:3038] type 0 class 0x000c03
  pci 0000:01:01.2: [1106:3104] type 0 class 0x000c03

But I think there's a hardware problem with your card or the bus it's
plugged into.  Look at the hex data:

  01:01.0 Non-VGA unclassified device: VIA Technologies, Inc. Device 303a
    00: 06 11 3a 30 04 00 12 02 61 00 03 0c 00 16 82 00
    10: 00 00 02 00 00 00 02 00 00 00 02 00 00 00 02 00
    20: e1 fc 02 00 00 00 02 00 00 00 02 00 06 11 3a 30
    30: 00 00 02 00 80 00 02 00 00 00 02 00 00 01 02 00
  01:01.1 Non-VGA unclassified device: VIA Technologies, Inc. Device 303a
    00: 06 11 3a 30 04 00 12 02 61 00 03 0c 00 16 82 00
    10: 00 00 02 00 00 00 02 00 00 00 02 00 00 00 02 00
    20: e1 fc 02 00 00 00 02 00 00 00 02 00 06 11 3a 30
    30: 00 00 02 00 80 00 02 00 00 00 02 00 00 02 02 00
  01:01.2 Non-VGA unclassified device: VIA Technologies, Inc.  VT6105/VT6106S
    00: 06 11 06 31 04 00 12 02 63 20 03 0c 00 16 82 00
    10: 00 00 02 00 00 00 02 00 00 00 02 00 00 00 02 00
    20: 00 00 02 00 00 00 02 00 00 00 02 00 06 11 06 31
    30: 00 00 02 00 80 00 02 00 00 00 02 00 00 03 02 00
               ^           ^           ^           ^

Bit 0x02 of every byte with low-order address bits of 0x2 is set.  I
think that wire on the bus is stuck.

Can you try a different copy of the same board?  Clean out the socket?
I'm guessing you don't have another copy of the motherboard to try.
But this sure looks like a hardware problem, not a software one.

Bjorn

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-24  0:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23  0:06 PCI/USB 2.0 4 port hub fails to install under Ubuntu 12.04 Harvey Partridge
2016-02-23 14:29 ` Bjorn Helgaas
2016-02-24  0:03   ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.