Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 13:22:20 -0800 (PST)
From:      Bin Ren <br260@cam.ac.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/64594: 5.2-CURRENT: driver 'rl' (RealTek 8129/8139 Fast Ethernet device driver) is broken with DEVICE_POLLING enabled
Message-ID:  <200403222122.i2MLMKgx098335@www.freebsd.org>
Resent-Message-ID: <200403222130.i2MLUHdO082124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64594
>Category:       kern
>Synopsis:       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:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 22 13:30:17 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403222122.i2MLMKgx098335>