Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
development-sources and pcmcia/usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
weijia
n00b
n00b


Joined: 14 Sep 2002
Posts: 57

PostPosted: Thu Feb 13, 2003 8:39 pm    Post subject: development-sources and pcmcia/usb Reply with quote

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
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Thu Feb 27, 2003 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
monkeyBox
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 111
Location: Dallas, TX

PostPosted: Thu Mar 20, 2003 3:28 pm    Post subject: Reply with quote

If anyone's figured out how to get pcmcia-cs compiled on the development kernel please let me know!
Back to top
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Thu Mar 20, 2003 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
monkeyBox
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 111
Location: Dallas, TX

PostPosted: Fri Mar 21, 2003 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Fri Mar 21, 2003 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
monkeyBox
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 111
Location: Dallas, TX

PostPosted: Fri Mar 21, 2003 2:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Fri Mar 21, 2003 2:41 pm    Post subject: Reply with quote

Ist
Code:
/usr/src/linux
a symlink to the kernel you compiled? if not, that would explain your problem. You should symlink
Code:
/usr/src/linux
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
View user's profile Send private message
monkeyBox
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 111
Location: Dallas, TX

PostPosted: Fri Mar 21, 2003 5:15 pm    Post subject: Reply with quote

yes, /usr/src/linux is a symlink to my beta kernel... Give me _some_ credit here! :D

I'm trying to get a hold of latexer on IRC... supposedly he's the one who maintains pcmcia-cs.
Back to top
View user's profile Send private message
Loki|muh
n00b
n00b


Joined: 30 Jan 2003
Posts: 54

PostPosted: Fri Mar 28, 2003 1:58 pm    Post subject: Reply with quote

:/ didnt work for me :(

Kernel 2.5.66
Back to top
View user's profile Send private message
wstrange
n00b
n00b


Joined: 30 Mar 2003
Posts: 1

PostPosted: Mon Mar 31, 2003 4:01 am    Post subject: RE: pcmcia-cs Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum