[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
This is getting more interesting. One can add "set -x" near the top of /usr/share/initramfs-tools/hooks/mdadm but based on your previous messages it's probably going to hang at mkconf. E.g. I am suspecting below will also hung $ sudo bash -x /usr/share/mdadm/mkconf Which ultimately calls into: $ /sbin/mdadm --examine --scan --config=partitions How is this system setup? Does it have raid devices configured? Or has it had raid devices configured before, which are not properly wiped or not fully activated? -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
If mdadm is hung examining partitions, all I can recommend is to reboot and check if problem goes away. -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
Can you attach, as an attachment, the syslog? -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
I just grabbed it from box and shared it again internally ... -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
Apart of the issue with update-initramfs, I see lot's of I/O error in combination with time outs, like: Feb 6 07:13:08 ub01 kernel: [6640939.527399] sd 478:0:0:1: timing out command, waited 180s Feb 6 07:13:08 ub01 kernel: [6640939.527483] blk_update_request: I/O error, dev sdhb, sector 4609920 Feb 6 07:13:08 ub01 kernel: [6640939.527526] blk_update_request: I/O error, dev sdhb, sector 4610032 Feb 6 07:13:08 ub01 kernel: [6640939.527536] blk_update_request: I/O error, dev sdhb, sector 2048 Feb 6 07:13:08 ub01 kernel: [6640939.527546] blk_update_request: I/O error, dev sdhb, sector 2056 Feb 6 07:13:08 ub01 kernel: [6640939.817404] sd 376:0:0:1: timing out command, waited 180s Feb 6 07:13:08 ub01 kernel: [6640939.827388] sd 494:0:0:1: timing out command, waited 180s There seem to be issues with your storage and/or storage sub-system. -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
** Changed in: linux (Ubuntu) Status: New => Invalid ** Changed in: ubuntu-z-systems Status: New => Invalid -- 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 Ubuntu on IBM z Systems: Invalid Status in linux package in Ubuntu: Invalid 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Changed in: ubuntu-z-systems Importance: Undecided => High ** Tags added: s390x -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
Using strace and friends is a bit too low level to debug execution of bash scripts =) You can try: $ sudo bash -x update-initramfs -u -v And attaching log of that. And you can use also add "set -x" in the hooks that are called (and/or are hung); and attaching a log of that to see where/when it is hung. Rebooting should be safe, as you should have ubuntu old working boot loader entry. To be on the safe side you may want to execute $ sudo zipl, right now. -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
Please attach sosreport from the system. -- 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 Ubuntu on IBM z Systems: New 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
This appears to be related to something peculiar happening to LVM, I'm not using LVM, but /usr/share/initramfs-tools/hooks/cryptroot appears to be trying to read a bunch of volume group data after reading /etc/crypttab (which is empty!)... + grep -s ^[^#] /etc/crypttab + read target source key options + candidates= + devices= + count=0 + [ 0 -gt 0 ] + return 0 + initramfsdevs= + add_device 04f31c0c-8ee4--a571-9c798b0f1022 + local node nodes opts lastopts i count + nodes=04f31c0c-8ee4--a571-9c798b0f1022 + opts= + lastopts= + [ -z 04f31c0c-8ee4--a571-9c798b0f1022 ] + echo + grep -q \b04f31c0c-8ee4--a571-9c798b0f1022\b + node_is_in_crypttab 04f31c0c-8ee4--a571-9c798b0f1022 + local node + node=04f31c0c-8ee4--a571-9c798b0f1022 + grep -q ^04f31c0c-8ee4--a571-9c798b0f1022\b /etc/crypttab + return 1 + get_lvm_deps 04f31c0c-8ee4--a571-9c798b0f1022 + local node deps maj min depnode + node=04f31c0c-8ee4--a571-9c798b0f1022 + [ -z 04f31c0c-8ee4--a571-9c798b0f1022 ] + dmsetup --noheadings splitname 04f31c0c-8ee4--a571-9c798b0f1022 + cut -d: -f1 + vgs --noheadings -o pv_name 04f31c0c Running any LVM command hangs... -- 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 Ubuntu on IBM z Systems: Invalid Status in linux package in Ubuntu: Invalid 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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 : ht
[Kernel-packages] [Bug 1662187] Re: apt-get upgrade hung when it comes to update initramfs
** Tags removed: bugnameltc-151243 s390x severity-high -- 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 Ubuntu on IBM z Systems: Invalid Status in linux package in Ubuntu: Invalid 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 root13824 Nov 21 20:12 bootmap -rw-r--r-- 1 root root65205 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 root0 Feb 4 01:47 initrd.img-4.4.0-45-generic.new drwx-- 2 root root12288 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-z-systems/+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