From: Kasper Sandberg <lkml@metanurb.dk>
To: LKML Mailinglist <linux-kernel@vger.kernel.org>
Subject: Realtek 8111c weirdness problems, apic/msi, and normal bug
Date: Sat, 05 Apr 2008 17:03:24 +0200 [thread overview]
Message-ID: <1207407804.14885.27.camel@localhost> (raw)
Hello.
I have a Gigabyte-X48-DQ6 motherboard which contains two realtek 8111c
pci express gigabit ethernet controllers.
The driver for these are r8169
To cut to the results that matters(IMO) most, is that on .25-rc8-git3,
the driver detects these cards, both of them, on different interrupts,
however, none of the nics work if i have both msi and apic enabled. If i
boot with pci=nomsi, and apic is enabled, both ports work (however one
"insignificant" bug remains), if i boot with noapic boot parameter, but
msi is enabled, both controllers are again found, and they work, however
that insignificant bug is also present here.
The insignificant bug is, that one of the interfaces appears to always
report as link up, despite me not having any cable in it.
So apparently the conflict is if i have BOTH apic and msi.
That leads me to a question, untill this is resolved, which
configuration do i want? apic with no msi, or msi with no apic?
I also have some more information, however i do not know if its useful
at all: On a .23 livecd, which has both msi and apic, something
different happens. What happens is that both controllers are detected,
however only 1 of them works, ethtool reports that the working
controller properly detects link up/down, and that its TP with 1gbit.
This is the ethtool output for the .23 livecd with apic and msi:
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
Settings for eth1:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: no
and as you can see, eth1 is completely messed up, thinking its fibre,
and stuff..
it appears that on this configuration, both nic's were registered
in /proc/interrupts as IO-APIC-fasteoi.
---
I realize that more information will probably be needed to fix this bug,
however, as you probably will want to cc linux-netdev or apic/msi or
what it is, i will refrain from posting that now.
However, i can pretty much provide/try anything, so what would you want
me to get?
/proc/interrupts, dmesg, ethtool on .25 apic/nomsi?
/proc/interrupts, dmesg, ethtool on .25 msi/noapic?
/proc/interrupts, dmesg, ethtool on .25 msi/apic?
i also saw a strange message with .25 msi/apic, where when i rmmod r8169
and modprobe it again, it couldnt parse something, should i try get this
again?
In any case, just let me know what information you want, or patches you
wish me to test, and it will be done.
mvh.
Kasper Sandberg
next reply other threads:[~2008-04-05 15:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-05 15:03 Kasper Sandberg [this message]
2008-04-06 6:23 ` Realtek 8111c weirdness problems, apic/msi, and normal bug Andrew Morton
2008-04-06 14:06 ` Francois Romieu
2008-04-07 4:09 ` Kasper Sandberg
2008-04-10 12:17 ` Kasper Sandberg
2008-04-11 1:11 ` Kasper Sandberg
2008-04-11 18:06 ` Kasper Sandberg
2008-04-12 12:23 ` Kasper Sandberg
2008-04-12 19:22 ` Francois Romieu
2008-04-12 22:02 ` Kasper Sandberg
[not found] ` <20080412180850.GA17180@electric-eye.fr.zoreil.com>
2008-04-12 19:15 ` Kasper Sandberg
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=1207407804.14885.27.camel@localhost \
--to=lkml@metanurb.dk \
--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