LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-22-2005, 06:16 PM   #1
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Rep: Reputation: 15
PCMCIA doesn't work? FINALLY, it's WORKING!


(also see post #12 )

I have a hp pavilion zx 5000 laptop w/ RedHat 9.0. I tried to install a cisco AIR-PCM352 PCMCIA card.

I used drivers from cisco and installtion scripts ran well without complaining anything. But one configuration tool "acu" failed with "no radio found". I suspect that PCMCIA dosen't work. The following is what I got.

- NO pcmcia listed by "ps -A" even after running "/etc/rc.d/init.d/pcmcia start";

- After booting, run cardmgr, report "no pcmcia driver in /proc/device" and it's true pcmcia is not listed there. and "cardctl status" show empty slots.

- After running "/etc/rc.d/init.d/pcmcia start", use "/etc/rc.d/init.d/pcmcia status", it listed my card and so does "cardctl ident". But then run "/etc/rc.d/init.d/pcmcia restart" reports "...device busy..." and pcmcia doesn't show in "ps -A" list.

So, I think pcmcia doesn't work. Is this right? How to get it work? Thanks a lot.

Last edited by licht; 03-25-2005 at 10:45 AM.
 
Old 03-22-2005, 06:30 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
In the old Redhat days if I remember correctly, I needed to compile and install this file pcmcia-cs-3.2.8.tar.gz to pcmcia setup to get pcmcia back up and running. Can be found at http://pcmcia-cs.sourceforge.net/ftp/

If I remember I just needed to extract the archive somewhere, then run ' ./configure' then ' make ' and then ' make install '. Reboot. I would read the readme and install files in the source archive. Note this is only for 2.4 kernels.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 03-22-2005, 08:17 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 NixOS
Posts: 2,266

Rep: Reputation: 54
Try to re-install pcmcia-cs and see what happens. In all likelyhood the pcmcia slot works but just isn't being recognized by a trashed pcmcia-cs
 
Old 03-22-2005, 11:30 PM   #4
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
upgrade to pcmcia-cs-3.2.8 doesn't work

airo_cs is the module for the AIR-PCM352 card. I also tried and installed pcmcia-cs-3.2.8. But I still cannot get the card work. The following are diag info.

1. After boot.

- "status" and "activity" black on the card.

- There's no pcmcia or airo_cs error or sucess information in startup log shown in dmesg or boot.log or /var/log/messages.

- There's no pcmcia in /proc/devices. "cardmgr" and "cardctl ident" also complain "no pcmcia driver in /proc/devices".

- "/etc/rc.d/init.d/pcmcia status" complains "cardmgr is stopped".

- There's no "pcmcia" or "cardmgr" or "airo_cs" in "ps -A".

- No "pcmcia" or "airo_cs" in "lsmod".

- "lspci" shows ->>>>
02:04.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
02:04.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
<<<<

2. run "modprobe airo_cs" omits the following message->>>>

/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: insmod airo_cs failed

<<<<

And dmesg shows this->>>>

Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services
<<<<

3. run "/etc/rc.d/init.d/pcmcia start" ->>>>
Starting PCMCIA services: cardmgr[4714]: watching 2 sockets
done.
<<<<

-And "Activity" always on. "Status" still off.
-And "cardctl ident" shows ->>>>
Socket 0:
product info: "Cisco Systems", "350 Series Wireless LAN Adapter"
manfid: 0x015f, 0x000a
function: 6 (network)
Socket 1:
no product info available
<<<<

-And "cardctl status" shows ->>>
Socket 0:
5V 16-bit PC Card
function 0: [ready]
Socket 1:
no card
<<<<

- "pcmcia" and "airo_cs" still missing from "ps -A"

- "lsmod" shows ->>>>
airo_cs 4580 0 (unused)
airo 99424 0 [airo_cs]
ds 8840 1 [airo_cs]
yenta_socket 13600 2
pcmcia_core 62304 0 [airo_cs ds yenta_socket]
<<<<

- "pcmcia stop" shows ->>>>
Shutting down PCMCIA services: /etc/rc.d/init.d/pcmcia: line 137: kill: (4715) - No such process
ds: Device or resource busy
pcmcia_core: Device or resource busy
done.
<<<<

- The "Activity" always on after 1st runing "pcmcia start"

From above info, seems resource not corretly set? or pcmcia doesn't work? Pls help me out. Thanks.
 
Old 03-22-2005, 11:47 PM   #5
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
my redhat has 2.4.20-8, forgot to mention this in previous message. Thanks.
 
Old 03-23-2005, 12:53 PM   #6
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
From cisco, they mentioned an always on amber "Activity" LED indicates improper driver installation. But there's no error message and it reports that kernel has pcmcia service suport.

And they mentioned that in BIOS, pc card should be set to PCIC. but, UNFORTUNATELY, there's no such setting in my machine. Dose this matter?

And from "cardctl status", it shows ->>>>
Socket 0:
5V 16-bit PC Card
function 0: [ready]
<<<<

Does this 16-bit count?

But there's no pcmcia running and no pcmcia driver listed in "/proc/devices". And after 1st running "pcmcia start", any action to that card reports "busy". So, wrong PCMCIA driver used? Currently, I used pcmcia-cs-3.2.8.

Thanks a lot!
 
Old 03-23-2005, 04:44 PM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 NixOS
Posts: 2,266

Rep: Reputation: 54
Does lsmod show the driver is loaded?
 
Old 03-23-2005, 05:23 PM   #8
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
I don't know if this will help but, I've got a pavilion ZV, cardbus show's up with the same ID's as yours 02:04.0 and 02:04.1, anyway, after trawling the net I found I had to run

/sbin/setpci -s 0:a.0 SUBORDINATE_BUS=0A

with every boot to get pcmcia to work properly and acknowledge my wireless card. Maybe it'll help you
 
Old 03-23-2005, 07:44 PM   #9
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
- I tried "/sbin/setpci -s 0:a.0 SUBORDINATE_BUS=0A". But it complains "no devices selected for SUBODINATE_BUS=0A". So I check the syntax of the command and I tried names in "lspci" and then it complains either "invalid device id" or "vendor id". Pls help me how to work it out. Thanks.

I think I have to make sure these work in turn

->pcmcia works->card driver works

so, I have the following to ask

<<<<my redhat has pcmcia service supported in kernel. how can I test if pcmcia works or not?
<<<<if pcmcia works, how to load driver for a card and test if that works?

thanks


- outputs of lsmod, pcmcia, cardctl ... from yesterday and today are again given below:

<SYMPTOM>

-------------------March 23----------------------
- Unplug the card and boot system
- I first removed all 352 drivers and utilities.
- Then I install pcmcia-cs-3.2.8
- Then I tested "cardctl status", "pcmcia status", reported "no pcmcia driver in /proc/devices"
- Then I run "pcmcia start"
- Then I insert the card. I hear the beep and the "activity" led on the card is on all the time. use "cardctl ident" it shows the card and "cardctl status" shows a 5v 16-bit pc card.
- Then I run "cardmgr" it shows->>>>
cardmgr[5422]: open_sock(socket 0) failed: Device or resource busy
cardmgr[5422]: another cardmgr is already running?
<<<<
- I run "ACU", which is utitlity to configure the card. It shows "no radio found"
- I run "pcmcia status", report "cardmgr is stopped".

for more things that I did please see the following:

-------------------March 22----------------------
airo and airo_cs is the module for the AIR-PCM352 card. I also installed pcmcia-cs-3.2.8.

0. driver installation succeeded->>>>
ldcmd ldconfig
Checking for libsigc++ ...
libsigc++ found.
Checking for gtkmm ...
libgtkmm found.

Continuing ...

Please wait , Compiling driver modules using sources in /usr/src/linux-2.4
mpi350.c: In function `init_venus_card':
mpi350.c:1714: warning: cast to pointer from integer of different size
Now attempting to determine how many Ethernet cards you have installed.
You already have a non-Aironet Ethernet adapter.
Your system is configured with kernel PCMCIA services
/opt/cisco/bin successfully created
Installing the utilities: acu bcard leapset leapscript leaplogin
Installing Help Files...
Help Files installed.

Drivers and utilities installed

<<<<
1. After boot.

- "status" and "activity" black on the card.

- There's no pcmcia or airo_cs error or sucess information in startup log shown in dmesg or boot.log or /var/log/messages.

- There's no pcmcia in /proc/devices. "cardmgr" and "cardctl ident" also complain "no pcmcia driver in /proc/devices".

- "/etc/rc.d/init.d/pcmcia status" complains "cardmgr is stopped".

- There's no "pcmcia" or "cardmgr" or "airo_cs" in "ps -A".

- No "pcmcia" or "airo_cs" in "lsmod".

- "lspci" shows ->>>>
02:04.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
02:04.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
<<<<

2. run "modprobe airo_cs" omits the following message->>>>

/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.20-8bigmem/kernel/drivers/pcmcia/ds.o: insmod airo_cs failed

<<<<

And dmesg shows this->>>>

Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
unloading Kernel Card Services
<<<<

3. run "/etc/rc.d/init.d/pcmcia start" ->>>>
Starting PCMCIA services: cardmgr[4714]: watching 2 sockets
done.
<<<<

-And "Activity" always on. "Status" still off.
-And "cardctl ident" shows ->>>>
Socket 0:
product info: "Cisco Systems", "350 Series Wireless LAN Adapter"
manfid: 0x015f, 0x000a
function: 6 (network)
Socket 1:
no product info available
<<<<

-And "cardctl status" shows ->>>
Socket 0:
5V 16-bit PC Card
function 0: [ready]
Socket 1:
no card
<<<<

- "pcmcia" and "airo_cs" still missing from "ps -A"

- "lsmod" shows ->>>>
airo_cs 4580 0 (unused)
airo 99424 0 [airo_cs]
ds 8840 1 [airo_cs]
yenta_socket 13600 2
pcmcia_core 62304 0 [airo_cs ds yenta_socket]
<<<<

- "pcmcia stop" shows ->>>>
Shutting down PCMCIA services: /etc/rc.d/init.d/pcmcia: line 137: kill: (4715) - No such process
ds: Device or resource busy
pcmcia_core: Device or resource busy
done.
<<<<

- The card is listed in "Hardware Browser" as "350 series Wireless LAN Adapter" w/ Unknown manufacturer and w/ airo_cs as driver

- I add a line in /etc/modules.conf as "alias wlan0 airo_cs". Then "ifup wlan0" reports ->>>>
airo_cs device wlan0 does not seem to be present, delaying initialization.
<<<<

- And "PCMCIA/PC-Card device" in "Hardware Browser" shows 2 "unknown device 104c:ac54" w/ "texas instrument" as manufacturer and w/ "yenta_socket" as driver
 
Old 03-23-2005, 11:29 PM   #10
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
March 23 - 2nd try:

+After boot with the air-pcm352 card inserted, and redhat 9 w/ 2.4.20-8 and pcmcia-cs-3.2.8:
--NO LED lit.
--"pcmcia" reports "cardmgr is stopped".
--"cardmgr" and "cardctl ident 0" and "cardctl status 0" report "no pcmcia driver found in /proc/devices".
--no driver module appears in "lsmod" list.

+Run "/etc/rc.d/init.d/pcmcia start", shows->>>>
Starting PCMCIA services: done.
cardmgr[4671]: watching 2 sockets.
<<<<
--amber LED lit.
--the following modules shown in "lsmod"->>>>
Module Size Used by Tainted: P
airo_cs 4580 0 (unused)
airo 99456 0 [airo_cs]
ds 8840 1 [airo_cs]
yenta_socket 13600 2
pcmcia_core 62304 0 [airo_cs ds yenta_socket]
<<<<( "airo" and "airo_cs" are air-pcm352 card driver and loader)
-Run "cardctl status 0" shows ->>>>
5V 16-bit PC Card
function 0: [ready]
<<<<
-Run "cardctl ident 0" shows ->>>>
product info: "Cisco Systems", "350 Series Wireless LAN Adapter"
manfid: 0x015f, 0x000a
function: 6 (network)
<<<<
-Run "/etc/rc.d/init.d/pcmcia status" shows "cardmgr is stopped"

BUT

-Run "cardmgr" shows ->>>>
cardmgr[4731]: open_sock(socket 0) failed: Device or resource busy
cardmgr[4731]: another cardmgr is already running?
<<<< (BUT cardmgr not shown in "ps -A" nor "lsmod".)

-Run "/etc/rc.d/init.d/pcmcia stop" shows ->>>>
Shutting down PCMCIA services: /etc/rc.d/init.d/pcmcia: line 137: kill: (4672) - No such process
ds: Device or resource busy
pcmcia_core: Device or resource busy
done.
<<<<

-Run cisco card configuration tool "acu" gives "no radio found".

Does this mean pcmcia has to be loaded manually? And pcmcia seems to work and card driver not?

Any suggestion are welcome. Thanks.

Last edited by licht; 03-23-2005 at 11:35 PM.
 
Old 03-24-2005, 11:06 AM   #11
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
This is the 3rd day on this. Got frustrated

From above test, could this be caused by any resource settings, like irq, mem ? Should I load driver airo or airo_cs by puting resource settins in module.conf or by some other tricks?


Thanks a lot! BTW, my liinux is old but I don't have time to consider a upgrade and it seems to me 352 card should work well with this kernel and pcmcia card service although I don't figure out how.
 
Old 03-25-2005, 12:38 AM   #12
licht
Member
 
Registered: Mar 2005
Location: chicago
Distribution: red hat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
Gosh, it works!

Finally, I got the card works although w/out encrption settings since my access point won't ask for that - it's not up to me

The main reason is that ACU 2.1 cannot recognize the card and the lastest driver don't work at all. This is how I did. Mine is redhat 9.0 w/ 2.4.20-8. And firmware is v4.23. (Other version may work as well. I haven't tested yet just heard from the web that v4.25.30 should work.)

1st. remove kernel-pcmcia-cs-3.1.31-13 installed w/ redhat from kernel by using rpm. (originally installed from scratch of the current system). remove 352 drivers and utilties by "sh install -R".

2nd. reinstall pcmcia-cs-3.2.8. that's downloading the tar.gz and do make config, make all and make install and DON"T use 32-bit card port!!!!(I'm not sure if this is the trick but I did this since I see 352 uses 16-bit.)

3rd. reboot and check "lsmod" if we see pcmcia_core, ds, airo, airo_cs, and if "ps -A |grep cardmgr". if it's there, great, eveything is ready.

4th, insert the card. check the 2 LED's status and use "cardctl ident", or "cardctl status" to check if the card is there. then, configure network script. my access point doesn't use encryption and use dhcp. so it's easy to me.

BUT, ACU 2.1 still complains "no radio found", let it be will consider it when there's no important work and if someone knows how to work out this, pls notify me. Anyway, it's a good tool for configuration.

And thanks for all guys here for great help and enthusiasm.

Last edited by licht; 03-25-2005 at 10:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot get WiFi to work - PCMCIA Judda Linux - Wireless Networking 9 10-13-2006 06:52 PM
Second PCMCIA socket doesn't work. composer777 Linux - Laptop and Netbook 2 05-10-2004 02:09 PM
PCMCIA doesn't work b0rcked Debian 3 05-05-2004 01:33 PM
Getting DHCP to work with PCMCIA wilson2703 Linux - Networking 1 10-31-2003 02:21 AM
PCMCIA Cardbus 2.0 cannot work joewandy Linux - Hardware 0 10-10-2002 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration