From: Al Viro <viro@ZenIV.linux.org.uk>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, netdev@vger.kernel.org
Subject: Re: Realtek 8169 problems with net booting
Date: Sat, 29 Nov 2008 21:06:00 +0000 [thread overview]
Message-ID: <20081129210600.GT28946@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20081129204416.GA6401@electric-eye.fr.zoreil.com>
On Sat, Nov 29, 2008 at 09:44:17PM +0100, Francois Romieu wrote:
> Alan Cox <alan@lxorguk.ukuu.org.uk> :
> > On one box here it has always been the case that now and then the boot
> > with crash just after r8169 is loaded iff the BIOS network rom (ie the
> > dhcp stuff) is enabled. Its erratic, hard to reproduce but I finally got
> > around to looking at the driver and have a question that seems to apply
> > to several network drivers
> [...]
> > The master bit is off when the driver is loaded it appears but surely the
> > driver should do
> >
> > twiddle a few bits
> > soft reset chip
> > pci_set_master
>
> You are right.
>
> Can you try the attached patch against 2.6.28-rc6 and tell if it makes a
> difference or not ?
>
> While I did not test it in a BIOS network boot configuration it did not
> crash trivially with these devices:
> RTL8168b/8111b / XID 38000000
> RTL8110s / XID 04000000
>
> Note to others: this patch needs testing with different chipsets (XID)
> before being included upstream.
FWIW, on one of two very similar motherboards I'm seeing the hard hangs
from 8169 with netboot enabled, but that smells like a hardware problem;
that crap got more and more frequent until I had to disconnect the
interface. Other symptoms: it kept trying to renegotiate the link every
few seconds. Hang used to happen on the first incoming packet after
boot, _but_ that didn't happen on each boot. IIRC, what finally got me
to call it quits was near 100% frequency of buggered boots *and* a hang
during downloading the kernel. I'm not entirely sure about the last
part, though - will retest once I get that box free for experiments.
Motherboards might be actually identical; r8169 *are*, according to lspci.
Device in question is
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: AOPEN Inc. AK86-L motherboard
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 23
I/O ports at b000 [size=256]
Memory at ed000000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 70100000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
next prev parent reply other threads:[~2008-11-29 21:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 18:14 Realtek 8169 problems with net booting Alan Cox
2008-11-24 21:57 ` David Miller
2008-12-04 17:22 ` Michael Brown
2008-12-04 18:15 ` David Miller
2008-12-04 20:45 ` Michael Brown
2008-12-04 20:59 ` David Miller
2008-12-04 21:44 ` Alan Cox
2008-12-04 21:55 ` David Miller
2008-11-29 20:44 ` Francois Romieu
2008-11-29 21:06 ` Al Viro [this message]
2008-11-29 21:28 ` Francois Romieu
2008-11-29 22:47 ` Al Viro
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=20081129210600.GT28946@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.