Re: sk/msk no more

From: Mars G Miro <spry_at_anarchy.in.the.ph>
Date: Sat, 21 Mar 2009 11:08:35 +0800
On Sat, Mar 21, 2009 at 12:42 AM, John Baldwin <jhb_at_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_at_freebsd.org> 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 <pyunyh_at_gmail.com>
> wrote:
>> >> > On Mon, Mar 16, 2009 at 10:22:40AM +0800, Mars G Miro wrote:
>> >> >> Hi guys,
>> >> >>
>> >> >>    I upgraded a box w/ sk and msk NICs running 7.1-RELEASE to latest
>> >> >> -CURRENT  to try out the new USB2 stuff but my sk/msk NICs don't work
>> >> >> anymore:
>> >> >>
>> >> >>    http://pastebin.com/m28a41b14
>> >> >>
>> >> >>    Saw this first last Friday, March 13, and re-csup'd a few hours ago
>> >> >> and the problem is still there.
>> >> >>
>> >> >>    Any 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=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'?
>

root_at_nexgate:~# acpidump -tv
acpidump: loading RSD PTR from /dev/mem
/*
  RSD PTR: OEM=IntelR, ACPI_Rev=1.0x (0)
        RSDT=0x3fef3040, cksum=245
 */
acpidump: printing various SDT tables
/*
  RSDT: Length=48, Revision=1, Checksum=226,
        OEMID=IntelR, OEM Table ID=AWRDACPI, OEM Revision=0x42302e31,
        Creator ID=AWRD, Creator Revision=0x0
        Entries={ 0x3fef30c0, 0x3fef6fc0, 0x3fef6f00 }
 */
/*
  FACP: Length=116, Revision=1, Checksum=112,
        OEMID=IntelR, OEM Table ID=AWRDACPI, OEM Revision=0x42302e31,
        Creator ID=AWRD, Creator Revision=0x0
        FACS=0x3fef0000, DSDT=0x3fef3180
        INT_MODEL=APIC
        Preferred_PM_Profile=Unspecified (0)
        SCI_INT=9
        SMI_CMD=0xb2, ACPI_ENABLE=0xa1, ACPI_DISABLE=0xa0, S4BIOS_REQ=0x0
        PSTATE_CNT=0x0
        PM1a_EVT_BLK=0x400-0x403
        PM1a_CNT_BLK=0x404-0x405
        PM_TMR_BLK=0x408-0x40b
        GPE0_BLK=0x428-0x42f
        P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us
        FLUSH_SIZE=0, FLUSH_STRIDE=0
        DUTY_OFFSET=1, DUTY_WIDTH=1
        DAY_ALRM=13, MON_ALRM=0, CENTURY=0
        IAPC_BOOT_ARCH=
        Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4,RESET_REG}
        RESET_REG=0x00000000:0[0] (Memory), RESET_VALUE=0
 */
/*
  FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
        Global_Lock=
        Flags=
        Version=0
 */
/*
  DSDT: Length=15655, Revision=1, Checksum=6,
        OEMID=INTELR, OEM Table ID=AWRDACPI, OEM Revision=0x1000,
        Creator ID=MSFT, Creator Revision=0x100000e
 */
/*
  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
 */
/*
  APIC: Length=104, Revision=1, Checksum=200,
        OEMID=IntelR, OEM Table ID=AWRDACPI, OEM Revision=0x42302e31,
        Creator ID=AWRD, Creator Revision=0x0
        Local APIC ADDR=0xfee00000
        Flags={PC-AT}

        Type=Local APIC
        ACPI CPU=0
        Flags={ENABLED}
        APIC ID=0

        Type=Local APIC
        ACPI CPU=1
        Flags={ENABLED}
        APIC ID=1

        Type=IO APIC
        APIC ID=2
        INT BASE=0
        ADDR=0x00000000fec00000

        Type=INT Override
        BUS=0
        IRQ=0
        INTR=2
        Flags={Polarity=conforming, Trigger=conforming}

        Type=INT Override
        BUS=0
        IRQ=9
        INTR=9
        Flags={Polarity=active-hi, Trigger=level}

        Type=Local NMI
        ACPI CPU=0
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local NMI
        ACPI CPU=1
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}
 */


> --
> John Baldwin
>



-- 
cheers
mars
Received on Sat Mar 21 2009 - 02:08:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC