View previous topic :: View next topic |
Was this announcement helpful? |
Yes, Thanks! |
|
85% |
[ 29 ] |
Kinda sketchy... |
|
8% |
[ 3 ] |
I got better tips from my hamster! |
|
5% |
[ 2 ] |
|
Total Votes : 34 |
|
Author |
Message |
chadh Moderator
Joined: 21 Apr 2002 Posts: 137 Location: Atlanta, GA
|
Posted: Wed Apr 24, 2002 2:01 am Post subject: pcmcia-cs instructions for Gentoo users. |
|
|
The pcmcia-cs package provides utilities (cardmgr, cardctl, etc.) and
drivers. You probably want the tools if you use PCMCIA devices, as they
let you automatically bring up interfaces when you insert cards (cardmgr)
and change your network settings scheme (cardctl), etc. You may or may not
want the drivers. For instance, the orinoco_cs driver in the kernel is
supposedly better than the wvlan_cs driver provided with pcmcia-cs.
Whether you want the drivers or not, it is important that you configure
your kernel *before* installing pcmcia-cs. The pcmcia-cs ebuild uses your
kernel settings (found /usr/src/linux) to determine whether or not to
install the modules. If you want the pcmcia-cs modules, then make sure
that you configure "PCMCIA/Cardbus support" *off* Then compile and install
your kernel and modules. If you do not want the pcmcia-cs modules, then
configure "PCMCIA/Cardbus support" as either a module or built-in and
select any modules that you want to use. Finally emerge pcmcia-cs to
install the utilities and possibly drivers.
If you choose to use the pcmcia-cs kernel modules, then you need to remerge
pcmcia-cs *each time* you rebuild your kernel. And even if you don't use
the pcmcia-cs modules, it wouldn't be a bad idea to be in the habit of
remerging pcmcia-cs.
To configure networking, edit /etc/conf.d/net as described in other Gentoo docs. You *do not* need to rc-update add net.eth*, though. cardmgr will bring the interface up and down appropriately when you insert and eject the cards.
Finally, run the following command to bring up pcmcia services on each boot.
Code: | rc-update add pcmcia default |
Last edited by chadh on Wed May 01, 2002 2:00 pm; edited 2 times in total |
|
Back to top |
|
|
cedric n00b
Joined: 10 Apr 2002 Posts: 27 Location: Belgium
|
Posted: Wed Apr 24, 2002 8:15 am Post subject: |
|
|
I think you have forgotten to do the following
rc-update add pcmcia default |
|
Back to top |
|
|
chadh Moderator
Joined: 21 Apr 2002 Posts: 137 Location: Atlanta, GA
|
Posted: Wed Apr 24, 2002 8:25 am Post subject: |
|
|
added. Thanks! _________________ Chad |
|
Back to top |
|
|
clattuc n00b
Joined: 19 Apr 2002 Posts: 57
|
Posted: Wed Apr 24, 2002 10:08 am Post subject: Kernel version <-> pcmcia-cs version (mis)match |
|
|
One thing: I 'downgraded' my kernel to 2.4.18 (the network interface built into my laptop doesn't work properly with the Gentoo-'2.4.19' kernels).
I also downgraded to pcmcia-cs-3.1.22, because that's the version matching the pcmcia in the kernel.
If I emerge the current version, pcmcia-cs-3.1.33, cardmgr starts up with a warning that there is a mismatch between kernel pcmcia-headers & pcmcia-cs headers, and says it will exit (but doesn't...).
Don't know if it will work anyway, I just got sick of the errormessage
Cu,
Edwin |
|
Back to top |
|
|
LabRat n00b
Joined: 24 Apr 2002 Posts: 6
|
Posted: Sun Apr 28, 2002 12:17 am Post subject: |
|
|
Ok so I did everything you said and rebooted.
The pcmcia_core, i82365, ds and 3c574_cs modules loaded.
then i got
Quote: | Starting pcmcia...
cardmgr[1442]: Watching 2 sockets |
and it froze.
I did a hard reset and now all of the modules fail to load and I get
Quote: | Starting pcmcia...
cardmgr[1434]: no pcmcia drivers in /proc/devices
cardmgr failed to start. Make sure that you have PCMCIA
loaded, either as a module or built into the kernel |
so what happened?
I looked at /proc/devices and there is no listing for pcmcia.
any help is appreciated
Thanks
Doug |
|
Back to top |
|
|
LabRat n00b
Joined: 24 Apr 2002 Posts: 6
|
Posted: Sun Apr 28, 2002 12:50 am Post subject: |
|
|
I for got you gave a few methodes in your post.
I complied my kernel without pcmcia suport then
I also forgot to mention that before my computer froze my card reved to life and made a few beeps.
again thanks |
|
Back to top |
|
|
JamieC Guest
|
Posted: Wed May 01, 2002 1:35 pm Post subject: Re: pcmcia-cs instructions for Gentoo users. |
|
|
chadh wrote: | The pcmcia-cs package provides utilities (cardmgr, cardctl, etc.) and
...
Code: | rc-update add pcmcia-cs default |
|
It really is just "rc-update add pcmcia default". If you add the "-cs", you get an error message about not finding /etc/init.d/pcmcia-cs.
Other than that, thanks for this explanation! My PCMCIA ethernet card wasn't recognised properly until I followed these directions. |
|
Back to top |
|
|
chadh Moderator
Joined: 21 Apr 2002 Posts: 137 Location: Atlanta, GA
|
Posted: Wed May 01, 2002 2:00 pm Post subject: |
|
|
Thanks! Fixed. _________________ Chad |
|
Back to top |
|
|
JL n00b
Joined: 30 Apr 2002 Posts: 26
|
Posted: Sat May 04, 2002 8:22 pm Post subject: |
|
|
OK, I figured out how to get my wireless lucent card to work.
I have a built in rtl8139 nic too that work s great. wireless nic is eth1.
MAnually modprobe'ing everything listed in this thread and the correct driver. rc-update add wvlan_cs default was done. dhcpcd eth1 brings it up and I was surfing! Great I think. Now I edit /etc/modules.autoload and add pcmcia_core, i82365, ds and wvlan_cs (the ones it did manually before). rebooted. cardmgr was launced during boot. Now the light comes on on the card but no joy. ifconfig shows the card configured. cardctl ident shows the card. cardmgr error because it's running already.
How do I make this card work automatically? I must be editing the wrong file or have something out of order during boot. Can someone shed some light on this one? _________________ Aircraft Mechanics Motto:
If we can't fix it, it aint broke |
|
Back to top |
|
|
JL n00b
Joined: 30 Apr 2002 Posts: 26
|
Posted: Sat May 04, 2002 8:52 pm Post subject: |
|
|
why is it that whenever you make a post to any forum for help, you always get that 1 great idea to try and solve your problem?
Well mine was a dns issue. i added a nameserver entry for my wireless gateway to /etc/resolv.conf and all is happy happy
imagine THAT!
thanks for the great posts on getting wireless going. you may want to add the parts about editing /etc/resolv.conf if needed for nameserver entry.
JL _________________ Aircraft Mechanics Motto:
If we can't fix it, it aint broke |
|
Back to top |
|
|
al Guest
|
Posted: Sun May 05, 2002 1:19 am Post subject: netmount |
|
|
Hi,
I have netmount started at boot and had to update the depend on
/etc/init.d/netmount
to add PCMCIA so netmount gets started after pcmcia
my depend for netmount now looks like
depend () {
need net
user potmap pcmcia
}
Al |
|
Back to top |
|
|
antrod Guest
|
Posted: Wed May 08, 2002 2:27 am Post subject: pcmcia-cs and apm |
|
|
I have the oddest problem when I put my Sony Z505RX Vaio to sleep. The computer suspends/resumes correctly, but my lucent Wavelan card stays on after the computer is suspended until I manually yank the card out of the socket. I wouldnt mind except for the fact that this is likely to drain the battery while the computer is suspended.
I used to have Debian on this laptop and this worked well. Does this have to do with apmd (which I don't have installed due to the emerge error) or is it some setting in the pcmcia confs?
Thanks,
Antonio |
|
Back to top |
|
|
Guest
|
Posted: Sat May 18, 2002 6:23 pm Post subject: What are the specific kernel options to use and not use? |
|
|
I followed the instructions, but when done nothing worked.
Modprobe pcmcia_core worked, but modprobe ds would not work. After a lot of searching - thanks google I found that I should modprobe i82365 first, then ds. But there was no i82365. The emerge pcmcia-cs did not create this module. So where does it come from?
The instructions provided say set "PCMCIA/Cardbus off" But there is no mention of i82365. Searching manually thru the .config file I found "CONFIG_I82365 is not set". I'm now guessing that this must be set "on".
There really should be a list with this set of PCMCIA-CS instructions of the exact kernel config settings required to make this work.
Oh well. It's only another 2 hours to compile my kernel and modules.
I'll let you know if I am sucessful |
|
Back to top |
|
|
Guest
|
Posted: Sun May 19, 2002 11:47 am Post subject: yenta_socket |
|
|
Unfortunately I have a Dynalink L100CLV. I can't install gentoo (not with the 16mb iso) because that iso doesn't provide yenta_socket iso the i82365... 8139too module fails without yenta_socket.
Would it be wise to use the stage 3 install and get it to work after that?
Now I can't install at all |
|
Back to top |
|
|
chadh Moderator
Joined: 21 Apr 2002 Posts: 137 Location: Atlanta, GA
|
Posted: Sun May 19, 2002 3:24 pm Post subject: Re: yenta_socket |
|
|
Anonymous wrote: | Unfortunately I have a Dynalink L100CLV. I can't install gentoo (not with the 16mb iso) because that iso doesn't provide yenta_socket iso the i82365... 8139too module fails without yenta_socket.
Would it be wise to use the stage 3 install and get it to work after that?
Now I can't install at all |
I think you are confused. i82365 and yenta_socket are mutually exclusive. If you are using pcmcia-cs modules, then you load i82365, and if you are using kernel modules, then you use yenta_socket. And please note that the i82365 module for pcmcia-cs is different than the option you see if the Linux kernel config. If you have to use yenta_socket to get your card to work, then you will have to come up with another boot CD to get the install going. _________________ Chad |
|
Back to top |
|
|
nickperry n00b
Joined: 18 May 2002 Posts: 2 Location: Munich, Germany
|
Posted: Sun May 19, 2002 4:07 pm Post subject: |
|
|
LabRat wrote: | I for got you gave a few methodes in your post.
I complied my kernel without pcmcia suport then
I also forgot to mention that before my computer froze my card reved to life and made a few beeps.
again thanks |
Try lettting cardmgr load the 3c574_cs module, rather than autoloading / modprobing it first. I have a 3c575_cb and I just autoload i82365 and ds and let cardmgr look after the rest. |
|
Back to top |
|
|
WildBill n00b
Joined: 03 May 2002 Posts: 20
|
Posted: Tue May 21, 2002 5:45 pm Post subject: |
|
|
I'm having a strange PCMCIA problem:
Machine: Sony Picturebook C1VPK
PCMCIA-CS works great (I am using the pcmcia-cs drivers, not the kernel drivers) with all my network cards, including the Orinoco wireless card I have. However, I run into problems when ejecting any NIC card.
Symptom:
1) Running "cardctl eject" results in this message; "ioctl():Device or resource busy"
2) Ejecting the PCMCIA card without running cardctl eject works. The machine beeps on card removal, but eth0 stays up, and the modules remain loaded. Inserting a different NIC (say, going from wired to wireless) doesn't do anything, that is, the NIC isn't recognized. If I do an "ifconfig eth0 down" , "killall dhcpcd" ,and then manually rmmod the modules for the removed NIC, I can swap NIC cards, but I have to manually run dhcpcd to get an IP address again.
It's my understanding that I should be able to swap cards on the fly without having to do this - I have Mandrake in another partition on this machine, and I use pcmcia-cs and kernel 2.4.18 both compiled from source over there, and this works. I'm stuck. I think I'm missing something, but I don't know what. Any help is greatly appreciated, as once I get this figured out I feel comfortable enough with Gentoo to wipe out the Mandrake partition and use it for data storage. |
|
Back to top |
|
|
WildBill n00b
Joined: 03 May 2002 Posts: 20
|
Posted: Tue May 21, 2002 10:48 pm Post subject: |
|
|
I think I'm getting closer. My buddy's machine also exhibits the same behavior with ejecting a PCMCIA card.
I notice upon a PCMCIA eject that the /etc/pcmcia/network script fails when checking... it can't find the /var/run/stab file.
Anyone else have issues with /var/run/stab? Is there any easy fix? I'm still digging... as I find more info or come up with a fix I'll let everyone know. |
|
Back to top |
|
|
JoePenguin Guest
|
Posted: Tue May 28, 2002 6:34 pm Post subject: Missing /var/run/stab |
|
|
I am missing /var/run/stab just like Wildbill. My understanding is that this is something that cardmgr is supposed to create but instead it complains that the file is not there. I created the file by doing Code: | touch /var/run/stab | but it looks like the file disappeared after I rebooted. This is not preventing me from using my PCMCIA card, so I only consider it a minor annoyance right now. |
|
Back to top |
|
|
Ludwig n00b
Joined: 30 May 2002 Posts: 13
|
Posted: Mon Jun 03, 2002 9:36 am Post subject: |
|
|
A big thx for this instructions.
It was very helpful to make my 3COMCCE575BT card working ! |
|
Back to top |
|
|
elijahchancey n00b
Joined: 08 Jun 2002 Posts: 4
|
Posted: Sat Jun 08, 2002 4:06 pm Post subject: installation document revision |
|
|
It would be incredibly useful to have the install docs tell you to "emerge pcmcia-cs" in the install.
LabRat wrote: | I for got you gave a few methodes in your post.
I complied my kernel without pcmcia suport then
I also forgot to mention that before my computer froze my card reved to life and made a few beeps.
again thanks |
|
|
Back to top |
|
|
oregonshoegazer Tux's lil' helper
Joined: 09 May 2002 Posts: 84
|
Posted: Sun Jun 23, 2002 6:16 am Post subject: missing ALL modules??? |
|
|
** warning - linux newbie questions ahead **
hi guys,
i am having difficulty installing the PCMCIA modules on my machine. in fact, i may have made the *least* progress of anyone in this thread.
my problem is that i can't get the base PCMCIA kernel modules to load. i read the PCMCIA-HOWTO after trying and i couldn't find any solution there. no matter which approach i take, i can't seem to get any of the base modules (pcmcia_core, ds, i82365) built.
i've pulled all the PCMCIA modules out of the kernel. i've rebuilt the kernel before
1. using emerge
2. unpacking pcmcia-cs myself
any ideas? i can't find any documentation with regards to my problem. i'm sure it's something simple that i've forgotten...
Thanks! |
|
Back to top |
|
|
irony Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: CT
|
Posted: Wed Jul 10, 2002 1:32 pm Post subject: |
|
|
Just to make sure I'm getting this correctly:
If you configure the kernel to support pcmcia and compile in the particular drivers for a card, pcmcia-cs isn't needed. Further, the init.d entries don't need to be modified to need(pcmcia). The kernel will load the pcmcia support automatically (assuming it works), as well as the card drivers, and networking should proceed apace.
If you want to use pcmcia-cs, pcmica support should not be compiled into the kernel, and consequently, neither should the drivers for a particular card. In this case, the init.d entries do need to be modified, and emerge pcmcia-cs should be done after any changes to the kernel.
So pcmcia-cs generates the correct kernel modules automatically? _________________ "and if rain brings winds of change, let it rain on us forever..." |
|
Back to top |
|
|
cbrese Tux's lil' helper
Joined: 12 Jul 2002 Posts: 126 Location: San Diego, CA
|
Posted: Mon Jul 15, 2002 12:36 am Post subject: Still canlt get my 3Com 575 to work |
|
|
So far the best I can get it 2 beeps and a hung system or an error message saying "Make sure you have PCMCIA loaded..."
I get the 2 beep error if I put pcmcia_core, i82365, and ds in modules.autoload.
I get the error message if I remove ds from modules.autoload.
I fixed the bug in /etc/pcmcia/network by removing the wireless stuff
I have my kernel compiled WITHOUT PCMCIA/CardBus support and WITH i82365
After compiling the kernel and the rest of the makes I emerged pcmcia-cs
I can't think of anything else to try, please help my head hurts from banging it against the wall for 2 days. |
|
Back to top |
|
|
cbrese Tux's lil' helper
Joined: 12 Jul 2002 Posts: 126 Location: San Diego, CA
|
Posted: Mon Jul 15, 2002 12:50 am Post subject: Fixed |
|
|
I knew all I had to do was make a post and I'd figure it out right after.
It looks like the problem wasn't just the wireless stuff in /etc/pcmcia/network
I followed the instructions of a previous post for blowing away the /etc/pcmcia/network file and creating an empty one.
I now have pcmcia_core, i82365, and ds in my modules.autoload and it dosen't hang.
The only problem left is dhcpcd eth0 isn't getting run, and I have to do it manualy.
I have iface_eth0="dhcp" set in my /etc/conf.d/net. Is there something else I need to do? Should I do rc-update add net.eth0 default? |
|
Back to top |
|
|
|