Skip to contentSkip to conversation

Modules are not loaded

DISCUSSION Hans Streibel 1 participant 1 message Oct 21, 2003

lore
Share & tools
lore
#0 lore raw

I have 2 cardbus cards:

- Adaptec 1480A SCSI controller
- a no name 4 port USB 2.0 card based on the NEC chip.

Both cards are running very fine if I insert the module "aic7xxx" resp. "ehci-hcd" manually after plugging in the card. But I would like to have my system start these modules automatically right after insertion. I google-ed a lot, tried to understand the documentation in the hotplug package. Without success. I am really confused on what to do where.

This is my system:
- SuSE 7.3
- kernel 2.4.22 with kernel modules for pcmcia
- pcmcia package version 3.2.4 compiled with this kernel
- Hotplug is enabled within the Kernel (CONFIG_HOTPLUG=y, CONFIG_HOTPLUG_PCI=m)
- modutils 2.4.22
- Hotplug package installed as from SuSE (version 2001_04_24)

For the SCSI controller I get the following information:

df8xq-nb:/etc/pcmcia # cardctl ident 1
product info: "Adaptec", "APA-1480 SCSI Host Adapter", "", ""
manfid: 0x012f, 0xcb01
function: 8 (SCSI)

df8xq-nb:/etc/pcmcia # lspci -v
[... output deleted here ...]
06:00.0 SCSI storage controller: Adaptec AIC-1480 / APA-1480 (rev 03)
Subsystem: Adaptec: Unknown device 7560
Flags: medium devsel, IRQ 9
I/O ports at 4800 [size%6]
Memory at 21000000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at 20c00000 [sizedK]
Capabilities: [dc] Power Management version 1

In /var/log/messages I found:
kernel: cs: cb_alloc(bus 6): vendor 0x9004, device 0x6075
kernel: PCI: Enabling device 06:00.0 (0000 -> 0003) cardmgr[331]: socket 1: CardBus hotplug device

And for the no name USB 2.0 card:

df8xq-nb:/etc/pcmcia # cardctl ident 1
no product info available

df8xq-nb:/etc/pcmcia # lspci -v
[... output deleted here ...]
06:00.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Unknown device 3083:0035
Flags: medium devsel, IRQ 9
Memory at 21000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

06:00.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Unknown device 3083:0035
Flags: medium devsel, IRQ 9
Memory at 21001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

06:00.2 USB Controller: NEC Corporation: Unknown device 00e0 (rev 02)

                                         (prog-if 20)
        Subsystem: Unknown device 3083:00e0
        Flags: medium devsel, IRQ 9
        Memory at 21002000 (32-bit, non-prefetchable) [size%6]
        Capabilities: [40] Power Management version 2

In /var/log/messages I found:
kernel: cs: cb_alloc(bus 6): vendor 0x1033, device 0x0035
kernel: PCI: Enabling device 06:00.0 (0000 -> 0002)
kernel: PCI: Enabling device 06:00.1 (0000 -> 0002)
kernel: PCI: Enabling device 06:00.2 (0000 -> 0002) cardmgr[331]: socket 1: CardBus hotplug device

Can you tell me please what's going wrong here?

Hans

-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel