View previous topic :: View next topic |
Author |
Message |
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Tue Apr 06, 2004 5:15 pm Post subject: HOWTO: PCMCIA network cards and the 2.6 kernel |
|
|
After many long hours of searching the forums trying to get my Sony VAIO's PCMCIA network card to work on boot in the 2.6 kernel, I decided to write this quick little how-to for anyone having the same problems. I figure I've gotten so much out of this forum this would be a good chance to give a little back to the community and share with you all my method for getting the network card up. This how-to is based off of charlieg's wonderful how-to here.
I'll start with the relavent specs of my system:
AMD K6-III 550MHz Processor
128MB RAM
Intel EtherExpress Pro 100 (uses xirc2ps_cs module) PCMCIA network card
Kernel used: development-sources (2.6.4)
I think that's about all you really need to know about me at this point .
Step 1: Follow the install guide to get your system up and running.
Step 2: Configure kernel with the following options:
Code: | Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
PCMCIA/CardBus support --->
<M> PCMCIA/CardBus support
<M> CardBus yenta-compatible bridge support
<M> i82365 compatible bridge support
Device Drivers --->
Networking support --->
PCMCIA network device support --->
[*] PCMCIA network device support
<M> Xircom 16-bit PCMCIA support *** |
*** This is the module my EtherExpress card uses. Select the one that corresponds to your card. I found a list of supported PCMCIA network cards a while back, but for the life of me I can't find it again. If anyone knows where it is a link would be much appreciated.
So from there, run Code: | make && make modules_install | to compile the kernel. Code: | # mount /boot
# cp arch/i386/boot/bzImage /boot/<kernel name> |
Update your bootloader, and reboot into the new kernel.
All of the how-to's I've seen thus far will tell you to add a few things to Code: | /etc/modules.autoload/kernel-2.6 | However, with my hardware setup, this did not work. So in this how-to we're going to skip that step.
Step 3: Now it's time toIf you have already emerged pcmcia-cs, you will still need to re-emerge it, as it compiles based on your current kernel setup.
Add pcmcia-cs to rc: Code: | rc-update add pcmcia boot | **Make sure you put it in the boot runlevel, otherwise your net.eth0 may run before your card is activated.
Step 4: Reboot again. Run You should see something like this: Code: | ...
xirc2ps_cs *
i82365
ds
pcmcia_core | *Your network card's module would be here
If that's the case (and it should be), go ahead and edit /etc/conf.d/net and Code: | rc-update add net.eth0 | and enjoy
Note: These are the steps I took to get my laptop's nic up and running. Although I am confident that anyone with a similar hardware setup will have success with this method, I cannot guaruntee everyone will. That is why there are so many different how-to's out there explaining this very same process. I apologize if this doesn't work for you, as I know how much of a pain these things can be. Please feel free to post comments/questions/suggestions in this thread. I will be watching it, and will respond as quickly as I can.
Good luck! _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Tue Apr 06, 2004 10:51 pm Post subject: |
|
|
Good stuff. Thanks for the credit. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Wed Apr 07, 2004 12:58 am Post subject: |
|
|
charlieg wrote: | Good stuff. Thanks for the credit. |
Hey, if it weren't for your post I never would have gotten my card working _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
S_aIN_t Guru
Joined: 11 May 2002 Posts: 488 Location: Ottawa
|
Posted: Wed May 12, 2004 8:42 pm Post subject: |
|
|
my CardBus support is built into the kernel. therefore, it modules.autoload/modules-2.6 i just load xirc2ps_cs
then pcmcia-cs starts and the card works great.
nicely done. _________________ "That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com |
|
Back to top |
|
|
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Wed May 12, 2004 8:48 pm Post subject: |
|
|
S_aIN_t wrote: | my CardBus support is built into the kernel. |
Interesting. For some reason I could not get mine to work with pcmcia built into the kernel...only works as modules. _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
az_zel n00b
Joined: 12 May 2004 Posts: 69
|
Posted: Fri May 28, 2004 1:15 am Post subject: |
|
|
I was able to get it to work simply by building the kernel with PCMCIA support and adding the yenta_socket to the modules.autoload file. Oh, and I'm using a Linksys Card. |
|
Back to top |
|
|
bohemier n00b
Joined: 14 Jun 2004 Posts: 3 Location: Quebec, Canada
|
Posted: Mon Jun 14, 2004 2:52 am Post subject: |
|
|
YopWongSapn wrote: | S_aIN_t wrote: | my CardBus support is built into the kernel. |
Interesting. For some reason I could not get mine to work with pcmcia built into the kernel...only works as modules. |
Been fooling around for a few days to get my Xircom PCMCIA card to work in 2.6. That card is a 16 bit PCMCIA card, so ISA bus has to be enabled in order to build support for it into the kernel.
cheers |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Mon Jun 14, 2004 2:43 pm Post subject: |
|
|
YopWongSapn wrote: | charlieg wrote: | Good stuff. Thanks for the credit. |
Hey, if it weren't for your post I never would have gotten my card working |
I spent days and days getting PCMCIA cards to work at the office. Since they weren't keeping tabs on me (was a very relaxed environment, which was all-too-evident when the company folded last year!) I decided I may as well spend additional time posting a how-to so that others could skip the pain.
_________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
gegtot n00b
Joined: 20 Jan 2006 Posts: 23
|
Posted: Thu Feb 23, 2006 12:47 pm Post subject: |
|
|
I have a sony vaio gn-fs295vp.
I followed the gentoo installation instructions regarding pcmcia. Now the system hangs at after the messages "Starting pcmcia..... cardmgr [5420] watching 1 socket".
According to some other posts e.g. http://www.trapanator.com/blog/gentoo-making-your-pcmcia-ethernet-card-work/ I should load i82365 or i82092. However, this is not doing the job. And when I do lsmod in the installation environment (which seems to load everything perfectly) I don't see anything like that. I don't see pcmcia_core, not ds and not i82365 or i82092 either. I see that yenta_secket is loaded (even IPW2100). What modules shall I load?
Br,
Georg
Search criterion: freezes hangs, start up |
|
Back to top |
|
|
mechangel n00b
Joined: 08 Oct 2005 Posts: 6 Location: Breslau, PL
|
Posted: Sun Feb 26, 2006 3:00 pm Post subject: |
|
|
I went through these steps and it always ends up the same way:
Code: | host~# /etc/init.d/pcmcia start
* Starting pcmcia...
* cardmgr[6997]: no pcmcia driver in /proc/devices
* cardmgr failed to start. Make sure that you have PCMCIA
* modules built or support compiled into the kernel
|
modules loaded are:
yenta_socket
rsrc_nonstatic
pcmcia
pcmcia_core
My machine:
Compaq Armada V300
Intel Celeron 480
I try to run the Micronet SP162TA V2 (for details look here), which works with pcnet32 module (it modprobes fine).
Gentoo 2005.1 with kernel 2.6.15-gentoo-r1
What do I do wrong? _________________ --
.:mechangelo
http://effigy.pl/blog/ |
|
Back to top |
|
|
Pandor Tux's lil' helper
Joined: 16 Nov 2005 Posts: 128 Location: Belgium
|
Posted: Mon Feb 27, 2006 11:19 pm Post subject: |
|
|
@ mechangel
Topic is quite old. Things have changed since then.
a.f.a.i.k the pcmcia-cs tools are being deprecated in favor of pcmciautils.
Linux Kernel 2.6 PCMCIA
Linux Kernel 2.6 PCMCIA - mini-HOWTO
And on Linux Kernel 2.6 PCMCIA: cardmgr to pcmciautils HowTo
you can read:
Quote: | Kernels since 2.6.13-rc1 do not require the cardmgr daemon anymore. In those newer kernel the pcmcia bus acts almost as any other bus with full /sbin/hotplug support. Old style cardmgr setups should still work if the kernel is configured correctly. But be aware that the ioctl for PCMCIA will be removed in the near future. |
I've been using pcmciautils myself for quite some time now. |
|
Back to top |
|
|
|