[Bug 706413] Re: update-initramfs hangs on adding gpu module
Mike Lovell, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com /daily-live/current/ . If it remains an issue, could you please run the following command in the development release from a Terminal (Applications-Accessories-Terminal), as it will automatically gather and attach updated debug information to this report: apport-collect -p linux replace-with-bug-number Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine 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. For example: kernel-fixed-upstream-v3.13-rc5 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. As well, please remove the tag: needs-upstream-testing If the mainline kernel does not fix this bug, please add the following tags: kernel-bug-exists-upstream kernel-bug-exists-upstream-VERSION-NUMBER As well, please remove the tag: needs-upstream-testing 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: bios-outdated-a15 ** Summary changed: - update-initramfs hangs on adding gpu module + 10de:0427 update-initramfs hangs on adding gpu module ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: 10de:0427 update-initramfs hangs on adding gpu module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
I'm seeing this as well with an Nvidia card (binary drivers if that matters), I solved it by manually editing /usr/share/initramfs- tools/hooks/framebuffer and commenting out the line copy_modules_dir kernel/drivers/gpu I've hit this same bug twice, when upgrading to 12.04 (a year ago) and now that I tried to upgrade to 13.04. Of course, the upgrade process halts without any explanation and you have to work your way through it with a half working system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
I have an nvidia card and i915 on the motherboard. I fixed update- initramfs/modprobe i915 hanging by adding blacklist i915 to /etc/modprobe.d/blacklist.conf and rebooting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
I have hit this same problem when upgrading from 11.10 to 12.10. The box will no longer start. I have to go to recovery mode to even get SSH up. Is there any workaround? Will upgrading or downgrading my kernel help? 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:27:31 UTC 2012 i686 i686 i686 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
I am also affected.. $ uname -a Linux rutelio 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux # update-initramfs -u -v Available versions: 3.5.0-18-generic 3.2.0-33-generic 3.0.0-19-generic Keeping /boot/initrd.img-3.5.0-18-generic.dpkg-bak update-initramfs: Generating /boot/initrd.img-3.5.0-18-generic ... Adding module /lib/modules/3.5.0-18-generic/kernel/drivers/gpu/drm/i2c/ch7006.ko Adding module /lib/modules/3.5.0-18-generic/kernel/drivers/gpu/drm/via/via.ko [hangs] The cause seems to be this modprobe command hanging: $ ps ax | grep modprobe 4076 pts/4S+ 0:00 modprobe --set-version=3.5.0-18-generic --ignore-install --quiet --show-depends i915 I killed it, then tried to strace it from the command line to see what it was doing: # strace -f modprobe --set-version=3.5.0-18-generic --ignore-install --quiet --show-depends i915 execve(/sbin/modprobe, [modprobe, --set-version=3.5.0-18-generic, --ignore-install, --quiet, --show-depends, i915], [/* 33 vars */]) = 0 This section of calls keeps on repeating forever.. open(/sys/module/i915/initstate, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa9b56 read(3, coming\n, 4096) = 7 close(3)= 0 munmap(0x7ffa9b56, 4096)= 0 nanosleep({0, 1}, NULL) = 0 open(/sys/module/i915/initstate, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa9b56 read(3, coming\n, 4096) = 7 close(3)= 0 munmap(0x7ffa9b56, 4096)= 0 nanosleep({0, 1}, NULL) = 0 open(/sys/module/i915/initstate, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa9b56 read(3, coming\n, 4096) = 7 close(3)= 0 munmap(0x7ffa9b56, 4096)= 0 nanosleep({0, 1}, NULL) = 0 ... etc. Does anybody have any hint on how to fix this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
I can confirm the cause is the module i915 which is reported by procps as being in initstate 'coming': # cat /sys/module/i915/initstate coming In fact it is already loaded and used by video - so I cannot unload it. root@rutelio:/home/saverio# lsmod Module Size Used by pci_stub 12622 1 vboxpci23157 0 vboxnetadp 25670 0 vboxnetflt 23442 0 vboxdrv 320371 3 vboxpci,vboxnetadp,vboxnetflt xfrm_user 31124 4 xfrm4_tunnel 12857 0 tunnel413252 1 xfrm4_tunnel ipcomp 12661 0 xfrm_ipcomp13413 1 ipcomp esp4 17139 0 ah413044 0 deflate12617 0 ctr13005 0 twofish_generic16635 0 twofish_x86_64_3way29721 0 twofish_x86_64 12867 1 twofish_x86_64_3way twofish_common 21113 3 twofish_generic,twofish_x86_64_3way,twofish_x86_64 camellia_generic 29348 0 camellia_x86_6455261 0 serpent_sse2_x86_6454423 0 lrw13286 3 twofish_x86_64_3way,camellia_x86_64,serpent_sse2_x86_64 serpent_generic25724 1 serpent_sse2_x86_64 xts12880 3 twofish_x86_64_3way,camellia_x86_64,serpent_sse2_x86_64 gf128mul 14951 2 lrw,xts blowfish_generic 12530 0 blowfish_x86_6421381 0 blowfish_common16699 2 blowfish_generic,blowfish_x86_64 cast5 25112 0 des_generic21415 0 xcbc 12815 0 rmd160 16744 0 sha512_generic 12796 0 crypto_null12918 0 af_key 36052 0 xfrm_algo 15464 5 xfrm_user,xfrm_ipcomp,esp4,ah4,af_key dm_crypt 23011 0 nfsd 255884 13 nfs 301261 0 lockd 76869 2 nfsd,nfs fscache61093 1 nfs auth_rpcgss40955 2 nfsd,nfs nfs_acl12837 2 nfsd,nfs sunrpc229275 19 nfsd,nfs,lockd,auth_rpcgss,nfs_acl parport_pc 32688 0 rfcomm 46619 16 ppdev 17073 0 bnep 18140 2 binfmt_misc17500 1 snd_hda_codec_hdmi 32007 5 snd_hda_codec_realtek77876 1 nvidia 11257759 40 snd_hda_intel 33491 4 snd_hda_codec 134212 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel snd_usb_audio 130467 1 keyspan37433 0 eeepc_wmi 13109 0 uvcvideo 76749 0 snd_pcm96580 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_usb_audio asus_wmi 24088 1 eeepc_wmi mxm_wmi12979 0 snd_hwdep 13602 2 snd_hda_codec,snd_usb_audio btusb 18334 0 coretemp 13400 0 snd_usbmidi_lib24953 1 snd_usb_audio sparse_keymap 13890 1 asus_wmi videobuf2_core 32851 1 uvcvideo wmi19070 2 asus_wmi,mxm_wmi videodev 120309 2 uvcvideo,videobuf2_core kvm_intel 132759 0 bluetooth 209199 22 rfcomm,bnep,btusb snd_seq_midi 13324 0 snd_rawmidi30512 2 snd_usbmidi_lib,snd_seq_midi kvm 414070 1 kvm_intel usbserial 42355 1 keyspan snd_seq_midi_event 14899 1 snd_seq_midi videobuf2_vmalloc 12860 1 uvcvideo lpc_ich17061 0 snd_seq61521 2 snd_seq_midi,snd_seq_midi_event snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq shpchp 37108 0 snd_timer 29425 2 snd_pcm,snd_seq psmouse95552 0 snd_page_alloc 18484 2 snd_hda_intel,snd_pcm microcode 22803 0 videobuf2_memops 13368 1 videobuf2_vmalloc joydev 17457 0 snd78734 22 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_seq_device,snd_timer mac_hid13205 0 xpad 18042 0 mei40690 0 soundcore 15047 1 snd serio_raw 13215 0 dm_multipath 22828 0 lp 17759 0 parport46345 3 parport_pc,ppdev,lp scsi_dh14554 1 dm_multipath btrfs 761721 0 zlib_deflate 26914 2 deflate,btrfs libcrc32c 12644 1 btrfs dm_raid45 76812 0 xor17152 1 dm_raid45 dm_mirror 22028 0 dm_region_hash 20806 1 dm_mirror dm_log 18529 3 dm_raid45,dm_mirror,dm_region_hash r8169 61650 0 firewire_ohci 40401 0 firewire_core 64368 1 firewire_ohci crc_itu_t 12707 1 firewire_core
[Bug 706413] Re: update-initramfs hangs on adding gpu module
Had the same problem one one of my machines - dpkg --configure -a, update-initramfs and update-grub were all hanging at the same point. Reason for this was a stale modprobe process in state D (uninterruptible sleep), which very probably was left by an unsuccessful upgrade-manager run (which I canceled after hanging for 20 hours or so). Since I was not able to kill the process, only option was to reboot. After reboot, dpkg --configure -a completed without problems, and the new kernel was installed properly. Sorry for not being able to give more details about the bug itself, just wanted to document this workaround for others which run into the same problem. ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
Hi Mike, If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results. Thanks in advance. [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.] ** Tags added: kj-triage ** Changed in: linux (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 706413] Re: update-initramfs hangs on adding gpu module
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/706413 Title: update-initramfs hangs on adding gpu module -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs