I have an HP Pavilion ze4400 Laptop running Slackware 10. I have been using the 2.6 kernel series for quite a while. It seems as though the yenta_socket module in the 2.6 and 2.4 kernels can't detect and set the irq of the cardbus controller on this machine correctly. When using the yenta_socket module, linux will do anywhere from oops to kernel panics when inserting PCMCIA cards.
I therefore compiled a 2.6.7 kernel without any PCMCIA support at all. I read somewhere to then install the old i82365 modules, which have been replaced with yenta_socket in the kernel, from the pcmcia-cs source code. I download the pcmcia-cs 3.2.5 source code and did a make config. I was trying to install the drivers into a 2.6.7 kernel compiled with no PCMCIA support. I got some error about 2.5 kernels and later must have PCMCIA support compiled in the kernel to install these drivers. Ok, so I decided to try a 2.4 kernel. I compiled a 2.4 kernel with no PCMCIA support. I then installed the drivers from the pcmcia-cs source without error. I rebooted and PCMCIA came up just fine.
Now, I was trying to get my PCMCIA working because I had a Belkin F5D7010 802.11g WiFi I was trying to get working. Broadcom has provided no Linux drivers for this BCM4306 chipset. It has, however, been reported to work well with
NdisWrapper. I downloaded NdisWrapper and installed it. Someone said the drivers on the NdisWrapper website didn't work for this card. So, I installed the Windoze driver from the OEM CD with
Everything's looking good, so I popped in the card and did an
to make sure it was detected properly. Nope!
Code:
# ndiswrapper -l
pcilib: Cannot open /proc/bus/pci/02/00.0
Unable to read 64 bytes of configuration space.Installed ndis drivers:
bcmwl5 hardware NOT present
# lspci
pcilib: Cannot open /proc/bus/pci/02/00.0
Unable to read 64 bytes of configuration space.00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem]
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 PMU
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1
Ok, so I took this error message (pcilib: Can't open...) to google and found out I should try using a 2.6 kernel to get this to work. At this point I also tried my Dazzle SmartMedia Card Adapter. It loaded up perfectly as /dev/hde. So, PCMCIA is working, but not with this WiFi card.
I decided to just try compiling another 2.6.7 kernel with PCMCIA support with yenta_socket. Upon bootup, the PCMCIA services started up fine. I then popped the Wireless card in again and did a
Wow! It's showing up as being present. I did a
Code:
modprobe ndiswrapper
, the power LED on the card came on, and kernel panic. That's not going to work.
And finally, I tried compiling a 2.6 kernel with PCMCIA support, but no yenta_socket support. I then tried installing the pcmcia-cs drivers into it. After doing a make config of pcmcia-cs, it says:
Code:
** Your kernel is configured with PCMCIA driver support. Therefore,
** 'make all' will compile the PCMCIA utilities but not the drivers.
Grrr... I *do* want the drivers installed.
As I said before my PCMCIA will not work with the yenta_socket module in either kernel, I can't get ndiswrapper (or at least this card) to work with 2.4, and I can't install the i82365 module from pcmcia-cs into a 2.6 kernel. I'm stuck.
So here are my ideas and questions.
1) Get NdisWrapper and this card to work on a 2.4 kernel with drivers installed from pcmcia-cs. Does someone know what this error means when using the 2.4 kernel with PCMCIA support from pcmcia-cs?
Code:
"pcilib: Cannot open /proc/bus/pci/02/00.0"
Unable to read 64 bytes of configuration space.
2) Get a card that has a Linux driver that will work with this 2.4 setup.
3) Is there a patch for the 2.6 kernel, so I could use the old i82365 module with it?
I apologize for this long post. If there is any info I have failed to mention, please ask.
Thanks!
Josh