(sorry, lost the thread to reply to ...)

i've resolved this, sort of ...

i've successfully updated my 10.1 box to 10.2.

on 10.1, when i,

    shutdown -h now

the box halted services then powered-off automatically.

on 10.2 all services etc are 'halted', but i only get as far as,

  ...
  skipped services in runlevel 0: nfs
  stty: shutdown input: unable to perform all requested operations

and the system hangs there.  poweroff further requires me to
push/toggle the power button.

again, this is *different* behavior that the same box/setup with opensuse 10.1.

googling, my suspicion is this may be related to acpi/apm, but i'm not
certain.  lots of questions raised online, but no definitive answers
that i've found.

given that ACPI/APM is an "either-or" *not* 'both' selection, i've
setup my box as,

 /root# cat /boot/grub/menu.lst
   # Modified by YaST2. Last modification on Sun Dec 10 21:57:03 PST 2006
   default 0
   timeout 8
   gfxmenu (hd0,0)/message

   title OpenSuSE 10.2
       root (hd0,0)
       kernel /vmlinuz-2.6.18.2-34-default root=/dev/hda3
resume=/dev/hda2 apm=on acpi=off splash=silent showopts elevator=
       initrd /initrd-2.6.18.2-34-default

   title Failsafe -- OpenSuSE 10.2
       root (hd0,0)
       kernel /vmlinuz-2.6.18.2-34-default root=/dev/hda3 showopts
ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
       initrd /initrd-2.6.18.2-34-default

 /root# dmesg | grep apm
   Kernel command line: root=/dev/hda3 resume=/dev/hda2 apm=on
acpi=off splash=silent elevator=
   apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)

 /root# dmesg | grep acpi
   Kernel command line: root=/dev/hda3 resume=/dev/hda2 apm=on
acpi=off splash=silent elevator=

 /root# ps ax | grep apm
      51 ?        S      0:00 [kapmd]
    3091 ?        Ss     0:00 /usr/sbin/apmd -w 10 -P /usr/sbin/apmd_proxy
    3617 pts/1    S+     0:00 grep apm

 /root# ps ax | grep acpi
    3619 pts/1    R+     0:00 grep acpi

 /root#


this box is an 'old' 1GHz/PIII (runs beautifully with opensuse, btw!)
Compaq iPaq Legacy-Free.

i checked in the specs for the motherboard on my box.


from the manual, it DOES suppport BOTH 'apm' & 'apci',

        8.6.2 ACPI SUPPORT
        This system meets the hardware and firmware requirements for being
ACPI compliant. The  BIOS
        function INT 15 AX=E845h can be used to check or set the ACPI
enable/disable status of the
        system, which defaults to the "ACPI enabled" state.  The setup option
for ACPI should be disabled
        if APM/PnP is to be used with Windows 98 or when disabling power
management and PnP
        support for NT5.0. A hardware redetection should be made with Windows
98 and a reinstall of
        Windows NT5.0 should be performed when an ACPI switch is made.  This
system supports the
        following ACPI functions:
        
                ♦ PM timer
                ♦ Power button
                ♦ Power button override
                ♦ RTC alarm
                ♦ Sleep/Wake logic (S1, S4 (NT), S5
                ♦ Legacy/ACPI select
                ♦ C1 state (Halt)
                ♦ C2 state (STOPGRANT)
                ♦ C3 state (no clock)
                ♦ PCI PME
        
        8.6.3 APM 1.2 SUPPORT
        Advanced Power Management (APM) BIOS support provides interaction
between the BIOS ROM
        and the operating system (OS). The BIOS advises the OS when a power
state transition should
        occur. The OS then notifies the appropriate driver(s) and reports
back to the BIOS.
        For maximum energy-conservation benefit, APM functionality should be
implemented using the
        following three layers:
        
                ♦ BIOS layer (APM BIOS (ver. 1.2, 1.1, 1.0))
                ♦ Operating system (OS) layer (APM driver)
                ♦ Application layer (APM-aware application or device driver)


because, in earlier snooping-around, i found in dmesg,

        ACPI: BIOS age (2000) fails cutoff (2001), acpi=force is required to
enable ACPI

i'd presumed ACPI was "bad", and the supported APM was "good".

turns out NOT to be the case.

by changing grub kernl opts to,

        apm=off acpi=force

after ENABLE(acpid) & DISABLE(apmd) & reboot, dmesg now reports

        % dmesg | grep -i acpi
                ACPI: RSDP (v000 COMPAQ                                ) @ 
0x000e0010
                ACPI: RSDT (v001 COMPAQ CPQB1A0  0x20000329  0x00000000) @ 
0x000e0080
                ACPI: FADT (v001 COMPAQ VISTA    0x00000001  0x00000000) @ 
0x000e00ec
                ACPI: SSDT (v001 COMPAQ VILLTBL1 0x00000001 MSFT 0x0100000d) @ 
0x000e0913
                ACPI: SSDT (v001 COMPAQ      IDE 0x00000001 MSFT 0x0100000d) @ 
0x000e1799
                ACPI: SSDT (v001 COMPAQ PNP_PRSS 0x00000001 MSFT 0x0100000d) @ 
0x000e1848
                ACPI: SSDT (v001 COMPAQ       S1 0x00000001 MSFT 0x0100000d) @ 
0x000e1ef5
                ACPI: SSDT (v001 COMPAQ   PIDETM 0x00000001 MSFT 0x0100000d) @ 
0x000e1f9e
                ACPI: SSDT (v001 COMPAQ     GTF0 0x00000001 MSFT 0x0100000d) @ 
0x000e2038
                ACPI: DSDT (v001 COMPAQ     DSDT 0x00000001 MSFT 0x0100000d) @ 
0x00000000
                ACPI: BIOS age (2000) fails cutoff (2001), acpi=force is 
required to
enable ACPI
                ACPI: acpi=force override
                ACPI: PM-Timer IO Port: 0xf808
                Kernel command line: root=/dev/hda3 resume=/dev/hda2 apm=off
acpi=force splash=silent elevator=
                ACPI: Core revision 20060707
                ACPI: setting ELCR to 0200 (from 08a0)
                ACPI: bus type pci registered
                ACPI: Interpreter enabled
                ACPI: Using PIC for interrupt routing
                ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11)
                ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11)
                ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11) *0, 
disabled.
                ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 10 11)
                ACPI: PCI Root Bridge [PCI0] (0000:00)
                ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
                PCI quirk: region f800-f87f claimed by ICH4 ACPI/GPIO/TCO
                ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
                ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
                pnp: PnP ACPI init
                pnp: PnP ACPI: found 10 devices
                PnPBIOS: Disabled by ACPI PNP
                PCI: Using ACPI for IRQ routing
                ACPI: (supports S0 S1 S4 S5)
                ACPI: CPU0 (power states: C1[C1] C2[C2])
                ACPI: Processor [CPU0] (supports 8 throttling states)
                Time: acpi_pm clocksource has been installed.
                ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
                ACPI: PCI Interrupt 0000:00:1f.2[D] -> Link [LNKD] -> GSI 7 
(level,
low) -> IRQ 7
                ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
                ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 5 
(level,
low) -> IRQ 5
                ACPI: PCI Interrupt 0000:01:01.0[A] -> Link [LNKD] -> GSI 7 
(level,
low) -> IRQ 7
                ACPI: Power Button (FF) [PWRF]
                ACPI: Sleep Button (CM) [SBTN]


and the power-off behavior is, once again, "automatic".

in opensuse 10.1 i most certainly had NOT "focred" apci, so, i'm
guessing that the recent opensuse/kernel update moved the cutoff date
check for BIOS age, and now requires "acpi=force".

thanks.

Reply via email to