Next-in-Thread Next Message

Sad sram is only set up correctly when inserted after network 

Forum: PCMCIA Memory Device Issues
Date: 2000, Mar 03
From: Lorenz Hahn dantuine

Hi,

The Problem:

I want to use a 2MB sram card with a file system on it. When this card is the only card in the laptop it seems to be detected but not configured, means I can't mount the file system.

When the sram card is inserted together with a network adapter and the system is started up afterwards both cards are recognized as sram cards and none is working.

When the network card is inserted first, regardless if it's been done before or after power on and the sram card after the initialization of the network card, both cards are recognized ok and working. Means I can surf the web and the mounted file system.

Questions:

Did I've missed something?

Is there a way to give cardmgr a hint which hardware is actually inserted in the slots?

If it's a problem with a missing config header in the card, which sram card has such a header and is known to run without problems?

I hope the appended details help you to give me a hint how to fix my problem. I need to access the sram card without utilizing a network card.

Thanx in advance, Lorenz.

Log Details:

Note: the host name is chosen through the slot where the network card is inserted. So I've got two different host names.

/var/log/messages, working scenario:
====================================
	Mar  3 18:49:10 lha-test2 kernel: Linux PCMCIA Card Services 3.1.11
	Mar  3 18:49:10 lha-test2 kernel:   kernel build: 2.2.14 #6 Fri Feb 25 19:07:43 CET 2000
	Mar  3 18:49:10 lha-test2 kernel:   options:  [pci] [cardbus] [apm]
	Mar  3 18:49:10 lha-test2 kernel: PCI routing table version 1.0 at 0xfdf90
	Mar  3 18:49:10 lha-test2 kernel: Intel PCIC probe:
	Mar  3 18:49:10 lha-test2 kernel:   TI 1131 PCI-to-CardBus at slot 00:0a, mem 0x68000000
	Mar  3 18:49:10 lha-test2 kernel:     host opts [0]: [ring] [clkrun irq 12] [pci + serial irq] [no pci irq] [lat 168/176] [bus 32/34]
	Mar  3 18:49:10 lha-test2 kernel:     host opts [1]: [ring] [clkrun irq 12] [pci + serial irq] [no pci irq] [lat 168/176] [bus 35/37]
	Mar  3 18:49:10 lha-test2 kernel:     ISA irqs (scanned) = 3,4,7,10,11,15 status change on irq 15
	Mar  3 18:49:10 lha-test2 kernel: cs: IO port probe 0x1000-0x17ff: clean.
	Mar  3 18:49:10 lha-test2 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
	Mar  3 18:49:10 lha-test2 kernel: cs: IO port probe 0x0a00-0x0aff: clean.
	Mar  3 18:49:10 lha-test2 kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
	Mar  3 18:49:10 lha-test2 kernel: eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr 00:80:C8:8F:13:1F
	Mar  3 18:56:36 lha-test2 cardmgr[80]: initializing socket 0
	Mar  3 18:56:36 lha-test2 cardmgr[80]: socket 0: Anonymous Memory
	Mar  3 18:56:36 lha-test2 cardmgr[80]: executing: 'insmod /lib/modules/2.2.14/pcmcia/memory_cs.o'
	Mar  3 18:56:36 lha-test2 kernel: memory_cs: mem0: anonymous: 2 mb
	Mar  3 18:56:36 lha-test2 cardmgr[80]: executing: './memory start mem0'
	Mar  3 18:56:36 lha-test2 cardmgr[80]: + /dev/mem0c0b on /mem type vfat (rw)

/var/log/messages, only sram inserted:
======================================
	Mar  3 18:21:32 eagle kernel: Linux PCMCIA Card Services 3.1.11
	Mar  3 18:21:32 eagle kernel:   kernel build: 2.2.14 #6 Fri Feb 25 19:07:43 CET 2000
	Mar  3 18:21:32 eagle kernel:   options:  [pci] [cardbus] [apm]
	Mar  3 18:21:32 eagle kernel: PCI routing table version 1.0 at 0xfdf90
	Mar  3 18:21:32 eagle kernel: Intel PCIC probe:
	Mar  3 18:21:32 eagle kernel:   TI 1131 PCI-to-CardBus at slot 00:0a, mem 0x68000000
	Mar  3 18:21:32 eagle kernel:     host opts [0]: [ring] [clkrun irq 12] [pci + serial irq] [no pci irq] [lat 168/176] [bus 32/34]
	Mar  3 18:21:32 eagle kernel:     host opts [1]: [ring] [clkrun irq 12] [pci + serial irq] [no pci irq] [lat 168/176] [bus 35/37]
	Mar  3 18:21:32 eagle kernel:     ISA irqs (scanned) = 3,4,7,10,11,15 status change on irq 15
	Mar  3 18:21:32 eagle kernel: cs: IO port probe 0x1000-0x17ff: clean.
	Mar  3 18:21:32 eagle kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
	Mar  3 18:21:32 eagle kernel: cs: IO port probe 0x0a00-0x0aff: clean.
	Mar  3 18:21:32 eagle kernel: cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
	Mar  3 18:21:32 eagle kernel: cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
	Mar  3 18:21:32 eagle kernel: cs: warning: no high memory space available!
	Mar  3 18:21:32 eagle kernel: cs: memory probe 0x0d0000-0x0dffff: excluding 0xd0000-0xdffff
	Mar  3 18:21:32 eagle kernel: cs: memory probe 0x0c0000-0x0cffff: excluding 0xc0000-0xcffff
	Mar  3 18:21:32 eagle kernel: memory_cs: mem0: anonymous: unknown size
	Mar  3 18:21:32 eagle kernel: [MS-DOS FS Rel. 12,FAT 0,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
	Mar  3 18:21:32 eagle kernel: [me=0x8a,cs=0,#f=102,fs=0,fl=0,ds=0,de=51215,data=0,se=60880,ts=-1083833168,ls=0,rc=0,fc=4294967295]
	Mar  3 18:21:32 eagle kernel: Transaction block size = 512
	Mar  3 18:21:32 eagle kernel: VFS: Can't find a valid MSDOS filesystem on dev fd:00.

Hardware details:

laptop: 233MHz Pentium II, brand: Medion, bought by "Aldi"

network card: DE-660, brand: D-Link

sram card: melcard 2MB, brand: Mitsubishi, (MF32M1-LCDAT01)

Software details:

uname -a: 
  Linux lha-test2 2.2.14 #6 Fri Feb 25 19:07:43 CET 2000 i686 unknown

cardmgr -V:
  cardmgr version 3.1.11

lsmod, working scenario:

 Module                  Size  Used by
 memory_cs               9132   1 
 pcnet_cs                8928   1
 8390                    6420   0  [pcnet_cs]
 ds                      6920   2  [memory_cs pcnet_cs]
 i82365                 22672   2
 pcmcia_core            46784   0  [memory_cs pcnet_cs ds i82365]
 serial                 19860   0  (autoclean)
 nls_iso8859-1           2236   2  (autoclean)

lsmod, broken scenario:

 Module                  Size  Used by
 memory_cs               9132   0 
 ds                      6920   2  [memory_cs]
 i82365                 22672   2
 pcmcia_core            46784   0  [memory_cs ds i82365]
 serial                 19860   0  (autoclean)
 nls_iso8859-1           2236   1  (autoclean)

Next-in-Thread Next Message

Messages Inline: 0 All Outline: 1 3 All

None There's a workaround

Re: Sad sram is only set up correctly when inserted after network (Lorenz Hahn)
Date: 2000, Mar 03
From: David Hinds <dhinds@pcmcia.sourceforge.org>

The PCMCIA subsystem has trouble automatically determining what memory
resources to use, if the first inserted card is a simple memory card.

To work around the problem, add to /etc/sysconfig/pcmcia:

    CORE_OPTS="probe_mem=0"

and maybe edit /etc/pcmcia/config.opts to only include memory ranges
that you know are ok.  To determine this, you can boot with the
network card, and check the system log for the memory probe results.

-- Dave
1. Ok Thanx, we're up and running... by Lorenz Hahn, 2000, Mar 07
sram is only set up correctly when inserted after network


Add Message to: "sram is only set up correctly when inserted after network"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10