------- Comment From y...@cn.ibm.com 2017-02-06 09:49 EDT-------
Hope these info is also helpful...

root@ub01:~# ps -ef|grep 146120
root     146120 146073  0 08:56 pts/7    00:00:00 /usr/bin/dpkg --status-fd 35 
--configure initramfs-tools:all
root     146125 146120  0 08:56 pts/7    00:00:00 /bin/sh 
/var/lib/dpkg/info/initramfs-tools.postinst triggered update-initramfs
root     162758  91537  0 09:45 pts/3    00:00:00 grep --color=auto 146120
root@ub01:~# strace -p 146120
strace: Process 146120 attached
wait4(146125,
^Cstrace: Process 146120 detached
<detached ...>
root@ub01:~# strace -p 146125
strace: Process 146125 attached
wait4(-1,

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1662187

Title:
  apt-get upgrade hung when it comes to update initramfs

Status in linux package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  apt-get upgrade process is hung when it comes to update the initramfs and it 
never finishes with any error messages.  So I have to kill the process and 
restart it. But the system asks run 'sudo dpkg --configure -a' to correct the 
problem if I run 'apt-get upgrade' again. I got the same problem with running 
'dpkg --configure -a'. 

  root@ub01:~# apt-get upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  The following packages have been kept back:
    linux-generic linux-headers-generic linux-image-generic python-glance-store
  0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Setting up initramfs-tools (0.122ubuntu8.8) ...
  update-initramfs: deferring update (trigger activated)
  Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
  update-initramfs: Generating /boot/initrd.img-4.4.0-45-generic
  W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

  ---uname output---
  Linux ub01 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:14:35 UTC 2016 s390x 
s390x s390x GNU/Linux
   
  Machine Type = z13 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   apt-get update
  apt-get upgrade
   
  Stack trace output:
   no
   
  Oops output:
   no
   
  System Dump Info:
    The system is not configured to capture a system dump.
   
  -Attach sysctl -a output output to the bug.

  Below is what I have in the /boot directory

  -rw-------  1 root root  2552549 Oct 19 10:23 System.map-4.4.0-45-generic
  -rw-r--r--  1 root root   535651 Oct 19 10:23 abi-4.4.0-45-generic
  -rw-------  1 root root    13824 Nov 21 20:12 bootmap
  -rw-r--r--  1 root root    65205 Oct 19 10:23 config-4.4.0-45-generic
  lrwxrwxrwx  1 root root       27 Oct 26 16:52 initrd.img -> 
initrd.img-4.4.0-45-generic
  -rw-r--r--  2 root root 13325095 Nov 21 20:12 initrd.img-4.4.0-45-generic
  -rw-r--r--  2 root root 13325095 Nov 21 20:12 
initrd.img-4.4.0-45-generic.dpkg-bak
  -rw-r--r--  1 root root        0 Feb  4 01:47 initrd.img-4.4.0-45-generic.new
  drwx------  2 root root    12288 Oct 26 16:50 lost+found
  lrwxrwxrwx  1 root root       24 Oct 26 16:52 vmlinuz -> 
vmlinuz-4.4.0-45-generic
  -rw-------  1 root root  3690376 Oct 19 10:23 vmlinuz-4.4.0-45-generic

  Below is the disk space, /boot has enough space.

  Filesystem                 Size  Used Avail Use% Mounted on
  udev                       126G     0  126G   0% /dev
  tmpfs                       26G  2.6G   23G  11% /run
  /dev/mapper/ub01--vg-root  101G  9.9G   87G  11% /
  tmpfs                      126G     0  126G   0% /dev/shm
  tmpfs                      5.0M     0  5.0M   0% /run/lock
  tmpfs                      126G     0  126G   0% /sys/fs/cgroup
  /dev/mapper/mpatha-part1   472M   22M  426M   5% /boot
  cgmfs                      100K     0  100K   0% /run/cgmanager/fs
  tmpfs                       26G     0   26G   0% /run/user/1000
  tmpfs                       26G     0   26G   0% /run/user/1002

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to