Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 21:51:03 +1100
From:      Anthony Maher <Anthony.Maher@uts.edu.au>
To:        Nate Lawson <nate@root.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: acpi C2/3 problems?
Message-ID:  <f5b29ce27908.441f23c7@uts.edu.au>
In-Reply-To: <441E60C1.6030601@root.org>
References:  <441E60C1.6030601@root.org>

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

[-- Attachment #1 --]

Nate Lawson wrote:

>> Just to be sure, you're not claiming defaults/rc.conf on 6.x has the
>> setting for Cx to LOW.  I never MFCd that and just double-checked now.
>> 
>> You're saying that you had your own settings for that in rc.conf, and
>> that it stopped working correctly.

That is correct.
In /etc/rc.conf I had
###performance_cx_lowest="LOW"
###economy_cx_lowest="LOW"

which are now commented out as shown.


>> When did the regression occur exactly?

Cannot say exactly. Since its my laptop I dont keep full logs.
>From some root mails (from when I leave it on overnite) I see

>> FreeBSD 5.4-RELEASE #8: Fri Sep 16 09:50:58 EST 2005
>> FreeBSD 5.4-STABLE #0: Tue Oct  4 22:28:44 EST 2005
>> FreeBSD 5.4-STABLE #1: Sat Jan 14 10:37:35 EST 2006
>> FreeBSD 5.5-PRERELEASE #2: Thu Mar  2 20:45:25 EST 2006
>> FreeBSD 6.1-PRERELEASE #1: Fri Mar  3 07:04:00 EST 2006

root  wheel  7331390 Mar  2 19:59 checkouts.cvs:RELENG_5
root  wheel  8117041 Mar  2 22:05 checkouts.cvs:RELENG_6_0_0_RELEASE

I finally decided to upgrade on Thu Mar 2 so went to RELENG_5 as
intermediate step before going to 6-Release then to RELENG_6.
I did not notice anything stange on RELENG_5 or 6-release but I only ran
them  briefly before upgrading to RELENG_6. And while machine was busy
doing buildworlds/rebuilding ports it appeared to be ok.
It was definitely ok on 5.4-STABLE.

>> Nothing has changed in the acpi code in that area for years so
>> I'm surprised if it broke for you between 5.4 and 6.1.  I'm suspicious
>> that another device is remapping those IO ports or something.  Could you
>> send the output of devinfo -r on the broken and non-broken versions (say
>> use a 5.4 livecd or something)?

Here is the diff between the two outputs (which also are attached):

diff 5.4/devinfo-r 6.1/devinfo-r 
58,59c58,59
<     acpi_cmbat0
<     acpi_cmbat1
---
>     battery0
>     battery1
104a105,109
>         ehci0
>             I/O memory addresses:
>                 0xffa80800-0xffa80bff
>           usb4
>             uhub4
111a117,126
>             iwi0
>                 I/O memory addresses:
>                     0xdfbff000-0xdfbfffff
>         pcm0
>             I/O ports:
>                 0xec40-0xec7f
>                 0xed00-0xedff
>             I/O memory addresses:
>                 0xdffffd00-0xdffffdff
>                 0xdffffe00-0xdfffffff
133a149,150
>             ad0
>               subdisk0
136a154
>             acd0
166a185,191
>     pci_link0
>     pci_link1
>     pci_link2
>     pci_link3
>     pci_link4
>     pci_link5
>     pci_link6

thanks
--
tonym

[-- Attachment #2 --]
nexus0
  npx0
  acpi0
      Interrupt request lines:
          0x9
      I/O ports:
          0x20-0x21
          0x2e-0x2f
          0x4e-0x4f
          0x86
          0x92
          0xa0-0xa1
          0xb2
          0xb3
          0x4d0-0x4d1
          0x900-0x90f
          0x910-0x91f
          0x920-0x92f
          0x930-0x93b
          0x93c-0x93f
          0x940-0x97f
          0x1000-0x1005
          0x1006-0x1007
          0x1008-0x1059
          0x1060-0x107f
          0x1080-0x10bf
          0x10c0-0x10df
          0x10e0-0x10ff
          0xf400-0xf4fe
      I/O memory addresses:
          0x0-0x9fbff
          0x9fc00-0x9ffff
          0xc0000-0xcffff
          0xe0000-0xfffff
          0x100000-0x3ffd7fff
          0x3ffd8000-0x3fffffff
          0xe0000000-0xefffffff
          0xf0000000-0xf0003fff
          0xf0004000-0xf0004fff
          0xf0005000-0xf0005fff
          0xf0006000-0xf0006fff
          0xf0008000-0xf000bfff
          0xfec00000-0xfec0ffff
          0xfed20000-0xfed9ffff
          0xfeda0000-0xfedfffff
          0xfee00000-0xfee0ffff
          0xffb00000-0xffffffff
    cpu0
        I/O ports:
            0x1014
            0x1015
            0x1016
      acpi_throttle0
          I/O ports:
              0x10e0-0x10e3
      cpufreq0
    acpi_acad0
    acpi_cmbat0
    acpi_cmbat1
    acpi_lid0
    acpi_button0
    acpi_button1
    acpi_sysresource0
    pcib0
      pci0
        hostb0
        pcib1
          pci1
        pcib2
          pci2
            bge0
                Interrupt request lines:
                    0x10
                I/O memory addresses:
                    0xdfcf0000-0xdfcfffff
              miibus0
                brgphy0
        uhci0
            I/O ports:
                0xbf80-0xbf9f
          usb0
            uhub0
        uhci1
            Interrupt request lines:
                0x11
            I/O ports:
                0xbf60-0xbf7f
          usb1
            uhub1
        uhci2
            Interrupt request lines:
                0x12
            I/O ports:
                0xbf40-0xbf5f
          usb2
            uhub2
              ums0
        uhci3
            Interrupt request lines:
                0x13
            I/O ports:
                0xbf20-0xbf3f
          usb3
            uhub3
        pcib3
          pci3
            cbb0
                I/O memory addresses:
                    0xdfb00000-0xdfb00fff
              cardbus0
              pccard0
        isab0
          isa0
            sc0
            vga0
                I/O ports:
                    0x3c0-0x3df
                I/O memory addresses:
                    0xa0000-0xbffff
            orm0
                I/O memory addresses:
                    0xc0000-0xcffff
            pmtimer0
        atapci0
            I/O ports:
                0x170-0x177
                0x1f0-0x1f7
                0x376
                0x3f6
                0xbfa0-0xbfaf
          ata0
              Interrupt request lines:
                  0xe
          ata1
              Interrupt request lines:
                  0xf
    acpi_sysresource1
    acpi_sysresource2
    psmcpnp0
        Interrupt request lines:
            0xc
    atkbdc0
        I/O ports:
            0x60
            0x64
      atkbd0
          Interrupt request lines:
              0x1
      psm0
    attimer0
    attimer1
    acpi_sysresource3
    atpic0
    atdma0
    npxisa0
    sio0
        Interrupt request lines:
            0x4
        I/O ports:
            0x3f8-0x3ff
    sio1
        Interrupt request lines:
            0x3
        I/O ports:
            0x2f8-0x2ff
    acpi_sysresource4
    acpi_tz0
    acpi_timer0
        I/O ports:
            0x1008-0x100b

[-- Attachment #3 --]
nexus0
  npx0
  acpi0
      Interrupt request lines:
          0x9
      I/O ports:
          0x20-0x21
          0x2e-0x2f
          0x4e-0x4f
          0x86
          0x92
          0xa0-0xa1
          0xb2
          0xb3
          0x4d0-0x4d1
          0x900-0x90f
          0x910-0x91f
          0x920-0x92f
          0x930-0x93b
          0x93c-0x93f
          0x940-0x97f
          0x1000-0x1005
          0x1006-0x1007
          0x1008-0x1059
          0x1060-0x107f
          0x1080-0x10bf
          0x10c0-0x10df
          0x10e0-0x10ff
          0xf400-0xf4fe
      I/O memory addresses:
          0x0-0x9fbff
          0x9fc00-0x9ffff
          0xc0000-0xcffff
          0xe0000-0xfffff
          0x100000-0x3ffd7fff
          0x3ffd8000-0x3fffffff
          0xe0000000-0xefffffff
          0xf0000000-0xf0003fff
          0xf0004000-0xf0004fff
          0xf0005000-0xf0005fff
          0xf0006000-0xf0006fff
          0xf0008000-0xf000bfff
          0xfec00000-0xfec0ffff
          0xfed20000-0xfed9ffff
          0xfeda0000-0xfedfffff
          0xfee00000-0xfee0ffff
          0xffb00000-0xffffffff
    cpu0
        I/O ports:
            0x1014
            0x1015
            0x1016
      acpi_throttle0
          I/O ports:
              0x10e0-0x10e3
      cpufreq0
    acpi_acad0
    battery0
    battery1
    acpi_lid0
    acpi_button0
    acpi_button1
    acpi_sysresource0
    pcib0
      pci0
        hostb0
        pcib1
          pci1
        pcib2
          pci2
            bge0
                Interrupt request lines:
                    0x10
                I/O memory addresses:
                    0xdfcf0000-0xdfcfffff
              miibus0
                brgphy0
        uhci0
            I/O ports:
                0xbf80-0xbf9f
          usb0
            uhub0
        uhci1
            Interrupt request lines:
                0x11
            I/O ports:
                0xbf60-0xbf7f
          usb1
            uhub1
        uhci2
            Interrupt request lines:
                0x12
            I/O ports:
                0xbf40-0xbf5f
          usb2
            uhub2
              ums0
        uhci3
            Interrupt request lines:
                0x13
            I/O ports:
                0xbf20-0xbf3f
          usb3
            uhub3
        ehci0
            I/O memory addresses:
                0xffa80800-0xffa80bff
          usb4
            uhub4
        pcib3
          pci3
            cbb0
                I/O memory addresses:
                    0xdfb00000-0xdfb00fff
              cardbus0
              pccard0
            iwi0
                I/O memory addresses:
                    0xdfbff000-0xdfbfffff
        pcm0
            I/O ports:
                0xec40-0xec7f
                0xed00-0xedff
            I/O memory addresses:
                0xdffffd00-0xdffffdff
                0xdffffe00-0xdfffffff
        isab0
          isa0
            sc0
            vga0
                I/O ports:
                    0x3c0-0x3df
                I/O memory addresses:
                    0xa0000-0xbffff
            orm0
                I/O memory addresses:
                    0xc0000-0xcffff
            pmtimer0
        atapci0
            I/O ports:
                0x170-0x177
                0x1f0-0x1f7
                0x376
                0x3f6
                0xbfa0-0xbfaf
          ata0
              Interrupt request lines:
                  0xe
            ad0
              subdisk0
          ata1
              Interrupt request lines:
                  0xf
            acd0
    acpi_sysresource1
    acpi_sysresource2
    psmcpnp0
        Interrupt request lines:
            0xc
    atkbdc0
        I/O ports:
            0x60
            0x64
      atkbd0
          Interrupt request lines:
              0x1
      psm0
    attimer0
    attimer1
    acpi_sysresource3
    atpic0
    atdma0
    npxisa0
    sio0
        Interrupt request lines:
            0x4
        I/O ports:
            0x3f8-0x3ff
    sio1
        Interrupt request lines:
            0x3
        I/O ports:
            0x2f8-0x2ff
    acpi_sysresource4
    pci_link0
    pci_link1
    pci_link2
    pci_link3
    pci_link4
    pci_link5
    pci_link6
    acpi_tz0
    acpi_timer0
        I/O ports:
            0x1008-0x100b

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