Bug 429344

Summary: Install error: Make sure that CD 1 is in your drive.
Product: [openSUSE] openSUSE 11.1 Reporter: Ben Popatopalous <popatopalous>
Component: InstallationAssignee: Tejun Heo <teheo>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: davejplater, popatopalous, snwint
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Debugging output of k3b.
Output of cdrecord.
'lspci -nn' and 'lsmod'
sata_nv-hardreset-fix.patch

Description Ben Popatopalous 2008-09-23 23:28:13 UTC
I've burned [with k3b] the 11.1 Beta 1 x86_64 DVD twice. File is listed as 3.68GB. It will boot with Suse graphics and all then after selecting 'Installation' it loads kernel into a text mode installer and gives the error:

Make sure that CD 1 is in your drive.

I can by using back button get 2 other errors:

This is not a openSuse CD-ROM.

and:

No repositories found.

I tried again using k3b. By default it burns DVD's at 4.1x with my DVD writer. I selected the slowest speed it offers 2.4x. When I booted the new DVD I got exact same results as before.

Bear in mind that what I downloaded is a DVD not a CD and even at that the errors refer to a CD-ROM. Also when the installer boots kernel it goes to text mode. I've never known an openSuse installer to do that by default.

Here's md5sum:

:~/Documents/openSUSE-11.1-Beta1-DVD-x86_64-iso> md5sum openSUSE-11.1-Beta1-DVD-x86_64.iso
d703398fbc34dabffc83b7f471efa847  openSUSE-11.1-Beta1-DVD-x86_64.iso

Please let me know of any other information to provide or anything to try. I'm a Community User not a developer so you may need to explain in detail how to do some things.
Comment 1 Ben Popatopalous 2008-09-23 23:36:05 UTC
Created attachment 241271 [details]
Debugging output of k3b.
Comment 2 Steffen Winterfeldt 2008-09-25 09:13:33 UTC
There's a media check option at the boot screen. If you try it, does
the check pass?
Comment 3 Christoph Thiel 2008-09-25 10:22:31 UTC
Ben, could you please provide the information requested in comment #2?
Comment 4 Ben Popatopalous 2008-09-25 18:36:34 UTC
Um, this is weird but may indicate something. I don't have a media check option on the main boot screen. I heave on main boot screen:

Boot from Hard Disk
Installation
Repair Installed System
Rescue System
Firmware Test
Memory Test

Both Firmware and Memory Test work. I tried using F1 on all options and found no reference to Check Media or Media Check. Makes me think what I downloaded [twice so far] is missing some files. Is 3.68GB the correct size? 
Comment 5 Ben Popatopalous 2008-09-25 21:31:34 UTC
Created attachment 241790 [details]
Output of cdrecord.
Comment 6 Ben Popatopalous 2008-09-25 21:37:41 UTC
I am downloading and burning DVD's in openSUSE 11.0 x86_64. I just did one from cli with cdrecord. It wasn't any different than ones burned with k3b. Same errors and also lacking "Check Installation Media" on main boot screen. Also none of these DVD's have the openSUSE Welcome/Wilkommen page either. Attachment in Comment #5 has the cli output for cdrecord. Appologies if I misspelled Wilkommen.
Comment 7 Steffen Winterfeldt 2008-09-26 09:10:09 UTC
Uhm, in that case please start the install with bootoption 'mediacheck=1'.
Comment 8 Ben Popatopalous 2008-09-26 18:07:07 UTC
If I select 'Install' and add boot option 'mediacheck=1' after booting it gives error:

This is not an openSUSE CD-ROM.

If I click OK on that it then gives the message:

Make sure that CD number 1 is in your drive.
Comment 9 Steffen Winterfeldt 2008-09-29 09:33:58 UTC
Ehm, ok. The failed mediacheck is caused by an incorrectly created iso; but
this does not relate to your bugreport.

Anyway, what's visible on consoles 3 and 4? Any reading errors?
Comment 10 Ben Popatopalous 2008-10-01 03:55:27 UTC
If I understand question correctly I did find errors:

Ctrl>AltF3:

insmod:error inserting '/modules/acpi-cpufreq.ko': -1 Device or resource busy
insmod:error inserting '/modules/efivars.ko': -1 No such device
insmod:error inserting '/modules/ide.generic.ko': -1 Cannot allocate memory
instsys missing: boot/x86_64/cracklib-dict-full.rpm
disk: mount ok but test failed
url mount: cd:/?device=hdc failed 
repository not found
no openSUSE repository found
Automatic setup not possible.

Ctl>Alt>F4:

hdc: command-error: status=0x51 {DriverReady SeekComplete Error}
hdc: command-error: error=0x50 {LostFailedSense=0x05}
ide: failed opcode was: unknown
ATAPI device hdc: Error: Illegal request--(Sense key=0x05)
    (vendor-specific error)--Case=0xa8, ascq=0x03)
    The failed "Read 10" packet command was:
    "28 00 00 00 00 5d 00 00 01 00 00 00 00 00 00 00"
endrequest: I/O error,dev hdc, sector 372

Bare in mind that I copied this data long hand and retyped it here. And I did proofread what I typed. However if an error seems apparent or anything is in question I will gladly double check. I did not see any way possible, at my level of knowledge, to copy contents of terminals 3 and 4 and pasting the contents elsewhere.
Comment 11 Steffen Winterfeldt 2008-10-01 09:25:12 UTC
Thanks!

Looks like there is a problem with the storage drivers on your machine.
It seems no driver is found and then ide-generic is tried (which fails).

Moving bug to kernel people.
Comment 12 Ben Popatopalous 2008-10-04 19:49:37 UTC
Yesterday downloaded and burned x86_64 Beta 2 and problem still exists. I believe some on factory mailing list have reported this and filed bug reports for ppc x86 arches as well.
Comment 13 Ben Popatopalous 2008-10-09 00:19:15 UTC
This is frustrating. Will this be fixed by stable release? Will I ever be able to install openSUSE again? Seems strange that not being able to install an operating system at all doesn't receive more response. I have tested openSUSE Beta versions in the past but now I out in the cold for some reason... Am I missing something here? 
Comment 14 Tejun Heo 2008-10-09 05:56:00 UTC
Hello, can you please post the result of "lscpi -nn" and "lsmod" from working installation?  It's most likely dup of bug#433105.

  https://bugzilla.novell.com/show_bug.cgi?id=433105
Comment 15 Steffen Winterfeldt 2008-10-09 11:14:25 UTC
I think ide-generic pops in at an unwanted place. Does booting
with 'brokenmodules=ide-generic' and/or 'linuxrc.debug=-udev.mods' help?
Comment 16 Ben Popatopalous 2008-10-09 16:12:20 UTC
Created attachment 244669 [details]
'lspci -nn' and 'lsmod'

Results of 'lspci -nn' and 'lsmod'
Comment 17 Ben Popatopalous 2008-10-09 16:19:36 UTC
Using 'brokenmodules=ide-generic' and/or 'linuxrc.debug=-udev.mods' does not help. Still results in screen with Error:

Make sure that CD 1 is in your drive.

and same errors under Ctl>Alt>F3 and Ctl>Alt>F4 noted in comment #10.
Comment 18 Ben Popatopalous 2008-10-09 16:49:29 UTC
What other info do I need to add? I thought I provided what has been requested.
Comment 19 Ben Popatopalous 2008-10-09 16:52:10 UTC
Sorry for confusion.
Comment 20 Tejun Heo 2008-10-13 07:46:13 UTC
Hmmm.. MCP51.  SL111 could have some problem with nv flavors which is being debugged upstream bug SL110 shouldn't have any problem detecting the device.  Strange.  Can you please boot SL110 installation media and when you can get to command console, do the followings?

1. Plug in a usb stick.  Running dmesg will tell you which /dev/sdX device node it got assigned.

2. "mkdir /mnt/tmp; mount /dev/sdX /mnt/tmp".  You might need to load filesystem module depending on which file system you're using on the USB stick (e.g. modprobe ext3).

3. "cp /var/log/boot.msg /mnt/tmp; dmesg > /mnt/tmp/dmesg.out; umount /mnt/tmp"

3. Reboot into working environment and attach the two files on the USB stick.

Thanks.
Comment 21 Ben Popatopalous 2008-10-22 22:03:43 UTC
Sorry for slow reply. I don't have a usb stick. Also kinda broke just now... When I can I'll get one and do steps from Tejun in comment 20. Unless there's another way to do this???
Comment 22 Ben Popatopalous 2008-10-22 22:28:01 UTC
I do have a 2 GB memory card for a digital camera but I don't know how to use it for this purpose.
Comment 23 Tejun Heo 2008-10-23 03:55:12 UTC
Can you please test beta3 then?
Comment 24 Ben Popatopalous 2008-10-23 17:00:44 UTC
Yes.
Comment 25 Ben Popatopalous 2008-10-23 21:56:26 UTC
Nope. 11.1 Beta 3 Install DVD x86_64 fails with same error/results as Beta 1 & 2 did. 
Comment 26 Tejun Heo 2008-11-03 03:21:05 UTC
Created attachment 249302 [details]
sata_nv-hardreset-fix.patch

Okay, upstream fix confirmed.  Will prep a kISO soon.
Comment 27 Tejun Heo 2008-11-03 03:44:10 UTC
Patch committed.

-------------------------------------------------------------------
Mon Nov  3 04:42:10 CET 2008 - teheo@suse.de

- patches.drivers/libata-sata_nv-hardreset-fix: sata_nv: fix
  generic, nf2/3 detection regression.
Comment 28 Tejun Heo 2008-11-03 09:35:42 UTC
Please test the following kISO.

  http://htj.dyndns.org/export/kiso/SL111b3-x86_64-bug429344_dbg0.iso

For instructions on how to test kISO,

  http://htj.dyndns.org/export/kiso/SL103-kISO-doc.txt
Comment 29 Ben Popatopalous 2008-11-03 16:33:50 UTC
I'm all over it. Almoxt done burning CD and have read and printed instructions/documentation. Will report asap.
Comment 30 Ben Popatopalous 2008-11-03 19:30:07 UTC
I can boot kISO CD and insert 11.1 Beta3 x86_64 DVD and it opens. Unfortunately my keyboard and mouse don't work with this kernel.

:~> lsusb
...
Bus 001 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
...

I tried all options under >Installation>F3 and>F5. I also tried Boot Options:

kbd=usb
brokenmodules=kdb
brokenmodules=usbkdb

So far I'm not smart enough to find a boot parameter that will work with the kISO CD and my keyboard/mouse... Otherwise I believe this would work if that helps any.
Comment 31 Tejun Heo 2008-11-04 02:38:06 UTC
Great, so the ATA detection is fixed.  I don't know whether the USB keyboard problem is a bug introduced after b3 or is it something I screwed up during kISO creation.

You can tell the installation system to start ssh.

  http://en.opensuse.org/Linuxrc

"sshpassword=mysshpassword usessh=1 netsetup=dhcp" will start sshd on installation system load, so you can log in remotely.  Can you please fetch /var/log/boot.msg, the result of "dmesg" and "lspci -nn" and post them here?

Thanks.
Comment 32 Ben Popatopalous 2008-11-04 14:59:46 UTC
(In reply to comment #31 from Tejun Heo)

> "sshpassword=mysshpassword usessh=1 netsetup=dhcp" will start sshd on
> installation system load, so you can log in remotely.  Can you please fetch
> /var/log/boot.msg, the result of "dmesg" and "lspci -nn" and post them here?
> 
> Thanks.
> 

I'm not sure how to "log in remotely". I only have one computer. The "sshpassword=mysshpassword usessh=1 netsetup=dhcp" only works with kISO CD but then I don't have keyboard or mouse so I can't do anything. I also tried it with Beta 4 DVD but I only get the same error "Make sure CD 1 is in your drive."

Or is there a way to open kISO CD or Beta 4 DVD while logged in to openSUSE 11.0 partition? Maybe I'm ignorant on this subject... If so I'll learn if some one can advise. I'll be looking as well.

FWIW keyboard and mouse do work with Beta 1, 2, 3, and 4 DVD's and KDE Beta 4 Live CD. Only don't work with kISO CD. Also FWIW Beta 4 KDE x86_64 Live CD does work and will install. It appears that only DVD's have this problem.

And thank you Tejun for your time and patience on this.



Comment 33 Tejun Heo 2008-11-05 03:41:14 UTC
The kISO is a debugging thing I made and probably I missed some stuff there.  I was assuming you had access to another machine with the ssh thing.  Well...

b4 live cd working fine is strange.  They're based off the same kernel so they shouldn't differ in this respect.  Ah.. okay, you're seeing two problems - IDE preferred over libata and the MCP51 detection problem.  Live cd uses different initrd which doesn't have the first problem.

It will all work in the next round.  I'm closing this one as FIXED now.  If the next round doesn't work, please reopen and complain loudly.  Thanks.
Comment 34 Ben Popatopalous 2008-11-05 15:42:54 UTC
Thank you. I look forward to next round which I believe is RC 1. Will report either way. Thanks again.
Comment 35 Ben Popatopalous 2008-11-15 00:28:37 UTC
Downloaded x86_64 Beta 5 DVD. Something new to report! After loading kernel [2.6.27.5-2-default] I first get error:

"file: var/adm/mount/boot/x86_64/common: SHA1 sum wrong"

then it says if you really trust your repository continue. When I select continue I then get the afore mentioned error:

"Make sure that CD 1 is in your drive." 

I obviously know how to check md5sum. I've never seen a SHA1 sum error. How do I check it? [Also asked question on openSUSE alpha/beta forum].

It may worth noting that all of these failed openSUSE install DVD's do not have the option 'Check Installation Media'.
Comment 36 Ben Popatopalous 2008-11-15 19:02:00 UTC
Google, popatopalous, Google. Or actually Scroogle. At any rate:

doofus@linux-#$%^&:~/Download> sha1sum openSUSE-11.1-Beta5-DVD-x86_64.iso
81113cc5201bcfcfb52e1a61d49ecb1490572a82  openSUSE-11.1-Beta5-DVD-x86_64.iso
doofus@linux-#$%^&:~/Download> md5sum openSUSE-11.1-Beta5-DVD-x86_64.iso
793e487eb299df6bede87de3d722cc6f  openSUSE-11.1-Beta5-DVD-x86_64.iso

Both of which match. So the SHA1 sum error is in error...
Comment 37 Tejun Heo 2008-11-16 04:22:40 UTC
Hmmm... That's strange.  The module priority problem hasn't been fixed yet.  The changes went in so rc1 will fix it.  However, that shouldn't cause the problem you're reporting.  Can you please boot with "brokenmodules=ide-generic"?  Also, please report the result of lsmod.  Thanks.
Comment 38 Ben Popatopalous 2008-11-16 19:20:00 UTC
"brokenmodules=ide-generic" doesn't change anything. What do you mean by "please report the result of lsmod" I can't run that from the install DVD. At least haven't found a way to yet. Here's 'lsmod' from my openSUSE 11.1 x86_64 fully updated partition:

doofus@linux-#$%^&:~> lsmod                                                                                       
Module                  Size  Used by                                                                         
af_packet              37120  2                                                                               
binfmt_misc            26764  1                                                                               
snd_pcm_oss            65280  0                                                                               
snd_mixer_oss          33280  1 snd_pcm_oss                                                                   
snd_seq                78352  0                                                                               
snd_seq_device         25108  1 snd_seq                                                                       
cpufreq_conservative    24712  0                                                                              
cpufreq_userspace      20612  0                                                                               
cpufreq_powersave      18688  0                                                                               
powernow_k8            32004  1                                                                               
fuse                   77504  3                                                                               
loop                   34444  0                                                                               
dm_mod                 90352  0                                                                               
snd_hda_intel         559780  3                                                                               
snd_pcm               111880  2 snd_pcm_oss,snd_hda_intel                                                     
snd_timer              43152  2 snd_seq,snd_pcm                                                               
snd_page_alloc         26256  2 snd_hda_intel,snd_pcm                                                         
ppdev                  24712  0                                                                               
snd_hwdep              25480  1 snd_hda_intel                                                                 
snd                    91128  14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep                                                                                                 
rtc_cmos               30392  0                                                                               
ohci1394               47796  0                                                                               
parport_pc             56776  0                                                                               
forcedeth              76816  0                                                                               
rtc_core               38836  1 rtc_cmos                                                                      
floppy                 79656  0                                                                               
button                 24736  0                                                                               
i2c_nforce2            25096  0                                                                               
ieee1394              115312  1 ohci1394                                                                      
parport                58016  2 ppdev,parport_pc                                                              
nvidia               7812624  26                                                                              
k8temp                 21760  0                                                                               
soundcore              25232  1 snd                                                                           
pcspkr                 19456  0                                                                               
joydev                 28544  0                                                                               
serio_raw              22916  0                                                                               
rtc_lib                19968  1 rtc_core                                                                      
isp1760                37168  0                                                                               
i2c_core               51744  2 i2c_nforce2,nvidia                                                            
sr_mod                 32692  0
cdrom                  52648  1 sr_mod
sg                     51792  0
usbhid                 69328  0
hid                    58000  1 usbhid
ff_memless             25352  1 usbhid
sd_mod                 51496  5
crc_t10dif             18560  1 sd_mod
ehci_hcd               71436  0
ohci_hcd               53020  0
pata_amd               30084  1
usbcore               215264  5 isp1760,usbhid,ehci_hcd,ohci_hcd
edd                    26768  0
sata_nv                42888  2
libata                199232  2 pata_amd,sata_nv
scsi_mod              194856  4 sr_mod,sg,sd_mod,libata
dock                   30996  1 libata
ext3                  158608  2
mbcache                26884  1 ext3
jbd                    85440  1 ext3
fan                    22408  0
thermal                40736  0
processor              66104  2 powernow_k8,thermal
thermal_sys            30784  3 fan,thermal,processor
hwmon                  20536  2 k8temp,thermal_sys

Also FWIW: I have 2 Beta 5 x86_64 DVD's one is Sony one is Maxell and both give same results.
Comment 39 Tejun Heo 2008-11-17 01:59:37 UTC
Eh... lsmod isn't there but you can do "cat /proc/modules", sorry about that.  Can you please fetch "cat /proc/modules" and /var/log/boot.msg from the installation media and attach here?
Comment 40 Ben Popatopalous 2008-11-18 01:09:36 UTC
Tejun I would be happy to do as you ask but I have no idea how to do it? Is there a way to mount DVD in a working partition and get those files???
Comment 41 Tejun Heo 2008-11-18 01:31:13 UTC
Ah.. you need running system for that.  You can fetch them by..

1. Boot the installation media.
2. Switch to command shell.
3. Plug in a USB stick
4. dmesg will tell you which device it is
5. mount /dev/sdX1 /mnt (you might need to load fs modules - vfat or ext3 - depending on which fs you're using on the usb stick)
6. cat /proc/modules > /mnt/modules; cp /var/log/boog.msg /mnt
7. umount /mnt
8. reboot into working env and post the two files from the usb stick.

Thanks.
Comment 42 Ben Popatopalous 2008-11-27 20:05:37 UTC
See comment # 21. Don't have a USB stick or the means to get one currently. Will try again with RC 1.
Comment 43 Ben Popatopalous 2008-11-28 00:24:32 UTC
OK, I downloaded and burned 11.1 RC 1 x86_64 DVD. It freaking works. Fresh install went flawlessly. Oddly there isn't a 'Media Check' option in the startup menu. Running 'mediacheck=1' does work. Seems this bug is fixed.
Comment 44 Tejun Heo 2008-11-28 02:27:51 UTC
Alright, marking fixed.  Thanks.