From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 04:12:22 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 1CAE71065670; Tue, 24 Mar 2009 04:12:22 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id EA3188FC0C; Tue, 24 Mar 2009 04:12:21 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: by wf-out-1314.google.com with SMTP id 24so2714663wfg.7 for ; Mon, 23 Mar 2009 21:12:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.234.16 with SMTP id g16mr3181340wfh.264.1237867941478; Mon, 23 Mar 2009 21:12:21 -0700 (PDT) In-Reply-To: <200903231609.00039.jhb@freebsd.org> References: <200903231158.28121.jhb@freebsd.org> <200903231609.00039.jhb@freebsd.org> Date: Tue, 24 Mar 2009 12:12:21 +0800 Message-ID: From: Mars G Miro To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 24 Mar 2009 11:17:43 +0000 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: Tue, 24 Mar 2009 04:12:22 -0000 On Tue, Mar 24, 2009 at 4:08 AM, John Baldwin wrote: > 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 wr= ote: >> > >> > 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 memor= y >> mapped >> > > window. =A0Can you grab the output of 'acpidump -t'? >> > > >> > >> > /* >> > =A0 MCFG: Length=3D60, Revision=3D1, Checksum=3D46, >> > =A0 =A0 =A0 =A0 OEMID=3DIntelR, OEM Table ID=3DAWRDACPI, OEM Revision= =3D0x42302e31, >> > =A0 =A0 =A0 =A0 Creator ID=3DAWRD, Creator Revision=3D0x0 >> > >> > =A0 =A0 =A0 =A0 Base Address=3D 0x00000000e0000000 >> > =A0 =A0 =A0 =A0 Segment Group=3D 0x0000 >> > =A0 =A0 =A0 =A0 Start Bus=3D 0 >> > =A0 =A0 =A0 =A0 End Bus=3D 0 >> > =A0*/ >> >> Hmm, your BIOS is rather buggy and claims to only support MCFG for bus 0= . =A0I >> will work on a fix. =A0I think I will make the code fall back to the old= config >> 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 l= et > me know how it goes. > Okay , I csup'd / built to recent -CURRENT again, then applied that patch. It works!!! ACPI enabled in the BIOS, and I took out the hw.pci.mcfg=3D0 knob in loader.conf, and the sk/msk are still there. Full verbose dmesg: http://pastebin.com/f2724e215 Thanks!!! > -- > John Baldwin > --=20 cheers mars ----- Robert Benchley - "I have tried to know absolutely nothing about a great many things, and I have succeeded fair...