[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
[Expired for cryptsetup (Ubuntu) because there has been no activity for 60 days.] ** Changed in: cryptsetup (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/450620 Title: [Karmic beta] System hangs after initramfs, md1_crypt (running) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/428435 -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
I had the same problem this week when I upgraded my notebook with Karmic. The problem was solved when I reinstalled the system, upgraded, but before restarting, I ran the command "grub-mkconfig" as root. Apparently the kernel version is updated, but Grub setup (initrd, etc.) dosent. -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
Steve, Right, that's was exactly so - I rebooted right after kernel was upgraded and popup "Reboot is required. Should I reboot right now?" appeared. After booting I run $(aptitude update) and it suggested me to run $(dpkg --configure -a). That finally fixed my system. Here is relevant bug: https://bugs.launchpad.net/ubuntu/+source/update- notifier/+bug/30759 -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
Leonid, > init: udevtrigger main process (609) terminated with status 1 > init: udevtrigger post-stop process (610) terminated with status 1 > init: udevmonitor main process (606) killed by TERM signal > init: networking main process (614) terminated with status 1 > * Starting init crypto disks... > initrd.img was not created for 2.6.31-20-generic during update, so I > had to start init=/bin/bash and run $(update-initramfs -k > > 2.6.31-20-generic -c) to create it. > Resulting initramfs still fails to boot saying: > Begin: Running /scripts/local-top > Begin: Waiting for encrypted source device... ... > (process hangs here) > udevadm settle is not permitted while udev is unconfigured This is unrelated to the bug report you've followed up to and points to a problem with the installation of the udev package on your system. Please log in, check the status of the udev package with 'dpkg -l udev'; then configure any packages that are waiting for upgrade by running 'dpkg --configure -a'. It's possible that you rebooted before the installation of updates was complete. If the above steps fix your system so that it's bootable again, please file a bug report on update-notifier about suggesting a reboot too early. -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
My working workaround: boot with rdinit=/bin/sh # mkdir /proc && mount -t proc none /proc # mkdir /sys && mount-t sysfs none /sys # grep sd /proc/diskstats | while read major minor dev other; do mknod /dev/$dev b $major $minor; done # for i in /lib/modules/*/kernel/drivers/md/dm-crypt.ko /lib/modules/*/kernel/crypto/*; do insmod $i; done # cryptsetup luksOpen $(blkid -t TYPE=crypto_LUKS | cut -d : -f 1) encrtypted # lvm pvscan # lvm lvs # lvm lvchange -ay vg/root # put your device name here # mkdir /n && mount /dev/mapper/vg-root /n # cd /n/sbin # ln udevadm backup-udevadm # ln udevadm.upgrade backup-udevadm.upgrade # rm udevadm # mv udevadm.upgrade udevadm # cp -a /n/sbin/udevadm /sbin/udevadm # cd / # umount /n # lvm lvchange -an vg/root # cryptsetup luksClose encrtyped # umount /sys # umount /proc # exec /init Excuse me for flooding the topic. Hope, it will help someone. -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
And new information, while I was writing that bugreport my initramfs finished waiting (after 180s suggested at #164044 without any sort of progress-bar - what a great user experience!) saying: udevadm settle is not permitted while udev is unconfigured Check cryptops=source= bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev -r ALERT! /dev/disk/by-uuid/...1fb58f does not exist. Dropping to a shell initrd /sbin/udevadm script _seems_ to be broken as it either fails with "exit 1" or fails to "exec /bin/bash" as there is no /bin/bash at initrd Also, there are no disks at /dev, though dmesg says, that sda disk was found, $(grep sda /proc/diskstats) confirms that. After manual creation of /dev/sda{,1,2,3,5} I can confirm, that uuid is correct. So, now my issue is that udev is not creating relevant device nodes at /dev and symlinks at /dev/disks... -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
For the record, init=/bin/bash works And according to /var/log/apt/term.log my kernel was upgraded from 2.6.31.14.27 to 2.6.31.20.33 After upgrade there was no entry for my old kernel in grub config, so run update-grub and got it. initrd.img was not created for 2.6.31-20-generic during update, so I had to start init=/bin/bash and run $(update-initramfs -k 2.6.31-20-generic -c) to create it. Resulting initramfs still fails to boot saying: Begin: Running /scripts/local-top Begin: Waiting for encrypted source device... ... (process hangs here) So the password to decrypt the volume is not asked. I also run $(update-initramfs -k all) before specifying exact version it updated initrd.img for my old kernel and now it's broken too (same symptoms - "Waiting for encrypted source device") -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
Yesterday I've installed Ubuntu 9.10 using text installation from DVD using following schema: sda1 -> /boot sda3 -> encrypted LVM PV containing vg/root and vg/swap sda2 -> extended sda5 -> stale NTFS partition Eveything was ok after fresh install I installed all available updates today, system asked me to reboot (as far as I see, kernel was updated too), and after reboot I I see following: <...app-armor profiles loaded...> fsck from utli-linux-ng 2.16 [...] Adding 2047992k swap on /dev/mapper/vg-swap ... boot: clean, ... fsck from utli-linux-ng 2.16 root: clean, ... init: udevtrigger main process (609) terminated with status 1 init: udevtrigger post-stop process (610) terminated with status 1 init: udevmonitor main process (606) killed by TERM signal init: networking main process (614) terminated with status 1 * Starting init crypto disks... * sda3_crypt (running)... [ OK ] <-- system hangs here I can press Ctrl-Alt-Delete to reboot the PC correctly. SysRQ is working, though SAK kills init. -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
notdefine, Are you able to reproduce your original problem with the Ubuntu 9.10 final release? -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
Hi Miesnerd, as you can see, this Bug report dont have your symptoms. See the first sentence "After a fresh install of Karmic Beta". So this bug dont appear during boot up a live CD, it appears after a clean install, and when you choose Disk encryption. thomas -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
Steve, I asked my father to try to boot into the live ubuntu environment 10x and record the results. I have taken his notes, and filed the bug report, as you diligently suggested, as bug #504641. Miesnerd -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
miesnerd, Since this again doesn't match the symptoms of the original submitter's problem, please file a separate bug report. Do you have ongoing access to the affected system, to help debug the error? -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 450620] Re: [Karmic beta] System hangs after initramfs, md1_crypt (running)
Hello, I am in the process of converting my father to linux (after years of explaining why linux is better, he's finally ready!) Anyways, via the phone, he follow all of my steps and even verified that the disk had no errors before attempting installation today. This problem occurred for him. Though I am not in front of his computer, I can tell you a few things: -he's running a dell that's about 4 years old, but has at least 3gb of ram -he has no raid or encrypted partitions to my knowledge, hence, i'm confused why this is even running on his startup. In order to clarify for Steve, his error actually occurred on the line following "Starting Init Crypto Disk" to the best of my knowledge. -- [Karmic beta] System hangs after initramfs, md1_crypt (running) https://bugs.launchpad.net/bugs/450620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs