[Bug 483136] New: boot fails with cmdline root=LABEL= syntax (could not find /dev/root)
https://bugzilla.novell.com/show_bug.cgi?id=483136 Summary: boot fails with cmdline root=LABEL= syntax (could not find /dev/root) Classification: openSUSE Product: openSUSE 11.2 Version: Alpha 0 Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@ij.net QAContact: qa@suse.de Found By: --- Created an attachment (id=277819) --> (https://bugzilla.novell.com/attachment.cgi?id=277819) tgz of current & prior /var/log messages & boot.msg User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.19) Gecko/20081212 SeaMonkey/1.1.14 (PmW) Current kernel is 2.6.29-rc6-git1-2-pae, but this has been going on with several kernel upgrades since before Christmas. Boot halts with "waiting for device /dev/root to appear ... could not find /dev/root ... want to fall back to /dev/dev/disk/by-id/...part10". On answering y, boot proceeds normally. Previously working cmdline kernel /boot/vmlinuz showopts root=LABEL=S16A-10factory causes above message. If I replace root=LABEL=S16A-10factory with root=/dev/sda10 then boot proceeds normally. This is my bug 397816 P4/ICH4 (Dell GX260) system, which has been on ata_piix and dm_linear for the 11.1 Factory. I've tried my best to eradicate dm_linear support for the / (only) HD in 11.2 Factory, as described in http://lists.opensuse.org/opensuse-factory/2009-02/msg00335.html thread, but this problem has survived my attempt to (possibly successfully) convert. Reproducible: Always Steps to Reproduce: 1.Try to boot using root=LABEL= cmdline syntax Actual Results: Boot halts Expected Results: Boot proceeds normally Looks a lot like bug 300550 . When I boot a very old 2.6.24 11.0 Factory kernel and initrd with piix /, boot proceeds normally, with / mounted on /dev/hda10. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=483136 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED CC| |jreidinger@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=483136 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jreidinger@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=483136 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483136#c1 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |mrmazda@ij.net --- Comment #1 from Josef Reidinger <jreidinger@novell.com> 2009-03-16 06:07:02 MST --- Hi, root=LABEL=something is bad syntax, correct is root=/dev/disk/by-label/something ... I cannot reproduce it if I install 11.1 and mount by label...could you please specify what you do? or please attach yast logs, maybe it still have logs about this change. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=483136 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=483136#c2 Felix Miata <mrmazda@ij.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|mrmazda@ij.net | --- Comment #2 from Felix Miata <mrmazda@ij.net> 2009-03-16 08:51:23 MST --- (In reply to comment #1)
Hi, root=LABEL=something is bad syntax
If this is "bad syntax", it is a recent regression. It should remain an alternate syntax. During the late stages of 11.1 development it continued to work as it did in 11.0, 10.3, 10.2 & probably before then. I have been using this syntax for booting all my Linux distros (*buntu, Mandriva, Fedora, openSUSE) for two years or more: 00srv:~ $ cat /etc/SuSE-release openSUSE 11.0 (i586) VERSION = 11.0 00srv:~ $ uname -r 2.6.27.7-10-pae 00srv:~ $ cat /proc/cmdline root=LABEL=08-suse110 noresume splash=off vga=0x305 3 00srv:~ $ tune2fs -l /dev/sda8| grep ume Filesystem volume name: 08-suse110 FWIW, some months ago I stopped booting from the Grub installed by the selected distro. I install Grub to the / partition, but but boot from a primary partition that does not bet mounted to /boot. The menu.lst on the real boot partition., which by convention I mount to /disks/boot, I manage myself. Until now, everything has been booting using root=LABEL= syntax.
correct is root=/dev/disk/by-label/something ...
That may be what the installer does now, but at least as recently as November's Factory YaST was still using root=LABEL= syntax here. Long strings may be fine for GUI puter applets to manage, but they're not so good for normal human brains or for fitting on a single viewport-length line while editing a config file.
I cannot reproduce it if I install 11.1 and mount by label...could you please specify what you do?
I've done no fresh installs in many months, waiting for a post-2.6.27 installation kernel so that I can install on libata onto whichever partition up to #63 I please. Other than specifying to mount by label to my pre-existing and pre-labeled partitions during installation, I don't remember doing anything more than written above that deviates from defaults.
or please attach yast logs, maybe it still have logs about this change. Thanks
Most of my updating gets done via cmdline zypper. If you think any of the following will help, specify, and I will attach: 4943 Jun 5 2008 config_diff_2008_06_05.log 632 Jun 5 2008 y2logmkinitrd 760 Jun 5 2008 y2log_bootloader 0 Jun 5 2008 y2logMount 977 Jun 5 2008 volume_info 6124 Jun 5 2008 macro_inst_initial.ycp 974 Jun 5 2008 disk_sda 4256 Jun 5 2008 y2start.log 6926800 Jun 5 2008 y2log-1 6967 Sep 30 16:23 config_diff_2008_09_30.log 2040 Oct 2 18:14 config_diff_2008_10_02.log 328761 Oct 2 18:25 y2logRPM 1077 Nov 30 00:38 config_diff_2008_11_30.log 5033281 Feb 26 13:19 y2log 4039 Feb 26 15:14 config_diff_2009_02_26.log 2962 Mar 5 14:51 config_diff_2009_03_05.log 91501 Mar 6 01:14 mkinitrd.log 15880749 Mar 6 01:16 perl-BL-standalone-log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=483136 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483136#c3 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jreidinger@novell.com |kernel-maintainers@forge.pr | |ovo.novell.com --- Comment #3 from Josef Reidinger <jreidinger@novell.com> 2009-03-16 09:27:11 MST --- OK, then it looks like problem of kernel (and not perl-Bootloader). Reassign it to kernel guys. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com