Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295289 - LiveDVD 10.1 activates mdev on boot and then fails to re-find media.
Summary: LiveDVD 10.1 activates mdev on boot and then fails to re-find media.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Team Anniversary
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-01 09:04 UTC by chris_debian
Modified: 2013-03-08 06:31 UTC (History)
1 user (show)

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


Attachments
.config-2.6.39.1 (.config,65.06 KB, text/plain)
2011-06-17 19:10 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chris_debian 2009-12-01 09:04:36 UTC
LiveDVD 10.1 downloaded today (01 Dec 2009) boot on my AMD 800mhz PC and gets as far as choosing keyboard layout/ mdev and then cannot find any media to boot from.

I have used other Gentoo install media such as the minimal x86 image, and have been able to boot all of the way to a command prompt.

I'm guessing that when the DVD initially boots, it uses a minimal kernel and then when it gets to mdev, it tries booting the DVD using a different kernel, but without the relevant module.

I tried booting with

gentoo ide=nodma

this didn't help.

Please let me know if I can help any further.

Many thanks,

Chris.

Reproducible: Always

Steps to Reproduce:
1. Set BIOS to boot from DVD
2. Boot DVD
3. Select 'gentoo' at boot prompt

Actual Results:  
DVD boots and modules are loaded.  Last modules loaded seem to be e1000 then tg3. I am then prompted with the keyboard layout selection; the boot then fails.

Expected Results:  
I would expect my (UK) keyboard settings to be accepted and then for networking to start and the LiveDVD environment to be present.
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-12-01 09:24:13 UTC
Chris,
How much ram on your AMD 800mhz PC?
Comment 2 chris_debian 2009-12-01 09:34:05 UTC
(In reply to comment #1)
> Chris,
> How much ram on your AMD 800mhz PC?
> 

Hi, David. 

Replying from my G1, and can' check, but approx 1124 megs ( 1 gig stick plus a bit more).

Hope this helps.

Chris.
 
Comment 3 Fernando (likewhoa) 2009-12-01 13:22:50 UTC
Which message are you getting upon scan of a cdrom device? Is it putting you on the rescue shell? try with 'gentoo slowusb' option also. I don't see why it would miss your cdrom device but we would need a little more info on your system, preferably a lspci output.
Comment 4 Martin Mokrejš 2011-06-17 19:05:59 UTC
(In reply to comment #3)
> Which message are you getting upon scan of a cdrom device? Is it putting you on
> the rescue shell? try with 'gentoo slowusb' option also. I don't see why it
> would miss your cdrom device but we would need a little more info on your
> system, preferably a lspci output.

Something similar happened to me now with LiveDVD 11.0 on x86 laptop. I will make it short and say that the CD-ROM drive was configured as a secondary slave while there was no secondary master. It manifested in the way that the system booted off the DVD media but then could not find the media:

!!Media not found
!!Could not find CD to boot, something else needed!
>>Determining root device...
!!Could not find the root device in .
Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...

It is not clear whether one sould answer /dev/sdc, or /dev/sr0, or just 'sr0', or mount the media and point tot he nountpoint ...

I went into the BusyBox ash shell, but the underlying issue is that I could not make the kernel detect my /dev/sdc as the /dev/sr0. I though I could attach my external DVD-RW via firewire sbp2 but there are no drivers. Then I thought I could connect it via USB as the box has also USB2 input but then I found there are no pcmcia drivers on the miniroot system. Even worse, there is no lsusb, no rescan-scsi-bus.sh. As I said, primarily I got into this because the internal PATA drive was configured by BIOS as a secondary slave and kernel does not detect it.

Other issues now with the LiveDVD for x86 32-bit hosts:
there are no firewire drivers in /lib/modules/2.6.37*/kernel/drivers/, neither pcmcia cardbus drivers (it seems the /lib/modules/ is mounted later after successfull startup from another location on the DVD media, which introduces 2.6.37-gentoo-r1/ and 2.6.37-gentoo-r2/ directories, which DO contain the above mentioned drivers. But that is too late.

Oh yeah, and there is no mknod so even I would manage to load appropriate driver for my drive I would not rememer what numbers to use as arguments for mknod. So, please enable the the minimalistic devfs in the kernel, it is exactly for this purpose when udev fails:

CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y


I lack wvdial and kde-ppp on the LiveDVD, many of us want internet connection via USB-to-serial GPRS/EDGE/3G/4G modems.

And, I propose extending the kernel command line with more defaults, it is always easier for the user to delete some of the entries in the commandline then to find them somewhere else:

idebus=66 ide0=dma ide2=dma ide0=ata66 ide1=ata66 console=ttyS0,57600n8 console=tty0 udev

I will attach my working .config, for completeness.
Comment 5 Martin Mokrejš 2011-06-17 19:10:52 UTC
Created attachment 277405 [details]
.config-2.6.39.1

A rather typical older 32-bit host with Intel PATA chipset, AGP, just in case you do not want to provide all driver modules on the media (which would be bad IMHO).
Comment 6 Fernando (likewhoa) 2013-03-08 06:31:10 UTC
latest livedvd should not encounter this. please reopen if it does