[Bug 232768] New: yast2 grub config tool fails to configure/install grub for dmraid drives
https://bugzilla.novell.com/show_bug.cgi?id=232768 Summary: yast2 grub config tool fails to configure/install grub for dmraid drives Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: djwong@us.ibm.com QAContact: jsrain@novell.com CC: lcm@us.ibm.com, rweight@us.ibm.com I have an IBM x346 with the Adaptec 7902B U320 SCSI controller and HostRAID in the SCSI BIOS. The system has two 36GB SCSI disks which I have configured as a RAID0; I am attempting to install OpenSUSE 10.2 onto the RAID0. During installation, the grub configuration tool in yast proposes that it install itself to an obviously bogus device:
setup --stage2=/boot/grub/stage2 (hd0) (/dev/mapper/asr_RAID,4)
"(/dev/mapper/asr_RAID,4)" is not a grub device; the proper device name in this case is "(hd0,4)". The menu.lst file suffers a similar fate with things like this:
root (/dev/mapper/asr_RAID,4)
Just prior to the first boot, the installer trips over the bad device names when it tries to install grub. I also noticed that the grub device map is suspiciously devoid of hdX entries:
(fd0) /dev/fd0 <EOF>
It appears that these dmraid device file names are not being translated into grub's "(hdX..." syntax, nor is a device.map mapping set up. The end result is that grub fails to install. If I tell yast to put "(hd0) /dev/mapper/asr_RAID" into device.map, the menu.lst file fixes itself and grub installs fine. It appears that the key dependency is having that "(hd0) /dev/mapper/asr_RAID" line in device.map. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232768 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |odabrunz@novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232768 ------- Comment #1 from epitti@sandi.net 2007-01-17 22:33 MST ------- (In reply to comment #0) I have confirmed this to be an issue with the Adaptec HostRAID controller in the IMB xSeries 306 (type 8836-5MU) as well. Also confirmed, the workaround to edit devices.map does work and allows the install to complete. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232768 stefan.fent@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |djwong@us.ibm.com ------- Comment #2 from stefan.fent@novell.com 2007-05-22 03:54 MST ------- This should be fixed with the latest perl-Bootloader, can you please doublecheck this by calling "yast2 bootloader" and creating a new proposal? (right bottom corner "other" --> "create new configuration"). (You don't have to save the configuration if it's broken by hitting "back"). If that proposal is correct, I'll close this bug as we can't fix the DVD-media, and it'll be fixed for 10.3 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232768 ------- Comment #3 from djwong@us.ibm.com 2007-06-07 11:37 MST ------- I tried OpenSUSE 10.3 Alpha 4, but it did not fix the problem. Proposed device.map contents are still: (fd0) /dev/fd0 and the menu.lst proposal still has things like "root (/dev/mapper/asr_FOO,4)" in it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232768#c4 --- Comment #4 from Richard Creighton <rccj@ricreig.com> 2007-07-03 17:26:15 MST --- Created an attachment (id=149530) --> (https://bugzilla.novell.com/attachment.cgi?id=149530) dmraid errors showing raid45 not found when raid456 loaded by default -- 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=232768#c5 --- Comment #5 from Richard Creighton <rccj@ricreig.com> 2007-07-03 17:44:07 MST --- Apparantly dmraid is looking for a module 'raid45' but as of 10.2 (maybe earlier-the last I know worked was 10.0) the loaded module is raid456 which is not recognized by dmraid. This is true in 10.3A5 also. Attached is a series of dmraid -<arg> with results that show this with an ASUS M2NPV-VM motherboard with Nvidia fake-raid support of raid5 (and lower). -- 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=232768#c6 --- Comment #6 from Darrick Wong <djwong@us.ibm.com> 2007-07-05 12:04:05 MST --- Actually, dmraid is looking for the "dm_raid45" module, which isn't in the kernel, much less SLES/SLED/SuSE 10. You might try asking Heinz Mauelshagen (author of dm_raid45) about his plans for the module. -- 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=232768#c7 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|djwong@us.ibm.com | --- Comment #7 from Stephan Kulow <coolo@novell.com> 2007-10-07 08:26:09 MST --- info is provided -- 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=232768 Matej Horvath <mhorvath@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |stefan.fent@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=232768#c9 Stefan Fent <stefan.fent@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan.fent@novell.com Status|NEW |NEEDINFO Info Provider| |djwong@us.ibm.com --- Comment #9 from Stefan Fent <stefan.fent@novell.com> 2007-10-24 13:22:57 MST --- Is this fixed in 10.3 final? -- 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=232768#c10 --- Comment #10 from Darrick Wong <djwong@us.ibm.com> 2007-11-08 14:48:18 MST --- No. -- 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=232768#c11 --- Comment #11 from Darrick Wong <djwong@us.ibm.com> 2007-11-08 14:49:59 MST --- Hm, perhaps I should be less terse. The GRUB proposal still fails to create a device.map entry for the RAID array like this: (hd0) /dev/mapper/asr_FUBAR and thus the proposed menu.lst contains invalid device names: root (/dev/mapper/asr_FUBAR,5) as a result. -- 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=232768#c12 --- Comment #12 from Stefan Fent <stefan.fent@novell.com> 2007-11-09 00:53:31 MST --- Can you please attach the logs again? -- 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=232768 Stefan Fent <stefan.fent@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|stefan.fent@novell.com |jplack@novell.com Status|NEEDINFO |NEW Info Provider|djwong@us.ibm.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=232768 User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c13 Joachim Plack <jplack@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |LATER --- Comment #13 from Joachim Plack <jplack@novell.com> 2007-12-12 13:03:57 MST --- No ressources assigned here right now, will address problem later -- 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=232768 User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c14 Joachim Plack <jplack@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jplack@novell.com Status|RESOLVED |REOPENED Resolution|LATER | --- Comment #14 from Joachim Plack <jplack@novell.com> 2008-03-19 22:13:56 MST --- reevaluate for SLE11 -- 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=232768 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Component|Installation |Booting -- 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=232768 User djwong@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c15 --- Comment #15 from Darrick Wong <djwong@us.ibm.com> 2008-06-06 10:00:13 MDT --- Created an attachment (id=220762) --> (https://bugzilla.novell.com/attachment.cgi?id=220762) yast logs -- 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=232768 User doug.rosser@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c16 --- Comment #16 from Doug Rosser <doug.rosser@gmail.com> 2008-06-06 10:48:21 MDT --- I was able to reproduce this issue on 2008-06-02. Testing performed on an x346 with two U320 SCSI drives in a striped (raid0) configuration. Code level was http://download.opensuse.org/distribution/11.0-RC1/iso/cd/openSUSE-11.0-RC1-... The installer recognized and configured the dmraid volume correctly. However, during GRUB setup, I got the following error: ################################### "Error occurred while installing GRUB" grub> setup --stage2=/boot/grub/stage2 (hd0) (hd0,0) Error 21: Selected disk does not exist grub> quit ################################### My guess is the installer is not configuring GRUB's hd0 correctly: ################################### linux:/boot/grub # cat device.map (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb linux:/mnt/boot/grub # cat device.map (fd0) /dev/fd0 ################################### GRUB needs hd0 to point to /dev/mapper/asr_stripey_part1 It is possible the LiveCD has different install behavior than the DVD. Internal ftp did not have any RC1 builds available, so I was forced to download the code from the opensuse web site. As the site is heavily loaded, I chose to download the LiveCD instead of the DVD installer. -- 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=232768 User doug.rosser@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c17 --- Comment #17 from Doug Rosser <doug.rosser@gmail.com> 2008-06-06 10:56:09 MDT --- Created an attachment (id=220776) --> (https://bugzilla.novell.com/attachment.cgi?id=220776) yast2 install logs -- 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=232768 User jplack@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c18 Joachim Plack <jplack@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jplack@novell.com |juhliarik@novell.com Status|REOPENED |NEW --- Comment #18 from Joachim Plack <jplack@novell.com> 2008-07-15 05:21:56 MDT --- assign to yast2-bootloader maintainer -- 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=232768 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c19 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|juhliarik@novell.com |aschnell@novell.com --- Comment #19 from Jozef Uhliarik <juhliarik@novell.com> 2008-07-27 11:24:05 MDT --- The problem is that DMRAID /dev/mapper/asr_stripey doesn't include bios_id. It is cause why is not added to device.map. I am sorry without bios id I am not able write correct ordering of disks to device.map. There is the code for checking bios_id for DMRAID and if it is not there. The device is not written to device.map reassign to yast2-storage maintainer. -- 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=232768 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c20 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aschnell@novell.com AssignedTo|aschnell@novell.com |juhliarik@novell.com --- Comment #20 from Arvin Schnell <aschnell@novell.com> 2008-07-29 02:54:17 MDT --- Thomas has added BIOS ID for DM RAID disk in yast2-storage 2.16.10. A test on kokso shows that it's included in the target map as provided by Storage::GetTargetMap(). The logs from comment #17 also show a BIOS ID for the DM RAID disk: $["bios_id":"0x80", ..., "device":"/dev/mapper/asr_stripey", "devices":["/dev/sda", "/dev/sdb"], ... There is some code in yast2-bootloader that also works on the BIOS ID. Maybe those things interfere. -- 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=232768 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c21 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #21 from Jozef Uhliarik <juhliarik@novell.com> 2008-08-06 08:54:21 MDT --- IMO with BIOS ID it should work. 10.2 doesn't support bios id for dm-raid -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c22 LTC BugProxy <bugproxy@us.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http:// --- Comment #22 from LTC BugProxy <bugproxy@us.ibm.com> 2008-10-08 08:49:05 MDT --- ------- Comment From drosser@us.ibm.com 2008-10-07 19:21 EDT------- Testing with SLES11 Beta2, the installation completes, but the first reboot doesn't complete, with the following (approximate, I transcribed by hand) error messages (I also grabbed everything under /var/log/YaST2 and will attach a tarball): Could not find /dev/mapper/asr_stripeded_part2. Want me to fall back to /dev/mapper/asr_stripeded_part2? (Y/n) Y Waiting for device /dev/mapper/asr_stripeded_part2 to appear..........not found -- exiting to /bin/sh. -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c23 --- Comment #23 from LTC BugProxy <bugproxy@us.ibm.com> 2008-10-08 08:49:09 MDT --- Created an attachment (id=244314) --> (https://bugzilla.novell.com/attachment.cgi?id=244314) logs from /var/logs/YaST2 -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c24 LTC BugProxy <bugproxy@us.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #24 from LTC BugProxy <bugproxy@us.ibm.com> 2008-11-06 11:44:27 MST --- Novell, Thanks for your support on this defect. We are still seeing this issue on SLES11 Beta4, thus reopening the bug for further investigation. -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c25 --- Comment #25 from LTC BugProxy <bugproxy@us.ibm.com> 2008-11-06 11:51:41 MST --- ------- Comment From rosalesa@austin.ibm.com 2008-11-06 13:43 EDT------- *** Bug 49729 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=49729 -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c26 --- Comment #26 from LTC BugProxy <bugproxy@us.ibm.com> 2008-11-06 13:12:45 MST --- ------- Comment From joeldiaz@us.ibm.com 2008-11-06 15:04 EDT------- Still seeing issues in beta 4. Details: Create a striped drive through the Adaptec AIC-9405 controler's ROM on the x206m. Call it "stripe1". Set it as the bootable drive then reboot, and install to that drive. SLES will complete an install, reboot then fail with: Could not find /dev/mapper/ddf1_stripe1_part3. Want me to fall back to /dev/mapper/ddf1_stripe1_part3? (Y/n) Waiting for device /dev/mapper/ddf1_stripe1_part3 to appear: .............................not found -- exiting to /bin/sh -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c27 --- Comment #27 from LTC BugProxy <bugproxy@us.ibm.com> 2008-11-06 13:12:49 MST --- Created an attachment (id=250454) --> (https://bugzilla.novell.com/attachment.cgi?id=250454) first boot failure on x206m -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c28 --- Comment #28 from LTC BugProxy <bugproxy@us.ibm.com> 2008-11-06 13:12:52 MST --- Created an attachment (id=250455) --> (https://bugzilla.novell.com/attachment.cgi?id=250455) y2logs before reboot on x206m -- 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=232768 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=232768#c29 --- Comment #29 from LTC BugProxy <bugproxy@us.ibm.com> 2008-11-06 13:32:47 MST --- ------- Comment From drosser@us.ibm.com 2008-11-06 15:22 EDT------- Tried Beta4 and got the same behavior as Joel on an x346 with Adaptec AIC-7902B. -- 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