Return to the archive index

Re: PC/104 PCMCIA configuration problem

From: Ralf Ackermann <>
Date: Thu, 1 Mar 2001 18:43:58 +0100 (CET)

Hi Doug,

i'm using White Dwarf Linux (but the same happens with RedHat 6.2) and
have compiled a
 2.2.18 kernel
  and
 the pcmcia-cs-3.1.22 package (latest is .24, but i'm sucessfully using
 .22 on other machines and this makes "moving" kernels and modules easier)
on my own.

The Elan520 PC/104 base board 
	MIP520
	http://www.mpl.ch/
has USB (irq 11), onboard Ethernet (Intel EtherExpress 100, irq 12) and
the PCMCIA board is a 
	PC/104-PCMCIA-1	
	http://www.jumptec.de/product/data/pc104/pc_104_pcmcia1_d.html
I excluded the pre-assigned interrupts in the PCMCIA configuration.

Installation / starting the PCMCIA services with or without a card plugged
in didn't make any difference and always results in (/var/log/messages):

if i try to change the "include memory" line(s) in /etc/pcmcia/config.opts
(because of the "excluding ..." in the memory probes, that's what the
PCMCIA-HOWTO suggests) - i didn't succeed yet.

regards
 ralf

there's no interrupt assigned to the i82365 module
iptel08:/usr/src/pcmcia-cs-3.1.22# cat /proc/interrupts 
           CPU0       
  0:     360087          XT-PIC  timer
  1:        161          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 12:       4934          XT-PIC  eth0
 13:          1          XT-PIC  fpu
 14:      47428          XT-PIC  ide0
NMI:          0

There's no /var/run/stab file.

below is what is in the systems log file
===
Mar  1 05:36:02 iptel08 kernel: Linux PCMCIA Card Services 3.1.22
Mar  1 05:36:02 iptel08 kernel:   kernel build: 2.2.18 #6 Thu Mar 1
17:31:38 CET
 2001
Mar  1 05:36:02 iptel08 kernel:   options:  [pci] [cardbus] [apm] [pnp]
Mar  1 05:36:02 iptel08 kernel: Intel PCIC probe:
Mar  1 05:36:02 iptel08 kernel:   Vadem VG-469 rev 00 ISA-to-PCMCIA at
port 0x3e
0 ofs 0x00
Mar  1 05:36:02 iptel08 kernel:     host opts [0]: none
Mar  1 05:36:02 iptel08 kernel:     host opts [1]: none
Mar  1 05:36:02 iptel08 kernel:     ISA irqs (scanned) = 3,4,5,7,15
polling inte
rval = 1000 ms
Mar  1 05:36:02 iptel08 cardmgr[1051]: starting, version is 3.1.22
Mar  1 05:36:02 iptel08 cardmgr[1051]: watching 2 sockets
Mar  1 05:36:02 iptel08 kernel: cs: IO port probe 0x0c00-0x0cff: excluding
0xcf8
-0xcff
Mar  1 05:36:02 iptel08 kernel: cs: IO port probe 0x0800-0x08ff: excluding
0x800
-0x807
Mar  1 05:36:02 iptel08 kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x378
-0x37f
Mar  1 05:36:02 iptel08 cardmgr[1051]: initializing socket 1
Mar  1 05:36:03 iptel08 kernel: cs: memory probe
0x0d0000-0x0dffff: excluding 0x
d0000-0xdffff
Mar  1 05:36:03 iptel08 kernel: cs: memory probe
0x0c0000-0x0cffff: excluding 0x
c0000-0xcffff
Mar  1 05:36:03 iptel08 cardmgr[1051]: socket 1: Anonymous Memory
Mar  1 05:36:03 iptel08 cardmgr[1051]: executing: 'modprobe memory_cs'
Mar  1 05:36:03 iptel08 cardmgr[1051]: + can't locate module memory_cs
Mar  1 05:36:03 iptel08 cardmgr[1051]: modprobe exited with status 1
Mar  1 05:36:03 iptel08 cardmgr[1051]: executing: 'insmod
/lib/modules/2.2.18/pc
mcia/memory_cs.o'
Mar  1 05:36:03 iptel08 kernel: memory_cs: mem0: anonymous: unknown size
Mar  1 05:36:03 iptel08 cardmgr[1051]: executing: './memory start mem0'
===

On Thu, 1 Mar 2001, Doug Sutherland wrote:

> Ralf,
> 
> Did you have the PCMCIA card plugged in when you did the linux install? I 
> noticed that if I do a linux install with the card plugged in, it always 
> works fine. If instead I do the linux install without the card plugged in, 
> even though PCMCIA gets installed and is running, it causes me problems. 
> I'm not sure why that is, but that has been my experience. I have tried 
> several PC/104 PCMCIA cards, and all of them worked without any special 
> configuration, as long as they were plugged in during the initial linux 
> install. 
> 
> Each of the PCMCIA cards I have tried were i82365 compatible. Do you know 
> if yours is? If you look at /proc/interrupts, do you see an interrupt that
> is assigned to i82365? If look at /var/run/stab do you see anything about 
> Socket1 and Socket2 (this will show the status of each PCMCIA slot, whether 
> its empty or if a PCMCIA card is inserted). I'm also wondering which linux
> distro you are using.
> 
>   -- Doug
>  
> 

--
Best regards,
 Ralf Ackermann

--
Subscription/unsubscription/info requests: send e-mail with subject of
"subscribe", "unsubscribe", or "info" to 
Wear-Hard Mailing List Archive (searchable): http://wearables.blu.org
please, Please, *PLEASE* don't subscribe through a forward/false domain

+Previous Message in Thread | Next Message in Thread

From Wear-Hard Mailing list Archive (WH)
Maintained by R. Paul McCarty

Archive created with babymail