View previous topic :: View next topic |
Author |
Message |
weijia n00b
Joined: 14 Sep 2002 Posts: 57
|
Posted: Thu Feb 13, 2003 8:39 pm Post subject: development-sources and pcmcia/usb |
|
|
I am currently trying out the development-sources (2.5.60). This is my first experience with them, and as such there are a few configurations which I am not familiar with. First is how the new sources handle PCMCIA. With 2.4 I would disable PCMCIA and install pcmcia-cs. With 2.5.60 I am supposed to compile PCMCIA support into the kernel? I tried this, but pcmcia-cs will not compile with a 2.5 kernel installed. What is the correct way of handling PCMCIA support under 2.5? Another thing is USB hotplug. The current hotplug gives me a lot of error messages about certain modules already loaded by the kernel. What is the correct way of handling USB hotplug support in 2.5? Thanks
Weijia |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Thu Feb 27, 2003 3:30 pm Post subject: |
|
|
Hello,
Have you got any of the above problems sorted? PCMCIA? USB?
thanks for your feedback
regards, _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Thu Mar 20, 2003 3:28 pm Post subject: |
|
|
If anyone's figured out how to get pcmcia-cs compiled on the development kernel please let me know! |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Thu Mar 20, 2003 7:53 pm Post subject: |
|
|
Hello,
I'm actually using kernel-2.5.65 and I compiled the pcmcia-drivers (my network card, the only pcmcia devices I'm using on my notebook) in the kernel. Then compiled the pcmcia-cs tools without a problem.
Hepe this helps, if not, let me know where your problem is. _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Fri Mar 21, 2003 12:58 am Post subject: |
|
|
I'm trying to install pcmcia-cs-drivers but it won't let me install them.. Even when I use this command:
Code: | ACCPET_KEYWORDS="~x86" emerge pcmcia-cs-drivers |
Isn't that how I'm supposed to install masked packages? When I do that it says:
Code: |
These are the packages that I would merge, in order:
Calculating dependencies
!!! all ebuilds that could satisfy "pcmcia-cs-drivers" have been masked.
!!! Error calculating dependancies. Please correct.
|
whats the deal here? |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Fri Mar 21, 2003 9:26 am Post subject: |
|
|
monkeybox
You should check out your package.mask file ans comment out the package you want to emerge, I think pcmcia-cs-drivers ist masked in the package.mask files. And, the pcmcia-cs-driversm would NOT work with the kernel 2.5 series, you should use the KERNEL pcmcia drivers. You'll still need the pcmcia-cs-utils.
What I did is, I compiled my pcmcia drivers in the kernel, and then just emerge pcmcia-cs to get the pcmcia utilities.
Hope this helps. _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Fri Mar 21, 2003 2:34 pm Post subject: |
|
|
Damn... I compiled all PCMCIA support into my kerenl and when I try to emerge pcmcia-cs it STILL doesn't work! I still get this error:
Code: |
In file included from cardmgr.c:199:
/usr/src/linux/include/scsi/scsi.h:204: parse error before "u8"
/usr/src/linux/include/scsi/scsi.h:204: warning: no semicolon at end of struct or union
/usr/src/linux/include/scsi/scsi.h:205: warning: type defaults to `int' in declaration of `ScsiLun'
/usr/src/linux/include/scsi/scsi.h:205: warning: data definition has no type or
storage class
make[1]: *** [cardmgr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.1-r4/work/pcmcia-cs-3.2.1/cardmgr'
make: *** [all] Error 2
|
[EDIT]
Ok I just tried a very crude hack but it made pcmcia-cs compile... I basically took the scsi.h file from the vanilla-sources and copied into the beta-sources. Do you think this will effect anything greatly?
Also, it will not let me emerge pcmcia-cs-tools because it says I don't have pcmcia support enabled, (Which I KNOW it does)... |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Fri Mar 21, 2003 2:41 pm Post subject: |
|
|
Ist a symlink to the kernel you compiled? if not, that would explain your problem. You should symlink to point to the kernel you are using. for me it's like this Code: | linux -> linux-2.5.64-mm6/ |
hope this helps _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Fri Mar 21, 2003 5:15 pm Post subject: |
|
|
yes, /usr/src/linux is a symlink to my beta kernel... Give me _some_ credit here!
I'm trying to get a hold of latexer on IRC... supposedly he's the one who maintains pcmcia-cs. |
|
Back to top |
|
|
Loki|muh n00b
Joined: 30 Jan 2003 Posts: 54
|
Posted: Fri Mar 28, 2003 1:58 pm Post subject: |
|
|
:/ didnt work for me
Kernel 2.5.66 |
|
Back to top |
|
|
wstrange n00b
Joined: 30 Mar 2003 Posts: 1
|
Posted: Mon Mar 31, 2003 4:01 am Post subject: RE: pcmcia-cs |
|
|
I ran into this problem as well.
The solution is posted in another thread.
Sym link your /usr/src/linux to the 2.4 sources, and then
emerge pcmcia-cs utils.
Should do the trick. Once installed the cardmgr stuff seems to work fine with the 2.5 kernel
Warren |
|
Back to top |
|
|
|