From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 21:12:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D99E16A41F; Tue, 24 Jan 2006 21:12:23 +0000 (GMT) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0630C43D46; Tue, 24 Jan 2006 21:12:22 +0000 (GMT) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.12.11/8.12.11) with ESMTP id k0OLCLrm026936; Tue, 24 Jan 2006 15:12:21 -0600 (CST) (envelope-from tinguely@casselton.net) Received: (from tinguely@localhost) by casselton.net (8.12.11/8.12.11/Submit) id k0OLCHQs026935; Tue, 24 Jan 2006 15:12:17 -0600 (CST) (envelope-from tinguely) Date: Tue, 24 Jan 2006 15:12:17 -0600 (CST) From: Mark Tinguely Message-Id: <200601242112.k0OLCHQs026935@casselton.net> To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org, m.lyubich@suzlon.de In-Reply-To: <2BB1D847970ED7459EAA23DAB225073714FCE1@hrosvr02.suzlon.de> X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ccn.casselton.net X-Mailman-Approved-At: Tue, 24 Jan 2006 21:39:53 +0000 Cc: scottl@samsco.org, sgk@troutmask.apl.washington.edu, kris@obsecurity.org Subject: Re: Broadcomm BCM4401-B0 and memory upgrade issue. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 21:12:23 -0000 On Date: Tue, 24 Jan 2006 13:05:16 +0100, "Mykhailo Lyubich" said: > After the memory upgrade on my Laptop (HP nx5000) FreeBSD 6.0 stable, > the driver for NIC bfe0 (Broadcom BCM4401-B0) stops working. The NIC LED > lights are on. The bfe0 interface is up and active. However, I got a > permanent message on the console: > > bfe0: watching timeout -- resetting. > > This occurs in the case when I compile the new kernel without bfe driver > and load the bfe driver as module (if_bfe.ko). In the case when the > driver is compiled into the kernel, the system stalls during the boot or > whenever I try to configure the interface. ----- I am CC this to a few people on the freebsd-current list that had somewhat simular symptoms with other hardware. ----- Have you tried to boot with the old contigmalloc using the sysctl option "vm.old_contigmalloc=1"? Some people are seeing slow boot/configuration with new style vm_page_alloc_contig/contigmalloc. I am doing some profiling of vm_page_alloc_contig() and have found that larger physical memory configurations makes these problems much worse. I identified 4-5 places that can be changed to decrease the number of page tables that is needed to be checked before an allocating a range. Some of the changes will only occasionally save a few page checks, but others changes could save several hundred or more page checks on every call. The old contigmalloc could be optimized also, but it uses the lower addressed physical pages, which turns out to be used less during the boot process than the upper addressed physical pages. --Mark Tinguely