After Upgrading to mountall 2.13 mountall consumes 100% CPU after reboot

Bug #567045 reported by Peter Bruhn
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mountall (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Binary package hint: mountall

$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04

mountall 2.13

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mountall 2.13
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Tue Apr 20 06:40:45 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: mountall

Revision history for this message
Peter Bruhn (peter-bruhn) wrote :
Revision history for this message
Peter Bruhn (peter-bruhn) wrote :

After "kill -9 <pid of mountall>" everything seems to work fine

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

Ditto;

  361 root 20 0 213m 189m 900 R 99 2.4 84:54.19 mountall

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Could you add --debug to the exec line in /etc/init/mountall.conf then attach /var/log/boot.log

Changed in mountall (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

boot.log from yesterday

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

boot.log from today

Revision history for this message
Steve Langasek (vorlon) wrote :

Looks like mountall successfully mounts all filesystems in both cases. I wonder if this isn't bug #559761 - when mountall is consuming CPU, what is it doing? (strace/gdb)

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

jarkko@sentti:~$ sudo gdb /sbin/mountall 364
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sbin/mountall...(no debugging symbols found)...done.
Attaching to program: /sbin/mountall, process 364
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
[Thread debugging using libthread_db enabled]
0x00007f7e136696e3 in ply_list_find_node () from /lib/libply.so.2
(gdb) bt
#0 0x00007f7e136696e3 in ply_list_find_node () from /lib/libply.so.2
#1 0x00007f7e13669933 in ply_list_remove_node () from /lib/libply.so.2
#2 0x00007f7e1345d191 in ?? () from /lib/libply-boot-client.so.2
#3 0x00007f7e1345d41d in ply_boot_client_flush () from /lib/libply-boot-client.so.2
#4 0x00007f7e1452cffd in main ()

jarkko@sentti:~$ sudo strace -p 364
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34
write(12, "U\0028fsck:/:72:Checking disk %1$d "..., 59) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "mountall: Plymouth command faile"..., 34) = 34

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

(gdb) cont
Continuing.

Program received signal SIGPIPE, Broken pipe.
0x00007f7e13a908c0 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: Tiedostoa tai hakemistoa ei ole.
 in ../sysdeps/unix/syscall-template.S
(gdb) cont
Continuing.

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

after cont the bt is

(gdb) bt
#0 0x00007f7e13a908c0 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007f7e1366ed8b in ply_write () from /lib/libply.so.2
#2 0x00007f7e1345d215 in ?? () from /lib/libply-boot-client.so.2
#3 0x00007f7e1345d41d in ply_boot_client_flush () from /lib/libply-boot-client.so.2
#4 0x00007f7e1452cffd in main ()
(gdb)

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

jarkko@sentti:~$ sudo lsof -p 364
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jarkko/.gvfs
      Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mountall 364 root cwd DIR 8,6 4096 2 /
mountall 364 root rtd DIR 8,6 4096 2 /
mountall 364 root txt REG 8,6 88472 1850 /sbin/mountall
mountall 364 root mem REG 8,6 14696 5831 /lib/libdl-2.11.1.so
mountall 364 root mem REG 8,6 534832 5836 /lib/libm-2.11.1.so
mountall 364 root mem REG 8,6 31744 18409 /lib/librt-2.11.1.so
mountall 364 root mem REG 8,6 1568136 5827 /lib/libc-2.11.1.so
mountall 364 root mem REG 8,6 18648 2428 /lib/libply-boot-client.so.2.0.0
mountall 364 root mem REG 8,6 89192 111 /lib/libply.so.2.0.0
mountall 364 root mem REG 8,6 47048 705 /lib/libudev.so.0.6.1
mountall 364 root mem REG 8,6 135745 16662 /lib/libpthread-2.11.1.so
mountall 364 root mem REG 8,6 256768 3661 /lib/libdbus-1.so.3.4.0
mountall 364 root mem REG 8,6 38952 3131 /lib/libnih-dbus.so.1.0.0
mountall 364 root mem REG 8,6 92208 3339 /lib/libnih.so.1.0.0
mountall 364 root mem REG 8,6 136936 3221 /lib/ld-2.11.1.so
mountall 364 root 0u CHR 5,1 0t0 1430 /dev/console
mountall 364 root 1u CHR 5,1 0t0 1430 /dev/console
mountall 364 root 2u CHR 5,1 0t0 1430 /dev/console
mountall 364 root 3u unix 0xffff88025415c900 0t0 2650 socket
mountall 364 root 4r FIFO 0,8 0t0 2652 pipe
mountall 364 root 5w FIFO 0,8 0t0 2652 pipe
mountall 364 root 6u sock 0,6 0t0 2653 can't identify protocol
mountall 364 root 7u 0000 0,9 0 841 anon_inode
mountall 364 root 8r FIFO 0,8 0t0 2645 pipe
mountall 364 root 9r FIFO 0,8 0t0 2654 pipe
mountall 364 root 10w FIFO 0,8 0t0 2654 pipe
mountall 364 root 11r REG 0,3 0 2656 /proc/362/mountinfo
mountall 364 root 12u unix 0xffff88025415d200 0t0 2663 socket
mountall 364 root 15r FIFO 0,8 0t0 2767 pipe

Revision history for this message
Steve Langasek (vorlon) wrote :

Thanks, that indeed appears to be a duplicate of bug #559761 then.

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.