Re: 2.6.9-rc1-bk11+ and 2.6.9-rc1-mm3,4 r8169: freeze during boot (FIX included)

From: Francois Romieu
Date: Wed Sep 15 2004 - 18:21:49 EST


Hans-Frieder Vogt <hfvogt@xxxxxxxx> :
[...]
[...]
> Of course x86-64 has the address-space that enables >4GB RAM, and x86-64
> always supports DAC (as stated in include/asm-x86_64/pci.h), but I have
> currently only 1GB RAM, so, strictly speaking, DAC is not really necessary.

Worse than that: r8169 in 2.6.9-rc[1/2] does not advertise its ability to
DMA to high memory.

> Strange enough, the latest Realtek driver 2.2 does not even support DAC (only
> the lower 32 bit of the DMA-Addresses are written to the registers).
> Could it be that the Realtek driver does not support DAC for a good reason?
>
> Anyway, I will continue searching for the problem...

Can you simply try the attached patch with the network cable unplugged ?

It will not fix your issue but if the result & 0x08 != 0, you can probably
stop your testing for now as it will mean "known issue".

--
Ueimor
drivers/net/r8169.c | 3 +++
1 files changed, 3 insertions(+)

diff -puN drivers/net/r8169.c~r8169-xx0 drivers/net/r8169.c
--- linux-2.6.9-rc1/drivers/net/r8169.c~r8169-xx0 2004-09-15 23:57:46.000000000 +0200
+++ linux-2.6.9-rc1-romieu/drivers/net/r8169.c 2004-09-16 00:59:26.000000000 +0200
@@ -1533,6 +1533,9 @@ rtl8169_hw_start(struct net_device *dev)
/* Enable all known interrupts by setting the interrupt mask. */
RTL_W16(IntrMask, rtl8169_intr_mask);

+ printk(KERN_INFO PFX
+ "%s: Config2 = 0x%02x\n", dev->name, RTL_R8(Config2));
+
netif_start_queue(dev);
}


_