LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Problem installing a cisco PCMCIA card on an IBM Think pad T40 (http://www.linuxquestions.org/questions/linux-wireless-networking-41/problem-installing-a-cisco-pcmcia-card-on-an-ibm-think-pad-t40-165948/)

ggmb 04-04-2004 03:17 AM

Problem installing a cisco PCMCIA card on an IBM Think pad T40
 
Hi all

I am trying to get a CISCO wireless PCMCIA card running on a T40 laptop.
I am running REDHAT 9 with kernel linux-2.4.20-8.

It is a Cisco aironet 340 wireless pcmcia card extracted from
a PCI card cradle. I made a mounting piece for the rubber ducky
(clumsey but cheap).

I have spent a while without suucces trying to get the card up and
running.

If I do ifup eth1...

airo_cs device eth1 does not seem to be present, delaying initialization.

A description of all relevant info I can think of is below. Please tell
me what is wrong.


Cheers

GGMB

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I have included the pcmcia card services and wireless LAN kernel
support as modules..

pcmcia_core
yenta_socket
ds
airo
airo_cs

I have also tried building the pcmcia stuff into a monolithic
kernel but it makes no difference to the ultimate outcome. I have also
tried reinstalling the drivers from CISCO but I think they are older
than in the above kernel.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The result of lsmod...

Module Size Used by Not tainted
airo_cs 4900 0 (unused)
airo 49640 0 [airo_cs]
ds 8680 0 [airo_cs]
yenta_socket 13472 2
pcmcia_core 54400 0 [airo_cs ds yenta_socket]
ide-cd 35676 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
radeon 116132 0
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
e1000 50604 1
ipt_REJECT 3928 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
keybdev 2976 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5888 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
ehci-hcd 19976 0 (unused)
usbcore 78816 1 [hid usb-uhci ehci-hcd]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

dmesg...

Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 02:00.0
PCI: Sharing IRQ 11 with 00:1d.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Sharing IRQ 11 with 02:01.0
PCI: Found IRQ 11 for device 02:00.1
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Sharing IRQ 11 with 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.6
Yenta IRQ list 06f8, PCI irq11
Socket status: 30000011
Yenta IRQ list 06f8, PCI irq11
Socket status: 30000006
cs: socket cd0d9800 timed out during reset. Try increasing setup_delay.
airo: Probing for PCI adapters
airo: Finished probing for PCI adapters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The following is probably premature but ...

/etc/sysconfig/network-scripts/ifcfg-eth1

USERCTL=yes
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=eth1
HWADDR=
BOOTPROTO=none
NETMASK=255.255.255.0
ONBOOT=yes
DHCP_HOSTNAME=
IPADDR=10.1.1.1
NAME=
DOMAIN=
ESSID=myessid
CHANNEL=6
MODE=Auto
KEY=s:
RATE=Auto
NETWORK=10.1.1.0
BROADCAST=10.1.1.255
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The content of modules.conf..

alias eth0 e1000
alias eth1 airo_cs
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Kudzu detects the card but then seg faults. I overcame the problem by
doing a kudzu --probe and manually entering the results about pcmcia
into hwconf...

The contents of /etc/sysconfig/hwconf (concerning pcmcia)..

class: NETWORK
bus: PCMCIA
detached: 15
driver: airo_cs
desc: "Aironet PC4800"
vendorId: 015f
deviceId: 0007
function: 0
slot: 0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The relevant pcmcia part of "lspci -v"

02:00.0 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
Subsystem: IBM ThinkPad T30
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=05, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001

02:00.1 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
Subsystem: IBM ThinkPad T30
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at b1000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=06, subordinate=08, sec-latency=176
Memory window 0: 10c00000-10fff000 (prefetchable)
Memory window 1: 11000000-113ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


All times are GMT -5. The time now is 04:06 PM.