pci_devices does not terminate at computer shutdown

Bug #1372006 reported by ahau
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Shutdown does not halt on my Dell Precision 390
the shutdown sequence prints on the console:

mount: / is busy

/etc/init.d/sendsigs does not terminate systemd-udevd

Only solution: enable and use ALT-SYSREQ REISUB (to keep the root fs clean)

I tried to change GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub (+ update-grub):

GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash reboot=pci" or
GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash reboot=bios" or
GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash acpi=force

Shutdown still hangs with 'mount: / is busy'
I even updated the BIOS from 2.0.4 to 2.06, no luck.

When booting from a Knoppix 6.0.1 CD with a 2.6 kernel, shutdown works and halts the system to poweroff state.

Any ideas?

Thanks
  ahau

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pm-utils 1.4.1-13ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
Date: Sun Sep 21 02:58:10 2014
ExecutablePath: /usr/lib/pm-utils/power.d/pci_devices
InstallationDate: Installed on 2014-09-19 (1 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
InterpreterPath: /bin/dash
OmitPids: 11761 308 302 11767 723 714 11890 11767 723 714 11890
PackageArchitecture: all
ProcCmdline: /bin/sh /usr/lib/pm-utils/power.d/pci_devices false
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, no user)
SourcePackage: pm-utils
Title: pci_devices does not terminate at computer shutdown
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ah 1767 F.... pulseaudio
 /dev/snd/controlC0: ah 1767 F.... pulseaudio
 /dev/snd/pcmC0D0p: ah 1767 F...m pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=2ff7652a-bac0-4a58-9f2e-5a098c2b32b8
InstallationDate: Installed on 2014-09-19 (80 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: Dell Inc. Precision WorkStation 390
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-37-generic root=UUID=589a1e9f-d159-489a-98a1-6774885a8669 ro
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-37-generic N/A
 linux-backports-modules-3.13.0-37-generic N/A
 linux-firmware 1.127.10
RfKill:

Tags: trusty
Uname: Linux 3.13.0-37-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 05/19/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.6.0
dmi.board.name: 0DN075
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.6.0:bd05/19/2008:svnDellInc.:pnPrecisionWorkStation390:pvr:rvnDellInc.:rn0DN075:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation 390
dmi.sys.vendor: Dell Inc.

Revision history for this message
ahau (saerdnah) wrote :
Revision history for this message
ahau (saerdnah) wrote :

correction: updated the BIOS from 2.0.4 to 2.0.5

Revision history for this message
ahau (saerdnah) wrote :
Download full text (7.0 KiB)

Solved.

I finally got rid of the hanging shutdown/reboot by blacklisting the i82975x_edac module,
adding a the line

blacklist i82975x_edac

in the file /etc/modprobe.d/blacklist.conf

After unsuccessfully trying out a lot of things and many reboots the final hint to my "solution" came in message display by dmsg:

....
Sep 24 06:52:35 fish kernel: [ 3.107842] usb 4-2: Manufacturer: DELL
Sep 24 06:52:35 fish kernel: [ 3.126222] input: DELL DELL USB Laser Mouse as /devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input4
Sep 24 06:52:35 fish kernel: [ 3.126438] hid-generic 0003:046D:C063.0002: input,hidraw1: USB HID v1.10 Mouse [DELL DELL USB Laser Mouse] on usb-0000:00:1d.2-2/input0
Sep 24 06:52:35 fish kernel: [ 3.620790] random: nonblocking pool is initialized
Sep 24 06:52:35 fish kernel: [ 6.801749] Adding 3906556k swap on /dev/sda3. Priority:-1 extents:1 across:3906556k FS
Sep 24 06:52:35 fish kernel: [ 6.952753] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep 24 06:52:35 fish kernel: [ 7.076382] systemd-udevd[290]: starting version 204
Sep 24 06:52:35 fish kernel: [ 7.823881] intel_rng: Firmware space is locked read-only. If you can't or
Sep 24 06:52:35 fish kernel: [ 7.823881] intel_rng: don't want to disable this in firmware setup, and if
Sep 24 06:52:35 fish kernel: [ 7.823881] intel_rng: you are certain that your system has a functional
Sep 24 06:52:35 fish kernel: [ 7.823881] intel_rng: RNG, try using the 'no_fwh_detect' option.
Sep 24 06:52:35 fish kernel: [ 7.899351] EDAC MC: Ver: 3.0.0
Sep 24 06:52:35 fish kernel: [ 7.951314] BUG: unable to handle kernel NULL pointer dereference at (null)
Sep 24 06:52:35 fish kernel: [ 7.951489] IP: [<ffffffffa00c97ee>] edac_create_sysfs_mci_device+0x23e/0x550 [edac_core]
Sep 24 06:52:35 fish kernel: [ 7.951636] PGD 796d1067 PUD 796d2067 PMD 0
Sep 24 06:52:35 fish kernel: [ 7.951808] Oops: 0000 [#1] SMP
Sep 24 06:52:35 fish kernel: [ 7.951943] Modules linked in: i82975x_edac(+) snd edac_core serio_raw soundcore mac_hid hid_generic usbhid hid ahci firewire_ohci libahci firewire_core crc_itu_t floppy tg3 ptp pps_core
Sep 24 06:52:35 fish kernel: [ 7.952012] CPU: 0 PID: 309 Comm: systemd-udevd Not tainted 3.13.0-36-generic #63-Ubuntu
Sep 24 06:52:35 fish kernel: [ 7.952012] Hardware name: Dell Inc. Precision WorkStation 390 /0DN075, BIOS 2.6.0 05/19/2008
Sep 24 06:52:35 fish kernel: [ 7.952012] task: ffff88007b988000 ti: ffff8800796e8000 task.ti: ffff8800796e8000
Sep 24 06:52:35 fish kernel: [ 7.952012] RIP: 0010:[<ffffffffa00c97ee>] [<ffffffffa00c97ee>]

======= next line shows the culprit
edac_create_sysfs_mci_device+0x23e/0x550 [edac_core]
Sep 24 06:52:35 fish kernel: [ 7.952012] RSP: 0018:ffff8800796e9aa8 EFLAGS: 00010246
Sep 24 06:52:35 fish kernel: [ 7.952012] RAX: ffffea0000d91300 RBX: ffff880078b09000 RCX: 0000000000017280
Sep 24 06:52:35 fish kernel: [ 7.952012] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 000000000000001f
Sep 24 06:52:35 fish kernel: [ 7.952012] RBP: ffff8800796e9ae8 R08: 0000000000000000 R09: 0000000000000000
Sep 24 06:52:35 fish kernel: [ 7...

Read more...

ahau (saerdnah)
description: updated
Revision history for this message
penalvch (penalvch) wrote :

ahau, could you please execute the following via a terminal in order for the necessary debugging information to be attached:
apport-collect 1372006

affects: pm-utils (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
ahau (saerdnah) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
ahau (saerdnah) wrote : BootDmesg.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : CRDA.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : CurrentDmesg.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : Lspci.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : Lsusb.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : ProcEnviron.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : ProcModules.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : UdevDb.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : UdevLog.txt

apport information

Revision history for this message
ahau (saerdnah) wrote : WifiSyslog.txt

apport information

Revision history for this message
ahau (saerdnah) wrote :

@ Christopher M. Penalver:
Thanks for taking care of this bug.

Cheers
ahau

Revision history for this message
ahau (saerdnah) wrote :

@ Christopher M. Penalver

Please note: In the meanwhile I've renamed my machine from 'fish' to 'faro'.

The backlisting ofthe i82975x_edac module has helped: No shutdown hangs have occurred since then.

Regards
ahau

Revision history for this message
penalvch (penalvch) wrote :

ahau, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-2.6.0
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.