Bug#635573: lspci output

August 05th, 2011 - 05:40 am ET by Hor Jiun Shyong | Report spam
root@nanyang:/home/jiunshyong# lspci -v
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [44] HyperTransport: Slave or Primary Interface
Capabilities: [dc] HyperTransport: MSI Mapping Enable+ Fixed-

00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0

00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: 66MHz, fast devsel, IRQ 10
I/O ports at 3080 [sized]
I/O ports at 3040 [sized]
I/O ports at 3000 [sized]
Capabilities: [44] Power Management version 2
Kernel driver in use: nForce2_smbus

00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: 66MHz, fast devsel

00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
Memory at fc200000 (32-bit, non-prefetchable) [sizeQ2K]

00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller
(rev a2) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
Memory at fc486000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci_hcd

00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller
(rev a2) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
Memory at fc489000 (32-bit, non-prefetchable) [size%6]
Capabilities: [44] Debug port: BAR=1 offset98
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd

00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller
(rev a2) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16
Memory at fc487000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci_hcd

00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller
(rev a2) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16
Memory at fc489400 (32-bit, non-prefetchable) [size%6]
Capabilities: [44] Debug port: BAR=1 offset98
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd

00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
(prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
I/O ports at 30c0 [size]
Capabilities: [44] Power Management version 2
Kernel driver in use: pata_amd

00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio
(rev a1)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at fc480000 (32-bit, non-prefetchable) [sizeK]
Capabilities: [44] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: HDA Intel

00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
(prog-if 01 [Subtractive decode])
Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary, secondary, subordinate, sec-latencyd
Memory behind bridge: fc100000-fc1fffff
Capabilities: [b8] Subsystem: Hewlett-Packard Company Device 30d6
Capabilities: [8c] HyperTransport: MSI Mapping Enable- Fixed-

00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
(prog-if 85 [Master SecO PriO])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
I/O ports at 30f0 [size=8]
I/O ports at 30e4 [size=4]
I/O ports at 30e8 [size=8]
I/O ports at 30e0 [size=4]
I/O ports at 30d0 [size]
Memory at fc484000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [44] Power Management version 2
Capabilities: [8c] SATA HBA v1.0
Capabilities: [b0] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [cc] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: ahci

00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 42
Memory at fc488000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 30f8 [size=8]
Memory at fc489c00 (32-bit, non-prefetchable) [size%6]
Memory at fc489800 (32-bit, non-prefetchable) [size]
Capabilities: [44] Power Management version 2
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit+
Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: forcedeth

00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary, secondary, subordinate, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: f8000000-fbffffff
Capabilities: [40] Subsystem: nVidia Corporation Device 0000
Capabilities: [48] Power Management version 2
Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
Capabilities: [80] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: pcieport

00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary, secondary, subordinate, sec-latency=0
Memory behind bridge: fc000000-fc0fffff
Capabilities: [40] Subsystem: nVidia Corporation Device 0000
Capabilities: [48] Power Management version 2
Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
Capabilities: [80] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: pcieport

00:12.0 VGA compatible controller: nVidia Corporation C67 [GeForce 7150M
/ nForce 630M] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10
Memory at f4000000 (32-bit, non-prefetchable) [sizeM]
Memory at d0000000 (64-bit, prefetchable) [size%6M]
Memory at f0000000 (64-bit, non-prefetchable) [sizeM]
[virtual] Expansion ROM at f1000000 [disabled] [size8K]
Capabilities: [48] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
Flags: fast devsel
Capabilities: [f0] Secure device <?>
Kernel driver in use: k8temp

01:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
(rev 05) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at fc100000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [dc] Power Management version 2
Kernel driver in use: firewire_ohci

01:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 22)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at fc100800 (32-bit, non-prefetchable) [size%6]
Capabilities: [80] Power Management version 2
Kernel driver in use: sdhci-pci

01:09.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 12)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at fc101000 (32-bit, non-prefetchable) [size%6]
Capabilities: [80] Power Management version 2

01:09.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
Subsystem: Hewlett-Packard Company Device 30d6
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at fc101400 (32-bit, non-prefetchable) [size%6]
Capabilities: [80] Power Management version 2
Kernel driver in use: r852

04:00.0 Network controller: Broadcom Corporation BCM4311 802.11a/b/g
(rev 02)
Subsystem: Hewlett-Packard Company Broadcom 802.11a/b/g WLAN
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at fc000000 (64-bit, non-prefetchable) [sizeK]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Lenx <?>
Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 9b-27-73-ff-ff-73-00-1a
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: b43-pci-bridge

root@nanyang:/home/jiunshyong#




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 4 repliesReplies Make a reply

Replies

#1 Jonathan Nieder
August 05th, 2011 - 11:40 am ET | Report spam
severity 635573 important
tags 635573 + upstream
forwarded 635573 https://bugzilla.kernel.org/show_bu...d"052
merge 620848 635573
tags 620848 + fixed-upstream
quit

Hi,

Hor Jiun Shyong wrote:

[Subject: lspci output]



Please keep in mind that this appears as the subject line when these
mails are received by email, so it can be a good place to put valuable
context.

[...]
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller



Yep, this looks like Bug#620848. Could you test the package from

http://people.debian.org/~benh/packages/linux-image-2.6.39-3-amd64_2.6.39-4~a.test1_amd64.deb

, the latest upstream snapshot version from kernel.org, or the
following patch? Instructions for testing a snapshot or a patch are
at <http://kernel-handbook.alioth.debian.org/>.

Thanks,
Jonathan

commit 6ea12a04
Author: Alan Stern
Date: Fri Jul 15 17:22:15 2011 -0400

USB: OHCI: fix another regression for NVIDIA controllers

The NVIDIA series of OHCI controllers continues to be troublesome. A
few people using the MCP67 chipset have reported that even with the
most recent kernels, the OHCI controller fails to handle new
connections and spams the system log with "unable to enumerate USB
port" messages. This is different from the other problems previously
reported for NVIDIA OHCI controllers, although it is probably related.

It turns out that the MCP67 controller does not like to be kept in the
RESET state very long. After only a few seconds, it decides not to
work any more. This patch (as1479) changes the PCI initialization
quirk code so that NVIDIA controllers are switched into the SUSPEND
state after 50 ms of RESET. With no interrupts enabled and all the
downstream devices reset, and thus unable to send wakeup requests,
this should be perfectly safe (even for non-NVIDIA hardware).

The removal code in ohci-hcd hasn't been changed; it will still leave
the controller in the RESET state. As a result, if someone unloads
ohci-hcd and then reloads it, the controller won't work again until
the system is rebooted. If anybody complains about this, the removal
code can be updated similarly.

This fixes Bugzilla #22052.

Tested-by: Larry Finger
Cc: stable
Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman

diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
index b5a7304f..a9d31590 100644
a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
@@ -35,6 +35,8 @@
#define OHCI_INTRSTATUS 0x0c
#define OHCI_INTRENABLE 0x10
#define OHCI_INTRDISABLE 0x14
+#define OHCI_FMINTERVAL 0x34
+#define OHCI_HCR (1 << 0) /* host controller reset */
#define OHCI_OCR (1 << 3) /* ownership change request */
#define OHCI_CTRL_RWC (1 << 9) /* remote wakeup connected */
#define OHCI_CTRL_IR (1 << 8) /* interrupt routing */
@@ -497,6 +499,32 @@ static void __devinit quirk_usb_handoff_ohci(struct pci_dev *pdev)

/* reset controller, preserving RWC (and possibly IR) */
writel(control & OHCI_CTRL_MASK, base + OHCI_CONTROL);
+ readl(base + OHCI_CONTROL);
+
+ /* Some NVIDIA controllers stop working if kept in RESET for too long */
+ if (pdev->vendor == PCI_VENDOR_ID_NVIDIA) {
+ u32 fminterval;
+ int cnt;
+
+ /* drive reset for at least 50 ms (7.1.7.5) */
+ msleep(50);
+
+ /* software reset of the controller, preserving HcFmInterval */
+ fminterval = readl(base + OHCI_FMINTERVAL);
+ writel(OHCI_HCR, base + OHCI_CMDSTATUS);
+
+ /* reset requires max 10 us delay */
+ for (cnt = 30; cnt > 0; --cnt) { /* ... allow extra time */
+ if ((readl(base + OHCI_CMDSTATUS) & OHCI_HCR) == 0)
+ break;
+ udelay(1);
+ }
+ writel(fminterval, base + OHCI_FMINTERVAL);
+
+ /* Now we're in the SUSPEND state with all devices reset
+ * and wakeups and interrupts disabled
+ */
+ }

/*
* disable interrupts



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics