Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCI Kernel 2.6.13
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mcdelroy
n00b
n00b


Joined: 13 Oct 2004
Posts: 49

PostPosted: Sat Nov 05, 2005 4:42 pm    Post subject: PCMCI Kernel 2.6.13 Reply with quote

I am trying to get a orinoco pcmcia wlan nic working after a kernel upgrade from 2.6.7 to 2.6.13-r4. Under kernel 2.6.7 I used pcmcia-cs and wireless-tools. I thought I built Yenta and pcmcia support into the new kernel. Below is the pcmcia and yenta portions of my kernel config. I had not installed the orinoco drivers because I wanted to install patched drivers allowing for monitor mode after setting up pcmcia. Therefore, it was not suprising that during boot up I recieved messages that /lib/modules/"kernel"/kernel/drivers/orinonco.o, hermes.o, orinoco_cs.o, and several otheres were reported as unavailable. Yenta reported as started.

I noticed that I did not have a /lib/modules/"kernel"/pcmcia directory. Perhaps due to pcmcia being built in. I read that pcmcia-cs is not needed if pcmcia is built into the kernel so I unmerge pcmcia-cs. I then emerge pcmciautils. I noticed that I didn't have a /lib/modules/"kernel"/net/wireless directory either, so I unmerge wireless-tools so I could reinstall it later using the new kernel sources. Now when I reboot I recieve a message that Yenta started. I recieve a message that PCMCIA is starting. Next I recieve a message "/sbin/cardmgr no such file or directory. Cardmgr failed to start make sure that you have pmcia" I also recieve a message Badness in device_release at drivers/base/core. (:83). Device 'i82365.0' Does not have a release () function, it is broken and must be fixed. Below is the out put of /etc/init.d/pcmcia start, lspci, and my pcmcia, yenta kernel config. What is needed to get pcmcia up?

#[32;01m*#[0m PCMCIA support detected.
#[32;01m*#[0m Starting pcmcia ...
#[32;01m*#[0m cardmgr failed to start. Make sure that you have PCMCIA
#[32;01m*#[0m modules built or support compiled into the kernel
#[A#[72C #[34;01m[ #[31;01m!!#[34;01m ]#[0m

# PC-card bridges
#
CONFIG_YENTA=y
# CONFIG_PD6729 is not set
CONFIG_I82092=y
CONFIG_I82365=y
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y
CONFIG_PCCARD_NONSTATIC=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_MISC=yCONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG_CPU is not set

#
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y

## Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_MSI is not set

# PC-card bridges
#
CONFIG_YENTA=y
# CONFIG_PD6729 is not set
CONFIG_I82092=y
CONFIG_I82365=y
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y
CONFIG_PCCARD_NONSTATIC=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:03.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0c)
00:03.1 Serial controller: Agere Systems LT WinModem (rev 01)
00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13)
Back to top
View user's profile Send private message
thesnowman
Guru
Guru


Joined: 08 May 2003
Posts: 365
Location: Sydney, Australia

PostPosted: Sun Nov 06, 2005 1:47 am    Post subject: Reply with quote

Looks like you still have some remnants of pcmcia-cs on your system. /etc/init.d/pcmcia should not be starting as it's no longer needed, and this is what is giving you the cardmgr error message:
Code:
# rc-update del pcmcia

I would then remove (and did on my system) all pcmcia related files in /etc - /etc/conf.d/pcmcia, /etc/pcmcia, etc. Then re-emerge pcmciautils and try again.

Also, try building the pcmcia drivers as modules and let hotplug load them. This should stop i82365 error message. You have compiled in support for three different devices (yenta, 92092 and 82365), but obviously you will only have one of these installed in your laptop.


Last edited by thesnowman on Tue Nov 08, 2005 3:07 am; edited 1 time in total
Back to top
View user's profile Send private message
mcdelroy
n00b
n00b


Joined: 13 Oct 2004
Posts: 49

PostPosted: Tue Nov 08, 2005 2:03 am    Post subject: RESOLVED using pcmcia-cs not pcmciautils Reply with quote

I unmerged pcmciautils. Confirmed that pcmcia-cs and wireless-tools were unmerged. Then deleted the pcmcia file in /etc/init.d. Next I recompiled with built in support for Yenta, and the default items included when building in pcmcia support. I also built in wireless extensions. I didn't include anything else related to pcmcia or wirless. After a successfull recompile, I emerged pcmcia-cs, wireless-tools, and then installed a monitor mode patched version of orinoco. Every thing worked. The documentation on implementing pcmciautils needs to be improved.
Back to top
View user's profile Send private message
recoco.zhang
n00b
n00b


Joined: 20 Jan 2004
Posts: 53

PostPosted: Tue Nov 08, 2005 6:10 am    Post subject: Reply with quote

Quote:

installed a monitor mode patched version of orinoco

Can you tell me where i can get this driver?Thank you!
Back to top
View user's profile Send private message
mcdelroy
n00b
n00b


Joined: 13 Oct 2004
Posts: 49

PostPosted: Wed Nov 09, 2005 12:47 am    Post subject: Monitor mode patched orinoco driver Reply with quote

http://www.projectiwear.org/~plasmahh/orinoco.html The monitor mode patch is already applied in most of the files. I used the latest one for kernel 2.6.13. The easiest way to install it is to get pcmcia up. Install wireless tools. Then install the driver. You can test monitor mode by installing ethereal. Then place the nic into monitor mode and start an ethereal capture. You should see 802.11b beacons regardless of if you are associated with the access point.
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
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