From owner-freebsd-hardware@FreeBSD.ORG Wed Apr 19 04:07:06 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EA5116A401 for ; Wed, 19 Apr 2006 04:07:06 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05EC543D46 for ; Wed, 19 Apr 2006 04:07:04 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so1115644nzf for ; Tue, 18 Apr 2006 21:07:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=NWJg0j97FP9HeevvZVpF1A3SUaqHo/VkZqPfrcR2eMZ3mL8Qtpf2MSdBFyKMCBz+3C24AqaSz5fvCZKA8L2DGfmglZtF39wapQSRZYxqP1D0yWF3hmZdS4wx6wmnhdjbzEWdTF5ffhRhrw+cToW0OyN3AoYGFGhAPTLgLKGeYSE= Received: by 10.36.224.27 with SMTP id w27mr1543882nzg; Tue, 18 Apr 2006 21:07:04 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id c12sm921093nzc.2006.04.18.21.07.02; Tue, 18 Apr 2006 21:07:04 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k3J47Q8U010809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Apr 2006 13:07:27 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k3J47P9F010808; Wed, 19 Apr 2006 13:07:25 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 19 Apr 2006 13:07:25 +0900 From: Pyun YongHyeon To: Andreas Bachmann Message-ID: <20060419040725.GA9899@cdnetworks.co.kr> References: <1145184791.25345.10.camel@localhost> <20060416120208.D4092@antec.home> <1145217454.25345.36.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1145217454.25345.36.camel@localhost> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org, Mikko Ty?l?j?rvi , freebsd-hardware@freebsd.org Subject: Re: Broadcom 440x on FreeBSD 6.0/6.1 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 04:07:06 -0000 On Sun, Apr 16, 2006 at 09:57:34PM +0200, Andreas Bachmann wrote: > > The bfe driver is broken for RAM sizes above 1G, and you have 2G. > > > > For kicks, you could try booting with hw.physmem="1G" (in loader.conf > > or manually). If that doesn't work, you have discovered a new bug. > > > > The ndis driver works on my H^HDell notebook (see ndisgen(8)). > I found your post to freebsd-mobile with the same text :-) > After limiting my physical memory, my NIC works now... > I will look at the ndisgen. > It seems that BCM440x has DMA address limit at 1GB. How about this? Index: if_bfe.c =================================================================== RCS file: /pool/ncvs/src/sys/dev/bfe/if_bfe.c,v retrieving revision 1.32 diff -u -r1.32 if_bfe.c --- if_bfe.c 4 Apr 2006 22:30:12 -0000 1.32 +++ if_bfe.c 19 Apr 2006 04:01:47 -0000 @@ -200,7 +200,7 @@ /* parent tag */ error = bus_dma_tag_create(NULL, /* parent */ PAGE_SIZE, 0, /* alignment, boundary */ - BUS_SPACE_MAXADDR, /* lowaddr */ + 0x3fffffff, /* lowaddr */ BUS_SPACE_MAXADDR_32BIT, /* highaddr */ NULL, NULL, /* filter, filterarg */ MAXBSIZE, /* maxsize */ -- Regards, Pyun YongHyeon