LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-02-2009, 06:10 PM   #1
Probs
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 0
3C574 - PCMCIA Card Not Playing Ball ...


Hi guys,

Be gentle, I'm a bit of a newb to Slackware. Ok, so I have 12.2 installed on an old Toshiba Tecra (Circa 96) laptop with a 3COM PCMCIA 3c574 installed.

I have set the cardbus mode to PCMCIA rather than cardbus mode and all appears well (When I look at the startup logs I find it has recognised a card installed in the bottom slot)

However when I do an ifconfig -a I see no mention of said eth0 (Just a loopback address and one for the infared port)

Do I need to add the 3c574 driver specifically, and if so, could someone point me in the right direction to be able to do this ?

Thanks guys n gals.
 
Old 05-02-2009, 06:50 PM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
There is a module in Slackware 12.2 called 3c574_cs but I have no experience with it...

Check with lsmod if it is loaded.
If not, try to load it with:
Code:
modprobe 3c574_cs
It is an old driver (1993-1998) with some fixes from 2003.

I had a similar experience some time ago getting a 3c562C working on an old Toshiba notebook, and it is running fine now
 
Old 05-03-2009, 06:09 AM   #3
Probs
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Heya chap, firstly thanks for your reply, I've tried what you suggested and no error is returned however when I do lsmod I can see it loaded (And listed against the PCMCIA interface) but when I do ifconfig -a I still can see no eth0 or other adapter which looks like it may be my card.

I have ran netconfig just in case but still nothing.

The car is definatly a 3c574-TX 10/100 PCMCIA card.

Any thoughts and thanks again.
 
Old 05-03-2009, 06:50 AM   #4
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
ok, let's try the following:
- boot the Toshiba without the 3c574 plugged in
- insert the 3c574 card
- check if the 3c574_cs was loaded with lsmod
- check the last page of the /var/log/messages file for any relevant messages and tell me what you found

I tested my 3c562 card and in /var/log messages I could see the lines from pcmcia and then the creation of the eth1 adapter using the 3c589_cs module.
It became eth1 because it has a built-in adapter that is eth0...

I then configured the card with "ifconfig 192.168.x.y", giving it an IP address.

I'm working in the dark here, as I do not have your card or notebook, but it should be quite similar.
 
Old 05-03-2009, 05:03 PM   #5
Probs
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Hi there,

Thanks for your reply, sorry I should have mentioned my configuration sooner. It's a Tecra 8000 laptop with around 512mb RAM, 20GB hard disk and obviously the aforementioned card running Slackware 12.2.

Ok so from the top:

- boot the Toshiba without the 3c574 plugged in
No problem.

- insert the 3c574 card
With you so far ...

- check if the 3c574_cs was loaded with lsmod
I did and it was not, against PCMCIA_core I had pcmcia,i82365,rsrc_nonstatic

- check the last page of the /var/log/messages file for any relevant messages and tell me what you found

I find one entry at the end of the log that says

kernel: pccard@ PCMCIA card inserted into slot 1

And thats all I get. Thanks again for your help with this one.
 
Old 05-03-2009, 05:21 PM   #6
Probs
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Ok so I had another quick look. I found that when I did pccardctl info I got not a lot, so I tried running pcmcia-socket-startup and that seemed to do it. I can now see eth0. I just can't see why that doesn't run on startup.

Really quite odd. I'll keep reading. Any ideas out there as to why this does not happen automatically ?
 
Old 05-03-2009, 06:22 PM   #7
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
pcmcia-socket-startup is (or should be) started by udev - see /lib/udev/rules.d/60-pcmcia.rules

I am not sure why this did not work automatically...
Are /etc/rc.d/rc.udev & /etc/rc.d/rc.pcmcia marked as 'executable'?

It might simply be some incompatibility with the Toshiba or the 3c574 (less likely).
In the worst case, you can put pcmcia-socket-startup in /etc/rc.d/rc.local

Last edited by niels.horn; 05-03-2009 at 06:24 PM.
 
Old 06-27-2009, 08:36 PM   #8
mmmichael
LQ Newbie
 
Registered: Apr 2008
Location: USA
Distribution: Ubuntu,Puppy,Zenwalk,FreeBSD
Posts: 9

Rep: Reputation: 0
/lib/udev/rules.d/60-pcmcia.rules needs to be edited so that the second to last line runs /sbin/pcmcia-socket-startup.
The rule file gives the wrong path to the command. (At least it did on my fresh install of 12.2 off the dvd).
 
Old 06-27-2009, 10:34 PM   #9
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Quote:
Originally Posted by mmmichael View Post
/lib/udev/rules.d/60-pcmcia.rules needs to be edited so that the second to last line runs /sbin/pcmcia-socket-startup.
The rule file gives the wrong path to the command. (At least it did on my fresh install of 12.2 off the dvd).
That's correct for 12.2. It has been corrected in Slackware-current with a symbolic link on April, 20.

The /lib/udev/rules.d/60-pcmcia.rules reads:
Code:
...
# pcmcia-socket-startup sets it up
SUBSYSTEM=="pcmcia_socket", \
                RUN+="/lib/udev/pcmcia-socket-startup"
and /lib/udev/pcmcia-socket-startup now is a symbolic link to /sbin/pcmcia-socket-startup:
Code:
# ls -l /lib/udev/pcmcia-socket-startup
lrwxrwxrwx 1 root root 32 2009-05-22 09:13 /lib/udev/pcmcia-socket-startup -> ../../sbin/pcmcia-socket-startup*

Last edited by niels.horn; 06-27-2009 at 10:44 PM. Reason: date for patch in -current
 
  


Reply

Tags
pcmcia, slackware


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
PCMCIA controller and PCMCIA-card ST Lab C140 10/100 not detected on Mepis 3.4-3 nilsms Linux - Hardware 0 04-30-2006 11:56 AM
386 + ISA-PCMCIA adapter + PCMCIA Ralink wifi card v6sa Linux - Newbie 0 05-19-2005 12:42 PM
fedora core 3 test 1 - 3com 3c574 pcmcia - bad file descriptor misbell Linux - Laptop and Netbook 2 09-29-2004 06:07 AM
Insert scsi pcmcia card kills existing ethernet card lgetsche Linux - Hardware 0 11-12-2002 04:16 PM
Smoothwall not playing ball! DiBosco Linux - Networking 2 02-14-2002 04:35 AM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration