From: Peter Stuge <peter@stuge.se>
To: "Frans Pop" <elendil@planet.nl>,
"Christian Krämer" <christian@kraemer-eu.de>
Cc: linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: yenta_socket: PCMCIA-Cards are not recognised by kernel
Date: Fri, 4 Sep 2009 06:30:25 +0200 [thread overview]
Message-ID: <20090904043025.2774.qmail@stuge.se> (raw)
In-Reply-To: <200909040145.14807.christian@kraemer-eu.de> <200909031927.19590.elendil@planet.nl>
Hi,
Frans Pop wrote:
> Summary: WLAN Card (Proxim Orinoco Gold 8470-WD) is not recognized
> by either 2.6.24 or 2.6.30. After inserting it, 'lspci' does not
> list the card, but 'lspci -H1' does.
> Original message with lspci and dmesg output for .24 is at:
> http://lkml.org/lkml/2009/9/2/199
It would help to also see dmesg from .30 or newer, and, say, .9 or
something similarly old.
The issue is that the PCI bridge (which is what a CardBus controller
is) isn't completely configured by the kernel.
Parts of the kernel believe it is ok, which is why lspci says irq 11
for 00:02.0 and 00:02.1, but the value actually configured in the
CardBus controller hardware is 255 = unconfigured.
lspci -H1 -s 2.0 -xxx might be interesting.
The .24 dmesg shows an error initializing the PCI bus:
--8<--
PCI: Probing PCI hardware
sysfs: duplicate filename 'bridge' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 1, comm: swapper Not tainted 2.6.24-gentoo-r7 #1
[<c0187ceb>] sysfs_add_one+0x54/0xb8
[<c01888da>] sysfs_create_link+0xaf/0xfd
[<c02c8020>] pci_bus_add_devices+0xba/0xff
[<c037ac1d>] pcibios_scan_root+0x25/0x80
[<c011ab3d>] printk+0x1b/0x1f
[<c052822f>] pci_legacy_init+0x53/0xe1
[<c0505769>] kernel_init+0x154/0x2b6
[<c0102546>] ret_from_fork+0x6/0x20
[<c0505615>] kernel_init+0x0/0x2b6
[<c0505615>] kernel_init+0x0/0x2b6
[<c0103877>] kernel_thread_helper+0x7/0x10
=======================
pci 0000:00:02.0: Error creating sysfs bridge symlink, continuing...
-->8--
This is bad, and is either the cause for the problem, or another
symptom.
.24 is a bit old, so it would be interesting to see dmesg from recent
(vanilla) sources.
Christian Krämer wrote:
> > That means that the card should be supported by the ath5k
> > wireless driver if it was correctly initialized by the cardbus
> > drivers.
Frans is right, but the bridge isn't set up right, so cards behind it
will not work correctly either.
> Yes, but on the LiveCD, when I load the module via "modprobe ath5k",
> ifconfig
> doesn't show any interface except for lo and also dmesg don't
> display anything about a found device. In the gentoo-system I
> installed, I also tried the madwifi-ng driver package, but with the
> same result.
This is expected, until the CardBus PCI bridge starts working.
> > I don't think I can help you any further. Hopefully one of the
> > PCMCIA developers can.
To be clear, this looks like a CardBus/PCI issue. CardBus is more
like PCI and PCMCIA is more like ISA. It could maybe be an ACPI
issue, but first get to the bottom of the pci error.
> I admit I'am not very familiar with the community around the
> linux-kernel and this is my first request on the official mailing
> list.
I hope it'll be resolved, but at this point more information is
needed. Try the latest vanilla kernel. Try combinations of some
kernel parameters:
lapic
pci=biosirq
They will change how the kernel reads and thinks about interrupts.
It's important to have interrupts working right, but at this point it
seems there's a more fundamental PCI problem with the CardBus
bridges. :\
//Peter
next prev parent reply other threads:[~2009-09-04 4:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-02 16:56 yenta_socket: PCMCIA-Cards are not recognised by kernel Christian Krämer
2009-09-02 17:53 ` Frans Pop
2009-09-02 22:42 ` Christian Krämer
2009-09-03 17:27 ` Frans Pop
2009-09-03 18:07 ` Christian Krämer
2009-09-03 18:35 ` Frans Pop
2009-09-03 23:45 ` Christian Krämer
2009-09-03 19:37 ` Wolfram Sang
2009-09-03 19:40 ` Robert P. J. Day
2009-09-03 19:57 ` Wolfram Sang
2009-09-03 20:16 ` Frans Pop
2009-09-05 13:43 ` Wolfram Sang
2009-09-03 23:49 ` Christian Krämer
2009-09-05 13:59 ` Wolfram Sang
2009-09-05 14:04 ` Peter Stuge
2009-09-05 15:43 ` Wolfram Sang
2009-09-05 19:08 ` Christian Krämer
2009-09-04 4:30 ` Peter Stuge [this message]
2009-09-04 20:39 ` Christian Krämer
2009-09-05 14:30 ` Wolfram Sang
2009-09-05 19:46 ` Christian Krämer
2009-09-06 17:41 ` Wolfram Sang
2009-09-06 20:54 ` Christian Krämer
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=20090904043025.2774.qmail@stuge.se \
--to=peter@stuge.se \
--cc=christian@kraemer-eu.de \
--cc=elendil@planet.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pcmcia@lists.infradead.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