Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2009 11:08:35 +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:  <f12f408a0903202008h7fa41c56o8b8f804c03d063f8@mail.gmail.com>
In-Reply-To: <200903201242.09167.jhb@freebsd.org>
References:  <f12f408a0903151922p22475836s1d840e8e2cf203a2@mail.gmail.com> <200903191126.15390.jhb@freebsd.org> <f12f408a0903192024h71235e1bg91e23a25a13352f1@mail.gmail.com> <200903201242.09167.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>> > 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@gmail.com>
> 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 to =
latest
>> >> >> -CURRENT =A0to try out the new USB2 stuff but my sk/msk NICs don't=
 work
>> >> >> anymore:
>> >> >>
>> >> >> =A0 =A0http://pastebin.com/m28a41b14
>> >> >>
>> >> >> =A0 =A0Saw this first last Friday, March 13, and re-csup'd a few h=
ours 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 map=
ped
> window. =A0Can you grab the output of 'acpidump -t'?
>

root@nexgate:~# acpidump -tv
acpidump: loading RSD PTR from /dev/mem
/*
  RSD PTR: OEM=3DIntelR, ACPI_Rev=3D1.0x (0)
        RSDT=3D0x3fef3040, cksum=3D245
 */
acpidump: printing various SDT tables
/*
  RSDT: Length=3D48, Revision=3D1, Checksum=3D226,
        OEMID=3DIntelR, OEM Table ID=3DAWRDACPI, OEM Revision=3D0x42302e31,
        Creator ID=3DAWRD, Creator Revision=3D0x0
        Entries=3D{ 0x3fef30c0, 0x3fef6fc0, 0x3fef6f00 }
 */
/*
  FACP: Length=3D116, Revision=3D1, Checksum=3D112,
        OEMID=3DIntelR, OEM Table ID=3DAWRDACPI, OEM Revision=3D0x42302e31,
        Creator ID=3DAWRD, Creator Revision=3D0x0
        FACS=3D0x3fef0000, DSDT=3D0x3fef3180
        INT_MODEL=3DAPIC
        Preferred_PM_Profile=3DUnspecified (0)
        SCI_INT=3D9
        SMI_CMD=3D0xb2, ACPI_ENABLE=3D0xa1, ACPI_DISABLE=3D0xa0, S4BIOS_REQ=
=3D0x0
        PSTATE_CNT=3D0x0
        PM1a_EVT_BLK=3D0x400-0x403
        PM1a_CNT_BLK=3D0x404-0x405
        PM_TMR_BLK=3D0x408-0x40b
        GPE0_BLK=3D0x428-0x42f
        P_LVL2_LAT=3D101 us, P_LVL3_LAT=3D1001 us
        FLUSH_SIZE=3D0, FLUSH_STRIDE=3D0
        DUTY_OFFSET=3D1, DUTY_WIDTH=3D1
        DAY_ALRM=3D13, MON_ALRM=3D0, CENTURY=3D0
        IAPC_BOOT_ARCH=3D
        Flags=3D{WBINVD,PROC_C1,SLP_BUTTON,RTC_S4,RESET_REG}
        RESET_REG=3D0x00000000:0[0] (Memory), RESET_VALUE=3D0
 */
/*
  FACS: Length=3D64, HwSig=3D0x00000000, Firm_Wake_Vec=3D0x00000000
        Global_Lock=3D
        Flags=3D
        Version=3D0
 */
/*
  DSDT: Length=3D15655, Revision=3D1, Checksum=3D6,
        OEMID=3DINTELR, OEM Table ID=3DAWRDACPI, OEM Revision=3D0x1000,
        Creator ID=3DMSFT, Creator Revision=3D0x100000e
 */
/*
  MCFG: Length=3D60, Revision=3D1, Checksum=3D46,
        OEMID=3DIntelR, OEM Table ID=3DAWRDACPI, OEM Revision=3D0x42302e31,
        Creator ID=3DAWRD, Creator Revision=3D0x0

        Base Address=3D 0x00000000e0000000
        Segment Group=3D 0x0000
        Start Bus=3D 0
        End Bus=3D 0
 */
/*
  APIC: Length=3D104, Revision=3D1, Checksum=3D200,
        OEMID=3DIntelR, OEM Table ID=3DAWRDACPI, OEM Revision=3D0x42302e31,
        Creator ID=3DAWRD, Creator Revision=3D0x0
        Local APIC ADDR=3D0xfee00000
        Flags=3D{PC-AT}

        Type=3DLocal APIC
        ACPI CPU=3D0
        Flags=3D{ENABLED}
        APIC ID=3D0

        Type=3DLocal APIC
        ACPI CPU=3D1
        Flags=3D{ENABLED}
        APIC ID=3D1

        Type=3DIO APIC
        APIC ID=3D2
        INT BASE=3D0
        ADDR=3D0x00000000fec00000

        Type=3DINT Override
        BUS=3D0
        IRQ=3D0
        INTR=3D2
        Flags=3D{Polarity=3Dconforming, Trigger=3Dconforming}

        Type=3DINT Override
        BUS=3D0
        IRQ=3D9
        INTR=3D9
        Flags=3D{Polarity=3Dactive-hi, Trigger=3Dlevel}

        Type=3DLocal NMI
        ACPI CPU=3D0
        LINT Pin=3D1
        Flags=3D{Polarity=3Dactive-hi, Trigger=3Dedge}

        Type=3DLocal NMI
        ACPI CPU=3D1
        LINT Pin=3D1
        Flags=3D{Polarity=3Dactive-hi, Trigger=3Dedge}
 */


> --
> John Baldwin
>



--=20
cheers
mars



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