Bug 447970

Summary: After upgrade to 11.1-Beta5, the installed system doesn't find my IDE
Product: [openSUSE] openSUSE 11.1 Reporter: Tony Mechelynck <antoine.mechelynck>
Component: InstallationAssignee: Tejun Heo <teheo>
Status: VERIFIED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None CC: forgotten_qMyteedNxa
Version: Beta 5   
Target Milestone: ---   
Hardware: i686   
OS: SUSE Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /etc/sysconfig/kernel as seen under openSUSE 11.0 (which works)
sysout from "lspci -vv"
sysout from "dmesg"
"Hardware information" saved to disk by YaST 2 (on openSUSE 11.0)

Description Tony Mechelynck 2008-11-22 16:10:01 UTC
After diskless upgrading (with no visible problems) using openSUSE-11.1-Beta5-DVD-i586.iso, at reboot the upgraded system never finds my IDE HDD (/dev/hda5 never "appears", neither when looked for by label nor as /dev/hda5). The only way (that I've found) to make the upgraded system run is to boot the ISO image, then "Install or upgrade => Repair installed system => Expert repairs => (click the rolldown at bottom) => Boot installed system".
Comment 1 Forgotten User qMyteedNxa 2008-11-22 16:30:24 UTC
please provide more information about your system (harddisk controller type etc)

lspci -vv, dmesg from working system boot for example

also provide /etc/sysconfig/kernel as this contains the list of initrd modules - maybe there is some module missing at boot-time.
Comment 2 Tony Mechelynck 2008-11-22 17:02:06 UTC
Created attachment 254545 [details]
/etc/sysconfig/kernel as seen under openSUSE 11.0 (which works)

My HDD is partitioned as follows:
1) (ext2) 38M total, 14K used, former /boot, now normally not mounted
2) (ext2) 20G total, 9.7G used, former Dos partition, reformatted as a place to download ISO images for upgrade, normally not mounted
3) swap, 3G total
4) extended partition
   5) (reiserfs) 92G total, 22G used, my SuSE system

11.0 calls it /dev/sda, 11.1 calls it /dev/hda (when it sees it at all).

Logs from "lspci -vv" and "dmesg" follow.
Comment 3 Tony Mechelynck 2008-11-22 17:04:03 UTC
Created attachment 254546 [details]
sysout from "lspci -vv"
Comment 4 Tony Mechelynck 2008-11-22 17:05:27 UTC
Created attachment 254547 [details]
sysout from "dmesg"
Comment 5 Tony Mechelynck 2008-11-22 17:09:30 UTC
Created attachment 254549 [details]
"Hardware information" saved to disk by YaST 2 (on openSUSE 11.0)
Comment 6 Forgotten User qMyteedNxa 2008-11-22 17:32:25 UTC
thanks.

INITRD_MODULES="pata_sis reiserfs fan edd sis5513 ata_generic ide_pci_generic"

how does the INITRD_MODULES list look like on the broken system?

Comment 7 Forgotten User qMyteedNxa 2008-11-22 20:45:36 UTC
>how does the INITRD_MODULES list look like on the broken system?

stupid me - as you can boot your broken system via dvd and there is only this one - so please ignore.

but i`d like to take a look into contents of /boot ( ls -la /boot ) and /boot/grub/menu.lst

did you already check for problems there or can you post that, too ?

i suspect there`s something wrong with the initrd.
Comment 8 Tony Mechelynck 2008-11-23 05:20:58 UTC
(In reply to comment #7 from roland kletzing)
> >how does the INITRD_MODULES list look like on the broken system?
> 
> stupid me - as you can boot your broken system via dvd and there is only this
> one - so please ignore.
> 
> but i`d like to take a look into contents of /boot ( ls -la /boot ) and
> /boot/grub/menu.lst
> 
> did you already check for problems there or can you post that, too ?
> 
> i suspect there`s something wrong with the initrd.
> 

If you mean the initrd on the 11.1 DVD (at /boot/i386/loader/initrd within the image downloaded from http://download.opensuse.org/distribution/11.1-Beta5/iso/openSUSE-11.1-Beta5-DVD-i586.iso ), it lets the DVD system access my HD with no problem. I could attach it to this bug, but I suppose it would only duplicate information already available online.

If you mean the initrd created by that system as the target of the /boot/initrd symlink on my HD for use by grub at bootup, I believe it was lost by downgrading and is no more accessible. The same applies to /boot/* and /boot/grub/* as created by the 11.1 upgrade system on my HD, so, no, I cannot post that -- and I'm not going to lose the better part of a day again to install a system which I know doesn't work (and cannot access the Internet either, see bug 447971), then uninstall it.
Comment 9 Tony Mechelynck 2008-11-23 05:59:32 UTC
P.S. I tried to copy the contents of /dev on the working system booted from the DVD image to /dev on the HD but it didn't work (the problem was, IIUC, with /dev on the system loaded from the currently lost initrd, where there was no disk device at all AFAICT); and of course I cannot access the results now that udev is mounted on /dev.
Comment 10 Tony Mechelynck 2008-11-23 13:38:04 UTC
Not sure whom to request SHIP_STOPPER from -- feel free to fill in the requestee field.
Comment 11 Forgotten User qMyteedNxa 2008-11-23 14:18:13 UTC
downgrading?
did you try to downgrade ?

i`m confused - i thought this was about upgrading issue!?

if you boot the installed system on disk via dvd, the kernel and the initrd on
the dvd is used instead of those from disk. when you take a look into /boot,
you should see the kernel, initrd and bootloader configuration of your
unbootable system, as the dvd mounts the filesystems from disk.

if you cannot list the contents of /boot and menu.lst for the upgraded 11.1
system (as this contains the essential part for system boot), how should any
3rd party being able to help you ?
Comment 12 Tony Mechelynck 2008-11-23 15:18:58 UTC
(In reply to comment #11 from roland kletzing)
> downgrading?
> did you try to downgrade ?
> 
> i`m confused - i thought this was about upgrading issue!?
[...]

I tried to upgrade from 11.0 to 11.1-Beta5, noticed this bug (to which I found a kludgy workaround) and bug 447971 (which prevented me from accessing the Internet, and to which I found no workaround), and finally downgraded back to 11.0 thanks to the 11.0 ISO images saved on my partition #2. Then, after rebooting the 11.0 system (which finds my HDD and connects my DSL modem with no problem), I reported these two bugs, which are about the system which I could (apparently) install, and even run after a fashion, but with no Internet connection and a kludgy (and slow) bootup sequence requiring invoking "expert repairs" from the DVD+X11 system at every bootup.

A third (well, second) party could help me by making sure that by the time 11.1 final ships, it can boot from my HD and connect to the Internet through my PPPoE DSL line. In the meantime I'm back to 11.0 after making you aware that I had a problem (since if nobody reports a bug it isn't gonna get fixed). Now of course you may or may not be able to reproduce the problem. If you aren't, is there a way I can help you find out what went wrong, preferably without running a day-long upgrade-downgrade sequence with no Internet connection (therefore no mail, no news, no bug reporting at either Novell or Mozilla, etc.)? If there is, please explain how, because otherwise I'm lost.
Comment 13 Stephan Kulow 2008-11-24 09:25:52 UTC
/dev/hda5 is not supposed to appear, /dev/sda* is - since 10.3. So I'm not sure you're not hunting ghosts. Especially as your boot log is from 
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120P0_Y36LRGNE-part5 - which is most likely /dev/sda5.

Comment 14 Tony Mechelynck 2008-11-24 10:03:03 UTC
Hm. The booted 11.1-Beta5 system told me it didn't find some name which I don't fully remember but it started with "/dev/disk/by-id/" and ended with "-part5"; then it asked "fallback on /dev/hda5 Y/n?"; after Y it still doesn't appear (after displaying several tens of full stops on the console), so I'm left with a bash command-line. At that point "ls /dev" showed no hard drive that I could recognize. Of course I may have missed something.

The 11.1-Beta5 DVD system sees it as /dev/hda5, I can see /dev/hda5 mounted on /mnt during upgrade, and I have to replace sda by hda (and sr0 by hdc) in /etc/fstab to make it work when "booting the installed system" from the "expert repairs" menu.

Under 11.0 (after downgrading back), the menu.lst uses the line

    kernel (hd0,4)/boot/vmlinuz-2.6.27.5-2-pae root=/dev/disk/by-id/scsi-SATA_Maxtor_6Y120P0_Y36LRGNE-part5 splash=silent  showopts

and the kernel booted from disk sees it as /dev/sda5. My boot log is from this 11.0 system, I suppose, as the 11.1-Beta5 couldn't connect my DSL line so, as said above, I had to downgrade back to 11.0 before I could report the bug.
Comment 15 Tejun Heo 2008-11-24 13:20:45 UTC
Dup of #441384.  ide and libata create differently named by-id nodes so the with the driver switched it can't find the device.  Will be fixed in -rc1.

*** This bug has been marked as a duplicate of bug 441384 ***
Comment 16 Tony Mechelynck 2008-11-24 15:56:21 UTC
After reading all comments in bug 441384, I believe it is indeed the same issue.
=> VERIFIED.