PCMCIA: unable to map memory
From: Ulrich Hansen (uhansen_at_mainz-online.de)
Date: 11/07/03
- Previous message: TimDApp: "Help Armada 110 redhat"
- Next in thread: dhinds_at_sonic.net: "Re: PCMCIA: unable to map memory"
- Reply: dhinds_at_sonic.net: "Re: PCMCIA: unable to map memory"
- Reply: Bill Marcum: "Re: PCMCIA: unable to map memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 07 Nov 2003 19:04:15 +0100
Hi,
after a four day procedure of trial and error I am
hoping that you could perhaps help me.
Since nearly one year I run a Redhat 7.0 system on
a compaq contura aero laptop. (486SLC33, 20 MB RAM
10 GB hdd, one 16bit PCMCIA-Slot, kernel
2.2.19ext3) Thanks to the pcmcia-package it works
since then well as web/file/mailserver.
Now I got a identical machine and installed
successfully Redhat 9a on it. Runs nearly the same
speed (slow but OK for its purpose).
But I can't convince pcmcia to run with the kernel
2.4.20-20.9.
The problem:
All aeros have naturally a defect in their RAM if
this is upgraded to the max of 20MB (which I did,
as you can imagine). The source of this problem is
told to be a strange behaviour of the
pcmcia-controller. Because of this, there is a
32kb part of RAM that must be excluded for linux,
otherwise the system freezes some time after
start. For this purpose people use the BadRAM or
BadMEM-patch provided by the linux-community and
they append badram=0x010b0000,0xffff8000 at start
or in lilo.conf.
Further the pcmcia-cardmanager has to be told to
only use the ram-adresses 0xb0000-0xb7fff which is
done in /etc/pcmcia/config.opts (and all the other
include commands are outcommented).
As I told all this works rock-stable on the RedHat
7 machine since nearly one year.
With RedHat 9 and my 2.4 kernel this dosn't seem
to work any more.
If I start pcmcia, it says "unable to map memory"
and dmesg tells me:
-----
Linux PCMCIA Card Services 3.2.5
kernel build: 2.4.20-20.9-badram #1 Mon Nov 3
03:22:06 CET 2003
options: [pci] [apm]
Intel ISA/PCI/CardBus PCIC probe:
VLSI 82C146 rev 00 ISA-to-PCMCIA at port 0x3e0
ofs 0x00
host opts [0]: none
ISA irqs (scanned) = 3,4,5,7,9,10,11,12,15
status change on irq 15
cs: memory probe 0x0b0000-0x0b7fff: excluding
0xb0000-0xb7fff
cs: unable to map card memory!
cs: unable to map card memory!
cs: unable to map card memory!
cs: unable to map card memory!
cs: unable to map card memory!
cs: unable to map card memory!
cs: unable to map card memory!
cs: unable to map card memory!
memory_cs: RequestWindow: Resource in use
-----
If I use the other RAM-addresses in config.opts,
pcmcia starts and detects my 3Com574-NIC but the
system freezes after some time as expected.
Debugging
I use the newest pcmcia-cs 3.2.5 (I also tried out
3.2.3). Kernel pcmcia is disabled, modules and
network are enabled. I also recompiled the kernel
with enabled kernel-pcmcia and reinstalled
pcmcia-cs - same result.
I then copied the kernel 2.2.19ext3 over from my
other aero, copied a 2.2.19 kernel tree into
/usr/src (unfortunately I am not able to build a
new 2.2 kernel on the redhat 9 system, must have
something to do with the compilers). Then I
reinstalled pcmcia-cs.
The result: PCMCIA is working! on the RedHat 9
system (but only with that specific kernel :-( )
So it must have to do with the 2.4 kernel. As the
only main difference to the 2.4-kernel, the
2.2.19-kernel is compiled without pci-support. I
had no success in compiling the 2.4-kernel without
pci (compilation failed), don't know if this is
important. The aero has of course no pci, it was
manufactured 1994 - with ISA.
If I append all my configuration files this will
get too long. So please look at them: I copied
them to:
http://ulihansen.kicks-ass.net/aero/pcmcia-problem
There you find:
config.opts /etc/pcmcia/config.opts
dmesg-2.2.19 dmesg after boot with kernel 2.2.19
dmesg-2.4.20-20.9 dmesg after boot with 2.4.20
kernel-config-2.2.19 .config of kernel 2.2.19
kernel-config-2.4.20-20.9 .config of 2.4.20
lilo.conf /etc/lilo.conf
rc.d-init.d-pcmcia /etc/rc.d/init.d/pcmcia
rc.d-rc.pcmcia /etc/rc.pcmcia
Same as /etc/rc.pcmcia.N
sysconfig-pcmcia /etc/sysconfig/pcmcia
Thank you very much for reading. I hope you have
an idea.
Thanks
Uli
- Previous message: TimDApp: "Help Armada 110 redhat"
- Next in thread: dhinds_at_sonic.net: "Re: PCMCIA: unable to map memory"
- Reply: dhinds_at_sonic.net: "Re: PCMCIA: unable to map memory"
- Reply: Bill Marcum: "Re: PCMCIA: unable to map memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|