From: Uwe Steinmann <steinm@majestix.fernuni-hagen.de>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Uwe Steinmann <steinm@majestix.fernuni-hagen.de>,
linuxppc-dev@lists.linuxppc.org
Subject: Re: Again PCMCIA problems
Date: Mon, 17 Dec 2001 19:16:52 +0100 [thread overview]
Message-ID: <20011217191652.A8703@gehtnix.fernuni-hagen.de> (raw)
In-Reply-To: <20011212144414.7330@smtp.adsl.oleane.com>; from benh@kernel.crashing.org on Wed, Dec 12, 2001 at 03:44:14PM +0100
On Wed, Dec 12, 2001 at 03:44:14PM +0100, Benjamin Herrenschmidt wrote:
> >
> >include memory 0x90000000-0x90ffffff
> >include port 0x0fff-0x1fff
>
> Some cards wants ports below 0xfff, and make sure the
> memory range you provide is actually available
> (do a cat /proc/iomem to check that). If the memory
> is allocated to cardbus (which happens on some machines
> which pre-configure the cardbus bridge from OF), it will
> not be userable by pcmcia
>
> I'd also suggest you update your kernel as some pcmcia
> fixes were lost around 2.4.16 and recovered later during
> 2.4.17-pre cycle, yours may still lack them.
>
> Ben.
Thanks for the help so far, I got finally a bit further, and it looks
very promissing but ran into another problem. For some reason the request for
irg 58 failled.
Dec 17 16:46:50 pb cardmgr[10624]: re-loading config file
Dec 17 16:46:52 pb cardmgr[10624]: initializing socket 0
Dec 17 16:46:52 pb cardmgr[10624]: socket 0: AVM ISDN-Controller A1
Dec 17 16:46:53 pb cardmgr[10624]: executing: 'modprobe isdn'
Dec 17 16:46:53 pb cardmgr[10624]: executing: 'modprobe hisax id=hisax1 type=26 protocol=2'
Dec 17 16:46:53 pb kernel: avma1_cs: testing i/o 0x140-0x149
Dec 17 16:46:53 pb kernel: avma1_cs: checking at i/o 0x140, irq 58
Dec 17 16:46:53 pb kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Dec 17 16:46:53 pb kernel: HiSax: AVM A1 PCMCIA driver Rev. 1.1.4.1
Dec 17 16:46:53 pb kernel: AVM A1 PCMCIA: io 0x140 irq 58 model 1 version 2
Dec 17 16:46:53 pb kernel: AVM A1 PCMCIA: ISAC version (0): 2086/2186 V1.1
Dec 17 16:46:53 pb kernel: AVM A1 PCMCIA: HSCX version A: V2.1 B: V2.1
Dec 17 16:46:53 pb kernel: AVM A1 (PCMCIA): IRQ 58 count 0
Dec 17 16:46:53 pb kernel: HiSax: couldn't get interrupt 58
Dec 17 16:46:53 pb kernel: HiSax: Card AVM A1 (PCMCIA) not installed !
Dec 17 16:46:53 pb kernel: HiSax: module installed
>From my previos experiences with pcmcia I would guess the irg 58 isn't
too bad, somehow it isn't quite right in this case.
My config.opts looks like the following:
include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0x80080000-0x8008ffff
There is not statement in my configuration which forces the use of irq 58.
There has been another problem, probably not related to the one above.
In order to make the AVM A1 PCMCIA card work as much as it works now,
it needs a patch for
pcmcia-cs which includes a kernel module called avma1_cs.c. This
module uses the function kfree_s() which seems to be not available
in kernel 2.4.17-rc1-benh. I wonder if kfree is a replacement for it, although
it misses the second parameter of kfree_s()?
Uwe
--
MMK GmbH, Hagen
Uwe.Steinmann@mmk-hagen.de
Tel: +2331 987 4528 Fax: +2331 987 375
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-12-17 18:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20011212140119.A12086@gehtnix.fernuni-hagen.de>
2001-12-12 14:44 ` Again PCMCIA problems Benjamin Herrenschmidt
2001-12-17 18:16 ` Uwe Steinmann [this message]
2001-12-18 5:00 ` Paul Mackerras
2001-12-18 9:24 ` Uwe Steinmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011217191652.A8703@gehtnix.fernuni-hagen.de \
--to=steinm@majestix.fernuni-hagen.de \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).