devfs
[Top] [All Lists]

RE: Boot problems

To: Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
Subject: RE: Boot problems
From: David Fokkema <fokkema@xxxxxxxxx>
Date: Tue, 17 Dec 2002 14:12:53 +0100 (MET)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <6134254DE87BD411908B00A0C99B044F03A0B59E@MOWD019A>
Sender: devfs-bounce@xxxxxxxxxxx
> > It's awfully quiet in here, I hope this mailing list is still alive...
> >
>
> it probably means that devfs does not have any problems :)

Very nice! :-)

>
> > Anyway, I'm having some problems with devfs during boot. My system is
> > working fine, that's not the problem. What is, however, is that I want to
> > make a bootable CD and I was very glad with the existence of
> > /dev/cdroms/cdrom0 and alike. However, my kernel (on a test bootfloppy)
> > complains that it can't access that device. It does work if I use
> > /dev/ide/host0/bus0/target1/lun0/cd and alike. But then, I need to know
> > where my CD is located. Also, on my system, when I want LILO to append a
> > root statement to the kernel command line, I can't use
> > /dev/discs/disc0/part1 either.  Again, I have to use
> > /dev/ide/host0/bus0/target0/lun0/part1.
>
> I can. Probably lilo problem:
>
> image=/boot/vmlinuz-2.4.20-2mdk
>         label=test1
>         root=/dev/discs/disc0/part5
>         read-only
>         optional
>         vga=788
>         append=" devfs=mount apm=power_off,realmode_power_off"
>         initrd=/boot/initrd-2.4.20-2mdk.img

But wait. Aren't you using an initrd image? I hoped to do this without
initrd, but just booting from root=/dev/cdroms/cdrom0. (Or
root=cdroms/cdrom0 as Marton seems to suggest?)

>
> bor@cooker% rpm -qi lilo
> Name        : lilo                         Relocations: (not relocateable)
> Version     : 22.3.2                            Vendor: MandrakeSoft
> Release     : 5mdk
> ...
>
>
>  In the latter case, I'll survive
> > (it's still annoying, though) but in the former, I do want it to work. I
> > guess I could use an initrd image which will use /dev/cdroms/cdrom0, but
> > that is just extra trouble. I would say that it should work, or else
> > should be added to the kernel.
> >
> > My setup: kernel 2.4.19 compiled with devfs set to mount at boot, cdrom
> > driver and isofs included. LILO append line:
> >
> > append = "devfs=only root=/dev/cdroms/cdrom0"       (which doesn't work)
> >
> > or, (doesn't work either)
> >
> > append = "devfs=mount root=/dev/cdroms/cdrom0"
> >
> > If someone knows how to help me, please let me know!
> >
>
> Is cdrom module or statically compiled in kernel?

It is statically compiled in the kernel.

David


<Prev in Thread] Current Thread [Next in Thread>