SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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.
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.
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.
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 ?
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.
/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).
/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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.