From owner-freebsd-current@FreeBSD.ORG Mon Mar 22 13:36:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DDCC16A4CE for ; Mon, 22 Mar 2004 13:36:35 -0800 (PST) Received: from orange.csi.cam.ac.uk (orange.csi.cam.ac.uk [131.111.8.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD8243D2D for ; Mon, 22 Mar 2004 13:36:35 -0800 (PST) (envelope-from br260@cam.ac.uk) Received: from br260.wolfson.cam.ac.uk ([131.111.242.109] helo=[192.168.0.2]) by orange.csi.cam.ac.uk with esmtp (Exim 4.12) id 1B5X62-0003fG-00 for freebsd-current@freebsd.org; Mon, 22 Mar 2004 21:36:34 +0000 Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: Current FreeBSD From: Bin Ren Date: Mon, 22 Mar 2004 21:36:33 +0000 X-Mailer: Apple Mail (2.613) Subject: RealTek 8129/8139 broken with DEVICE_POLLING enabled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 21:36:35 -0000 Hi, all: My machine has one AMD64 3200+ CPU, MSI K8T Neo motherboard, one Realtek 8139 10/100Mbps ethernet card (rl0) connected by 10M ethernet to Internet. 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. Does anyone has similar experiences? Thanks, Bin Ren