Bug 57231 - Power off does not work on Compal PBL21/PBL21
Summary: Power off does not work on Compal PBL21/PBL21
Status: ASSIGNED
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: x86-64 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: platform_x86_64@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-28 01:22 UTC by Aaron Lu
Modified: 2014-02-18 02:04 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.9.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump (200.79 KB, text/plain)
2013-04-28 01:22 UTC, Aaron Lu
Details

Description Aaron Lu 2013-04-28 01:22:31 UTC
Created attachment 100171 [details]
acpidump

Matthieu:

Each time I'm powering of my notebook with the shutdown menu of gnome-shell, or
a "shutdown -h now"  command, the system halts but does never power off.

It used to worked when I bought the computer. And I can check this
with a live CD:

* Ubuntu 2.6.32.41+drm33.18 (started from the Ubuntu 10.04.3 LTS live
   CD)

Since then, I tried:

* Debian 3.0.0-6 (which is very close to upstream stable v3.0.8)
* Debian 3.1.0-1~experimental.1 (which is basically linus's v3.1)
* Debian 2.6.32-39 (close to longterm v2.6.32.43)
* Ubuntu 3.0.0-12.20-generic (3.0.4 ? started from the Ubuntu live CD)

* And this morning, I downloaded, compiled and ran 3.8.10 from
   kernel.org without more success.
Comment 1 Aaron Lu 2013-04-28 01:24:32 UTC
Reported in linux-acpi ml:
http://marc.info/?l=linux-acpi&m=136707297131682&w=2

Also in debian bugzilla:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648754
Comment 2 Matthieu Dubuget 2013-04-28 08:33:14 UTC
The computer:

| [    0.000000] DMI: Compal PBL21/PBL21, BIOS 1.71 04/19/2011

In the meantime, I upgraded the BIOS (no effect):

[    0.000000] DMI: Compal PBL21/PBL21, BIOS 2.70 11/14/2011

I will try to narrow the revision at which the problems appears.
Comment 3 Matthieu Dubuget 2013-04-28 16:36:45 UTC
From a lot of tests, it appears that:

- the two live cd of ubuntu 12.04.2 for amd64 and i686 have different behaviour:
  * i386 seems to work (powering of the computer after CD ejection)
  * amd64 isn't

  I did a acpidump on both, systems, with the very same dump according to diff.

Currently downloading more recent live CDs (Ubuntu, mint) in order to test again 32 bits and 64 bits version.
Comment 4 Matthieu Dubuget 2013-04-29 07:10:11 UTC
It seems that the problem reported is not a regression in acpi, but a
bug in the amd64 version. For all the live systems I tested, each
time I used a 386/686 version it worked fine, each time I tried a
amd64 version it failed.

Hoping this will help narrowing the bug!

From now on, I'm not sure about what I could do to understand the
problem?

Maybe a kernel recompilation with some debugging options added? But
which?

Salutations, and thanks for your help
Comment 5 Aaron Lu 2013-05-06 01:17:35 UTC
So the 64bit kernel can't power off while 32bit kernel can, right?

Did you try more 64bit kernels from Ubuntu's mainline kernel build site?
http://kernel.ubuntu.com/~kernel-ppa/mainline/
Comment 6 Matthieu Dubuget 2013-05-14 18:21:08 UTC
> So the 64bit kernel can't power off while 32bit kernel can, right?

That's it!


>Did you try more 64bit kernels from Ubuntu's mainline kernel build site?

Well I tried some, randomly. And before that, I had compiled version 3.8.10 downloaded from kernel.org.

The day I did all those tests, mainly with live CD, I realized that the working versions were all 32 bit, and that the 64 bit version were not working.

Testing 64 bit precompiled version is quite fast. To test 32 bits version, I used live CD, or I would have to install it on one external hard drive.

Thanks
Comment 7 Matthieu Dubuget 2013-05-24 13:59:13 UTC
Hello,

I did two more tests, just to make sure:

I386

- Installation of Ubuntu 13.04 i386 on one external hard disk
- wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-raring/linux-image-3.9.0-030900-generic_3.9.0-030900.201304291257_i386.deb
- sudo dpkg -i linux-image-3.9.0-030900-generic_3.9.0-030900.201304291257_i386.deb 
- reboot
- shutdown works OK


AMD64

- Installed Ubuntu 13.04 AMD64 on one external hard disk
- wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-raring/linux-image-3.9.0-030900-generic_3.9.0-030900.201304291257_amd64.deb
- sudo dpkg -i linux-image-3.9.0-030900-generic_3.9.0-030900.201304291257_amd64.deb 
- reboot
- shutdown: the computer never powered off

Salutations
Comment 8 Aaron Lu 2013-06-28 05:40:14 UTC
Sorry for replying late.
Is there a working 64bit kernel?
Comment 9 Matthieu Dubuget 2013-06-28 06:39:38 UTC
No problem.

> Is there a working 64bit kernel?

Short answer: No.

More scientific answer: I did not found any 64 bit kernel that is working. 

Cheers
Comment 10 Aaron Lu 2013-12-11 02:31:28 UTC
For a 64 bits kernel, please add acpi=rsdt to kernel cmdline and see what happens.
Comment 11 Matthieu Dubuget 2013-12-11 17:23:10 UTC
Thanks for your suggestion, Aaron.

I added acpi=rsdt to the kernel cmdline.

> Dec 11 18:08:03 keynuxmatt kernel: [    0.000000] Command line:
> BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/keynuxmatt-root ro
> acpi=rsdt quiet

This is not a pure kernel, but the current one provided by debian.

I noticed no amelioration when shutting down the system.

Should I check anything special, except from a more recent kernel?

Salutations
Comment 12 Matthieu Dubuget 2013-12-11 17:37:33 UTC
A second try with one kernel from Ubuntu's mainline kernel build site did not better (linux-image-3.12.4-031204-generic_3.12.4-031204.201312081207_amd64.deb).

Cheers
Comment 13 Aaron Lu 2014-02-18 02:04:35 UTC
Re-assign to x86-64.

Summary of the bug: 64bits kernel can not power off while 32bits can.

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