Bug 330606 - ata_piix creates /dev/sda for IDE-drive / mkinitrd + grub fails / system not bootable
Summary: ata_piix creates /dev/sda for IDE-drive / mkinitrd + grub fails / system not ...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Installation (show other bugs)
Version: RC 1
Hardware: i586 Other
: P5 - None : Critical with 1 vote (vote)
Target Milestone: ---
Assignee: Stefan Fent
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 00:26 UTC by joerg reisenweber
Modified: 2007-10-24 18:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joerg reisenweber 2007-10-04 00:26:30 UTC
system: pc from 2004 with 2 IDE-HDs, multiboot. SuSE 10.1 

when upgrading with factory10.3 netinstall at 2007-09-28, 
the install system probes ata_piix before piix, generic etc.
This leads to IDE-drives which were hda, hdb in former 10.1 system, to be created as sda, sdb.
Grub-config shows error "mkinitrd: no driver for /dev/hda" or sth like that. (had no time to write down error, or to reproduce. Not my system)
Boot to install stage 2 fails, for initrd seems to be not created at all.

Trying to fix with install upgrade again, "repair", "boot existing system" all failed from factory10.3 netinstall CD.
mkinitrd also shows error sth like "in line xxx:...perl5/vendor <some error>" but this not the origin of the problem.

booting with brokenmodules=ata_piix gave the /dev/hdx devices, but fixing the broken boot or just booting the system still not possible no matter how i tried - probably due to no initrd.

I fixed with booting from 10.2 CD1 "repair system", then fixed (deleted sdx) fstab entries and reconfigured grub bootparams and this created working initrd.

This bug very similar to 
https://bugzilla.novell.com/show_bug.cgi?id=297999 ,and a little like
https://bugzilla.novell.com/show_bug.cgi?id=304125 and several others involving mkinitrd and yast-grubconfig.
In fact this seems to be 2 bugs: 
1. ata_piix creating scsii-devices on upgrading a system not configured like this.
2. grub/mkinitrd script somehow confusing devices in /dev and in fstab and some other sources(?). This error seems to stay despite labled "resolved" in prior reports.

Average user won't find a way to recover from this deadlock, so "severity critical"
Comment 1 joerg reisenweber 2007-10-04 01:15:55 UTC
See:
https://bugzilla.novell.com/show_bug.cgi?id=308984
Maybe anyone with more knowledge should assign this as doublette to above error and reopen rhat one?

What is the use to change from hda to sda, especially for a IDE PATA drive??
Comment 2 joerg reisenweber 2007-10-04 02:04:17 UTC

*** This bug has been marked as a duplicate of bug 309837 ***
Comment 3 joerg reisenweber 2007-10-05 07:23:41 UTC
duplicate was rejected. Because not GM?
Comment 5 Stefan Fent 2007-10-24 18:37:20 UTC
This bug is fixed