From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 22 13:30:17 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4B6E16A4CE for ; Mon, 22 Mar 2004 13:30:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C50E043D48 for ; Mon, 22 Mar 2004 13:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2MLUHbv082125 for ; Mon, 22 Mar 2004 13:30:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2MLUHdO082124; Mon, 22 Mar 2004 13:30:17 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 22 Mar 2004 13:30:17 -0800 (PST) Resent-Message-Id: <200403222130.i2MLUHdO082124@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bin Ren Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1087F16A4CE for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/64594: 5.2-CURRENT: driver 'rl' (RealTek 8129/8139 Fast Ethernet device driver) is broken with DEVICE_POLLING enabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 21:30:18 -0000 >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: