netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: Hans-Frieder Vogt <hfvogt@arcor.de>
Cc: linux-kernel@vger.kernel.org, jgarzik@pobox.com, netdev@oss.sgi.com
Subject: Re: 2.6.9-rc1-bk11+ and 2.6.9-rc1-mm3,4 r8169: freeze during boot (FIX included)
Date: Thu, 16 Sep 2004 01:09:36 +0200	[thread overview]
Message-ID: <20040915230936.GA24467@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <200409160040.03532.hfvogt@arcor.de>

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Hans-Frieder Vogt <hfvogt@arcor.de> :
[...]
[...]
> 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

[-- Attachment #2: r8169-xx0.patch --]
[-- Type: text/plain, Size: 585 bytes --]

 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);
 }
 

_

  reply	other threads:[~2004-09-15 23:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200409130035.50823.hfvogt@arcor.de>
     [not found] ` <20040912232604.GC27282@electric-eye.fr.zoreil.com>
2004-09-13 12:43   ` 2.6.9-rc1-bk11+ and 2.6.9-rc1-mm3,4 r8169: freeze during boot (FIX included) Hans-Frieder Vogt
2004-09-13 22:02     ` Francois Romieu
2004-09-13 23:31       ` Hans-Frieder Vogt
2004-09-15 22:40         ` Hans-Frieder Vogt
2004-09-15 23:09           ` Francois Romieu [this message]
2004-09-15 23:32             ` Hans-Frieder Vogt
2004-09-16  7:02               ` Francois Romieu
2004-09-16 18:20                 ` Jon Mason
2004-09-17 15:43                   ` Jon Mason
2004-09-17 16:01                     ` Francois Romieu
2004-09-19 21:17                       ` Andy Lutomirski
2004-09-19 21:39                         ` Francois Romieu
2004-09-19 23:51                           ` Andy Lutomirski
2004-09-20  2:56                           ` Jeff Garzik
2004-09-20  7:17                             ` Francois Romieu
2004-09-20 17:59                               ` Jeff Garzik
2004-09-20 21:15                                 ` Francois Romieu
2004-09-20 16:06                         ` Jon Mason

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=20040915230936.GA24467@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=hfvogt@arcor.de \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).