Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 12:12:21 +0800
From:      Mars G Miro <spry@anarchy.in.the.ph>
To:        John Baldwin <jhb@freebsd.org>
Cc:        pyunyh@gmail.com, freebsd-current@freebsd.org
Subject:   Re: sk/msk no more
Message-ID:  <f12f408a0903232112v29399797v8995cc86cd86d7ca@mail.gmail.com>
In-Reply-To: <200903231609.00039.jhb@freebsd.org>
References:  <f12f408a0903151922p22475836s1d840e8e2cf203a2@mail.gmail.com> <f12f408a0903202008h7fa41c56o8b8f804c03d063f8@mail.gmail.com> <200903231158.28121.jhb@freebsd.org> <200903231609.00039.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, Mar 24, 2009 at 4:08 AM, John Baldwin <jhb@freebsd.org> 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 <jhb@freebsd.org> 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 <jhb@freebsd.org> wrote:
>> > >> > What if you set 'hw.pci.mcfg=0' 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
>> mapped
>> > > window.  Can you grab the output of 'acpidump -t'?
>> > >
>> >
>> > /*
>> >   MCFG: Length=60, Revision=1, Checksum=46,
>> >         OEMID=IntelR, OEM Table ID=AWRDACPI, OEM Revision=0x42302e31,
>> >         Creator ID=AWRD, Creator Revision=0x0
>> >
>> >         Base Address= 0x00000000e0000000
>> >         Segment Group= 0x0000
>> >         Start Bus= 0
>> >         End Bus= 0
>> >  */
>>
>> Hmm, your BIOS is rather buggy and claims to only support MCFG for bus 0.  I
>> will work on a fix.  I 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 let
> 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=0
knob in loader.conf, and the sk/msk are still there.

Full verbose dmesg: http://pastebin.com/f2724e215

Thanks!!!


> --
> John Baldwin
>



-- 
cheers
mars
-----
Robert Benchley  - "I have tried to know absolutely nothing about a
great many things, and I have succeeded fair...



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