View previous topic :: View next topic |
Author |
Message |
mcdelroy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Oct 2004 Posts: 49
|
Posted: Sat Nov 05, 2005 4:42 pm Post subject: PCMCI Kernel 2.6.13 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
thesnowman Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 May 2003 Posts: 365 Location: Sydney, Australia
|
Posted: Sun Nov 06, 2005 1:47 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mcdelroy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Oct 2004 Posts: 49
|
Posted: Tue Nov 08, 2005 2:03 am Post subject: RESOLVED using pcmcia-cs not pcmciautils |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
recoco.zhang n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jan 2004 Posts: 53
|
Posted: Tue Nov 08, 2005 6:10 am Post subject: |
|
|
Quote: |
installed a monitor mode patched version of orinoco
|
Can you tell me where i can get this driver?Thank you! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mcdelroy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Oct 2004 Posts: 49
|
Posted: Wed Nov 09, 2005 12:47 am Post subject: Monitor mode patched orinoco driver |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|