From: Paul Davis <pbd@op.net>
To: linux-kernel@vger.kernel.org
Subject: cardbus/pcmcia/pci bridge problems?
Date: Mon, 20 May 2002 23:53:51 -0400 [thread overview]
Message-ID: <200205210353.g4L3rpk24320@op.net> (raw)
I recently wrote the ALSA driver for the RME Hammerfall DSP, a
high-end audio interface. The H-DSP comes in a variety of
configurations, one of them involving a "pure" PCI interface, the
other a PCMCIA card. The PCI interface works fine. Users with the
PCMCIA card report major problems, the most representative of which
are:
Case One (failure to make iomem available):
=========
>May 16 09:54:57 satellite kernel: cs: cb_alloc(bus 3): vendor 0x10ee, device
>0x3fc5
>May 16 09:54:57 satellite kernel: PCI: Failed to allocate resource
>0(d2400000-d20fffff) for 03:00.0
>May 16 09:54:57 satellite kernel: PCI: Enabling device 03:00.0 (0080 -> 0082)
>May 16 09:54:57 satellite cardmgr[258]: socket 0: CardBus hotplug device
Case Two (failure to allocate IRQ):
=========
>May 16 15:15:32 badass-bukvic kernel: PCI: Found IRQ 5 for device
>02:03.0
>May 16 15:15:33 badass-bukvic kernel: Hammerfall memory allocator:
>buffers allocated for 1 cards
>May 16 15:15:33 badass-bukvic kernel: PCI: No IRQ known for interrupt
>pin A of device . Please try using pci=biosirq.
>May 16 15:15:33 badass-bukvic kernel: PCI: Setting latency timer of
>device to 64
>May 16 15:15:33 badass-bukvic kernel: ALSA
>../../alsa-kernel/pci/rme9652/hdsp.c:2984: unable to grab memory region
>0x0-0x1447
In both cases, the error comes from cardbus/pcmcia/pci code that runs
"below" and/or before the device driver itself.
The PCI profile of the device looks like:
----------------------------------------------------------------------
03:00.0 Multimedia audio controller: Xilinx, Inc.: Unknown device 3fc5 (rev
0a)
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: [virtual] Memory at d2400000 (32-bit, non-prefetchable)
----------------------------------------------------------------------
It appears to me that there may be some problems with the current
cardbus/pci bridge code in 2.4.X. can anyone with any involvement in
this code fill me in on how well it is thought to be working, and what
might give rise to either of the error cases shown above?
--p
next reply other threads:[~2002-05-21 3:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-21 3:53 Paul Davis [this message]
2002-05-21 13:22 ` Alan Cox
2002-05-21 16:30 ` Paul Davis
2002-05-21 19:52 ` Alan Cox
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=200205210353.g4L3rpk24320@op.net \
--to=pbd@op.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®