Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Cardbus support for older laptops, Update cardmgr and modules to 3.2.5< Next Oldest | Next Newest >
jonam Offline





Group: Members
Posts: 37
Joined: May 2006
Posted: June 12 2006,08:37 QUOTE

I would like to request that the cardmgr v3.2.5 used in DSL 2.1b be included in future releases of DSL instead of v3.2.2.

The reason is that it appears that v3.2.5 has fixes to support correct routing of PCI interrupts in the yenta_socket module. This is particulary an issue with the Texas Instruments PCI series of Cardbus controllers found in many older laptops including the Compaq 1500, HP Omnibook and IBM Thinkpad series.

I tested DSL 2.4 and 2.1b on two old laptops - a Compaq 1530D and HP 5700CT and both have the TI PCI1131 controller. Neither of the two laptops would work under DSL 2.4 with my DWL-G650 wireless card.

I tried using both ndiswrapper and the Madwifi drivers. With Madwifi, I was able to get to the point where I could bring up the wireless card with an "ifconfig ath0 up" but after this, I could not get any scan results and a "cat /proc/interrupts" showed the interrupts of the Cardbus controllers stuck at zero. All other indications via dmesg, lspci and lsmod were normal.

After a lot of searching for the cause of the problem, I found two useful articles. The first was the following website which described the interrupt problem and the reason behind it:

ELAN PCI-toPCI bridges

The second was a post on this forum concerning ethernet cards not working on an HP5700 running DSL 2.4, but working fine on DSL 2.1b.

As a result, I changed both laptops to DSL 2.1b and got the wireless card working first time using the madwifi driver for DSL 2.0/2.1b found in the DSL repository.

Just to double check that the problem was with the Cardbus controller, I loaded DSL 2.4 onto a newer laptop (Compaq n610c) which uses a the TI PCI 14xx series of controllers. On this machine, there were no problems whatsoever and I was able to connect to an Access Point and get internet access. I also checked 16bit wired ethernet cards in all computers and they worked fine under either release of DSL. Hence the problem appears to be specific to Cardbus (32 bit).

I would think that other old laptops that might be having the same problems under recent releases of DSL could be fixed by updating the cardmgr and associated modules to 3.2.5.

I would appreciate if you could fix this problem in future releases of DSL as I would like to be able to upgrade to the latest DSL. I am otherwise very happy with DSL as it has allowed me to revive two old laptops that were destined for the scrapheap.

Regards,

Jonam
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 26 2006,22:13 QUOTE

What happens when you try the boot option of pci=assign-busses ?
Back to top
Profile PM WEB 
jonam Offline





Group: Members
Posts: 37
Joined: May 2006
Posted: June 27 2006,03:03 QUOTE

Roberts,

Thanks for the suggestion, I will try this out and let you know in a couple of days as loading 2.4 again is a messy process with both laptops (no CDROM in one, the other doesn't boot off CDROM).

Regards,

Jonam
Back to top
Profile PM 
Nym1 Offline





Group: Members
Posts: 28
Joined: Feb. 2006
Posted: June 27 2006,14:01 QUOTE

Roberts, thank you for the "pci=assign-busses" boot code!

I use DSL 2.2 on a thinkpad 240.  When I would boot the machine (via GRUB) with a Linksys WPC11 ver.4 card in the cardbus slot the lspci command would show:
dsl@box:~$ lspci
pcilib: Cannot open /proc/bus/pci/00/07.0
pcilib: Cannot open /proc/bus/pci/00/07.1
pcilib: Cannot open /proc/bus/pci/00/07.2
pcilib: Cannot open /proc/bus/pci/00/07.3
pcilib: Cannot open /proc/bus/pci/00/09.0
pcilib: Cannot open /proc/bus/pci/00/0a.0
pcilib: Cannot open /proc/bus/pci/00/0b.0
pcilib: Cannot open /proc/bus/pci/00/0c.0
pcilib: Cannot open /proc/bus/pci/00/0c.0
lspci: Unable to read 64 bytes of configuration space.

Now, when GRUB passes the "pci=assign-busses" boot code pci "works",the card is "recognized", and wireless access can be achieved via ndiswrapper.

dsl@box:~$ lspci
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
0000:00:09.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 01)
0000:00:0a.0 CardBus bridge: Texas Instruments PCI1211
0000:00:0b.0 Multimedia audio controller: ESS Technology ES1969 Solo-1 Audiodrive (rev 02)
0000:00:0c.0 Communication controller: Lucent Microelectronics WinModem 56k (rev 01)
0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
Back to top
Profile PM 
jonam Offline





Group: Members
Posts: 37
Joined: May 2006
Posted: July 04 2006,06:32 QUOTE

Roberts,

Sorry, the pci=assign-busses doesn't work (HP5700).

I loaded DSL 2.4, added the madwifi-ng extension from the Testing area in the respository and then edited the grub boot command to include this cheat code before re-booting.

On re-boot, I used the same wlanconfig and iwconfig parameters required to connect to my AP as I was using in DSL 2.1b. I got as far as "ifconfig ath0 up" at which point the wireless card lights started flashing alternately without connecting to the AP. Trying to do an "iwlist ath0 scan" gave "no scan results". Doing a "cat /proc/interrupts" showed the interrupts for the Cardbus controllers stuck at 0 as before.

Reverted back to DSL 2.1b and repeated the exercise using the madwifi drivers for 2.1b from the repository and the wireless card worked first time.

Regards,

Jonam
Back to top
Profile PM 
6 replies since June 12 2006,08:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Cardbus support for older laptops

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code