[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dell Inspiron 2500 PCMCIA issues



sageFool wrote:

Hi, so I compiled the kernel with the PCMCIA/CARDBUS support turned on.

WHen I run ./test_setup I get:

debian:/usr/src/pcmcia-cs-3.1.31/debug-tools# ./test_setup Current kernel: 2.4.17 #6 Tue Feb 19 07:50:28 PST 2002
/lib/modules/2.4.17/pcmcia/pcmcia_core.o not found.
  The PCMCIA modules are not installed for this kernel!
...
Module status:
  No PCMCIA modules are loaded.


which looks bad. Maybe it's not necessary if you compiled right into the kernel, but here's my config settings for PCMCIA.

# PCMCIA/CardBus support
CONFIG_PCMCIA=m
# PCMCIA network device support
CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_PCNET=m
# CONFIG_PCMCIA_IBMTR is not set
CONFIG_NET_PCMCIA_RADIO=y
# PCMCIA character devices
CONFIG_PCMCIA_SERIAL_CS=m

Obviously some of your modules may be different.

In your message to me, you mention
> It doesn't mention yenta because I have kernel PCMCIA turned off.  You
> need to turn it on and change the /etc/defaults/pcmcia PCIC to be
> yenta to get that.

Now, I'm not really clear on PCIC & Yenta, because I never found anything in the docs, but I had it set to i82365 in kernel 2.2.x and it still worked after going to 2.4.x, so I've left it there (even when a pcmcia-cs upgrade tried to remove it). i82365 won't load, and I get an error, but everything still works.

Feb 19 10:20:05 debian cardmgr[4880]: starting, version is 3.1.31
Feb 19 10:20:05 debian cardmgr[4880]: watching 2 sockets
Feb 19 10:20:05 debian cardmgr[4880]: Card Services release does not match
Feb 19 10:20:05 debian kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Feb 19 10:20:05 debian kernel: cs: IO port probe 0x0800-0x08ff: clean.
Feb 19 10:20:05 debian kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
Feb 19 10:20:05 debian kernel: cs: IO port probe 0x0a00-0x0aff: clean.


That's all normal.


Feb 19 10:20:05 debian cardmgr[4880]: socket 0: Anonymous Memory
Feb 19 10:20:06 debian cardmgr[4880]: executing: 'modprobe memory_cs'
Feb 19 10:20:06 debian cardmgr[4880]: + modprobe: Can't locate module memory_cs


This seems to be a problem with your card - it's not reporting anything. So your system is guessing that it's a memory card.



cardctl gives:

debian:/usr/src/pcmcia-cs-3.1.31/debug-tools# cardctl status
Socket 0:
  5V 16-bit PC Card
  function 0: [ready], [wp]
Socket 1:
  5V 16-bit PC Card
  function 0: [ready], [wp]
debian:/usr/src/pcmcia-cs-3.1.31/debug-tools# cardctl ident Socket 0:
  no product info available
Socket 1:
  no product info available
debian:/usr/src/pcmcia-cs-3.1.31/debug-tools# cardctl config
Socket 0:
  Vcc 5.0V  Vpp1 5.0V  Vpp2 5.0V
Socket 1:
  Vcc 5.0V  Vpp1 5.0V  Vpp2 5.0V
debian:/usr/src/pcmcia-cs-3.1.31/debug-tools#

-----------

My dmesg still reports:
...
Yenta IRQ list 0c98, PCI irq9
Socket status: 30000006
Yenta IRQ list 0c98, PCI irq9
Socket status: 30000006


I get:


Yenta IRQ list 08b8, PCI irq9
Socket status: 30000410
Yenta IRQ list 08b8, PCI irq9
Socket status: 30000006

Maybe somebody else could explain whether the same machine should be reporting this the same or not - I would have thought so.

If this horrendous ODBC export I'm doing from a Windows/Access system onto my Linux/Oracle ever gets done, I intend to try playing with some of this. But it's been 24 hours to unload a few hundred thousand records and I'm not risking it now :-)
--
derek



Reply to: