USB 2 PCMCIA Adapter doesnt get a IRQ - Portable

This is a discussion on USB 2 PCMCIA Adapter doesnt get a IRQ - Portable ; Hello, I have: a USB 2.0 PCMCIA Adapter with a NEC Chip. Kernel 2.4.22 Debian pcmcia-cs 3.2.2 pcmcia support with self compiled source from package pcmcia-source I have written in config.opts: device "usb_20" module "ehci-hcd" card "USB2.0 Controller" pci 0x1033, ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: USB 2 PCMCIA Adapter doesnt get a IRQ

  1. USB 2 PCMCIA Adapter doesnt get a IRQ

    Hello,

    I have:
    a USB 2.0 PCMCIA Adapter with a NEC Chip.
    Kernel 2.4.22
    Debian
    pcmcia-cs 3.2.2
    pcmcia support with self compiled source from package pcmcia-source
    I have written in config.opts:
    device "usb_20"
    module "ehci-hcd"

    card "USB2.0 Controller"
    pci 0x1033, 0x0035
    bind "usb_20"
    Is it unneccessary if I use hotplug!?

    If I put the card in the slot I get the following error message:

    Sep 9 10:53:38 tobias-notebook kernel: cs: cb_alloc(bus 2): vendor 0x1033, device 0x0035
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: socket 0: USB2.0 Controller
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: executing: 'modprobe ehci-hcd'
    Sep 9 10:53:38 tobias-notebook kernel: hcd.c: Found HC with no IRQ. Check BIOS/PCI setup!
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: + /lib/modules/2.4.22/kernel/drivers/usb/host/ehci-hcd.o: init_module: No such device
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: + /lib/modules/2.4.22/kernel/drivers/usb/host/ehci-hcd.o: insmod /lib/modules/2.4.22/kernel/drivers/usb/host/ehci-hcd.o failed
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: + /lib/modules/2.4.22/kernel/drivers/usb/host/ehci-hcd.o: insmod ehci-hcd failed
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: + Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: + You may find more information in syslog or the output from dmesg
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: modprobe exited with status 255
    Sep 9 10:53:38 tobias-notebook cardmgr[314]: module /lib/modules/2.4.22/pcmcia/ehci-hcd.o not available
    Sep 9 10:53:39 tobias-notebook cardmgr[314]: get dev info on socket 0 failed: Resource temporarily unavailable
    Sep 9 10:53:39 tobias-notebook cardmgr[314]: wrong module 'ehci-hcd' for device 'usb_20'?

    lspci shows me:
    tobias-notebook:~# lspci
    pcilib: Cannot open /proc/bus/pci/02/00.0
    pcilib: Cannot open /proc/bus/pci/02/00.1
    pcilib: Cannot open /proc/bus/pci/02/00.2
    lspci: Unable to read 64 bytes of configuration space.

    a CompactFlash Adapter in the same slot works well (with ide-cs).
    If I use the pcmcia from the kernel instead of the package pcmcia-source
    the USB 2 controller works well but unfortunately the CompactFlash Adapter
    doesnt work anymore. The CompactFlash Adapter produces the following error
    message:

    Sep 9 15:00:27 tobias-notebook cardmgr[4935]: socket 0: ATA/IDE Fixed Disk
    Sep 9 15:00:27 tobias-notebook kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff 0xe0000-0xfffff
    Sep 9 15:00:27 tobias-notebook cardmgr[4935]: executing: 'modprobe ide-cs'
    Sep 9 15:00:30 tobias-notebook sleepd[413]: 12 sec sleep; resetting timer
    Sep 9 15:00:30 tobias-notebook kernel: hde: SanDisk SDCFH-256, CFA DISK drive
    Sep 9 15:00:30 tobias-notebook kernel: hde: IRQ probe failed (0xa8f8)
    Sep 9 15:00:30 tobias-notebook kernel: hdf: IRQ probe failed (0xa8f8)
    Sep 9 15:00:30 tobias-notebook kernel: hdf: IRQ probe failed (0xa8f8)
    Sep 9 15:00:30 tobias-notebook kernel: ide2: DISABLED, NO IRQ
    Sep 9 15:00:32 tobias-notebook kernel: ide2: ports already in use, skipping probe
    Sep 9 15:00:41 tobias-notebook last message repeated 4 times

    When I buyed the CompactFlash Adapter I find out with google that the
    Adapter works only with the pcmcia-cs source and not with the kernel
    pcmcia, whats right.

    I certainly dont want to change modules between kernel and source if I
    want to use the other card. So I would look forward to a solution.

    With knoppix (www.knoppix.net) both the USB 2 controller and the
    compactflash adapter work well.

    Tobias

    tobias-notebook:~# lspci
    00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
    00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
    00:06.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
    00:06.1 Communication controller: ESS Technology ESS Modem (rev 12)
    00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
    00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
    00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
    00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
    00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
    01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/MX-MV (rev 11)

    tobias-notebook:~# cat /proc/interrupts
    CPU0
    0: 829022 XT-PIC timer
    1: 8984 XT-PIC keyboard
    2: 0 XT-PIC cascade
    8: 4 XT-PIC rtc
    9: 156814 XT-PIC usb-uhci, eth0, i82365
    10: 0 XT-PIC Allegro
    12: 3 XT-PIC PS/2 Mouse
    14: 25522 XT-PIC ide0
    NMI: 0
    ERR: 0

  2. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    Tobias Eberle wrote:
    > Hello,


    > I have:
    > a USB 2.0 PCMCIA Adapter with a NEC Chip.
    > Kernel 2.4.22
    > Debian
    > pcmcia-cs 3.2.2
    > pcmcia support with self compiled source from package pcmcia-source
    > I have written in config.opts:
    > device "usb_20"
    > module "ehci-hcd"
    >

    You must use kernel PCMCIA support for this card.

    -- Dave

  3. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    Hallo

    > You must use kernel PCMCIA support for this card.


    yes but then I cant use the compact flash adapter. How to get the adapter
    work with kernel pcmcia?

    Tobias

  4. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    On Wed, 10 Sep 2003 17:23:14 +0200, Tobias Eberle wrote:

    > Hallo
    >
    >> You must use kernel PCMCIA support for this card.

    >
    > yes but then I cant use the compact flash adapter. How to get the adapter
    > work with kernel pcmcia?
    >
    > Tobias


    Hmmz, I bet you don't have isa bus support switched on in yr kernel. The
    16 bits pcmcia things depend on isa bus support. I tried to get my own
    customized kernel for my hp omnibook 4150 and couldn't get pcmcia to work
    either.

    After spending hours of time trying to figure out why I couldn't get the
    thing working (it moaned about not being able to find free interrupts
    while /proc/interrupts showed enough free ones available) I found a howto
    stating it depends on isa bus ;-)

    Here's the howto:

    http://pcmcia-cs.sourceforge.net/ftp...CIA-HOWTO.html

    Hope this helps.

    Regards,

    Oscar

  5. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    Hello

    > Hmmz, I bet you don't have isa bus support switched on in yr kernel. The
    > 16 bits pcmcia things depend on isa bus support. I tried to get my own
    > customized kernel for my hp omnibook 4150 and couldn't get pcmcia to work
    > either.


    thats it! I had disabled the isa bus because my notebook doesnt have one.
    Now I enabled it and the compactflash Adapter works well
    Thank you very much.

    One problem with the USB 2 I have anymore:
    If I do a cardctl eject hotplug invokes a insert or something like that.
    It reregister the card and loads the necessary modules. If I remove the
    card from the slot the kernel freezes (crashes?). My workaround is to stop
    hotplug, do a cardctl eject and remove the card.

    Tobias

  6. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    Hello

    > You must use kernel PCMCIA support for this card.


    I would be interested in why it doesn't work with source PCMCIA support.
    Can you tell me?

    Tobias

  7. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    Tobias Eberle wrote:

    >> You must use kernel PCMCIA support for this card.


    > I would be interested in why it doesn't work with source PCMCIA support.
    > Can you tell me?


    The only CardBus drivers that work with the pcmcia-cs system are the
    ones included in that package. There is a different API for setting
    up CardBus cards with the 2.4 kernel hot plug system. The USB host
    driver is written for that API, and it won't cooperate with the
    pcmcia-cs modules.

    -- Dave

  8. Re: USB 2 PCMCIA Adapter doesnt get a IRQ

    Hello,

    > If I do a cardctl eject hotplug invokes a insert or something like that.
    > It reregister the card and loads the necessary modules. If I remove the
    > card from the slot the kernel freezes (crashes?). My workaround is to stop
    > hotplug, do a cardctl eject and remove the card.


    this is syslog:

    Sep 11 10:27:56 tobias-notebook kernel: usb.c: USB disconnect on device 02:00.0- 0 address 1
    Sep 11 10:27:56 tobias-notebook kernel: usb-ohci.c: bogus NDP=255 for OHCI usb-0 2:00.1
    Sep 11 10:27:56 tobias-notebook kernel: usb-ohci.c: rereads as NDP=255
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: bogus NDP=255 for OHCI usb-0 2:00.1
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: rereads as NDP=255
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: bogus NDP=255 for OHCI usb-0 2:00.1
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: rereads as NDP=255
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: bogus NDP=255 for OHCI usb-0 2:00.1
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: rereads as NDP=255
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.0 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: USB HC TakeOver failed!
    Sep 11 10:27:57 tobias-notebook kernel: usb.c: USB bus 2 deregistered
    Sep 11 10:27:57 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:58 tobias-notebook last message repeated 58 times
    Sep 11 10:27:58 tobias-notebook kernel: cs: cb_alloc(bus 2): vendor 0x1033, devi ce 0x0035
    Sep 11 10:27:58 tobias-notebook kernel: PCI: Enabling device 02:00.0 (0000 -> 00 02)
    Sep 11 10:27:58 tobias-notebook kernel: PCI: Setting latency timer of device 02: 00.0 to 64
    Sep 11 10:27:58 tobias-notebook kernel: usb-ohci.c: USB OHCI at membase 0xd88c30 00, IRQ 9
    Sep 11 10:27:58 tobias-notebook kernel: usb-ohci.c: usb-02:00.0, PCI device 1033 :0035
    Sep 11 10:27:58 tobias-notebook kernel: usb.c: new USB bus registered, assigned bus number 2
    Sep 11 10:27:58 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:58 tobias-notebook last message repeated 2 times
    Sep 11 10:27:58 tobias-notebook kernel: hub.c: USB hub found
    Sep 11 10:27:58 tobias-notebook kernel: hub.c: 3 ports detected
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook kernel: PCI: Enabling device 02:00.1 (0000 -> 00 02)
    Sep 11 10:27:59 tobias-notebook kernel: PCI: Setting latency timer of device 02: 00.1 to 64
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: USB OHCI at membase 0xd88cb0 00, IRQ 9
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: usb-02:00.1, PCI device 1033 :0035
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook kernel: usb.c: new USB bus registered, assigned bus number 5
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook last message repeated 51 times
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook kernel: hub.c: USB hub found
    Sep 11 10:27:59 tobias-notebook kernel: hub.c: 2 ports detected
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:27:59 tobias-notebook last message repeated 9 times
    Sep 11 10:27:59 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook last message repeated 5 times
    Sep 11 10:28:00 tobias-notebook pci.agent[8970]: missing kernel or user mode dri ver usb-ohci
    Sep 11 10:28:00 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook last message repeated 8 times
    Sep 11 10:28:00 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook last message repeated 13 times
    Sep 11 10:28:00 tobias-notebook pop3.proxy[8973]: +OK: closing connection to loc alhost
    Sep 11 10:28:00 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook last message repeated 2 times
    Sep 11 10:28:00 tobias-notebook kernel: PCI: Enabling device 02:00.2 (0000 -> 00 02)
    Sep 11 10:28:00 tobias-notebook kernel: ehci_hcd 02:00.2: PCI device 1033:00e0
    Sep 11 10:28:00 tobias-notebook kernel: ehci_hcd 02:00.2: irq 9, pci mem d88cf10 0
    Sep 11 10:28:00 tobias-notebook kernel: usb.c: new USB bus registered, assigned bus number 6
    Sep 11 10:28:00 tobias-notebook kernel: PCI: 02:00.2 PCI cache line size set inc orrectly (0 bytes) by BIOS/FW.
    Sep 11 10:28:00 tobias-notebook kernel: PCI: 02:00.2 PCI cache line size correct ed to 32.
    Sep 11 10:28:00 tobias-notebook kernel: ehci_hcd 02:00.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jun-19/2.4
    Sep 11 10:28:00 tobias-notebook kernel: hub.c: USB hub found
    Sep 11 10:28:00 tobias-notebook kernel: hub.c: 5 ports detected
    Sep 11 10:28:00 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook last message repeated 4 times
    Sep 11 10:28:00 tobias-notebook cardmgr[380]: socket 0: CardBus hotplug device
    Sep 11 10:28:00 tobias-notebook kernel: usb.c: USB disconnect on device 02:00.1- 0 address 1
    Sep 11 10:28:00 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook kernel: usb-ohci.c: 02:00.1 device removed!
    Sep 11 10:28:00 tobias-notebook kernel: usb.c: USB bus 3 deregistered
    Sep 11 10:28:00 tobias-notebook kernel: ehci_hcd 02:00.2: remove state 0
    Sep 11 10:28:00 tobias-notebook kernel: usb.c: USB disconnect on device 02:00.2- 0 address 1
    Sep 11 10:28:00 tobias-notebook kernel: Unable to handle kernel NULL pointer der eference at virtual address 00000048
    Sep 11 10:28:00 tobias-notebook kernel: printing eip:
    Sep 11 10:28:00 tobias-notebook kernel: d88c6ddf
    Sep 11 10:28:00 tobias-notebook kernel: *pde = 00000000
    Sep 11 10:28:00 tobias-notebook kernel: Oops: 0000
    Sep 11 10:28:00 tobias-notebook kernel: CPU: 0
    Sep 11 10:28:00 tobias-notebook kernel: EIP: 0010:[] Not tainted
    Sep 11 10:28:00 tobias-notebook kernel: EFLAGS: 00010006
    Sep 11 10:28:00 tobias-notebook kernel: eax: 00000000 ebx: d4e1e400 ecx: d4e 1e534 edx: d6836738
    Sep 11 10:28:00 tobias-notebook kernel: esi: 00000000 edi: d4e1e400 ebp: c77 d3800 esp: c1d65bb4
    Sep 11 10:28:00 tobias-notebook kernel: ds: 0018 es: 0018 ss: 0018
    Sep 11 10:28:00 tobias-notebook kernel: Process cardctl (pid: 8954, stackpage=c1 d65000)
    Sep 11 10:28:00 tobias-notebook kernel: Stack: 00000282 d6d836c6 00000282 000000 00 00000000 d4e1e400 00000000 d584a000
    Sep 11 10:28:00 tobias-notebook kernel: c77d3800 d88c89c5 d4e1e400 000000 00 d4e1e400 00000000 d88c87e0 d4e1e400
    Sep 11 10:28:00 tobias-notebook kernel: 00000000 00000286 00000001 000002 86 c14270c0 c51506c0 00000014 d886a0cf
    Sep 11 10:28:00 tobias-notebook kernel: Call Trace: [] [] [] [] []
    Sep 11 10:28:00 tobias-notebook kernel: [] [] [] [] [] []
    Sep 11 10:28:00 tobias-notebook kernel: [] [] [] [] [] []
    Sep 11 10:28:00 tobias-notebook kernel: [] [] [] [] [] []
    Sep 11 10:28:00 tobias-notebook kernel: [] [] []
    Sep 11 10:28:00 tobias-notebook kernel:
    Sep 11 10:28:00 tobias-notebook kernel: Code: 8b 70 48 85 f6 0f 84 7d 00 00 00 8 d b6 00 00 00 00 8b 56 4c
    Sep 11 10:28:00 tobias-notebook pci.agent[9003]: missing kernel or user mode dri ver usb-ohci
    Sep 11 10:28:01 tobias-notebook pci.agent[9016]: missing kernel or user mode dri ver ehci-hcd
    Sep 11 10:28:03 tobias-notebook usb.agent[8968]: ... no modules for USB product 0/0/0
    Sep 11 10:28:04 tobias-notebook usb.agent[9007]: ... no modules for USB product 0/0/204
    Sep 11 10:28:04 tobias-notebook usb.agent[8999]: ... no modules for USB product 0/0/0

    tobias-notebook:~# cardctl config
    Socket 0:
    Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
    interface type is "cardbus"
    irq 9 [exclusive] [level]
    function 0:
    function 1:
    function 2:
    Socket 1:
    not configured


    Tobias

+ Reply to Thread