Bugzilla – Bug 626132
grub/perl-Bootloader: device hd(0,975) does not exist
Last modified: 2016-04-15 12:52:47 UTC
There seems to be an ugly enumeration bug in 11.3's perl-Bootloader, leading to values like (hd0,975) and (hd0,976) to be used in menu.lst and elsewhere and leads to a failure to automatically boot. The initial installer already did this odd thing, and I had to fix it up manually with the rescue system. Installing a new kernel image in the now-running lvie system also appends such bogus entry to menu.lst. Please advise how to debug this. /boot on /dev/md0 level1 consisting of /dev/sda1, /dev/sdb1 / on /dev/md1 level1 consisting of /dev/sda3, /dev/sdb3 Kernel image: /boot/vmlinuz-2.6.34-12-xen Initrd image: /boot/initrd-2.6.34-12-xen Root device: /dev/disk/by-id/md-uuid-1ea4d76b:07e349d8:0a1d3ae2:4eb0c6cc (/dev/md1) (mounted on / as ext4) Resume device: /dev/disk/by-id/ata-WDC_WD5002ABYS-02B1B0_WD-WCASY7452556-part2 (/dev/sda2) Kernel Modules: scsi_mod libata ata_piix xennet cdrom xenblk crc16 jbd2 ext4 pata_mpiix sata_uli sata_promise ahci pata_hpt37x pata_opti pata_cmd64x pata_ali pata_ninja32 sata_mv pata_marvell pata_it821x sata_sil pata_atp867x pata_amd pata_ns87415 pata_optidma pata_via sata_qstor sata_sx4 pata_radisys pata_cmd640 pata_sc1200 sata_nv pata_sis ata_generic pata_triflex pata_netcell pata_efar sata_sis pdc_adma pata_rz1000 pata_cs5520 pata_cypress pata_hpt366 pata_sch pata_serverworks pata_pdc2027x pata_it8213 pata_rdc sata_inic162x pata_sl82c105 pcmcia_core pcmcia pata_pcmcia pata_piccolo pata_cs5530 sata_sil24 pata_hpt3x2n pata_sil680 sata_vsc pata_atiixp sata_via pata_acpi pata_jmicron pata_hpt3x3 pata_artop pata_pdc202xx_old pata_ns87410 sata_svw pata_oldpiix sd_mod usbcore ohci-hcd ehci-hcd uhci-hcd hid usbhid raid0 raid1 raid10 async_tx async_memcpy xor async_xor raid6_pq async_pq async_raid6_recov raid456 Features: block usb md 27930 blocks Perl-Bootloader: 2010-07-27 17:50:57 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/sda with 976. Perl-Bootloader: 2010-07-27 17:50:57 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/sda with 976. Perl-Bootloader: 2010-07-27 17:50:57 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/sda with 976. Perl-Bootloader: 2010-07-27 17:50:57 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/sda with 976.
Please attach yast logs so I see what failed in storage recognition. http://en.opensuse.org/openSUSE:Bugreport_YaST#I_reported_a_YaST2_bug.2C_and_now_I_am_asked_to_.22attach_y2logs.22._What_does_that_mean.2C_and_how_do_I_do_that.3F
But I wasn't using yast, just rpm.
(In reply to comment #2) > But I wasn't using yast, just rpm. Oh, OK. Then just perl-BL-standalone log from /var/log/YaST2 is enough as it is log from perl-Bootloader
Created attachment 379125 [details] logfile
Created attachment 379188 [details] patch to test - path is /usr/lib/perl5/vendor_perl/*/Bootloader/ Thanks for logs. I think that you discover problem with persistent device names translation. Could you please try to apply attached patch and try install new kernel (updated, downgraded or different flavor) if it fixes issue? Thanks
I don't get the error message at mkinitrd time anymore, but (hd0,975) is still emitted into menu.lst. Just install SUSE onto an mdraid1.
(In reply to comment #6) > I don't get the error message at mkinitrd time anymore, but (hd0,975) is still > emitted into menu.lst. > > Just install SUSE onto an mdraid1. So new kernel still has bad grub root? Then there must be other issue. Could you please post fresh log?
Created attachment 379203 [details] perl-BL-standalone.log.xz
Created attachment 379204 [details] /var/log/YaST2/mkinitrd.log.xz
(In reply to comment #8) > Created an attachment (id=379203) [details] > perl-BL-standalone.log.xz Do you really apply patch? From logs it looks like it is not applied (as it now should match '/dev/md0' with '/dev/md\d+' and print it to log. (just note that I am going to vacation next week, so I will continue with investigation after return back.
Ah yeah I seem to have missed changing the if() line. Patch works.
(In reply to comment #11) > Ah yeah I seem to have missed changing the if() line. Patch works. Good, thanks for confirmation. I add it to master and try to add to online update for 11.3 Thanks for cooperation
ping.
thanks, I am quite busy and forget about it. Maintenance team - could it be released for 11.3?
I think we should do it. +1
lets do +1
The SWAMPID for this issue is 35999. This issue was rated as important. Please submit fixed packages until 2010-09-28. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/35999
Be so kind and submit a patchinfo for openSUSE.
done, submitted to 11.3
*** Bug 629929 has been marked as a duplicate of this bug. ***
*** Bug 619837 has been marked as a duplicate of this bug. ***
*** Bug 639929 has been marked as a duplicate of this bug. ***
This is an autogenerated message for OBS integration: This bug (626132) was mentioned in https://build.opensuse.org/request/show/49036 11.3:Test / perl-Bootloader https://build.opensuse.org/request/show/51039 Factory / perl-Bootloader