[faber_at_ISI.EDU: power mgmt woes on CURRENT with Dell Latitude C610]

From: Ted Faber <faber_at_ISI.EDU>
Date: Fri, 12 Mar 2004 18:24:14 -0800
I sent this imcomplete problem report to hackers earlier before I read
the appropriate handbook pages.  All this stuff remains true.  I've also
tried setting hw.acpi.disable_on_poweroff both ways and fooling with the
osname.  The only settings of those two that produced a change was
"Microsoft Windows NT" and  hw.acpi.disable_on_poweroff=0 which caused
the power cycle  omn resume instead of suspend.

There's a dmesg from a boot -v with ACPI at
http://www.isi.edu/~faber/tmp/dmesg.boot

Booting without ACPI stops at 0xc00fc42f with "Fatal trap 12: page fault
while in kernel mode." Typing trace at the debug prompt gives:
kernbase(b0a, c075684d, c00fbc50, c00fbc52, c0c21a9c) at 0xc00fc42f
I couldn't get a dmesg from that.

sysctl hw.acpi gives:
hw.acpi.supported_sleep_state: S1 S3 S4 S5 
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 5
hw.acpi.s4bios: 1
hw.acpi.verbose: 1
hw.acpi.disable_on_poweroff: 1
hw.acpi.reset_video: 1
hw.acpi.cpu.cx_supported: C1/0 C2/50 C3/50
hw.acpi.cpu.cx_lowest: 0
hw.acpi.cpu.cx_history: 225859/0 0/0 0/0
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: 3227
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3732
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.acline: 1
hw.acpi.battery.life: 123
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5

The ASL is available from
http://www.isi.edu/~faber/tmp/faber-dell-latitude-c610.asl

The kernel is CURRENT from wednesday noonish and I upgraded the bios to
A16 this morning.

If I'm still short info or in the wrong place (again) let me know.

----- Forwarded message from Ted Faber <faber_at_ISI.EDU> -----

From: Ted Faber <faber_at_ISI.EDU>
Date: Fri, 12 Mar 2004 10:28:31 -0800
To: freebsd-hackers_at_freebsd.org
Subject: power mgmt woes on CURRENT with Dell Latitude C610
X-url: http://www.isi.edu/~faber
X-Spam-Level: 
X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham 
	version=2.63

Hi.

I just upgraded my laptop (Dell Latitude C610 A16 BIOS) to CURRENT and
most things work dandy.  However, I'm having trouble getting power
management to work.  Suspending the laptop is abig deal for me, so I'd
like to get a decent workaround or fix and I'm happy to help.

Here are the details.

With ACPI enabled, sleeping to S1 leaves the LCD on and fan running,
sleeping to S3 suspends the way apm did under 4.9, but immediately after
suspend is complete (screen goes out, fan stops) the keyboard LEDs flash
and the system reboots from power off.  Not so good.

I can't turn ACPI off, because I panic (page fault in supervisor mode)
on boot up.  It looks like pcib is expecting acpi to be there, though it
isn't.  Apm worked fine under 4.9, so I think if I could get ACPI out of
the way, I could use apm again and be happy.

I've tried many combinations of partially disabling ACPI and kernels
with and without SMP and apic.

This is really easy to reproduce with GENERIC, and I'm happy to
experiment and pass on debugging results if someone's interested in the
data.  Let me know what you need.

I'd love to get this working, so I can play with -CURRENT more.


----- End forwarded message -----

-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG 

Received on Fri Mar 12 2004 - 17:24:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC