LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-09-2003, 07:11 PM   #1
pdepass
LQ Newbie
 
Registered: Nov 2003
Location: Ontario
Distribution: Slackware 9.0
Posts: 22

Rep: Reputation: 15
Dell Latitude XPi CD P150ST PCMCIA Problems


Hello everyone,

I am using Slackware 9.0 with the default ide 2.4.20 kernel.

Dell reports that this laptop uses a Texas Instruments 1130 CardBus adapter.

This web page, http://planetbeta.mine.nu:8080/~mrbob/docs/laptop.html , informs me that I should be using i82365 and not yenta.

I have set PCIC="i82365" in my /etc/rc.d/rc.pcmcia, and have disabled yenta, but at boot time I get:

---------------------------------------CUT----------------------------------------
...
Going multiuser...
Starting PCMCIA Services 3.1.22:
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded!
cardmgr[49]: no pcmcia driver in /proc/devices
PCI: No IRQ known for interrupt pin A of device 00:09.0. Please try using pci=biosirq.
PCI: No IRQ known for interrupt pin B of device 00:09.1. Please try using pci=biosirq.
Yenta IRQ list 0e98, PCI irq0
Socket status: 30000006
Yenta IRQ list 0e98, PCI irq0
Socket status: 30000006
...
---------------------------------------CUT----------------------------------------

I have tried a "modprobe i82365", but /var/log/messages reports no device found.

It seems the default slackware kernel has module support for cardbus, but built-in support for all the cardbus types.

What am I doing wrong, and/or how can I prevent Yenta from loading?

-Phil
 
Old 11-19-2003, 06:52 PM   #2
ra_bell3
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Phil,
This is Robert, the author of the page you cite in your question. I surmise you did not (successfully) _compile_ the the pcmcia_cs package as I so recommend. That was the only way to have pcmcia initialize for me; if you have a different notebook than I, this may or may not work. Find below the specifics on how_I_ compiled pcmcia_cs to facilitate a successful insertion/initialization of the driver.

from http://planetbeta.mine.nu:8080/~mrbob/docs/laptop.html
---------Cut---------
Download new pcmcia-cs package and install

1. cd /usr/src ; tar -xzvf pcmcia-cs.new.version.number.whatever.tar.gz
2. cd /usr/src/pcmcia-cs.new.version ; ./Configure --trust --cardbus --pnp --apm --force
3. mv /lib/modules/2.4.20/pcmcia /lib/modules/2.4.20/pcmcia-old
If memory serves, there is another pcmcia directory under /lib/modules/2.4.20/kernel/drivers that you may want to rename.
4. make; make install


I hope this works for you. Please let us know how things go.
-Robert
 
Old 11-19-2003, 07:22 PM   #3
pdepass
LQ Newbie
 
Registered: Nov 2003
Location: Ontario
Distribution: Slackware 9.0
Posts: 22

Original Poster
Rep: Reputation: 15
Hi Robert,

Glad to hear from you!

I have been learning so much since I first ventured into this...

I've compiled the newest pcmcia-cs package, and the drivers are loading up fine, except for a nasty PCI IRQ error that I am getting consistently.

In case you're interested, here are some other forums I've been posting to, all of which seem to lead back to my problem.

http://www.linuxquestions.org/questi...hreadid=113377

http://sourceforge.net/forum/forum.p...&forum_id=7049

http://sourceforge.net/forum/forum.p...&forum_id=7049

Here's the problem I'm getting... On bootup, dmesg complains it can't get a PCI IRQ for my cardbus adapter:

Code:
Linux PCMCIA Card Services 3.2.6
kernel build: 2.4.20 #2 Mon Mar 17 22:02:15 PST 2003
options: [pci] [cardbus] [apm] [pnp]
PnP: PNP BIOS installation structure at 0xc00fe2d0
PnP: PNP BIOS version 1.0, entry at f0000:e2f4, dseg at 40
Intel ISA/PCI/CardBus PCIC Probe:
PCI: No IRQ known for interrupt pin A of device 00:09.0.
PCI: No IRQ known for interrupt pin B of device 00:09.1.
TI 1130 rev 04 PCI-to-CardBus at slot 00:09, mem 0x10000000
host opts [0]: [ring] [pci + serial irq] [no pci irq] [lat 168.176] [bus 1/4]
host opts [1]: [ring] [pci + serial irq] [no pci irq] [lat 168.176] [bus 5/8]
ISA irqs (scanned) = 3,4,7,10,11 polling interval = 1000 ms
I think the source of this problem may lead from the output of dump_pirq:
Code:
Interrupt routing table found at address 0xfb580:
Version 1.0, size 0x0040
Interrupt router is device 00:06.0
PCI exclusive interrupt mask: 0x0000 []

Device 00:07.0 (slot 0): VGA compatible controller
INTA: Link 0x01, irq mask 0xdef8 [3,4,5,6,8,9,10,11,12,14,15]

Device 00:09.0 (slot 0): CardBus bridge
INTA: Link 0x02, irq mask 0xdef8 [3,4,5,6,8,9,10,11,12,14,15]
INTB: Link 0x03, irq mask 0xdef8 [3,4,5,6,8,9,10,11,12,14,15]

Interrupt router at 00:06.0: unknown vendor 0x1066 device 0x8002
PIRQ? (link 0x01): unrouted?
PIRQ? (link 0x02): unrouted?
PIRQ? (link 0x03): unrouted?
It seems quite odd, as the Linux Kernel seems to detect everything ok.
Output from lspci:
Code:
00:06.0 Host bridge: PicoPower Technology PT86C523 [Vesuvius v3] PCI-ISA Bridge Slave
Flags: bus master, medium devsel, latency 0
The problem seems to be only with pcmcia-cs.

A section in the PCMCIA-HOWTO
http://pcmcia-cs.sourceforge.net/ftp...O-5.html#ss5.2

describes the problem I'm having.. "No PCI interrupt assignment; unknown interrupt router"

The author suggests modifying 'pcmcia-cs/modules/pci_fixup.c', but that's beyond me.

I have contacted National Semiconductor (PicoPower) about a datasheet for the PT86C523, but since it is an obsolete chipset, I am very doubtful.

Robert, perhaps you could post your outputs of "lspci -v" and "dump_pirq"?
FYI the dump_pirq script is found from the pcmcia-cs source tree under debug-tools.

Regards,
Phil DePass
 
Old 01-26-2004, 11:10 AM   #4
swsnyder
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Hi, Phil.

I found your post via a Google search, hence the delay between your post and this reply.

I too have a Latitude XPi CD P150ST, which I've been using for several years with several versions of Red Hat's distro. I typically build my own kernels (to stay current) but I get the same behavior with RH's kernels. I've tweaked, poked and prodded this thing for the entire time I've had it, and still there are 2 unresolvable problems:

1. The PCMCIA slots will not work with CardBus devices

2. The IDE controller will not do DMA on the attached IDE disks.

Regarding the PCMCIA slots: actual PCMCIA devices (16-bit, not the 32-bit CardBus) work correctly despite the "No IRQ known..." messages you have been seeing. In fact, when you go into the BIOS setup you will see that the contents of both (filled) slots read as Empty. In my experience, CardBus devices absolutely will not work in this machine. No way, no how.

After updating the BIOS to the latest version, I wrote to Dell tech support. I figured that if even the BIOS can't see the devices then there is something wrong beyond the pcmcia-cs configuration. No joy. I think that basically they can't be bother to support a machine this old. I corresponded with the guy that maintains the pcmcia-cs package. That too came to nothing as my behavior (16-bit OK; 32-bit fails; error message in both cases) could not be reproduced without my machine.

Sigh. So I've been using 16-bit NIC for several years. They work without error, but of course are more CPU-intensive than CardBus devices would be. I've got 2 PCMCIA NICs in this machine, a 10Mbps and a 100Mbps. The faster of the 2, a 3Com 3C574, actually has ~30Mbps throughput.

Regarding the IDE DMA: I've had 3 hard disks on this machine and DMA won't work with any of them. The disks themselves are fine; the 2nd of the disks had no problems doing DMA accesses in another machine and the 3rd is of recent manufacture. Dell provided DMA-capable Win95 drivers for this machine, yet still none of the Linux kernels will provide working DMA access for the CMD643 IDE controller. Repeated posts to the LKML have brought no resolution. The PCI bus runs at 30Mhz rather than the normal 33MHz and the Linux IDE driver is informed of that via kernel command line argument at boot time. Sigh again.

I bought this machine used about 4 years ago for use as a firewall box. It's been reliable in that capacity ever since. I wish I could wring better performance out of this hardware but I'm pretty much resigned to living with it as-is.

Here is my PCMCIA-related kernel (2.4.24) config, with which my 16-bit devices work fine:

CONFIG_PCMCIA=y
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
CONFIG_I82092=y
CONFIG_I82365=y
CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_3C589=y
CONFIG_PCMCIA_3C574=y
CONFIG_PCMCIA_SERIAL_CS=m

And here is what my init (RHL v7.3, kernel 2.4.24) looks like:

kernel: Linux Kernel Card Services 3.1.22
kernel: options: [pci] [cardbus] [pm]
kernel: PCI: No IRQ known for interrupt pin A of device 00:09.0. Please try using pci=biosirq.
kernel: PCI: No IRQ known for interrupt pin B of device 00:09.1. Please try using pci=biosirq.
kernel: Intel ISA PCIC probe: not found.
kernel: Yenta IRQ list 0ed8, PCI irq0
kernel: Socket status: 30000010
kernel: Yenta IRQ list 0ed8, PCI irq0
kernel: Socket status: 30000010
pcmcia: Starting PCMCIA services:
pcmcia: cardmgr.
cardmgr[555]: starting, version is 3.1.22
rc: Starting pcmcia: succeeded
cardmgr[555]: config error, file './config.opts' line8: no function bindings
cardmgr[555]: watching 2 sockets
kernel: cs: IO port probe 0x0c00-0x0cff: clean.
kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x230-0x23f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x3f8-0x3ff
kernel: cs: IO port probe 0x0a00-0x0aff: clean.
cardmgr[555]: initializing socket 0
kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
cardmgr[555]: socket 0: 3Com 572/574 Fast Ethernet
kernel: eth0: 3C574-TX Fast EtherLink PC Card at io 0x300, irq 3, hw_addr 00:60:08:B6:3D:FC.
kernel: ASIC rev 1, 64K FIFO split 1:1 Rx:Tx, autoselect MII interface.
cardmgr[555]: executing: './network start eth0'
cardmgr[555]: initializing socket 1
cardmgr[555]: socket 1: 3Com 3c562/3c563 Ethernet/Modem
kernel: eth1: 3Com 3c562, io 0x320, irq 9, hw_addr 00:60:97:ED:E8:72
kernel: 8K FIFO split 5:3 Rx:Tx, auto xcvr
cardmgr[555]: executing: './network start eth1'
kernel: eth1: flipped to 10baseT
kernel: eth0: found link beat
kernel: eth0: autonegotiation complete: 100baseT-HD selected

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics problems with Intel 915GM on Dell Latitude D610 EdoardoC Linux - Laptop and Netbook 46 09-19-2006 07:19 AM
Problems installing Mandrake 10.0 on a Dell Latitude D800 ivan927 Linux - Laptop and Netbook 1 03-25-2005 07:59 AM
DELL Latitude LS400 w/ Linux problems Hypedup Slackware 2 09-10-2004 06:17 PM
Latitude XPi P133ST, ES1888 Audio Drive KrYpToN Linux - Laptop and Netbook 2 09-09-2003 09:22 AM
latitude p150 xpi port replicator stomfi Linux - Hardware 4 02-05-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration