Bug 626132 - grub/perl-Bootloader: device hd(0,975) does not exist
Summary: grub/perl-Bootloader: device hd(0,975) does not exist
Status: VERIFIED FIXED
: 619837 629929 639929 (view as bug list)
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: x86-64 Linux
: P2 - High : Critical (vote)
Target Milestone: ---
Deadline: 2010-09-28
Assignee: Josef Reidinger
QA Contact: E-mail List
URL:
Whiteboard: maint:running:35999:important
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 21:55 UTC by Jan Engelhardt
Modified: 2016-04-15 12:52 UTC (History)
3 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
logfile (32.18 KB, application/octet-stream)
2010-07-29 08:49 UTC, Jan Engelhardt
Details
patch to test - path is /usr/lib/perl5/vendor_perl/*/Bootloader/ (669 bytes, patch)
2010-07-29 11:27 UTC, Josef Reidinger
Details | Diff
perl-BL-standalone.log.xz (8.29 KB, application/octet-stream)
2010-07-29 12:13 UTC, Jan Engelhardt
Details
/var/log/YaST2/mkinitrd.log.xz (1.12 KB, application/octet-stream)
2010-07-29 12:14 UTC, Jan Engelhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2010-07-27 21:55:01 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.
Comment 2 Jan Engelhardt 2010-07-29 07:11:02 UTC
But I wasn't using yast, just rpm.
Comment 3 Josef Reidinger 2010-07-29 07:23:17 UTC
(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
Comment 4 Jan Engelhardt 2010-07-29 08:49:15 UTC
Created attachment 379125 [details]
logfile
Comment 5 Josef Reidinger 2010-07-29 11:27:27 UTC
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
Comment 6 Jan Engelhardt 2010-07-29 11:42:00 UTC
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.
Comment 7 Josef Reidinger 2010-07-29 11:48:10 UTC
(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?
Comment 8 Jan Engelhardt 2010-07-29 12:13:51 UTC
Created attachment 379203 [details]
perl-BL-standalone.log.xz
Comment 9 Jan Engelhardt 2010-07-29 12:14:15 UTC
Created attachment 379204 [details]
/var/log/YaST2/mkinitrd.log.xz
Comment 10 Josef Reidinger 2010-07-30 11:39:34 UTC
(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.
Comment 11 Jan Engelhardt 2010-07-30 11:54:33 UTC
Ah yeah I seem to have missed changing the if() line. Patch works.
Comment 12 Josef Reidinger 2010-07-30 11:57:26 UTC
(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
Comment 13 Jan Engelhardt 2010-09-19 12:12:13 UTC
ping.
Comment 14 Josef Reidinger 2010-09-20 08:31:57 UTC
thanks, I am quite busy and forget about it.
Maintenance team - could it be released for 11.3?
Comment 15 Christian Dengler 2010-09-21 14:18:22 UTC
I think we should do it. +1
Comment 17 Marcus Meissner 2010-09-21 14:25:17 UTC
lets do +1
Comment 19 Swamp Workflow Management 2010-09-21 15:59:34 UTC
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
Comment 20 Christian Dengler 2010-09-21 16:03:17 UTC
Be so kind and submit a patchinfo for openSUSE.
Comment 21 Josef Reidinger 2010-09-24 12:35:59 UTC
done, submitted to 11.3
Comment 22 Josef Reidinger 2010-10-05 14:40:06 UTC
*** Bug 629929 has been marked as a duplicate of this bug. ***
Comment 23 Josef Reidinger 2010-10-05 15:07:25 UTC
*** Bug 619837 has been marked as a duplicate of this bug. ***
Comment 24 Josef Reidinger 2010-10-06 11:49:37 UTC
*** Bug 639929 has been marked as a duplicate of this bug. ***
Comment 25 Bernhard Wiedemann 2016-04-15 12:52:47 UTC
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