Bug 2416 - S5 fails if RTC driver used - TravelMate630
Summary: S5 fails if RTC driver used - TravelMate630
Status: REJECTED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Off (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Alexey Starikovskiy
URL:
Keywords:
: 2417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-01 06:34 UTC by Lukasz Stelmach
Modified: 2004-11-14 19:48 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Shutdown LAPIC at poweroff (1.80 KB, patch)
2004-10-20 02:54 UTC, Alexey Starikovskiy
Details | Diff

Description Lukasz Stelmach 2004-04-01 06:34:46 UTC
Distribution: Slackware 9
Hardware Environment: Acer TravelMate 630
Software Environment:
Problem Description:

"acpi_poweroff called" (or so) message is displayd but power remains on.
I have used 2.6.0 and it worked fine. Lately i have switched to 2.6.4
without any other changes and this happens.

Steps to reproduce:
Comment 1 Lukasz Stelmach 2004-04-01 06:48:37 UTC
*** Bug 2417 has been marked as a duplicate of this bug. ***
Comment 2 Lukasz Stelmach 2004-04-05 02:33:50 UTC
Steps to reproduce:  
   
This happens after kernel time has been set from rtc (hwclock --hctosys). The  
simpliest way to reproduce is to boot kernel with init=/bin/bash and run  
hwclock.  
  
What is the relation of kernel clock to ACPI? 
Comment 3 Lukasz Stelmach 2004-04-07 06:32:15 UTC
Wrokaround:

Use GEN_RTC (possibly with GEN_RTC_X option) instead of RTC driver for hardware 
realtime clock. This works good at least for me. 

However, it is still strange because the only difference between RTC driver in 
2.6.0 and 2.6.4 are memset() invocations to zero some structeres. The bug 
probably is in ACPI code :-(
Comment 4 Moshe Caspi 2004-04-15 03:50:25 UTC
Got the same problem on an old machine/bios, using APM, Mandrake 10.1 with  
kernel 2.6.3.  
Comment 5 Bernd Wurst 2004-04-26 09:39:06 UTC
I can confirm this bug and the workaround for my Acer TravelMate 630. 
 
As soon as I do not use the RTC driver, the laptop does power off correctly. 
Comment 6 Alexey Starikovskiy 2004-09-09 07:44:47 UTC
Could you please test if latest kernel (say 2.6.9-rc1) has this problem?
If yes, could you please give us dmesg output? 
Comment 7 Alexey Starikovskiy 2004-10-20 02:54:27 UTC
Created attachment 3864 [details]
Shutdown LAPIC at poweroff

Could you please try the following patch? It looks like forcefully enabled APIC

should be disabled before power off...
Comment 8 Len Brown 2004-11-05 22:26:31 UTC

    
Comment 9 Len Brown 2004-11-14 19:48:00 UTC
no submitter feedback in 6 months, assuming this bug is dead.
please re-open if it isn't.

Note You need to log in before you can comment on or make changes to this bug.