From owner-freebsd-current@FreeBSD.ORG Mon Mar 23 17:52:16 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 C40831065711 for ; Mon, 23 Mar 2009 17:52:16 +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 8675D8FC08 for ; Mon, 23 Mar 2009 17:52:16 +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 1125146B43; Mon, 23 Mar 2009 13:52:16 -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 n2NHq3kV054662; Mon, 23 Mar 2009 13:52:10 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Mars G Miro Date: Mon, 23 Mar 2009 11:58:27 -0400 User-Agent: KMail/1.9.7 References: <200903201242.09167.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903231158.28121.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 13:52:10 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94.2/9153/Mon Mar 23 11:37:27 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: pyunyh@gmail.com, freebsd-current@freebsd.org 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 17:52:21 -0000 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 wrote: > >> > On Monday 16 March 2009 12:10:21 am Mars G Miro wrote: > >> >> On Mon, Mar 16, 2009 at 11:31 AM, Pyun YongHyeon > > wrote: > >> >> > On Mon, Mar 16, 2009 at 10:22:40AM +0800, Mars G Miro wrote: > >> >> >> Hi guys, > >> >> >> > >> >> >> =A0 =A0I upgraded a box w/ sk and msk NICs running 7.1-RELEASE t= o=20 latest > >> >> >> -CURRENT =A0to try out the new USB2 stuff but my sk/msk NICs don= 't=20 work > >> >> >> anymore: > >> >> >> > >> >> >> =A0 =A0http://pastebin.com/m28a41b14 > >> >> >> > >> >> >> =A0 =A0Saw this first last Friday, March 13, and re-csup'd a few= hours=20 ago > >> >> >> and the problem is still there. > >> >> >> > >> >> >> =A0 =A0Any thoughts? Thanks. > >> >> >> > >> >> > > >> >> > I don't see sk(4)/msk(4) hardwares in your dmesg output. > >> >> > Does "pciconf -lcv" show your controller? > >> >> > >> >> That's the problem, the hardware disappears: > >> > > >> > 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=3D0x42302e3= 1, > Creator ID=3DAWRD, Creator Revision=3D0x0 >=20 > Base Address=3D 0x00000000e0000000 > Segment Group=3D 0x0000 > Start Bus=3D 0 > End Bus=3D 0 > */ 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 conf= ig=20 mechanism when an MCFG region doesn't include the requested bus. =2D-=20 John Baldwin