← Back to team overview

touch-packages team mailing list archive

[Bug 1348784] Re: thermald prevents unmounting /dev/sda1 in recovery mode

 

> Can you confirm you are entering recovery mode from the grub menu
(Advanced options -> recovery)?

Yes.


> Can you also check the following:
>
> 1) Enter recovery mode.
> 2) Select the root shell option.
> 3) Run "set|grep UPSTART".

I'm assuming you are meaning with "root shell option" the login question
for root that automatically appears. Here is the output:

UPSTART_EVENTS=runlevel
UPSTART_INSTANCE=
UPSTART_JOB=rcS


> Can you also check that you don't have an /etc/init/dbus.override and that your /etc/init/dbus.conf is unmodified - running > 'apport-collect -p upstart 1348784' will do this for you.

/etc/init/dbus.override doesn't exist and I have reinstalled dbus to
make sure that there are no changes on /etc/init/dbus.conf.


> Attaching the output of 'ps -efwww' and 'initctl list' from recovery mode could also be useful.

ps -efwww:

UID          PID    PPID  C STIME TTY          TIME CMD
root           1       0  0 13:20 ?        00:00:01 /sbin/init
root           2       0  0 13:20 ?        00:00:00 [kthreadd]
root           3       2  0 13:20 ?        00:00:00 [ksoftirqd/0]
root           4       2  0 13:20 ?        00:00:00 [kworker/0:0]
root           5       2  0 13:20 ?        00:00:00 [kworker/0:0H]
root           6       2  0 13:20 ?        00:00:00 [kworker/u8:0]
root           7       2  0 13:20 ?        00:00:00 [rcu_sched]
root           8       2  0 13:20 ?        00:00:00 [rcuos/0]
root           9       2  0 13:20 ?        00:00:00 [rcuos/1]
root          10       2  0 13:20 ?        00:00:00 [rcuos/2]
root          11       2  0 13:20 ?        00:00:00 [rcuos/3]
root          12       2  0 13:20 ?        00:00:00 [rcu_bh]
root          13       2  0 13:20 ?        00:00:00 [rcuob/0]
root          14       2  0 13:20 ?        00:00:00 [rcuob/1]
root          15       2  0 13:20 ?        00:00:00 [rcuob/2]
root          16       2  0 13:20 ?        00:00:00 [rcuob/3]
root          17       2  0 13:20 ?        00:00:00 [migration/0]
root          18       2  0 13:20 ?        00:00:00 [watchdog/0]
root          19       2  0 13:20 ?        00:00:00 [watchdog/1]
root          20       2  0 13:20 ?        00:00:00 [migration/1]
root          21       2  0 13:20 ?        00:00:00 [ksoftirqd/1]
root          22       2  0 13:20 ?        00:00:00 [kworker/1:0]
root          23       2  0 13:20 ?        00:00:00 [kworker/1:0H]
root          24       2  0 13:20 ?        00:00:00 [khelper]
root          25       2  0 13:20 ?        00:00:00 [kdevtmpfs]
root          26       2  0 13:20 ?        00:00:00 [netns]
root          27       2  0 13:20 ?        00:00:00 [khungtaskd]
root          28       2  0 13:20 ?        00:00:00 [writeback]
root          29       2  0 13:20 ?        00:00:00 [ksmd]
root          30       2  0 13:20 ?        00:00:00 [khugepaged]
root          31       2  0 13:20 ?        00:00:00 [crypto]
root          32       2  0 13:20 ?        00:00:00 [kintegrityd]
root          33       2  0 13:20 ?        00:00:00 [bioset]
root          34       2  0 13:20 ?        00:00:00 [kblockd]
root          35       2  0 13:20 ?        00:00:00 [ata_sff]
root          36       2  0 13:20 ?        00:00:00 [khubd]
root          37       2  0 13:20 ?        00:00:00 [md]
root          38       2  0 13:20 ?        00:00:00 [devfreq_wq]
root          39       2  0 13:20 ?        00:00:00 [kworker/u8:1]
root          40       2  0 13:20 ?        00:00:00 [kworker/1:1]
root          41       2  0 13:20 ?        00:00:00 [kworker/0:1]
root          42       2  0 13:20 ?        00:00:00 [kswapd0]
root          43       2  0 13:20 ?        00:00:00 [fsnotify_mark]
root          44       2  0 13:20 ?        00:00:00 [ecryptfs-kthrea]
root          56       2  0 13:20 ?        00:00:00 [kthrotld]
root          57       2  0 13:20 ?        00:00:00 [acpi_thermal_pm]
root          58       2  0 13:20 ?        00:00:00 [ipv6_addrconf]
root          77       2  0 13:20 ?        00:00:00 [deferwq]
root          78       2  0 13:20 ?        00:00:00 [charger_manager]
root         121       2  0 13:20 ?        00:00:00 [scsi_eh_0]
root         122       2  0 13:20 ?        00:00:00 [scsi_tmf_0]
root         123       2  0 13:20 ?        00:00:00 [scsi_eh_1]
root         124       2  0 13:20 ?        00:00:00 [scsi_tmf_1]
root         125       2  0 13:20 ?        00:00:00 [kworker/u8:2]
root         126       2  0 13:20 ?        00:00:00 [kworker/u8:3]
root         127       2  0 13:20 ?        00:00:00 [kworker/u8:4]
root         181       2  0 13:20 ?        00:00:00 [jbd2/sda1-8]
root         182       2  0 13:20 ?        00:00:00 [ext4-rsv-conver]
root         284       1  0 13:20 ?        00:00:00 /sbin/cgmanager --sigstop -m name=systemd
root         327       1  0 13:21 ?        00:00:00 upstart-udev-bridge --daemon
root         333       1  0 13:21 ?        00:00:01 /lib/systemd/systemd-udevd --daemon
root         373       2  0 13:21 ?        00:00:00 [kworker/1:1H]
root         423       2  0 13:21 ?        00:00:00 [kworker/0:1H]
root         469       2  0 13:21 ?        00:00:00 [kworker/0:2]
root         470       2  0 13:21 ?        00:00:00 [hd-audio0]
root         471       2  0 13:21 ?        00:00:00 [kworker/0:3]
root         474       2  0 13:21 ?        00:00:00 [hd-audio1]
root         494       2  0 13:21 ?        00:00:00 [kpsmoused]
root         495       2  0 13:21 ?        00:00:00 [kworker/1:2]
root         502       2  0 13:21 ?        00:00:00 [cfg80211]
root         506       2  0 13:21 ?        00:00:00 [kworker/u9:0]
root         507       2  0 13:21 ?        00:00:00 [hci0]
root         508       2  0 13:21 ?        00:00:00 [hci0]
root         515       2  0 13:21 ?        00:00:00 [kworker/u9:1]
root         516       2  0 13:21 ?        00:00:00 [kworker/u9:2]
root         523       2  0 13:21 ?        00:00:00 [kvm-irqfd-clean]
message+     575       1  0 13:21 ?        00:00:00 dbus-daemon --system --fork
root         581       2  0 13:21 ?        00:00:00 [kmemstick]
root         948       1  0 13:21 tty1     00:00:00 bash
root        1044       2  0 13:21 ?        00:00:00 [kdmflush]
root        1050       2  0 13:21 ?        00:00:00 [bioset]
root        1051       2  0 13:21 ?        00:00:00 [kcryptd_io]
root        1052       2  0 13:21 ?        00:00:00 [kcryptd]
root        1053       2  0 13:21 ?        00:00:00 [bioset]
root        1134       2  0 13:22 ?        00:00:00 [scsi_eh_2]
root        1135       2  0 13:22 ?        00:00:00 [scsi_tmf_2]
root        1136       2  0 13:22 ?        00:00:00 [usb-storage]
root        1157     948  0 13:24 tty1     00:00:00 ps -efwww

initctl list:

init.d/automount stop/waiting
mountall-net stop/waiting
mountnfs-bootclean.sh start/running
passwd stop/waiting
rc stop/waiting
startpar-bridge stop/waiting
tty4 stop/waiting
udev start/running, process 333
upstart-udev-bridge start/running, process 327
console-setup stop/waiting
hwclock-save stop/waiting
irqbalance stop/waiting
plymouth-log stop/waiting
tty5 stop/waiting
failsafe stop/waiting
mountall.sh start/running
procps-instance stop/waiting
thermald stop/waiting
alsa-utils stop/waiting
dbus start/running, process 575
mounted-var stop/waiting
plymouth-shutdown stop/waiting
plymouth stop/waiting
resolvconf start/running
udev-fallback-graphics stop/waiting
checkroot.sh start/running
control-alt-delete stop/waiting
hwclock stop/waiting
init.d/cpufreq stop/waiting
mounted-proc stop/waiting
alsa-store stop/waiting
setvtrgb stop/waiting
shutdown stop/waiting
alsa-restore stop/waiting
cron stop/waiting
init.d/log stop/waiting
mountall stop/waiting
mounted-debugfs stop/waiting
mountkernfs.sh start/running
console stop/waiting
hostname.sh start/running
mounted-run stop/waiting
checkfs.sh start/running
checkroot-bootclean.sh start/running
kmod stop/waiting
lxdm stop/waiting
mountnfs.sh start/running
plymouth-stop start/running
rcS start/running, process 948
wait-for-state stop/waiting
bootmisc.sh start/running
flush-early-job-log stop/waiting
rc-sysinit stop/waiting
cgproxy stop/waiting
init.d/update_connection stop/waiting
upstart-socket-bridge stop/waiting
cryptdisks start/running
init.d/maintenance stop/waiting
mountdevsubfs.sh start/running
tty2 stop/waiting
udevtrigger stop/waiting
upstart-file-bridge stop/waiting
container-detect stop/waiting
mounted-dev stop/waiting
mtab.sh start/running
tty3 stop/waiting
udev-finish start/running
alsa-state stop/waiting
cgmanager start/running, process 284
cryptdisks-udev stop/waiting
hostname stop/waiting
mountall-reboot stop/waiting
init.d/update_time stop/waiting
mountall-shell stop/waiting
mounted-tmp stop/waiting
network-interface (lo) start/running
network-interface (eth0) start/running
network-interface (wlan0) start/running
plymouth-ready stop/waiting
plymouth-splash stop/waiting
plymouth-upstart-bridge stop/waiting
tty1 stop/waiting
udevmonitor stop/waiting
mountall-bootclean.sh start/running
network-interface-security (network-interface/eth0) start/running
network-interface-security (network-interface/wlan0) start/running
network-interface-security (network-interface/lo) start/running
network-interface-security (networking) start/running
networking start/running
procps start/running
tty6 stop/waiting
console-font stop/waiting
network-interface-container stop/waiting

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1348784

Title:
  thermald prevents unmounting /dev/sda1 in recovery mode

Status in “thermald” package in Ubuntu:
  In Progress
Status in “upstart” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 14.10 dev with thermald 1.2-1 and if the system is started in the recovery mode it is not possible to unmount /dev/sda1 because thermald is running. Interestingly lsof hasn't even showed that something has a file descriptor on /dev/sda1 open but executing "stop thermald" has worked as a workaround.
  --- 
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  DistroRelease: Ubuntu 14.10
  EcryptfsInUse: Yes
  NonfreeKernelModules: fglrx
  Package: upstart 1.13.2-0ubuntu1
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.16.0-18-generic root=UUID=af27feae-4c9e-4b5f-a1e1-900c0e71c5cb ro elevator=cfq
  ProcVersionSignature: Ubuntu 3.16.0-18.25-generic 3.16.3
  Tags:  utopic
  Uname: Linux 3.16.0-18-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  UserGroups:
   
  _MarkForUpload: True
  modified.conffile..etc.lxdm.lxdm.conf: [modified]
  mtime.conffile..etc.init.control.alt.delete.conf: 2012-05-05T17:10:11.434470
  mtime.conffile..etc.init.tty2.conf: 2014-05-29T05:14:16.791093
  mtime.conffile..etc.init.tty3.conf: 2012-05-05T17:10:49.238469
  mtime.conffile..etc.init.tty4.conf: 2012-05-05T17:10:58.066468
  mtime.conffile..etc.init.tty5.conf: 2012-05-05T17:11:02.938468
  mtime.conffile..etc.init.tty6.conf: 2012-05-05T17:11:09.442468
  mtime.conffile..etc.lxdm.lxdm.conf: 2012-12-23T19:04:26.948844

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1348784/+subscriptions