LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-09-2005, 03:07 PM   #1
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
kernel cannot initialize OHCI chip


Hi all,

when the kernel initializes my OHCI usb host controller, it fails with the following message:
Code:
...
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled)
Processor #1 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: HP       Product ID: MARSHAL      APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
I/O APIC #3 Version 17 at 0xFEC01000.
Enabling APIC mode:  Flat.  Using 2 I/O APICs
...
PCI->APIC IRQ transform: 0000:00:02.0[A] -> IRQ 18
PCI->APIC IRQ transform: 0000:00:03.0[A] -> IRQ 20
PCI->APIC IRQ transform: 0000:00:07.0[A] -> IRQ 26
PCI->APIC IRQ transform: 0000:00:08.0[A] -> IRQ 27
PCI->APIC IRQ transform: 0000:00:0f.2[A] -> IRQ 33
PCI->APIC IRQ transform: 0000:01:00.0[A] -> IRQ 28
...
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0f.2: ServerWorks OSB4/CSB5 OHCI USB Controller
ohci_hcd 0000:00:0f.2: request interrupt 33 failed
ohci_hcd 0000:00:0f.2: init 0000:00:0f.2 fail, -38
ohci_hcd: probe of 0000:00:0f.2 failed with error -38
Anyone have an idea _why_ the interrupt reservation may fail?
It would be nice to get usb up 'n' running without putting in an extra board

Thanks a lot in advance!

Additional info:
parentboard chipset: ServerWorks CNB20HE
OHCI controller is on-board
lspci: 0000:00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04)
kernel: 2.6.11 SMP
using IO-APIC, ACPI, no APM
 
Old 06-09-2005, 03:31 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I keep seeing warnings about this in my 2.6 kernel boots, haven't bumped into an indcedent where it happens myself.

http://www.ussg.iu.edu/hypermail/lin...09.2/1896.html

Is a pretty good example of where it's happening to someone else too, apparently passing the option: "pci=routeirq" fixes it, but is evidently enabling the older, slower PCI IRQ routing behaviour.

Code:
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
Cheers,

Finegan
 
Old 06-10-2005, 01:24 AM   #3
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Original Poster
Rep: Reputation: 30
Thanks for the pointer!, no luck here though, still giving the same message.
I actually haven't tried if it works on a 2.4 kernel yet; maybe I should check that with some old installer cd.

Do your devices work properly (despite the warnings you get)?

Skimmed through ohci-hcd.c, no sign of pci_enable_device()... If I find some spare time I'll try to add that in the right place (study some similar drivers), see if I can get it to work...

Greets, nukkel
 
  


Reply



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
how do I read a camera chip thru an internal usb chip reader? CPUFreak91 Linux - Newbie 2 07-20-2005 12:15 AM
Error during Install "Kernel BUG at usb-ohci.h:464" mike3411 Linux - General 0 02-15-2005 05:08 PM
Failed to initialize Nvidia kernel Baldrick Linux - Software 1 05-07-2004 03:37 PM
iptables do not initialize on Kernel 2.6 Klaus Pforte Linux - Security 5 03-24-2004 10:35 AM
Failed to initialize the NVIDIA kernel module THX1138 Linux - Newbie 14 11-11-2003 01:34 AM

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

All times are GMT -5. The time now is 09:46 PM.

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