devfs
[Top] [All Lists]

RE: Boot problems

To: "'David Fokkema'" <fokkema@xxxxxxxxx>, devfs@xxxxxxxxxxx
Subject: RE: Boot problems
From: Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
Date: Tue, 17 Dec 2002 15:46:57 +0300
Importance: Normal
In-reply-to: <Pine.SOL.4.43.0212171254590.4238-100000@selene.nat.vu.nl>
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 :)

> 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

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?

-andrey

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