From nobody@FreeBSD.org  Mon Mar 22 13:22:21 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1087F16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Mar 2004 13:22:21 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 09CD543D3F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Mar 2004 13:22:21 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2MLMK72098336
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Mar 2004 13:22:20 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i2MLMKgx098335;
	Mon, 22 Mar 2004 13:22:20 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403222122.i2MLMKgx098335@www.freebsd.org>
Date: Mon, 22 Mar 2004 13:22:20 -0800 (PST)
From: Bin Ren <br260@cam.ac.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 5.2-CURRENT: driver 'rl' (RealTek 8129/8139 Fast Ethernet device driver) is broken with DEVICE_POLLING enabled
X-Send-Pr-Version: www-2.3

>Number:         64594
>Category:       kern
>Synopsis:       [rl] 5.2-CURRENT: driver 'rl' (RealTek 8129/8139 Fast Ethernet device driver) is broken with DEVICE_POLLING enabled
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 22 13:30:17 PST 2004
>Closed-Date:    Thu Aug 10 11:15:23 GMT 2006
>Last-Modified:  Thu Aug 10 11:15:23 GMT 2006
>Originator:     Bin Ren
>Release:        FreeBSD 5.2-CURRENT
>Organization:
University of Cambridge, UK
>Environment:
This machine has one AMD64 3200+ CPU, MSI K8T Neo motherboard, one Realtek 8139 10/100Mbps ethernet card (rl0) connected by  10M ethernet to Internet.
>Description:
      Everything works fine but when I compiled kernel with 'options DEVICE_POLLING' and 'options HZ=1000', the kernel boots fine, but fails to bring up rl0 automatically as indicated in '/etc/rc.conf' and fails to assign static IP address to rl0 and fails to add route to default gateway as indicated in '/etc/rc.conf'. According to 'kern.polling.enable=0', device polling is disabled, and I keep it disabled unless I mention otherwise. When I manually configure rl0 using 'ifconfig' and 'route', rl0 doesn't work as I cannot ping other machines (DNS, gateway). More mysterious (and thus an important clue) is even 'ping 127.0.0.1' receives no response. When I 'sysctl kern.polling.enable=1', I see 'kern.polling.suspects' a very very large number (> 750). This indicates sth wrong in the polling implementation.
>How-To-Repeat:
      Just get a Realtek 8139 card, compile 5.2-current with polling enabled, boot into this kernel and the problem is there.
>Fix:
      N/A
>Release-Note:
>Audit-Trail:

From: Eugene Grosbein <eugen@kuzbass.ru>
To: bug-followup@freebsd.org
Cc: Bin Ren <br260@cam.ac.uk>, bms@freebsd.org
Subject: Re: kern/64594: 5.2-CURRENT: driver 'rl' (RealTek 8129/8139 Fast 
 Ethernet device driver) is broken with DEVICE_POLLING enabled
Date: Tue, 23 Mar 2004 19:50:10 +0700

 Hi!
 
 See also http://www.FreeBSD.org/cgi/query-pr.cgi?pr=kern/55727,
 that seem to be related.
 
 Eugene Grosbein
Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: rodrigc 
Responsible-Changed-When: Wed Oct 5 03:38:35 GMT 2005 
Responsible-Changed-Why:  
Gleb has been looking at DEVICE_POLLING in this and other drivers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64594 
State-Changed-From-To: open->feedback 
State-Changed-By: glebius 
State-Changed-When: Wed Oct 5 10:23:33 GMT 2005 
State-Changed-Why:  
Is the problem reproducible on modern FreeBSD versions (5.4, 6.0)? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64594 
State-Changed-From-To: feedback->closed 
State-Changed-By: glebius 
State-Changed-When: Thu Aug 10 11:15:05 UTC 2006 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64594 
>Unformatted:
