Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 13:07:25 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Andreas Bachmann <bachi@te-clan.ch>
Cc:        freebsd-hackers@freebsd.org, Mikko Ty?l?j?rvi <mikko@antec.home>, freebsd-hardware@freebsd.org
Subject:   Re: Broadcom 440x on FreeBSD 6.0/6.1
Message-ID:  <20060419040725.GA9899@cdnetworks.co.kr>
In-Reply-To: <1145217454.25345.36.camel@localhost>
References:  <1145184791.25345.10.camel@localhost> <20060416120208.D4092@antec.home> <1145217454.25345.36.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419040725.GA9899>