AMD64 (32-bit, untill i get this working), orinoco + suse/gentoo et al.

Alex Collins alextcollins at gmail.com
Thu Apr 7 09:03:10 EDT 2005


Hello all!

I really hope I can get some expert help here, as i've been directed
to this mailing list because your apprently experts :P

Im not a n00b really. But sometimes I feel like one when trying to get
wireless working under Linux. MY BCM4301 internal PCI card is listed,
but is getting no power. I bought an Orinoco Classic Gold PCMCIA card,
because its supposed to work.

Rubbish! Im getting no power to my PCMCIA card, and on boot, the
kernel (at init 3 when loading PCMCIA, no such error on
/etc/init.d/pcmcia restart) complains that it cant find a module
(sorry, its a bit hard to copy-paste at init 3). So, i've scoured
YaST, and attempted to add this card (it lists an unknown device in
Network Devices, but i've had no luck).

So, I beg you, whoever may help, could you please help me out getting
this working?

Computer Specification
---------------------------
Laptop Manu.:Compaq Presario R3000
Processor: AMD64 (Im running 32-bit SuSE now)
RAM: 512MB
PCI: Ethernet (Broadcom 8139)
WiFi (BCM 4301, Broadcom)
PCMCIA: 1 Slot, with an Orinoco Classic Gold PC Card

Various Output (dmesg, lspci, lsmod et al)
-------------------------------------------------

    quote:
    ===========================
    PCMCIA restart (dmesg output)
    (/etc/init.d/pcmcia restart)
    ===========================
    Linux Kernel Card Services
    options: [pci] [cardbus] [pm]
    ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11
    Yenta: CardBus bridge found at 0000:02:04.0 [103c:006d]
    Yenta: Using CSCINT to route CSC interrupts to PCI
    Yenta: Routing CardBus interrupts to PCI
    Yenta TI: socket 0000:02:04.0, mfunc 0x01111d22, devctl 0x64
    Yenta: ISA IRQ mask 0x00f8, PCI irq 11
    Socket status: 30000084
    ACPI: PCI interrupt 0000:02:04.1[B] -> GSI 10 (level, low) -> IRQ 10
    Yenta: CardBus bridge found at 0000:02:04.1 [103c:006d]
    Yenta: Using CSCINT to route CSC interrupts to PCI
    Yenta: Routing CardBus interrupts to PCI
    Yenta TI: socket 0000:02:04.1, mfunc 0x01111d22, devctl 0x64
    Yenta: ISA IRQ mask 0x00f8, PCI irq 10
    Socket status: 30000006

    ==============
    cardctl status
    ==============
    Socket 0:
    no card
    Socket 1:
    no card

    =============
    lsmod output (before /etc/init.d/pcmcia restart)
    =============
    linux:/home/alex/el # lsmod
    Module Size Used by
    ds 21128 4
    yenta_socket 21248 0
    pcmcia_core 66188 2 ds,yenta_socket
    orinoco 39308 0
    hermes 9216 1 orinoco
    nls_cp437 7296 0
    vfat 14592 0
    fat 48032 1 vfat
    usb_storage 69184 0
    af_packet 23692 0
    nvidia 5288160 14
    usbserial 32240 0
    parport_pc 41024 1
    lp 12136 0
    parport 45068 2 parport_pc,lp
    edd 11344 0
    cpufreq_userspace 6344 2
    powernow_k8 10504 0
    freq_table 5000 1 powernow_k8
    thermal 20236 0
    processor 29628 2 powernow_k8,thermal
    fan 6024 0
    button 9760 0
    battery 12680 3
    ac 7176 0
    snd_pcm_oss 63912 0
    snd_mixer_oss 21120 3 snd_pcm_oss
    snd_ioctl32 18432 0
    snd_intel8x0 35396 3
    snd_ac97_codec 81952 1 snd_intel8x0
    snd_pcm 110220 4 snd_pcm_oss,snd_ioctl32,snd_intel8x0,snd_ac97_co dec
    snd_timer 26632 1 snd_pcm
    snd 67336 9 snd_pcm_oss,snd_mixer_oss,snd_ioctl32,snd_intel8
x0,snd_ac97_codec,snd_pcm,snd_timer
    soundcore 10912 3 snd
    snd_page_alloc 11664 2 snd_intel8x0,snd_pcm
    ipv6 264096 21
    usbhid 43908 0
    joydev 11264 0
    sg 40248 0
    st 40612 0
    sd_mod 18072 0
    sr_mod 18084 0
    scsi_mod 130560 5 usb_storage,sg,st,sd_mod,sr_mod
    ohci_hcd 21380 0
    ohci1394 33796 0
    ieee1394 117592 1 ohci1394
    ehci_hcd 30852 0
    evdev 10752 0
    subfs 8960 2
    nls_utf8 2560 1
    ntfs 90496 1
    dm_mod 58840 0
    8139too 26112 0
    mii 5888 1 8139too
    usbcore 122368 7 usb_storage,usbserial,usbhid,ohci_hcd,ehci_hcd
    reiserfs 244848 1

    =============
    lsmod output (after /etc/init.d/pcmcia restart)
    =============
    linux:/home/alex/el # lsmod
    Module Size Used by
    ds 21128 4
    yenta_socket 21248 0
    pcmcia_core 66188 2 ds,yenta_socket
    orinoco 39308 0
    hermes 9216 1 orinoco
    nls_cp437 7296 0
    vfat 14592 0
    fat 48032 1 vfat
    usb_storage 69184 0
    af_packet 23692 0
    nvidia 5288160 14
    usbserial 32240 0
    parport_pc 41024 1
    lp 12136 0
    parport 45068 2 parport_pc,lp
    edd 11344 0
    cpufreq_userspace 6344 2
    powernow_k8 10504 0
    freq_table 5000 1 powernow_k8
    thermal 20236 0
    processor 29628 2 powernow_k8,thermal
    fan 6024 0
    button 9760 0
    battery 12680 3
    ac 7176 0
    snd_pcm_oss 63912 0
    snd_mixer_oss 21120 3 snd_pcm_oss
    snd_ioctl32 18432 0
    snd_intel8x0 35396 3
    snd_ac97_codec 81952 1 snd_intel8x0
    snd_pcm 110220 4 snd_pcm_oss,snd_ioctl32,snd_intel8x0,snd_ac97_co dec
    snd_timer 26632 1 snd_pcm
    snd 67336 9 snd_pcm_oss,snd_mixer_oss,snd_ioctl32,snd_intel8
x0,snd_ac97_codec,snd_pcm,snd_timer
    soundcore 10912 3 snd
    snd_page_alloc 11664 2 snd_intel8x0,snd_pcm
    ipv6 264096 21
    usbhid 43908 0
    joydev 11264 0
    sg 40248 0
    st 40612 0
    sd_mod 18072 0
    sr_mod 18084 0
    scsi_mod 130560 5 usb_storage,sg,st,sd_mod,sr_mod
    ohci_hcd 21380 0
    ohci1394 33796 0
    ieee1394 117592 1 ohci1394
    ehci_hcd 30852 0
    evdev 10752 0
    subfs 8960 2
    nls_utf8 2560 1
    ntfs 90496 1
    dm_mod 58840 0
    8139too 26112 0
    mii 5888 1 8139too
    usbcore 122368 7 usb_storage,usbserial,usbhid,ohci_hcd,ehci_hcd
    reiserfs 244848 1

    =========
    lspci
    =========
    0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
    0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
    0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
    0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
    0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
    0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
    0000:00:06.0 Multimedia audio controller: nVidia Corporation
nForce3 Audio (rev a2)
    0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
    0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
    0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
    0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
    0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
    0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
    0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
    0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
    0000:01:00.0 VGA compatible controller: nVidia Corporation NV17
[GeForce4 440 Go 64M] (rev a3)
    0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
IEEE-1394a-2000 Controller (PHY/Link)
    0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
    0000:02:02.0 Network controller: Broadcom Corporation BCM4303
802.11b Wireless LAN Controller (rev 02)
    0000:02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card
Controller (rev 01)
    0000:02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card
Controller (rev 01)
    0000:02:04.2 System peripheral: Texas Instruments PCI1620 Firmware
Loading Function (rev 01)



iwconfig output

    quote:
    eth0: No wireless extensions!
    lo: No wireless extensions!
    sit0: No wireless extensions!



I've found that the problem is that SuSE 9.2 is incorrectly
identifying my card (Orinoco Classic Gold PCMCIA) as an "Anonymous
Memory" card. So, i changed the modules it should load (from memory_cs
[it doesnt exist], to orinoco, orinoco_cs, hermes, yenta_socket). I've
also set my eth0 to 'Manual' in /etc/network/ifcofg-eth0... but it
still seems to attempt to map to eth0 and not to the wireless card.

I also cannot get power to the PC card because of this...Any ideas?

Also, here's some updated dmesg output after messing with the modules
(setting the "Anonymous Memory" sections bind line to load "orinoco"
[or any of the aforementioned modules])

    quote:
    =======
    dmesg after /etc/init.d/pcmcia restart and editing /etc/pcmcia/config
    =======
    unloading Kernel Card Services
    Linux Kernel Card Services
    options: [pci] [cardbus] [pm]
    ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11
    Yenta: CardBus bridge found at 0000:02:04.0 [103c:006d]
    Yenta: Using CSCINT to route CSC interrupts to PCI
    Yenta: Routing CardBus interrupts to PCI
    Yenta TI: socket 0000:02:04.0, mfunc 0x01111d22, devctl 0x64
    Yenta: ISA IRQ mask 0x00f8, PCI irq 11
    Socket status: 30000010
    ACPI: PCI interrupt 0000:02:04.1[B] -> GSI 10 (level, low) -> IRQ 10
    Yenta: CardBus bridge found at 0000:02:04.1 [103c:006d]
    Yenta: Using CSCINT to route CSC interrupts to PCI
    Yenta: Routing CardBus interrupts to PCI
    Yenta TI: socket 0000:02:04.1, mfunc 0x01111d22, devctl 0x64
    Yenta: ISA IRQ mask 0x00f8, PCI irq 10
    Socket status: 30000006
    cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xfffff
    cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
    cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
    cs: unable to map card memory!
    cs: unable to map card memory!

//End Quoting 

Im getting now power to the device, so its a real pain as to where to
start. After installing 32-bit I thought it would work out-of-the-box,
but im still not getting anywhere. I've been told its probably due to
memory allocation (/etc/ioports or /etc/iomem?).

I hope, that someone can help me with this, i've been trying so hard
recently to get this working (as you can see), but I really cant jump
this hurdle.

Any help or suggestions would be greatly appreciated.

Sincerely,

Alex Collins



More information about the linux-pcmcia mailing list