From owner-freebsd-current@FreeBSD.ORG Mon Mar 23 22:08:09 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81DBF106566B for ; Mon, 23 Mar 2009 22:08:09 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 528FD8FC1A for ; Mon, 23 Mar 2009 22:08:09 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id C2C1D46B58; Mon, 23 Mar 2009 18:08:08 -0400 (EDT) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n2NM82Yg056437; Mon, 23 Mar 2009 18:08:02 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 23 Mar 2009 16:08:59 -0400 User-Agent: KMail/1.9.7 References: <200903231158.28121.jhb@freebsd.org> In-Reply-To: <200903231158.28121.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903231609.00039.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, 23 Mar 2009 18:08:03 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94.2/9155/Mon Mar 23 13:26:16 2009 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 Cc: Mars G Miro , pyunyh@gmail.com Subject: Re: sk/msk no more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 22:08:09 -0000 On Monday 23 March 2009 11:58:27 am John Baldwin wrote: > On Friday 20 March 2009 11:08:35 pm Mars G Miro wrote: > > On Sat, Mar 21, 2009 at 12:42 AM, John Baldwin wrote: > > > On Thursday 19 March 2009 11:24:24 pm Mars G Miro wrote: > > >> On Thu, Mar 19, 2009 at 11:26 PM, John Baldwin wro= te: > > >> > What if you set 'hw.pci.mcfg=3D0' in loader? > > >> > > > >> > > >> That did it! Even w/ ACPI enabled in the BIOS, the sk/msk NICs don't > > >> get lost anymore. > > >> > > >> pciconf and verbose dmesg: http://pastebin.com/f31621191 > > >> > > >> btw, what does this knob actually do ? > > > > > > mcfg is a mechanism for doing faster PCI config access using a memory= =20 > mapped > > > window. =A0Can you grab the output of 'acpidump -t'? > > > > >=20 > > /* > > MCFG: Length=3D60, Revision=3D1, Checksum=3D46, > > OEMID=3DIntelR, OEM Table ID=3DAWRDACPI, OEM Revision=3D0x42302= e31, > > Creator ID=3DAWRD, Creator Revision=3D0x0 > >=20 > > Base Address=3D 0x00000000e0000000 > > Segment Group=3D 0x0000 > > Start Bus=3D 0 > > End Bus=3D 0 > > */ >=20 > Hmm, your BIOS is rather buggy and claims to only support MCFG for bus 0.= I=20 > will work on a fix. I think I will make the code fall back to the old co= nfig=20 > mechanism when an MCFG region doesn't include the requested bus. Try the patch at http://www.FreeBSD.org/~jhb/patches/pci_mcfg.patch and let me know how it goes. =2D-=20 John Baldwin