From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 28 17:49:58 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E45B016A41F for ; Wed, 28 Dec 2005 17:49:58 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB68343D66 for ; Wed, 28 Dec 2005 17:49:52 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id 38E0484420 for ; Wed, 28 Dec 2005 18:49:51 +0100 (CET) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 52048-02 for ; Wed, 28 Dec 2005 18:49:45 +0100 (CET) Received: from [127.0.0.1] (unknown [192.168.2.3]) by people.fsn.hu (Postfix) with ESMTP id 820778441E for ; Wed, 28 Dec 2005 18:49:45 +0100 (CET) Message-ID: <43B2D039.5000001@fsn.hu> Date: Wed, 28 Dec 2005 18:49:45 +0100 From: Attila Nagy User-Agent: Thunderbird 1.5 (X11/20051227) MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu Subject: Problems with polling on dc when setting it from rc.conf X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 17:49:59 -0000 Hello, On a Netra X1 I run the following kernel: FreeBSD 6.0-STABLE #0: Mon Dec 19 18:06:10 CET 2005 When I start the machine without the "polling" option in rc.conf for the interface, everything is OK. But when I try to set polling up during the boot: ifconfig_dc0="inet 1.2.3.4 netmask 255.255.255.224 media 100BaseTX mediaopt full-duplex polling up" the machine starts up with the standard: kernel: dc0: failed to force tx and rx to idle state lines but seconds later it begins to drop packages along with the following error: kernel: dc0: TX underrun -- increasing TX threshold then again some "idle state" messages and another TX underrun, then this: kernel: dc0: TX underrun -- using store and forward mode after this line is logged, the machine stops forwarding packets. If I set polling later (for example after a few days of uptime) than in the boot process, it seems that there are no problems. The machine itself has some vlans on dc0 and all it does is packet filtering with pf. Any ideas? Thanks, -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Adopt a directory on our free software phone: +3630 306 6758 server! http://www.fsn.hu/?f=brick