[Dell Inspiron 11 - 3147] System will hang on reboot / poweroff

Bug #1341925 reported by Po-Hsu Lin
70
This bug affects 12 people
Affects Status Importance Assigned to Milestone
HWE Next
Invalid
Medium
Jesse Sung
linux (Ubuntu)
Invalid
Medium
Jesse Sung

Bug Description

CID: 201403-14888 Dell Inspiron 11 - 3147

While rebooting this system, it will stuck on the Ubuntu splash screen, caps lock LED will be not responding.
This issue happens right after 14.04 installation with USB stick.

If you press F1 right after the Ubuntu splash screen appears, you will see the message indicating it's now rebooting:
* Deactivating swap... [OK]
* Unmounting local filesystems... [OK]
* Will now restart

Steps:
1. Install 14.04, reboot to desktop
2. Try to reboot again

Expect result:
* System could be reboot normally

Actual result:
* It will stuck on the Ubuntu splash screen, the only way to power it off is to hold the power button

Same thing could be apply to "Shut Down"
* Unmounting local filesystems... [OK]
* Will now halt

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-24-generic 3.13.0-24.46 [modified: boot/vmlinuz-3.13.0-24-generic]
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1431 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
CurrentDesktop: Unity
Date: Mon Jul 14 22:25:58 2014
HibernationDevice: RESUME=UUID=b30f45e9-6fc7-4aa0-adff-37e7c87c19cd
InstallationDate: Installed on 2014-07-15 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Dell Inc. Inspiron 11 - 3147
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed root=UUID=cc246aa9-85c1-49ac-b06b-6c0f4e37dbea ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-24-generic N/A
 linux-backports-modules-3.13.0-24-generic N/A
 linux-firmware 1.127
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/05/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 00K010
dmi.board.vendor: Dell Inc.
dmi.board.version: D02
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A01
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd05/05/2014:svnDellInc.:pnInspiron11-3147:pvr:rvnDellInc.:rn00K010:rvrD02:cvnDellInc.:ct8:cvrA01:
dmi.product.name: Inspiron 11 - 3147
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Po-Hsu Lin (cypressyew)
summary: - [Dell Inspiron 11 - 3147] System will stuck on reboot
+ [Dell Inspiron 11 - 3147] System will hang on reboot / poweroff
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Seems that it's something to do with ACPI, since the "Shut Down" option behaves like "shutdown -H"

ubuntu@201403-14888:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
XHC1 S0 *enabled pci:0000:00:14.0
RP01 S4 *disabled pci:0000:00:1c.0
PXSX S4 *disabled
RP02 S4 *disabled
PXSX S4 *disabled
RP03 S4 *disabled
PXSX S4 *disabled
RP04 S4 *disabled
PXSX S4 *disabled
PWRB S4 *enabled
LID0 S3 *enabled

description: updated
Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → Jesse Sung (wenchien)
Revision history for this message
sdee (shanon) wrote :

The same problem exists with suspend/resume when closing the laptop lid.

By adding "acpi=off" as a kernel boot parameter this avoids the hanging on suspend/restart/reboot.

For reference I also tried the following, none of which fixed/avoided the problem.

- ubuntu 14.10 alpha 2
- ubuntu 13.10
- ubuntu 14.04 with mainline kernel version v3.12.26-trusty and v3.16-utopic
- using suspend shell script described here http://askubuntu.com/questions/453372/suspend-is-not-working-after-updating-to-ubuntu-14-04-from-13-10

Revision history for this message
sdee (shanon) wrote :

As per ACPI debug instructions at https://wiki.ubuntu.com/DebuggingACPI I have attached the requested output.

Revision history for this message
sdee (shanon) wrote :
Revision history for this message
sdee (shanon) wrote :

Commentary for kern.log timestamps of actions took

15:29:05 boot up with APCI on
15:31:57 closed lid on laptop to suspend

- opened lid on laptop to resume but got black screen
- held power button for 5 seconds to turn off machine
- pushed power button to turn back on
- tried to boot up with APCI on three times but system hung.
each time it hung the power button was pushed to recycle
the boot process. during this boot failure
there is no kern.log output registered here

15:38:05 boot up succeded with apci=off
15:38:35 did reboot

15:41:00 boot up with APCI on

Revision history for this message
sdee (shanon) wrote :
Revision history for this message
sdee (shanon) wrote :
Revision history for this message
sdee (shanon) wrote :

To further not about the ACPI Debugging.

When using "acpi=ht" the system won't boot, so If acpi=off works and acpi=ht fails, then the issue is in the ACPI table parsing code itself, or perhaps the SMP code.

Revision history for this message
vaiha (vaiha) wrote :

I am using Dell Inspiron 11 3000 2-in-1 (3147) too.

I don't have any luck with acpi=off (Boot up process stuck at ath9k and irq problems)
acpi = force/ht did not help either (Able to boot up)

I tried nolapic with some success (Sometimes it will not boot up, stuck at i2c_designware and irq 32 problems)

I have also tried reboot=(every combination of flags) (Able to boot up)

Currently, it will not shutdown/reboot/resume.

Shutdown and reboot will hang at "will now halt/reboot"

Changed in hwe-next:
assignee: nobody → Jesse Sung (wenchien)
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jesse Sung (wenchien) wrote :

Does it help by installing intel-microcode?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
sdee (shanon) wrote :

With intel-microcode installed there is no change or improvement.

Do you have any other things you want me to try?

Revision history for this message
Jesse Sung (wenchien) wrote :

@sdee, did the system boot up with intel-microcode installed before the reboot/power-off test?

Revision history for this message
sdee (shanon) wrote :

@wenchien yes the system boots up with intel-microcode installed.

$ dmesg | grep microcode
microcode: CPU0 sig=0x30678, pf=0x8, revision=0x809
microcode: CPU1 sig=0x30678, pf=0x8, revision=0x809
microcode: Microcode Update Driver: v2.00 <email address hidden>, Peter Oruba

Then reboot and suspend/resumes tests were done and still failed.

Revision history for this message
vaiha (vaiha) wrote :

[ 7.081484] microcode: CPU0 sig=0x30678, pf=0x8, revision=0x809
[ 7.081503] microcode: CPU1 sig=0x30678, pf=0x8, revision=0x809
[ 7.081519] microcode: CPU2 sig=0x30678, pf=0x8, revision=0x809
[ 7.081530] microcode: CPU3 sig=0x30678, pf=0x8, revision=0x809
[ 7.081637] microcode: Microcode Update Driver: v2.00 <email address hidden>, Peter Oruba

Intel N3530 Inspiron 11 2-in-1 (3147)

Reboot and suspend/resume failed.

Revision history for this message
Jesse Sung (wenchien) wrote :

For N2830 and N3530 a newer microcode is needed. For now we can only wait for new microcode release or a BIOS update.

Changed in hwe-next:
status: Triaged → Incomplete
Revision history for this message
SGriffin (griffin-stewie) wrote :

I have some additional information on this issue since I own this computer and have the same problem:

Ubuntu 13.10 (x64) seems flawless on this machine. Not sure why, but something in 14.04 causes this to happen? It might be unrelated to this exact computer as it happens on a similar machine, the Acer Aspire V3-111P-C9Z3. It also has the Pentium N3530 chip. I do not have access to the Acer anymore though.

Revision history for this message
Grifter SYS0 (grifter-d) wrote :

Interesting. I tried Ubuntu 13.10 (x64) Live USB. Suspend and resume is still not working, but I can shutdown and reboot

The kernel version is 3.11.0-12-generic

Revision history for this message
Jesse Sung (wenchien) wrote :

It would be helpful if we can get the microcode revision of Acer Aspire V3-111P-C9Z3.

Revision history for this message
Seweryn (seweryn-ch) wrote :

There is a new BIOS update called A02, I can't check it now but it should resolve our problem.

Revision history for this message
Grifter SYS0 (grifter-d) wrote :

Tried it. Sadly there are no improvements. Suspend/resume/shutdown and reboot not working. Ubuntu 14.04.1 x64.

Anyone tried Ubuntu 12.04.2 x64 ?
http://www.ubuntu.com/certification/hardware/201403-14889/

Revision history for this message
Jesse Sung (wenchien) wrote :

According to the changelog, there's no microcode update in BIOS A02...
---
- Updated KBC version to 1.27.
- Changed TouchPadSync Algorithms and add touch pad sync timer (10 count).
---

Revision history for this message
Steve Haube (sghaube) wrote :

I am using Linux Mint 17, Cinnamon 64 bit 2.2.16 on Inspiron 11 - 3147
Tried v3.17-rc2 utopic... touch screen did not work.
returned to v3.16.1... touch sceen ok.
still waiting for shutdown/reboot fix.

Revision history for this message
sdee (shanon) wrote :

@grifter

I tried ubuntu 12.04 from USB stick and reboot works properly.

As for suspend/resume this appears not to be supported in 12.04 as a suspend option is not present in the drop down OS menu that contains the logout/reboot/shutdown options. It may require installation to the HDD (rather than running as Live demo from USB) to test that. This also means testing suspend by closing laptop lid is not possible.

Is someone able to install 12.04 and check if suspend is an option once fully installed?

Revision history for this message
vaiha (vaiha) wrote :

I used 12.04.5 iso image. Kernel 3.13.0-32

I'm not able to shutdown/reboot/suspend/resume.

Could it be the kernel version ?

Revision history for this message
James Sparenberg (james-linuxrebel) wrote :

May I request that this bug be upgraded to high priority. (P1) As this is not just a 3147 issue and it's not ACPI related. If you look here. https://www.google.com/?gws_rd=ssl#q=ubuntu+14.04+won%27t+shut+down&spell=1 This is being reported in the forums and across the web in a wide variety of hardware. Right now the solution is fairly straight forward. Install something other than 14.04. This also is reported in but 1346269 as well With different HW. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1346269 Thank you.

Revision history for this message
Gilberto Tanzola (gilberto-tanzola) wrote :

Adding noapic to the kernel command line enabled shutdown/reboot/suspend/resume for me, but it wouldn't boot reliably.
This issue seems to be caused by a buggy driver for the Synopsys Designware I2C DMA controller, which is also used in the HP x360 and various other 2-in-1s and laptops. Blacklisting the dw_dmac kernel module enables shutdown, reboot, and suspend/resume for me on both Arch Linux and Ubuntu 14.10, but my fix should work on 14.04 and presumably other distros/versions as well.

Revision history for this message
Steve Haube (sghaube) wrote :

Question...If I blacklist dw_dmac, will my Inspiron11-3147 no longer work? Doesn't it need dw_dmac?
 Is there a replacement module?
Sorry for the dumb question but I am not yet a linux guru.

Revision history for this message
Gilberto Tanzola (gilberto-tanzola) wrote :

I may be wrong about this, but there doesn't seem to be any important hardware connected to this bus.
All the hardware components I know of seem to work fine without dw_dmac loaded.
I don't remember where I read this, but if there was hardware connected to the HSUART (Bluetooth, GPS, things like that), blacklisting dw_dmac will make those devices run at PIO speeds instead of DMA.
To my knowledge, there are no other side effects. See bug #1319149 for more information.

Revision history for this message
Gaggery Tsai (gaggery-tsai-u) wrote :

There is a known issues before microcode 811. Could you please up revision to microcode 811 or 819 and let us know if it helps? Thank you.

Revision history for this message
vaiha (vaiha) wrote :

@Gilberto

I've tested blacklisting dw_dmac and dw_dmac_core.

I'm happy to say that I can now shutdown/reboot/suspend/resume!

Revision history for this message
sdee (shanon) wrote :

@vaiha

What version of Ubuntu did you try the blacklisting on?

Revision history for this message
sdee (shanon) wrote :

@gaggery tsai

The latest version of intel microcode is 20140624 available here

https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23984

Would you confirm if that version matches the 811 or 819 numbers you mention?

Revision history for this message
vaiha (vaiha) wrote :

@sdee

Ubuntu 14.04.1 Desktop 64bit
Kernel 3.13.0-35-generic

Revision history for this message
Steve Haube (sghaube) wrote :

I blacklisted dw_dmac and dw_dmac_core and now I can shutdown/reboot/suspend/resume!
I am using Linux Mint 17, based on Ubuntu 14.04, kernel 3.16.1.
Special thanks to Gilberto Tanzola for the info!

Revision history for this message
papashou (papashou) wrote :

This is fixed by updating to the latest BIOS update from Dell (A03) released in December. I am currently running Ubuntu 14.04, no blacklisting required; am able to reboot without any issues now.

Brightness doesn't work right

Revision history for this message
Jesse Sung (wenchien) wrote :

@PHLin,
According to #37, please update its BIOS and see if this issue is still valid, thanks.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hi Jesse,
Yes! BIOS A03 could fix this poweroff hang issue.
Thanks!

Changed in hwe-next:
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in hwe-next:
status: Confirmed → Invalid
Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Miles Wolbe (k-miles) wrote :

Thanks very much papashou! Dell Inspiron 11 3147 running Linux Mint 17.1 x64 would formerly fail to restart or shutdown, remaining stuck on Mint logo screen. After upgrading BIOS to version A04 < http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=WVHPF >, restart and shutdown work normally - no need for blacklisting dw_dmac and dw_dmac_core as before (though thanks for that workaround, Gilberto!).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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