[opensuse-factory] today's update broke 12.3 m0

12.3 m0 in VB update hung, rebooted after 30 min boots to grub rescue prompt with no help and does not accept any commands I try ??? repeatable -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Sat, Nov 3, 2012 at 6:07 PM, Patrick Shanahan <paka@opensuse.org> wrote:
12.3 m0 in VB
update hung, rebooted after 30 min
boots to grub rescue prompt with no help and does not accept any commands I try ???
repeatable
Correct, mkinitrd is broken again. fix: open /lib/mkinitrd/scripts/setup-udev.sh find # copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi replace for copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib $tmp_mnt/usr/lib/systemd ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi then regenerate the initrd.. then wait for factory to completely sync out packages. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

* Cristian Rodríguez <crrodriguez@opensuse.org> [11-03-12 14:46]:
Correct, mkinitrd is broken again.
fix:
open /lib/mkinitrd/scripts/setup-udev.sh
find
# copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi
replace for
copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib $tmp_mnt/usr/lib/systemd ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi
then regenerate the initrd.. then wait for factory to completely sync out packages.
Be glad to and thanks. OK, was able to access /usr/mkinitrd/scripts and alter setup-udev.sh using a live cd. How do I "regenerate the initrd" in the subject system rather than the live cd? tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Sat, Nov 3, 2012 at 9:51 PM, Patrick Shanahan <paka@opensuse.org> wrote:
* Cristian Rodríguez <crrodriguez@opensuse.org> [11-03-12 14:46]:
Correct, mkinitrd is broken again.
fix:
open /lib/mkinitrd/scripts/setup-udev.sh
find
# copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi
replace for
copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib $tmp_mnt/usr/lib/systemd ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi
then regenerate the initrd.. then wait for factory to completely sync out packages.
Be glad to and thanks.
OK, was able to access /usr/mkinitrd/scripts and alter setup-udev.sh using a live cd.
How do I "regenerate the initrd" in the subject system rather than the live cd?
mount the filesystem using the livecd then #mount --bind /proc /mountpointofrootfs #mount --bind /sys /mountpointofrootfs #mount --bind /dev /mountpointofrootfs #chroot /mountpointofrootfs #mkinitrd -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

* Cristian Rodríguez <crrodriguez@opensuse.org> [11-03-12 18:01]:
mount the filesystem using the livecd
then
#mount --bind /proc /mountpointofrootfs #mount --bind /sys /mountpointofrootfs #mount --bind /dev /mountpointofrootfs #chroot /mountpointofrootfs #mkinitrd
mounted borked system to /mnt/sda2 see normal / dirs below /mnt/sda2 did as root: mount --bind /proc /mnt/sda2 mount --bind /sys /mnt/sda2 mount --bind /dev /mnt/sda2 chroot /mtn/sda2 says cannot find /bin/bash Do I need to add "mount --bind /bin /mnt/sda2" tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Hello, Am Samstag, 3. November 2012 schrieb Patrick Shanahan:
* Cristian Rodríguez <crrodriguez@opensuse.org> [11-03-12 18:01]:
#mount --bind /proc /mountpointofrootfs [...] mounted borked system to /mnt/sda2 see normal / dirs below /mnt/sda2
did as root: mount --bind /proc /mnt/sda2 mount --bind /sys /mnt/sda2 mount --bind /dev /mnt/sda2
chroot /mtn/sda2 says cannot find /bin/bash
Do I need to add "mount --bind /bin /mnt/sda2"
Cristian's mail was slightly wrong - you need to mount --bind to the matching directories: mount --bind /proc /mnt/sda2/proc mount --bind /sys /mnt/sda2/sys mount --bind /dev /mnt/sda2/dev Regards, Christian Boltz -- Perl ist der geglückte Versuch, einen braindump direkt ausführbar zu machen. [Lutz Donnerhacke in dasr] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

* Christian Boltz <opensuse@cboltz.de> [11-03-12 19:24]:
Hello,
Am Samstag, 3. November 2012 schrieb Patrick Shanahan:
* Cristian Rodríguez <crrodriguez@opensuse.org> [11-03-12 18:01]:
#mount --bind /proc /mountpointofrootfs [...] mounted borked system to /mnt/sda2 see normal / dirs below /mnt/sda2
did as root: mount --bind /proc /mnt/sda2 mount --bind /sys /mnt/sda2 mount --bind /dev /mnt/sda2
chroot /mtn/sda2 says cannot find /bin/bash
Do I need to add "mount --bind /bin /mnt/sda2"
Cristian's mail was slightly wrong - you need to mount --bind to the matching directories: mount --bind /proc /mnt/sda2/proc mount --bind /sys /mnt/sda2/sys mount --bind /dev /mnt/sda2/dev
tks, will do and report -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

* Christian Boltz <opensuse@cboltz.de> [11-03-12 19:24]:
Hello,
Am Samstag, 3. November 2012 schrieb Patrick Shanahan:
Cristian's mail was slightly wrong - you need to mount --bind to the matching directories: mount --bind /proc /mnt/sda2/proc mount --bind /sys /mnt/sda2/sys mount --bind /dev /mnt/sda2/dev
Ah, that works, but... mkinitrd fails with: Perl-Bootloader: 2012-11-03 19:32:26 <3> pbl-2864.2 FileIO::ReadFile.85: Error: Failed to open /boot/grub2/device.map: No such file or directory Perl-Bootloader: 2012-11-03 19:32:26 <3> pbl-2864.2 Core::GRUB2::GrubDev2UnixDev.127: Error: did not find a match for hd0 in the device map Perl-Bootloader: 2012-11-03 19:32:26 <3> pbl-2864.2 Core::GRUB2::GrubDev2UnixDev.127: Error: did not find a match for hd0 in the device map Perl-Bootloader: 2012-11-03 19:32:28 <3> pbl-2864.2 Core::RunCommand.1662: Error: Command '/usr/sbin/grub2-install --force --skip-fs-probe "(hd0,1)"
/var/log/YaST2/y2log_bootloader 2>&1' failed with code 256 and output: /usr/sbin/grub2-bios-setup: error: disk `hd0,1' not found.
There was an error generating the initrd (1) tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Sat, Nov 03, Cristian Rodríguez wrote:
Correct, mkinitrd is broken again.
Its still broken, the concept of PATH is appearently not widely known. Drive this bugzilla to get it finally fixed: https://bugzilla.novell.com/show_bug.cgi?id=778149 Olaf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Le samedi 03 novembre 2012 à 18:45 +0000, Cristian Rodríguez a écrit :
On Sat, Nov 3, 2012 at 6:07 PM, Patrick Shanahan <paka@opensuse.org> wrote:
12.3 m0 in VB
update hung, rebooted after 30 min
boots to grub rescue prompt with no help and does not accept any commands I try ???
repeatable
Correct, mkinitrd is broken again.
fix:
open /lib/mkinitrd/scripts/setup-udev.sh
find
# copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi
replace for
copy helper if [ -d /usr/lib/udev ]; then mkdir -p $tmp_mnt/usr/lib/udev $tmp_mnt/lib $tmp_mnt/usr/lib/systemd ln -s -f ../usr/lib/udev $tmp_mnt/lib/udev else mkdir -p $tmp_mnt/lib/udev fi
Missing $tmp_mnt/usr/lib/systemd was just causing an error when generating initrd but the generated initrd was still shipped with udevd in it, so I doubt it was the real bug. Anyway, fix is being pushed for this. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

This evening I together with some other people from the KDE irc channel (alin, einar77 and shumski) updated our systems to the new Factory that would bring the new systemd. We all got into troubles and those were not only caused by a faulty mkinitrd. After quite some hours of trying to salvage our systems, Luca (einar77) found the cause of the main issues. The new systemd incorporated now the udev package, however that also means that some paths were changed. The new udev package has now /usr/lib/udev as it's main directory and installs some files in /usr/lib/udev/rules.d. However most of the current packages in openSUSE are still assuming the old situation and are putting their udev-rules files in /lib/udev/rules.d. To make the story short, we have another victim of the /usr move. In order to get a working system at the moment, the best way forward is to make the change to mkinitrd as Christian indicated and bofore you recreate the initrd, copy all the files in /lib/udev/rules.d to /usr/lib/udev/rules.d/. Now recreate the initrd and reboot the system. There are still some minor issues with the installation (missing syslog), but the system should at least be working and usable. Regards Raymond -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

* Raymond Wooninck <tittiatcoke@gmail.com> [11-03-12 19:53]:
This evening I together with some other people from the KDE irc channel (alin, einar77 and shumski) updated our systems to the new Factory that would bring the new systemd.
We all got into troubles and those were not only caused by a faulty mkinitrd. After quite some hours of trying to salvage our systems, Luca (einar77) found the cause of the main issues.
The new systemd incorporated now the udev package, however that also means that some paths were changed. The new udev package has now /usr/lib/udev as it's main directory and installs some files in /usr/lib/udev/rules.d. However most of the current packages in openSUSE are still assuming the old situation and are putting their udev-rules files in /lib/udev/rules.d.
To make the story short, we have another victim of the /usr move. In order to get a working system at the moment, the best way forward is to make the change to mkinitrd as Christian indicated and bofore you recreate the initrd, copy all the files in /lib/udev/rules.d to /usr/lib/udev/rules.d/. Now recreate the initrd and reboot the system.
There are still some minor issues with the installation (missing syslog), but the system should at least be working and usable.
Even after this operation I still get failure for mkinitrd, missing device map, cannot find match for hd0 :^( -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

There are still some minor issues with the installation (missing syslog), but the system should at least be working and usable.
I am looking into the fallout.. now if someone checks the packages in I will be happy ;) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Sunday, November 04, 2012 12:48:36 AM Raymond Wooninck wrote:
This evening I together with some other people from the KDE irc channel (alin, einar77 and shumski) updated our systems to the new Factory that would bring the new systemd.
We all got into troubles and those were not only caused by a faulty mkinitrd. After quite some hours of trying to salvage our systems, Luca (einar77) found the cause of the main issues.
The new systemd incorporated now the udev package, however that also means that some paths were changed. The new udev package has now /usr/lib/udev as it's main directory and installs some files in /usr/lib/udev/rules.d. However most of the current packages in openSUSE are still assuming the old situation and are putting their udev-rules files in /lib/udev/rules.d.
To make the story short, we have another victim of the /usr move. In order to get a working system at the moment, the best way forward is to make the change to mkinitrd as Christian indicated and bofore you recreate the initrd, copy all the files in /lib/udev/rules.d to /usr/lib/udev/rules.d/. Now recreate the initrd and reboot the system.
There are still some minor issues with the installation (missing syslog), but the system should at least be working and usable.
Regards
Raymond
It looks that there are also some other things failing, as upgrade to latest systemd/udev made a nice kernel panic for me as soon systemd package started the upgrade. For some reason it still looked for libudev0, and that was already removed before during the upgrade process. Unfortunately i was not able to recover my system (i have made a several reinstall's of packages that can be found in Base:System both from that repo and Factory, and for me all files that can be found in /lib/udev/rules.d/ are also present in /usr/lib/udev/rules.d/). I was able to boot to multiuser target, but i was not able to login both in DM and tty's. I got Authentication error as soon as i confirmed username. If it helps, here is the journalctl log of the last boot: http://paste.opensuse.org/96123568 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Le dimanche 04 novembre 2012 à 00:48 +0100, Raymond Wooninck a écrit :
This evening I together with some other people from the KDE irc channel (alin, einar77 and shumski) updated our systems to the new Factory that would bring the new systemd.
We all got into troubles and those were not only caused by a faulty mkinitrd. After quite some hours of trying to salvage our systems, Luca (einar77) found the cause of the main issues.
The new systemd incorporated now the udev package, however that also means that some paths were changed. The new udev package has now /usr/lib/udev as it's main directory and installs some files in /usr/lib/udev/rules.d. However most of the current packages in openSUSE are still assuming the old situation and are putting their udev-rules files in /lib/udev/rules.d.
all stuff in /lib/udev/rules.d is moved to /usr/lib/udev/rules.d when udev package is updated and the old path is replaced with a symlink (well, it should have worked but there is a bug currently, fix incoming). -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Christian Boltz
-
Cristian Rodríguez
-
Frederic Crozat
-
Olaf Hering
-
Patrick Shanahan
-
Raymond Wooninck
-
šumski