Re: USB problem on x86_64: nommu_map_single() issue?

From: Nicolas Bareil
Date: Tue Oct 14 2008 - 06:45:23 EST


Hi Oliver,

On Tue, Oct 14, 2008 at 11:48:47AM +0200, Oliver Neukum wrote:
> > On 2.6.27, I can't use any USB device (mass storage, mouse) anymore on my x86_64 system, the devices
> > are not detected: lsusb returns nothing except the hub.
>
> Is this a regression? Did it work on earlier kernels?

Yes this is a regression: USB works in 2.6.26.x with (almost) the same configuration.

> > I have the following logs in kern.log when booting with my USB mouse plugged :
>
> For confirmation boot with mem=2G on the kernel command line?

With this workaround, the USB works with the following logs (don't know if it's useful):

Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: setting latency timer to 64
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: debug port 1
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: irq 16, io mem 0xf0204000
Oct 14 12:30:22 brew kernel: USB Universal Host Controller Interface driver v3.0
Oct 14 12:30:22 brew kernel: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Oct 14 12:30:22 brew kernel: usb usb1: configuration #1 chosen from 1 choice
Oct 14 12:30:22 brew kernel: hub 1-0:1.0: USB hub found
Oct 14 12:30:22 brew kernel: hub 1-0:1.0: 8 ports detected
Oct 14 12:30:22 brew kernel: intel_rng: Firmware space is locked read-only. If you can't or
Oct 14 12:30:22 brew kernel: intel_rng: don't want to disable this in firmware setup, and if
Oct 14 12:30:22 brew kernel: intel_rng: you are certain that your system has a functional
Oct 14 12:30:22 brew kernel: intel_rng: RNG, try using the 'no_fwh_detect' option.
Oct 14 12:30:22 brew kernel: HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
Oct 14 12:30:22 brew kernel: HDA Intel 0000:00:1b.0: setting latency timer to 64
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.0: setting latency timer to 64
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.0: irq 16, io base 0x00002000
Oct 14 12:30:22 brew kernel: usb usb2: configuration #1 chosen from 1 choice
Oct 14 12:30:22 brew kernel: hub 2-0:1.0: USB hub found
Oct 14 12:30:22 brew kernel: hub 2-0:1.0: 2 ports detected
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.1: setting latency timer to 64
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002020
Oct 14 12:30:22 brew kernel: usb usb3: configuration #1 chosen from 1 choice
Oct 14 12:30:22 brew kernel: hub 3-0:1.0: USB hub found
Oct 14 12:30:22 brew kernel: hub 3-0:1.0: 2 ports detected
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.2: setting latency timer to 64
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.2: irq 18, io base 0x00002040
Oct 14 12:30:22 brew kernel: usb usb4: configuration #1 chosen from 1 choice
Oct 14 12:30:22 brew kernel: hub 4-0:1.0: USB hub found
Oct 14 12:30:22 brew kernel: hub 4-0:1.0: 2 ports detected
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 22 (level, low) -> IRQ 22
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.3: setting latency timer to 64
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.3: UHCI Host Controller
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
Oct 14 12:30:22 brew kernel: uhci_hcd 0000:00:1d.3: irq 22, io base 0x00002060
Oct 14 12:30:22 brew kernel: usb usb5: configuration #1 chosen from 1 choice
Oct 14 12:30:22 brew kernel: hub 5-0:1.0: USB hub found
Oct 14 12:30:22 brew kernel: hub 5-0:1.0: 2 ports detected
Oct 14 12:30:22 brew kernel: usb 3-1: new low speed USB device using uhci_hcd and address 2

Thank you for your time!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/