From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 16 12:44:21 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1558A16A4AB for ; Mon, 16 Jul 2007 12:44:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id BEE1E13C4B9 for ; Mon, 16 Jul 2007 12:44:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.7b8) with ESMTP id 196926964 for multiple; Mon, 16 Jul 2007 08:36:34 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l6GCSBkG031595; Mon, 16 Jul 2007 08:28:16 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 16 Jul 2007 07:54:00 -0400 User-Agent: KMail/1.9.6 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707160754.01330.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 16 Jul 2007 08:28:16 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3680/Mon Jul 16 01:49:06 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: James Shank Subject: Re: Problem with Broadcom 5704 B1 on amd64 6.2 release X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 12:44:21 -0000 On Monday 16 July 2007 01:37:40 am James Shank wrote: > Greetings, > > I've run into a problem with the onboard Broadcom 5704 NetXtreme nics > on a Tyan S2891 Thunder K8SRE motherboard. > > Here is the relevant dmesg output to show the error: > > pcib5: at device 11.0 on pci8 > pci10: on pcib5 > pcib5: memory: end (de1fffff) < start (48739b2de100000) > pcib5: memory: end (de1fffff) < start (dbca73fdde110000) > bge0: mem > 0x48739b2de100000-0x48739b2de10ffff irq 28 at device 9.0 on pci10 > pcib5: memory: end (de1fffff) < start (48739b2de100000) > bge0: couldn't map memory > device_attach: bge0 attach returned 6 > bge1: mem > 0xdbca73fdde110000-0xdbca73fdde11ffff irq 29 at device 9.1 on pci10 > pcib5: memory: end (de1fffff) < start (dbca73fdde110000) > bge1: couldn't map memory > device_attach: bge1 attach returned 6 > > It appears to me that the problem might be due to using a 32-bit int > for end addresses where it looks like the start address uses 64-bit > int. > > Any input on how to proceed would be greatly appreciated. > > I've also attached full dmesg output as well as pciconf -l -v output. > > Thanks! Can you try a 7.0 snapshot? It has different handling of 64-bit BARs. If 7 works then we can look at backporting those changes to 6.x. -- John Baldwin