Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231011 - LiveCD boot stops during attempt to mount CD on Compaq Presario 2110US
Summary: LiveCD boot stops during attempt to mount CD on Compaq Presario 2110US
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 01:30 UTC by M. Edward Borasky
Modified: 2009-11-29 14:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg from 2008.0 before attempting to mount /dev/sr0 (dmesg1,15.05 KB, text/plain)
2008-07-12 23:28 UTC, M. Edward Borasky
Details
dmesg from openSUSE 11 / Gnome LiveCD after full bootup (dmesg-openSUSE,20.77 KB, text/plain)
2008-07-12 23:41 UTC, M. Edward Borasky
Details
bonus prize -- an lspci from the openSUSE 11 LiveCD (lspci-openSUSE,858 bytes, text/plain)
2008-07-12 23:42 UTC, M. Edward Borasky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2008-07-07 01:30:06 UTC
I have a Compaq Presario 2110US laptop. I just downloaded the i685 LiveCD and checked the DIGESTS. It boots up until it gets to 

>> Attempting to mount media:- /dev/sr0

and then sits there. I tried this booting both with and without "doscsi" and it does the same thing. Is there some other boot flag I need to set?
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-12 16:35:00 UTC
If you boot with 'debug' on the kernel commandline and then try to mount it by hand, does that also hang?
Comment 2 M. Edward Borasky 2008-07-12 18:04:11 UTC
boot: gentoo doscsi debug

it gets to the point where it drops into a shell, and I did

# mkdir -p /dummy
# mount /dev/sr0 /dummy

It said,

mount: /dev/sr0 is write-protected, mounting read-only

and never came back to another shell prompt


Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-12 18:44:04 UTC
I'm not sure how you consider that fixed :P

This appears to be a kernel issue. Have you tried Ubuntu or any other LiveCD distro to see if they have the same problem?
Comment 4 M. Edward Borasky 2008-07-12 19:05:51 UTC
(In reply to comment #3)
> I'm not sure how you consider that fixed :P
> 
> This appears to be a kernel issue. Have you tried Ubuntu or any other LiveCD
> distro to see if they have the same problem?
> 

Did I accidentally mark it FIXED? Sorry.

Yes, openSUSE 11 LiveCDs work -- the machine is actually running openSUSE 11 at the moment, although I rebuilt it from a network install because I didn't like what was on the LiveCDs. In fact, the Gentoo 2007.0 LiveCD works as well.

I should probably do an MD5SUM check on the CD, though. K3B is notoriously bad at verification. :)
Comment 5 M. Edward Borasky 2008-07-12 19:18:18 UTC
good news -- the CD passed both MD5SUM and SHA1SUM checks, as did the downloaded .iso
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-12 22:45:50 UTC
What kernel does that LiveCD use? Can you attach the output of `dmesg` from both the gentoo LiveCD and the suse LiveCD?
Comment 7 M. Edward Borasky 2008-07-12 23:28:03 UTC
Created attachment 160224 [details]
dmesg from 2008.0 before attempting to mount /dev/sr0

Here's the one from Gentoo. Ignore the stuff towards the bottom about missing devices -- I had trouble figuring out where my USB stick was supposed to be. Once I got it mounted, I did a "dmesg" onto the attached file. I couldn't get one *after* attempting to mount the CD, though.
Comment 8 M. Edward Borasky 2008-07-12 23:41:28 UTC
Created attachment 160228 [details]
dmesg from openSUSE 11 / Gnome LiveCD after full bootup
Comment 9 M. Edward Borasky 2008-07-12 23:42:05 UTC
Created attachment 160229 [details]
bonus prize -- an lspci from the openSUSE 11 LiveCD
Comment 10 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-13 00:41:43 UTC
They're using the new PATA drivers like we are, but they have a newer kernel (2.6.25.5). Perhaps it's a bug that was already fixed upstream in the kernel.
Comment 11 M. Edward Borasky 2008-07-13 00:48:39 UTC
(In reply to comment #10)
> They're using the new PATA drivers like we are, but they have a newer kernel
> (2.6.25.5). Perhaps it's a bug that was already fixed upstream in the kernel.
> 

Any command line hacks that might make it work with 2.6.24?
Comment 12 Antti Aspinen 2009-01-23 13:06:57 UTC
(In reply to comment #0)
> I have a Compaq Presario 2110US laptop. I just downloaded the i685 LiveCD and
> checked the DIGESTS. It boots up until it gets to 
> 
> >> Attempting to mount media:- /dev/sr0
> 
> and then sits there. I tried this booting both with and without "doscsi" and
> it does the same thing. Is there some other boot flag I need to set?$


I'm having this same problem. Everything else works exept Gentoo. Any ugly hack to fix it so that I can boot 2008.0??? :/

Basicly everything works until it starts looking for the cdrom:

 >> Loading the ''fi'' keymap
 >> Making tmpfs for /newroot
 >> Looking for the cdrom
 >> Atttempting to mount media:- /dev/sr0
 >> Atttempting to mount media:- /dev/sr1
 >> Atttempting to mount media:- /dev/sda1
 >> Atttempting to mount media:- /dev/sda2
 >> Atttempting to mount media:- /dev/sda3
 >> Atttempting to mount media:- /dev/sda4
 !! Media not found
 >> No bootable medium found. Waiting for new devices...
 >> Looking for the cdrom
 >> Atttempting to mount media:- /dev/sr0
 >> Atttempting to mount media:- /dev/sr1
 >> Atttempting to mount media:- /dev/sda1
 >> Atttempting to mount media:- /dev/sda2
 >> Atttempting to mount media:- /dev/sda3
 >> Atttempting to mount media:- /dev/sda4
 !! Media not found
 !! Could not find CD to boot, something else needed!
 >> Determining root device...
 !! Could not find the root block device in .

Please specify another value or: press Enter for the same, type shell for a shell, or "q" to skip...
root block device() ::

You can enter the shell but if you try to mount sr0 it starts screaming:
mount: /dev/sr0 is write-protected, mounting read-only

which it then repeats eternally. :|

When booting it indeed does find the drive, it starts spinning it and reading it. But something will prevent it from mounting properly.

This is complete show stopper here with 2008.0 live-cdrom. I can't boot my computer from usb stick. I'm planning to go with Gentoo 2004.0 to boot and install from it.

Computer in this case is custom built Asus A7V based AMD Athlon64 machine with 768MB DDR.
Comment 13 Andrew Gaffney (RETIRED) gentoo-dev 2009-01-23 16:29:57 UTC
Please test one of the recent autobuild installcd ISOs. You can find it under /experimental/amd64/autobuilds/ on your favorite mirror.
Comment 14 David Meyer 2009-01-31 09:54:07 UTC
(In reply to comment #13)
> Please test one of the recent autobuild installcd ISOs. You can find it under
> /experimental/amd64/autobuilds/ on your favorite mirror.
> 

I experienced the same trouble (freeze at CDROM detection) when trying to install from a LiveCD to a Fujitsu FMV-718NU4 (Celeron). However, autobuild install-x86-minimal-20090128.iso is working fine.
Comment 15 Andrew Gaffney (RETIRED) gentoo-dev 2009-01-31 18:20:21 UTC
Then I think we can blame this on a now-fixed kernel issue.
Comment 16 Blu3 2009-02-07 06:09:22 UTC
install-x86-minimal-20090204.iso

Still hangs flat out at the first attempt to mount hda.  showPC indicates it's stopped in IDE IRQ handling.  So far the -only- thing that gets me anywhere is 'debug' which drops me to busybox and from that point on everything seems to act normally - i.e. I mount the cdrom and squash image manually and am in the process of creating an ext4 FS now.
Comment 17 Blu3 2009-02-07 06:34:09 UTC
[...]
Keeping default keymap
Making tmpfs for /newroot
Looking for the cdrom
Attempting to mount media:- /dev/hda1

<hangs with nothing further>

hda was entirely blank, hda1 is formatted as swap now

backtrace:
EIP is at _spin_unlock_irqrestore+0x5/0x6
ide_intr+0x188/0x193
handle_IRQ_event+0x1a/0x3f
handle_edge_irq+0xbf/0xfa
do_IRQ+0x4f/0x67
common_interrupt+0x23/0x30
mwait_idle+0x32/0x38
cpu_idle+0x5c/0x70
Comment 18 Dr. Sotiris Raptis 2009-04-25 11:31:38 UTC
Hi

It seems hanged but it is not. If you give it some time it will finally
boot

BR
Comment 19 Blu3 2009-04-25 13:22:41 UTC
going on 8+ hours with an unknown point in the future, no way for the end user to modify the current state; that qualifies as a hang.  the bug is not fixed. :)
Comment 20 M. Edward Borasky 2009-04-25 15:53:18 UTC
can we close this as obsolete / cantfix / wontfix? I still have that machine, but if I put Gentoo on it, it will be from media downloaded when I install, not from 2008.0. The installer has been cancelled.
Comment 21 Thomas Capricelli 2009-11-29 14:12:05 UTC
Hi. Not sure if this is the same bug, my i've experienced this twice recently, one one amd64+sata disk, and one on x86+IDE disk.

In both cases, the boot hangs on "attempting to mount media". When it does so, it tries /dev/hd* and it hangs when looking at /dev/hda which is the hard disk (or sda in the sata case).

I've 'fixed the sata case by using 'nosata' and loading the module by hand once booted. 

I've done a lot of install with those cds, and the only difference i can see is that in the two cases that fail, the hard disk had been shreded. That means no valid MBR and no valide partition table. I think this is the reason why the gentoo boot cd hangs.

The CD are quite recent, and are using the kernel with the tasmanian logo (that you can see at boot).