If AC electrical cable is plugged in then certain model Toshiba laptops reboot instead of shutdown

Bug #1048631 reported by Vardai Mark
38
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Joseph Salisbury
Precise
Fix Released
Medium
Joseph Salisbury
Quantal
Fix Released
Medium
Joseph Salisbury
Raring
Fix Released
Medium
Joseph Salisbury

Bug Description

Hi,

I've just installed Ubuntu 12.04 on my new laptop: Toshiba Satellite C855-10M. I'm satisfied with it, but I found the following problem. When I try to shutdown the computer with the menu item Shutdown or with console command shutdown -P now or halt, then instead of shutdown the computer reboots. Under windows 7 the computer does shutdown. I tried out the acpi=noirq AND/OR acpi:osi="Linux" kernel parameterS but they do not help. I tried out the acpi=off param, and then I see that the last message is System will halt now. An important thing that this happens only if the power cable is plugged in, if it is removed then the computer shutdown perfectly. In the bios every wake up functionality is switched off, but as I said under windows 7 none of the bios setting caused any problem and under ubuntu does not solved this issue. Please help me what I can do here to avoid this strange behaviour. I've checked the solutions for similar errors, but those solutions were not working for me and as I said this behaviour occurs only the case if electric cable is plugged in.

Thanks and regards,
Mark
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: taszilo 2708 F.... pulseaudio
CRDA:
 country CN:
  (2402 - 2482 @ 40), (N/A, 20)
  (5735 - 5835 @ 40), (N/A, 30)
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xc2510000 irq 45'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:10ec0269,1179fb31,00100202 HDA:80862806,1179fb41,00100000'
   Controls : 22
   Simple ctrls : 10
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=34e7ccd7-67ee-41f7-970e-cd745236a0cc
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MachineType: TOSHIBA SATELLITE C855-10M
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-31-generic root=UUID=036029c1-7ef9-478c-91d0-7e753428ce7c ro quiet splash acpi_osi=Linux vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-31-generic N/A
 linux-backports-modules-3.2.0-31-generic N/A
 linux-firmware 1.79.1
StagingDrivers: mei
Tags: precise running-unity staging
Uname: Linux 3.2.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/27/2012
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.60
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Type2 - Board Product Name1
dmi.board.vendor: Type2 - Board Vendor Name1
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis Manufacturer
dmi.chassis.version: OEM Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.60:bd06/27/2012:svnTOSHIBA:pnSATELLITEC855-10M:pvrPSKC8E-00L00DHU:rvnType2-BoardVendorName1:rnType2-BoardProductName1:rvrType2-BoardVersion:cvnOEMChassisManufacturer:ct10:cvrOEMChassisVersion:
dmi.product.name: SATELLITE C855-10M
dmi.product.version: PSKC8E-00L00DHU
dmi.sys.vendor: TOSHIBA
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: taszilo 2708 F.... pulseaudio
CRDA:
 country CN:
  (2402 - 2482 @ 40), (N/A, 20)
  (5735 - 5835 @ 40), (N/A, 30)
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xc2510000 irq 45'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:10ec0269,1179fb31,00100202 HDA:80862806,1179fb41,00100000'
   Controls : 22
   Simple ctrls : 10
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=34e7ccd7-67ee-41f7-970e-cd745236a0cc
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MachineType: TOSHIBA SATELLITE C855-10M
Package: linux 3.2.0.31.34
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-31-generic root=UUID=036029c1-7ef9-478c-91d0-7e753428ce7c ro quiet splash acpi_osi=Linux vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-31-generic N/A
 linux-backports-modules-3.2.0-31-generic N/A
 linux-firmware 1.79.1
StagingDrivers: mei
Tags: precise running-unity staging
Uname: Linux 3.2.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/27/2012
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.60
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Type2 - Board Product Name1
dmi.board.vendor: Type2 - Board Vendor Name1
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis Manufacturer
dmi.chassis.version: OEM Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.60:bd06/27/2012:svnTOSHIBA:pnSATELLITEC855-10M:pvrPSKC8E-00L00DHU:rvnType2-BoardVendorName1:rnType2-BoardProductName1:rvrType2-BoardVersion:cvnOEMChassisManufacturer:ct10:cvrOEMChassisVersion:
dmi.product.name: SATELLITE C855-10M
dmi.product.version: PSKC8E-00L00DHU
dmi.sys.vendor: TOSHIBA

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1048631/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1048631

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: If electrical cable is plugged in then Toshiba Satellite C855-10M reboots instead of shoutdown

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.6 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc5-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Revision history for this message
Vardai Mark (vardai-mark) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise running-unity staging
description: updated
Revision history for this message
Vardai Mark (vardai-mark) wrote : AlsaDevices.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : AplayDevices.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : BootDmesg.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : IwConfig.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Lspci.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Lsusb.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : PciMultimedia.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : ProcModules.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : PulseList.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : RfKill.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : UdevDb.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : UdevLog.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : WifiSyslog.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : AcpiTables.txt

apport information

description: updated
Revision history for this message
Vardai Mark (vardai-mark) wrote : AlsaDevices.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : AplayDevices.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : BootDmesg.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Dependencies.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : IwConfig.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Lspci.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Lsusb.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : PciMultimedia.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : ProcModules.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : PulseList.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : RfKill.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : UdevDb.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : UdevLog.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : WifiSyslog.txt

apport information

Revision history for this message
Vardai Mark (vardai-mark) wrote : Re: If electrical cable is plugged in then Toshiba Satellite C855-10M reboots instead of shoutdown

Hi,

I've just tried out the upstream kernel 3.6 but the error still exists, If the power cable is plugged in and of course it is under power then the computer reboots after around 5 seconds.

Regards,
Mark

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Revision history for this message
Philip Wyett (philip-wyett-deactivatedaccount) wrote :
Changed in linux:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Philip Wyett (philip-wyett-deactivatedaccount) wrote :

Bump.

This bug affects raring, quantal and precise. Are we likely to see this patch with very little regression ability backported quite soon as it affects a whole slew of laptops made by one oem?

summary: - If electrical cable is plugged in then Toshiba Satellite C855-10M
- reboots instead of shoutdown
+ If AC electrical cable is plugged in then certain model Toshiba laptops
+ reboot instead of shutdown
Revision history for this message
Philip Wyett (philip-wyett-deactivatedaccount) wrote :

Comment #22 - https://bugzilla.kernel.org/show_bug.cgi?id=35262#c22

A patch referencing this bug report has been merged in Linux v3.8-rc1:

commit b7e383046c2c7c13ad928cd7407eafff758ddd4b
Author: Zhang Rui <email address hidden>
Date: Tue Dec 4 23:23:16 2012 +0100

    ACPI : do not use Lid and Sleep button for S5 wakeup

Changed in linux (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Joseph Salisbury (jsalisbury)
status: Triaged → In Progress
Revision history for this message
Philip Wyett (philip-wyett-deactivatedaccount) wrote :

Tested my Toshiba L850-112 laptop with mainline kernel:

  - http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc2-raring/

Kernel type: amd64

Laptop shuts down _correctly_ with this kernel installed thus showing patch to be good.

Reverting back to lts-quantal kernel, the bug returns.

Changed in linux (Ubuntu Quantal):
status: New → In Progress
importance: Undecided → Medium
Changed in linux (Ubuntu Precise):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Quantal):
assignee: nobody → Joseph Salisbury (jsalisbury)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a Precise and Quantal test kernel with commit b7e38304 applied. The test kernels are available from:

Precise: http://people.canonical.com/~jsalisbury/lp1048631/precise/
Quantal: http://people.canonical.com/~jsalisbury/lp1048631/quantal/

Can you test those kernels and post back if they resolve this bug?

Thanks in advance!

Changed in linux (Ubuntu Raring):
status: In Progress → Fix Committed
Revision history for this message
Philip Wyett (philip-wyett-deactivatedaccount) wrote :

Tested both supplied patched kernels from GUI and terminal for clean shutdown.

Both supplied patched kernels work as expected and cleanly shutdown my Toshiba laptop.

Revision history for this message
Philip Wyett (philip-wyett-deactivatedaccount) wrote :

Has this fix been scheduled for a release into precise / quantal as yet?

Changed in linux (Ubuntu Precise):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Quantal):
status: In Progress → Fix Committed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This bug is fixed in v3.2.37 stable with commit:
5afa0c0ec8b0db87309af1fa8a006ee343818b84

The fix will make it into Precise when the 3.2.37 updates are applied through the normal stable update process.

This bug is fixed in Ubuntu-3.5.0-24.36 with the following commit:
4a6f9af593b5fe8ed1a7debae08990d5f4d58def

The fix is now in the -proposed repository for Quantal and will make it in the Quantal through the normal update process.

Changed in linux (Ubuntu Raring):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Quantal):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.