Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6 messed up my pcmcia support
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Sat Dec 20, 2003 11:48 am    Post subject: Kernel 2.6 messed up my pcmcia support Reply with quote

Hi there

Yesterday i installed kernel 2.6 so far so good it did compile without any problems...

But when i boot it everything seems ok till it should load pcmcia support, it says its not in the kernel (correct) or modules dont exist (they should be there)

I have no idea why this is... Kernel 2.4.20 still boots perfectly with pcmcia support (not in the kernel) but 2.6 wont.

Any ideas? thx

PS: My NIC is pcmcia so i'm lost without it.

:) Hop u can deal with "messed up" ...


Last edited by ph03n1x on Sat Dec 20, 2003 4:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
m0pr0be
Guru
Guru


Joined: 29 Aug 2002
Posts: 308

PostPosted: Sat Dec 20, 2003 1:12 pm    Post subject: Reply with quote

well. you will need to re-emerge the pcmcia-cs ebuild for the 2.6 kernel.

be sure to use the latest version of the ebuild. it has support for 2.6 kernels.
Back to top
View user's profile Send private message
digicosm
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2002
Posts: 90

PostPosted: Sat Dec 20, 2003 4:02 pm    Post subject: Reply with quote

You really shouldn't use such foul language, especially in a subject line. We're trying to encourage everyone to use Gentoo, not just adults, right?
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Sat Dec 20, 2003 4:12 pm    Post subject: Reply with quote

wrote that into one pcmcia-thread in "hardware/laptop", but i think it's better off here:

my problem too...
made new stage1-compile on a separate partition on my notebook, compiled the 2.6.0stable - kernel with pcmcia enabled (as i have done under 2.4.20), with pcnet_cs as module for my pcmcia-network card. came up cleanly, pcmcia-cs started and modprobe'd pcnet_cs into the kernel, but then it failed to setup eth1 (i use the pcmcia-network-card for my internet-connection as the cable modem is hardlocked for the mac-adress of this card).

after browsing several boards and mailing lists i attempt to make a guess on that issue:

as devfs is marked "deprecated" in the kernel sources and the implementation of devfs is stripped down to the core in 2.6.0, the devfsd is not able to generate the device nodes for pcmcia-devices in /dev. the solution would be to change to the new hotplug/sysfsutils/udev thingy, but i wasn't able to get that one to compile cleanly (also gentoo seems to depend heavily on devfs).

also the new ~x86-marked pcmcia-cs would not compile with disabled pcmcia in kernel, but that's another issue. whith enabled kernel-pcmcia & yenta it compiled cleanly (allthough i had to dump scsi completely for it broke compilation... but i don't need scsi-support so that one doesn't really matter for me)

so no 2.6.0-kernel for me (although i need it for getting my exotic agp-bridge and the f***ing igp320 radeon-like card running)...

anybody ideas solving this?
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sat Dec 20, 2003 4:16 pm    Post subject: Reply with quote

Moved from IG. Would you consider changing your thread title? It may be offensive for some people and your problem can be discribed in better words.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
S_aIN_t
Guru
Guru


Joined: 11 May 2002
Posts: 488
Location: Ottawa

PostPosted: Sat Dec 20, 2003 4:22 pm    Post subject: Re: Kernel 2.6 fucked up my pcmcia support Reply with quote

ph03n1x wrote:
Hi there

Yesterday i installed kernel 2.6 so far so good it did compile without any problems...

But when i boot it everything seems ok till it should load pcmcia support, it says its not in the kernel (correct) or modules dont exist (they should be there)

I have no idea why this is... Kernel 2.4.20 still boots perfectly with pcmcia support (not in the kernel) but 2.6 wont.

Any ideas? thx

PS: My NIC is pcmcia so i'm lost without it.


my pcmcia stuff comes from the kernel. That is the support for pcmcia devices is enabled in the kernel. The driver for the card i have is built as a module in the kernel and is loaded at boot up. You do have to emerge the new pcmcia-cs stuff. However, if the support is enabled in the kernel you're only going to get the pcmcia utilities (cardmgr) by doing that.
_________________
"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
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Sat Dec 20, 2003 4:57 pm    Post subject: Reply with quote

Do i have to enable pcmcia support in ther kernel can't I just do it like with the 2.4 one?
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Sat Dec 20, 2003 5:51 pm    Post subject: Reply with quote

well... here to go:

my guess, that the stripped-down devfs in 2.6.0 caused the problem was wrong, i just managed to get the new hotplug/sysfsutils/udev stuff up and running, but my eth won't start still.

ejecting and inserting the card produces hotplug-calls and in the /sys - directory for the hotplug & dev - releated things you can see the pcnet_cs loaded and unloaded from the kernel, but no devices are detected, no dev-nodes are created for the device. met a dead end,

anybody a solution for it?
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
astika
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 131
Location: /usr/local/src

PostPosted: Sat Dec 20, 2003 5:59 pm    Post subject: Reply with quote

initially, i tried to compile 2.6 just like my 2.4.23, leaving out support for
PCMCIA, enabling Wireless LAN, but leaving out any modules for it.

but, i was unable to emerge pcmcia-cs 3.2.4 for 2.6, and even emerging
pcmcia-cs 3.2.5 still gave me errors that i needed to have PCMCIA support
in the kernel. even when i did, it never worked very well.

now, i am running 2.6.0 without any pcmcia-cs whatsoever, for my laptop.

Code:
<M> PCMCIA/CardBus support
<M>   CardBus yenta-compatible bridge support


and in /etc/modules.autoload/kernel-2.6:
yenta_socket

it does all the rest for me, including autoloading modules for my integrated wireless:
(TrueMobile 1150 MiniPCI)

Code:
[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
---   Wireless 802.11b ISA/PCI cards support
<M>   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)
---   Wireless 802.11b Pcmcia/Cardbus cards support
<M>   Hermes PCMCIA card support
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Sat Dec 20, 2003 6:19 pm    Post subject: Reply with quote

just found something interesting in my logs:

Quote:

cardmgr [3309]: socket 0: Level One 10/100 Fast Ethernet
cardmgr [3309]: executing: 'modprobe pcnet_cs'
pcnet_cs: RequestIRQ: Unsupported mode
cardmgr [3309]: get dev info on socket 0 failed: No such device


what the hell is going on? everything was fine under 2.4.20, now there are problems with the interrupt-allocation?[/quote]
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Sat Dec 20, 2003 7:06 pm    Post subject: Reply with quote

got it working!

just had to enable old isa in my kernel configuration, and like have been touched with a magic wand, the thing came up clean and everything worked smooth!

only thing i have to test now is if alsa (compiled into the kernel) is working too with the new udev-stuff.

try out compiling isa into your kernel if you haven't done so, it could work wonders!
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Sat Dec 20, 2003 7:59 pm    Post subject: Reply with quote

@glamdring

u did compile pcmcia also in your kernel, didn't u?
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Sat Dec 20, 2003 8:08 pm    Post subject: Reply with quote

yes, i compiled pcmcia into the kernel. as far as i know there is no other way getting pcmcia working under 2.6.0. do you need pcmcia-drivers that are not available in the kernel tree? maybe you should try out the module-versioning in 2.6.0, there's a possibilty you could use your old modules from 2.4.x under 2.6.0 without too much problems
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Sat Dec 20, 2003 8:11 pm    Post subject: Reply with quote

Nah it's not a problem i have the very common TI slot...

If not i could have used my old kernel, recompiling takes it's time on a thinkpad 240 (Intel Celeron 300) hehe :)
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Sat Dec 20, 2003 8:25 pm    Post subject: Reply with quote

just a little moment... your pcmcia isn't coming up?

well, i put the pcmcia-core drivers and the yenta-stuff into the kernel, no modules, just one pcmcia-module for my network card (pcnet_cs) and it worked out fine for me.

so is your card not intialized properly or is pcmcia itself broken? what does your kernel say at boot? and btw: if you have an old-styled media coupler on your card, you should see the led's coming up, as the kernel loads pcmcia. if he doesn't load it, the led's will stay dark.

please explain your issue more specific, in case i misunderstood you
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
_hesoez_
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2003
Posts: 103
Location: Belgium-Duffel/Leuven

PostPosted: Wed Dec 24, 2003 10:11 pm    Post subject: Reply with quote

glamdring wrote:

got it working!

just had to enable old isa in my kernel configuration, and like have been touched with a magic wand, the thing came up clean and everything worked smooth!

you're my hero man :D
now i can finally enjoy 2.6 on my laptop
thx

grtz
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Thu Dec 25, 2003 11:10 pm    Post subject: Reply with quote

thx man, just my luck :D

lg, glam
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
halik
n00b
n00b


Joined: 16 Dec 2003
Posts: 35

PostPosted: Fri Dec 26, 2003 8:47 am    Post subject: Reply with quote

hey guys, how did oyu fix the problem?
My pcmcia seems to be working in 2.6 - its got pcmcia_core and ds and yenta_scoket compiled into kernel and i added the last into autostart so i know that is working (plus the cars light up)

BUT

it doesnt seem to be finding/loading the module for my wireless card (prism2 based card netgear MA401). The old kernel worked fine with it.... any ideas on what could be wrong? Ialso compiled the pci/isa wireless module stuff into the kernel

also the car doesnt show up in either /dev (im guessing because thats depriciated) or /sys/whaterver

EDIT: actually it looks like my card with the prism2 doesnt have a kernel module (?) Im gonna have to check with menuconfig again
Back to top
View user's profile Send private message
astika
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 131
Location: /usr/local/src

PostPosted: Fri Dec 26, 2003 2:35 pm    Post subject: Reply with quote

perhaps doing the following might get you card working?
Code:
[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
---   Obsolete Wireless cards support (pre-802.11)
< >   STRIP (Metricom starmode radio IP)
< >   AT&T/Lucent old WaveLAN Pcmcia wireless support
< >   Xircom Netwave AirSurfer Pcmcia wireless support
---   Wireless 802.11 Frequency Hopping cards support
< >   Aviator/Raytheon 2.4MHz wireless support
---   Wireless 802.11b ISA/PCI cards support
< >   Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards
<M>   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)
< >     Hermes in PLX9052 based PCI adaptor support (Netgear MA301 et
< >     Hermes in TMD7160 based PCI adaptor support (EXPERIMENTAL)
< >     Prism 2.5 PCI 802.11b adaptor support (EXPERIMENTAL)
---   Wireless 802.11b Pcmcia/Cardbus cards support
<M>   Hermes PCMCIA card support


that should had the following modules, hermes, orinoco, orinoco_cs, which
support the Intersil Prism2, if i recall correctly.
_________________
even now in heaven, there were angels carrying savage weapons
Back to top
View user's profile Send private message
halik
n00b
n00b


Joined: 16 Dec 2003
Posts: 35

PostPosted: Fri Dec 26, 2003 5:40 pm    Post subject: Reply with quote

im trying that as we speak - i had em liek this i think:

[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
--- Obsolete Wireless cards support (pre-802.11)
< > STRIP (Metricom starmode radio IP)
< > AT&T/Lucent old WaveLAN Pcmcia wireless support
< > Xircom Netwave AirSurfer Pcmcia wireless support
--- Wireless 802.11 Frequency Hopping cards support
< > Aviator/Raytheon 2.4MHz wireless support
--- Wireless 802.11b ISA/PCI cards support
< > Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards
<M> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)
<M > Hermes in PLX9052 based PCI adaptor support (Netgear MA301 et
<M > Hermes in TMD7160 based PCI adaptor support (EXPERIMENTAL)
<M > Prism 2.5 PCI 802.11b adaptor support (EXPERIMENTAL)
--- Wireless 802.11b Pcmcia/Cardbus cards support
<M> Hermes PCMCIA card support


on the side note, do i need scsi enabled?
Back to top
View user's profile Send private message
astika
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 131
Location: /usr/local/src

PostPosted: Fri Dec 26, 2003 6:09 pm    Post subject: Reply with quote

depends on if you need scsi for usb devices, or for your system. you should
not need it for wireless ;)
_________________
even now in heaven, there were angels carrying savage weapons
Back to top
View user's profile Send private message
halik
n00b
n00b


Joined: 16 Dec 2003
Posts: 35

PostPosted: Fri Dec 26, 2003 9:47 pm    Post subject: Reply with quote

crap still no workie,
all the moduels are compiled and i can modprobe em all, but nothign shows up in /sys/bus/pcmcia ... im gonan try the other pcmcia driver and see if that changed anything. Otherwise its back to 2.4 for me...
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Fri Dec 26, 2003 10:52 pm    Post subject: Reply with quote

This should help you:
https://forums.gentoo.org/viewtopic.php?t=38225&highlight=ma401
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
halik
n00b
n00b


Joined: 16 Dec 2003
Posts: 35

PostPosted: Sat Dec 27, 2003 12:50 am    Post subject: Reply with quote

that stuff doesnt work in 2.6 as the pcmcia-cs doesnt emerge. Im gonna try grabbing the latest ebuild *(xxx.5 i think) and see if that does anything
Back to top
View user's profile Send private message
astika
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 131
Location: /usr/local/src

PostPosted: Sat Dec 27, 2003 1:00 am    Post subject: Reply with quote

pcmcia-cs 3.2.5 will emerge under 2.6, pcmcia-cs 3.2.4 will not however.
_________________
even now in heaven, there were angels carrying savage weapons


Last edited by astika on Sat Dec 27, 2003 11:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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