LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-25-2013, 03:09 PM   #1
GrafVonF(x)
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Question Various USB bugs on Ubuntu Server 12.04 LTS


Hi everybody,
since 2 years I am running an heavily modified (new CPU, new RAM, new HDD, new GPU) HP desktop as a server using Ubuntu Server 10.04 and lately 12.04.
Now, I have decided to upgrade it to a HTPC (with Satellite TV, video archive etc.). For this, among other things I got a Technisat SkyStar USB HD (DVB-S2 tuner) and a Microsoft Wireless 800 KB/Mouse combo. And so the problems started. Both KB and Mouse are extremely laggy (>2sec) and the tuner takes nearly 2 minutes to tune to a channel. If I connect a keyboard to the PS/2-input, it works smooth and perfect. I decided to test the hardware with a Mythbuntu Live-USB-Stick, which, however, took ages to start (after 30min i reset the system).
From this, I figured out that the problem is the USB port, so I took an NEC USB 2.0 PCI card I had floating around and installed it into the system. The card itself was detected, but the ports don't work better.
According to dmesg at startup the system tells me that IRQ 19 and 23 occured and nobody cared for them. From lspci -v and /proc/interrupts I got that these two IRQs belong to the North- of Southbridge (I'm not entirely sure) and the USB-PCI-card. Interestingly, only the USB 2.0 (EHCI) devices don't work.
The Linux USB FAQ states that in this case, one should try to remove the ehci-hcd module, however, it isn't even loaded (should I load it?).

System specs are:
MB: Some HP-designed MB
Chipset: ATI IXP SB400
CPU: AMD Athlon 64 4000+
RAM: 4GB DDR
GPU: Zotac GeForce G210
USB card: NEC Corporation Hama USB

Kernel: 3.2.42 #1 SMP Fri May 3 22:15:29 CEST 2013 i686 athlon i386 GNU/Linux

lspci -v:
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RS480 Host Bridge (rev 10)
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 64
        I/O ports at 4100 [disabled] [size=32]
        Memory at <ignored> (64-bit, non-prefetchable)
        Kernel modules: ati-agp

00:02.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RS480 PCI-X Root Port (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fb000000-fcffffff
        Prefetchable memory behind bridge: 00000000b0000000-00000000cfffffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:12.0 IDE interface: Advanced Micro Devices [AMD] nee ATI IXP SB400 Serial ATA Controller (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
        I/O ports at fe00 [size=8]
        I/O ports at fd00 [size=4]
        I/O ports at fc00 [size=8]
        I/O ports at fb00 [size=4]
        I/O ports at fa00 [size=16]
        Memory at fe02f000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at d0000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: sata_sil
        Kernel modules: sata_sil

00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI IXP SB400 USB Host Controller (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at fe02e000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd

00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI IXP SB400 USB Host Controller (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd

00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI IXP SB400 USB2 Host Controller (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at fe02c000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI IXP SB400 SMBus Controller (rev 11)
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: 66MHz, medium devsel
        I/O ports at 0500 [size=16]
        Memory at fe02b000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c-piix4

00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI IXP SB400 IDE Controller (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at f800 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: pata_atiixp
        Kernel modules: pata_atiixp

00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI IXP SB400 PCI-ISA Bridge
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI IXP SB400 PCI-PCI Bridge (prog-if 01 [Subtractive decode])
        Flags: bus master, 66MHz, medium devsel, latency 64
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: fde00000-fdefffff
        Prefetchable memory behind bridge: fdd00000-fddfffff

00:14.5 Multimedia audio controller: Advanced Micro Devices [AMD] nee ATI IXP SB400 AC'97 Audio Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 2a25
        Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 17
        Memory at fe02a000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: snd_atiixp
        Kernel modules: snd-atiixp

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
        Flags: fast devsel
        Capabilities: <access denied>

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
        Kernel driver in use: k8temp
        Kernel modules: k8temp

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ZOTAC International (MCO) Ltd. Device 7222
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Memory at ce000000 (64-bit, prefetchable) [size=32M]
        I/O ports at ef00 [size=128]
        [virtual] Expansion ROM at c0000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nouveau, nvidiafb

01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
        Subsystem: ZOTAC International (MCO) Ltd. Device 7222
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd-hda-intel

02:01.0 USB controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
        Subsystem: NEC Corporation Hama USB 2.0 CardBus
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at fde00000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd

02:01.1 USB controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
        Subsystem: NEC Corporation Hama USB 2.0 CardBus
        Flags: bus master, medium devsel, latency 64, IRQ 22
        Memory at fde01000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd

02:01.2 USB controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Device 0ee4:3383
        Flags: bus master, medium devsel, latency 64, IRQ 23
        Memory at fde02000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Hewlett-Packard Company Device 2a24
        Flags: bus master, medium devsel, latency 64, IRQ 20
        I/O ports at df00 [size=256]
        Memory at fdeff000 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at fdd00000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: 8139too
        Kernel modules: 8139too, 8139cp
dmesg (the interesting parts):
Code:
[    0.391705] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.391719] ehci_hcd 0000:00:13.2: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[    0.391738] ehci_hcd 0000:00:13.2: EHCI Host Controller
[    0.391772] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
[    0.391837] ehci_hcd 0000:00:13.2: irq 19, io mem 0xfe02c000
[    0.435477] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
[    0.560194] hub 1-0:1.0: USB hub found
[    0.560201] hub 1-0:1.0: 8 ports detected
[    0.560304] ehci_hcd 0000:02:01.2: PCI INT C -> GSI 23 (level, low) -> IRQ 23
[    0.560327] ehci_hcd 0000:02:01.2: EHCI Host Controller
[    0.560388] ehci_hcd 0000:02:01.2: new USB bus registered, assigned bus number 2
[    0.584300] ehci_hcd 0000:02:01.2: irq 23, io mem 0xfde02000
[    0.631642] ehci_hcd 0000:02:01.2: USB 2.0 started, EHCI 41.00
[    0.752152] hub 2-0:1.0: USB hub found
[    0.752158] hub 2-0:1.0: 5 ports detected
[    0.752252] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.752273] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[    0.752299] ohci_hcd 0000:00:13.0: OHCI Host Controller
[    0.752356] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 3
[    0.752377] ohci_hcd 0000:00:13.0: irq 19, io mem 0xfe02e000
[    0.899894] isapnp: No Plug & Play device found
[    0.899910] usb 1-4: new high-speed USB device number 2 using ehci_hcd
[    0.912430] hub 3-0:1.0: USB hub found
[    0.912441] hub 3-0:1.0: 4 ports detected
[    0.912526] ohci_hcd 0000:00:13.1: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[    0.912548] ohci_hcd 0000:00:13.1: OHCI Host Controller
[    0.912594] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 4
[    0.912616] ohci_hcd 0000:00:13.1: irq 19, io mem 0xfe02d000
[    0.976468] hub 4-0:1.0: USB hub found
[    0.976477] hub 4-0:1.0: 4 ports detected
[    0.976564] ohci_hcd 0000:02:01.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    0.976587] ohci_hcd 0000:02:01.0: OHCI Host Controller
[    0.976635] ohci_hcd 0000:02:01.0: new USB bus registered, assigned bus number 5
[    0.976666] ohci_hcd 0000:02:01.0: irq 21, io mem 0xfde00000
[    1.196282] hub 5-0:1.0: USB hub found
[    1.196291] hub 5-0:1.0: 3 ports detected
[    1.196379] ohci_hcd 0000:02:01.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
[    1.196403] ohci_hcd 0000:02:01.1: OHCI Host Controller
[    1.196445] ohci_hcd 0000:02:01.1: new USB bus registered, assigned bus number 6
[    1.196480] ohci_hcd 0000:02:01.1: irq 22, io mem 0xfde01000
[    1.512280] hub 6-0:1.0: USB hub found
[    1.512290] hub 6-0:1.0: 2 ports detected
[    1.512371] uhci_hcd: USB Universal Host Controller Interface driver

[    4.670161] input: Mouse as /devices/pci0000:00/0000:00:13.0/usb3/3-3/3-3:1.0/input/input2
[    4.670820] generic-usb 0003:1D57:AC01.0001: input,hidraw0: USB HID v1.10 Keyboard [Mouse] on usb-0000:00:13.0-3/input0
[    4.679769] input: Mouse as /devices/pci0000:00/0000:00:13.0/usb3/3-3/3-3:1.1/input/input3
[    4.679922] generic-usb 0003:1D57:AC01.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Mouse] on usb-0000:00:13.0-3/input1
[    4.684451] input: Microsoft Microsoft\xffffffc2\xffffffae\xffffffae 2.4GHz Transceiver v8.0 as /devices/pci0000:00/0000:00:13.1/usb4/4-4/4-4:1.0/input/input4
[    4.691635] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[    4.691656] 8139cp 0000:02:03.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[    4.693216] generic-usb 0003:045E:0745.0003: input,hidraw2: USB HID v1.11 Keyboard [Microsoft Microsoft\xffffffc2\xffffffae\xffffffae 2.4GHz Transceiver v8.0] on usb-0000:00:13.1-4/input0
[    4.701992] input: Microsoft Microsoft\xffffffc2\xffffffae\xffffffae 2.4GHz Transceiver v8.0 as /devices/pci0000:00/0000:00:13.1/usb4/4-4/4-4:1.1/input/input5
[    4.702094] generic-usb 0003:045E:0745.0004: input,hidraw3: USB HID v1.11 Mouse [Microsoft Microsoft\xffffffc2\xffffffae\xffffffae 2.4GHz Transceiver v8.0] on usb-0000:00:13.1-4/input1
[    4.724503] input: Microsoft Microsoft\xffffffc2\xffffffae\xffffffae 2.4GHz Transceiver v8.0 as /devices/pci0000:00/0000:00:13.1/usb4/4-4/4-4:1.2/input/input6
[    4.724604] generic-usb 0003:045E:0745.0005: input,hiddev0,hidraw4: USB HID v1.11 Device [Microsoft Microsoft\xffffffc2\xffffffae\xffffffae 2.4GHz Transceiver v8.0] on usb-0000:00:13.1-4/input2
[    4.724623] usbcore: registered new interface driver usbhid
[    4.724625] usbhid: USB HID core driver


[   27.218315] irq 19: nobody cared (try booting with the "irqpoll" option)
[   27.218396] Pid: 1167, comm: ntpdate-debian Tainted: P           O 3.2.42 #1
[   27.218398] Call Trace:
[   27.218407]  [<c158b100>] ? printk+0x2d/0x2f
[   27.218412]  [<c10bf2c9>] __report_bad_irq+0x29/0xd0
[   27.218417]  [<c142462f>] ? ehci_irq+0x1bf/0x230
[   27.218419]  [<c10bf692>] note_interrupt+0x112/0x1c0
[   27.218424]  [<c15982e2>] ? do_page_fault+0x232/0x490
[   27.218427]  [<c10bd54f>] handle_irq_event_percpu+0x9f/0x1f0
[   27.218431]  [<c10364b8>] ? default_spin_lock_flags+0x8/0x10
[   27.218435]  [<c102d40d>] ? __io_apic_modify_irq+0x7d/0x90
[   27.218437]  [<c10bd6db>] handle_irq_event+0x3b/0x60
[   27.218440]  [<c10bff00>] ? unmask_irq+0x30/0x30
[   27.218443]  [<c10bff4e>] handle_fasteoi_irq+0x4e/0xd0
[   27.218445]  <IRQ>  [<c159c352>] ? do_IRQ+0x42/0xc0
[   27.218451]  [<c15980b0>] ? vmalloc_fault+0x195/0x195
[   27.218453]  [<c159c1b0>] ? common_interrupt+0x30/0x38
[   27.218457]  [<c15980b0>] ? vmalloc_fault+0x195/0x195
[   27.218460]  [<c15982e2>] ? do_page_fault+0x232/0x490
[   27.218464]  [<c10591cc>] ? do_fork+0x14c/0x2c0
[   27.218468]  [<c12aea4a>] ? radix_tree_lookup+0xa/0x10
[   27.218472]  [<c10c3d8d>] ? rcu_irq_exit+0xd/0x10
[   27.218476]  [<c1060ccc>] ? irq_exit+0x3c/0xa0
[   27.218479]  [<c159c35b>] ? do_IRQ+0x4b/0xc0
[   27.218482]  [<c10196c4>] ? sys_clone+0x34/0x40
[   27.218485]  [<c15980b0>] ? vmalloc_fault+0x195/0x195
[   27.218488]  [<c1595577>] ? error_code+0x67/0x6c
[   27.218490] handlers:
[   27.218515] [<c140aa20>] usb_hcd_irq
[   27.218554] [<c140aa20>] usb_hcd_irq
[   27.218593] [<c140aa20>] usb_hcd_irq
[   27.218632] Disabling IRQ #19

( I didn't get IRQ23 this time...)
Any help would be very much appreciated.
 
Old 07-01-2013, 03:42 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
lsmod |grep hci

might show ehci, or xhci. That's ok. xhci is usb-3.0 but downwards compatible

In /etc/modprobe.d/, try adding this line to a file
Quote:
install ochi /sbin/modprobe ehci-hcd; /sbin/modprobe ohci-hcd
That loads ehci before ohci which sometimes is an issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing Backtrack 5 with Ubuntu 12.04 LTS from USB on laptop eriksocs Linux - Laptop and Netbook 4 10-05-2012 01:57 PM
LXer: How to Install and Configure Proxy Server with Squid3 on Ubuntu Server 12.04 LTS LXer Syndicated Linux News 0 05-31-2012 10:40 AM
LXer: How To Install LAMP Server in Ubuntu Server 12.04 LTS LXer Syndicated Linux News 0 05-20-2012 12:45 AM
Problems with USB devices in Ubuntu 10.04 LTS GirishSharma Linux - Newbie 1 08-27-2011 01:56 AM
LXer: The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) LXer Syndicated Linux News 0 04-27-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration