[Bug 516677] New: grub fails to recognize filesystem on partitionless hd, in DomU booted on pv-grub Dom0
http://bugzilla.novell.com/show_bug.cgi?id=516677 Summary: grub fails to recognize filesystem on partitionless hd, in DomU booted on pv-grub Dom0 Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@novell.com ReportedBy: pgnet.dev@gmail.com QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 ( not clear if this is a bootloader or xen issue, or both ... ) i'm booting opensuse 11.1 DomU under a pv-grub-x86_32 Dom0. @ DomU, my menu.lst is, cat /boot/grub/menu.lst default 0 timeout 8 gfxmenu (hd0)/boot/message title PVGRUB root (hd0) kernel /boot/vmlinuz-xen root=/dev/xvdc resume=/dev/xvdb kbdtype=us text nofb selinux=0 edd=off splash=silent noshell showopts initrd /boot/initrd-xen but, DomU grub fails to recognize the filesystem /root > grub GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0) root (hd0) Filesystem type unknown, using whole disk grub> and subsequently fails to load any configuration. booting the DomU, @ console, i see: Booting 'PVGRUB' root (hd0) -> Filesystem type is ext2fs, using whole disk kernel /boot/vmlinuz-xen root=/dev/xvdc resume=/dev/xvdb kbdtype=us text nofb s elinux=0 edd=off splash=silent noshell showopts initrd /boot/initrd-xen close blk: backend at /local/domain/0/backend/vbd/329/51712 close blk: backend at /local/domain/0/backend/vbd/329/51728 close blk: backend at /local/domain/0/backend/vbd/329/51744 close blk: backend at /local/domain/0/backend/vbd/329/51760 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.27.25-10-xen (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch ... i.e., pv-grub's grub does't have the recongition problem. this is, apparently, related to a known xen/pv-grub issue, "PV-GRUB and partitions" http://bblank.thinkmo.de/blog/archive/2008/09/13/pv-grub-and-partitions & "Re: [Xen-devel] PV-GRUB - Does not read partition-less disk" http://lists.xensource.com/archives/html/xen-devel/2008-09/msg00495.html which has a submitted patch to grub sources, http://lists.xensource.com/archives/html/xen-devel/2008-09/msg00589.html Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User juhliarik@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c1 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |juhliarik@novell.com Resolution| |FEATURE --- Comment #1 from Jozef Uhliarik <juhliarik@novell.com> 2009-06-30 06:27:27 MDT --- There exist feature for your problem. It is not bug we just doesn't support it. FATE#306592. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c2 pgnet Dev <pgnet.dev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|CLOSED |REOPENED Component|Bootloader |Xen Resolution|FEATURE | AssignedTo|jsrain@novell.com |jdouglas@novell.com QAContact|jsrain@novell.com |qa@suse.de Severity|Normal |Major --- Comment #2 from pgnet Dev <pgnet.dev@gmail.com> 2009-07-03 09:48:12 MDT --- it's not a feature, it's grub needing to work correctly in a legitimate Xen config. moving to 'Xen'. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P5 - None CC| |jfehlig@novell.com AssignedTo|jdouglas@novell.com |jfehlig@novell.com Severity|Major |Normal -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c3 --- Comment #3 from pgnet Dev <pgnet.dev@gmail.com> 2009-07-06 09:05:46 MDT --- hi,
James Fehlig <jfehlig@novell.com> changed: Severity|Major |Normal
grub not working, unable to recognize filesystems in a completely legitimate, supported Xen scenario is not considered "major"? well, i'll disagree -- but defer, as i'm not sure it'll matter much :-/ thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User jfehlig@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c4 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #4 from James Fehlig <jfehlig@novell.com> 2009-07-06 09:24:32 MDT --- (In reply to comment #3)
grub not working, unable to recognize filesystems in a completely legitimate, supported Xen scenario is not considered "major"?
You set the severity so guess I shouldn't have changed it.
well, i'll disagree -- but defer, as i'm not sure it'll matter much :-/.
Unfortunately you are right :-(. My bug list is quite large. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 wei kong <wkong@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED AssignedTo|jfehlig@novell.com |wkong@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User wkong@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c5 --- Comment #5 from wei kong <wkong@novell.com> 2009-07-09 01:15:13 MDT --- Hi, 1: This is may a feature. Due to current sles11/opensuse/sled are not support pv-grub, We are not build/put any pv-grub and stubdom in our product ISO. But user could build it themselves from our source. 2: I have tried the pv-grub on opensuse11.2-milestone3. It works, messages as below. ------------------whole disk----------------- GNU GRUB version 0.97 (131072K lower / 0K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grubdom> root (hd0) Filesystem type is ext2fs, using whole disk grubdom> kernel /boot/xen Possible files are: xen-dbg-3.2.gz xen-3.gz xen-3.2.0_16718_14-0.4.gz xen-3.2. ---------------------------------------------- ------------------pv guest-------------------- Using config file "./xmexample.pv-grub". Started domain ExampleDomain Xen Minimal OS! start_info: 0x986000(VA) Booting 'XEN' root (hd0,1) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.19-5-xen root=/dev/xvda2 resume=/dev/xvda1 splash=s ilent showopts initrd /boot/initrd-2.6.27.19-5-xen ---------------------------------------------- 3: the patch metioned in commnet#1 has been in sles11 and opensuse11. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c6 --- Comment #6 from pgnet Dev <pgnet.dev@gmail.com> 2009-07-09 08:41:56 MDT --- hi, (In reply to comment #5)
1: This is may a feature. Due to current sles11/opensuse/sled are not support pv-grub, We are not build/put any pv-grub and stubdom in our product ISO. But user could build it themselves from our source.
iiuc, openSUSE as a *guest* DomU does not require either pv-grub or stubdom to be present in order to boot/run ON a pv-grub Dom0. again, i am NOT using pv-grub in/on *SUSE. does opensuse/sles need to be modified to run as a pv-grub Dom*U*? or, are you suggesting that _policy_ is not to support openSUSE/SLES running as a DomU if launched from "someone else's" pv-grub DomO?
2: I have tried the pv-grub on opensuse11.2-milestone3. It works, messages as below. ------------------pv guest-------------------- Using config file "./xmexample.pv-grub". Started domain ExampleDomain Xen Minimal OS! start_info: 0x986000(VA) Booting 'XEN'
root (hd0,1) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.19-5-xen root=/dev/xvda2 resume=/dev/xvda1 splash=s ilent showopts initrd /boot/initrd-2.6.27.19-5-xen ----------------------------------------------
that looks like console output. and that's generated by the pv-grub Dom0. (a) if you're using the patched Xen sources, then pv-grub's grub will correctly read the filesystem (b) but your root is (hd0,1). i.e. it seems you're booting from a partitioned drive. NOT the case i'm describing, which is booting from a partitionless drieve, e.g., (hd0). here's the console output you'll see in that case: Booting 'PVGRUB' root (hd0) <----------------- NOTE! Filesystem type is ext2fs, using whole disk in THAT case, the grub failure is IN the Guest. so the test case is, once you've booted the release-version *DomU*, @ DomU shell, do: /root > grub GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0) root (hd0) Filesystem type unknown, using whole disk grub> what's _that_ output for your test case?
3: the patch metioned in commnet#1 has been in sles11 and opensuse11.
it has? applied to grub 0.97 source? if that's true, then why does the release's grub fail with "Filesystem type unknown", but the patched, pv-grub DomO's grub work just fine? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User wkong@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c7 --- Comment #7 from wei kong <wkong@novell.com> 2009-07-09 20:34:16 MDT --- Hi pgnet, Sorry, I miss understand that I thought your pv-grub-x86_32 and Dom0 are from opensuse.
i'm booting opensuse 11.1 DomU under a pv-grub-x86_32 Dom0.
If pv-grub and Dom0 are not from opensuse. I can't guarantee anything. Obviously, this is the problem of pv-grub which can't find or parse file system on a whole disk, nothing wrong with the guest, the guest only provide the grub config. I'm sure that the pv-grub which opensuse contained and built works fine. The message "---whole disk---" in comment5 could prove. --thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User jsong@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c8 --- Comment #8 from song james <jsong@novell.com> 2009-07-09 20:45:41 MDT --- hi pgnet, Could you give me some information about you testing environment? I want to get some messages that what's the type of your filesystem both in Guest OS and Host, moreover, what's the changeset of the xen source you used and the type of your host OS? thx, -James. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c9 --- Comment #9 from pgnet Dev <pgnet.dev@gmail.com> 2009-07-09 21:23:31 MDT --- hi, (In reply to comment #7)
Obviously, this is the problem of pv-grub which can't find or parse file system on a whole disk, nothing wrong with the guest, the guest only provide the grub config.
no, i'm afraid not 'obviously' ... again, the pvgrub Dom0 is _fine_. It finds & boots the OS in the OpenSUSE DomU just fine. Once the OpenSUSE DomU is_up_, and I'm logged into & _in_ the Guest, it's the Guests's grub that has the error/problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c10 --- Comment #10 from pgnet Dev <pgnet.dev@gmail.com> 2009-07-09 21:40:14 MDT --- Created an attachment (id=304281) --> (http://bugzilla.novell.com/attachment.cgi?id=304281) DomU's console output hi, (In reply to comment #8)
Could you give me some information about you testing environment? I want to get some messages that what's the type of your filesystem both in Guest OS and Host, moreover, what's the changeset of the xen source you used and the type of your host OS?
it's an openSUSE 11.1 DomU @ a commercial Xen host, linode.com, http://www.linode.com/wiki/index.php/PV-GRUB booting from their pv-grub-x86_32, Xen/MiniOS Dom0. that's about all the info i can get abt Dom0. i've attached here the console output of my Guest's bootup. here's cat /etc/fstab /dev/xvda /boot ext2 acl,user_xattr 1 2 /dev/xvdb swap swap defaults 0 0 /dev/xvdc / ext3 acl,user_xattr 1 1 /dev/VG_DATA/LV_DATA /data ext3 defaults 1 2 /dev/VG_DATA/LV_CACHE /var/cache ext3 defaults,noatime,nodiratime,data=writeback 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 and here's @ Guest, default 0 timeout 8 gfxmenu (hd0)/boot/message title PVGRUB root (hd0) kernel /boot/vmlinuz-xen root=/dev/xvdc resume=/dev/xvdb xencons=hvc0 kbdtype=us text nofb selinux=0 edd=off splash=silent noshell showopts initrd /boot/initrd-xen if you'd like add'l info, happy to -- please specify what. again, the system IS booted. it runs. there are NO errors during the boot process, as pv-grub's grub is properly patched. the problem is IN the openSUSE DomU. openSUSE's bundled grub simply doesn't seem to handle the assigned "(hd,0)". iiuc (?), that has nothing to do with pv-grub, but rather that grub remains unpatched to handle an unpartitioned disk. which is a situation that simply manifests in the pv-grub scenario ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516677 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516677#c11 pgnet Dev <pgnet.dev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |NORESPONSE AssignedTo|wkong@novell.com |jdouglas@novell.com --- Comment #11 from pgnet Dev <pgnet.dev@gmail.com> 2009-09-26 12:13:14 MDT --- clearing queue -- Configure bugmail: http://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