Re: Failed using CD-ROM as root filesystem

2001-04-19 Thread Brian Dean

On Mon, Apr 16, 2001 at 01:27:24PM +0900, Makoto MATSUSHITA wrote:
> I've tried to use (bootable) CD-ROM as root filesystem (I want have
> this because it's good alternative of fixit.flp), but it seems that
> GENERIC kernel doesn't understand where is root filesystem.
> 
> What I did are:
> 
[ procedure deleted ]
> 
> It seems that something goes wrong in setrootbyname(). Any clues?
> 
> P.S.: I've also tried with 4-stable kernel, and it goes pretty well.

I've been doing something similar with the latest code in -stable and
have got it working very well.  My purposes are varied, but I'm mainly
experimenting with setting up a cd-rom based firewall device using a
more traditional layout as opposed to the picobsd methods.

-Brian
-- 
Brian Dean
[EMAIL PROTECTED]
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Failed using CD-ROM as root filesystem

2001-04-15 Thread Makoto MATSUSHITA


I've tried to use (bootable) CD-ROM as root filesystem (I want have
this because it's good alternative of fixit.flp), but it seems that
GENERIC kernel doesn't understand where is root filesystem.

What I did are:

- make a 2.88MB boot floppy image, which contains:
* GENERIC kernel (gzipped)
* loader(8)
* configulation files for loader: device hints & 'set boot_cdrom'
- make an ISO image with, which contains:
* floppy image (mentioned above) for boot
* extracted distributions
- Burn an ISO image to a CD 
- Boot...
* loader(8) works well; initializing is OK, and kicks kernel.gz
* kernel works well until all devices are attached
* kernel stops when mounting root filesystem, dmesg says:


acd0: CDROM <> at ata0-slave PIO4
Mounting root from cd9660:cd0a
setrootbyname failed
iso_mountroot: can't find rootvp
Root mount failed: 6
Mounting root from cd9660:acd0a
setrootbyname failed
iso_mountroot: can't find rootvp
Root mount failed: 6
Mounting root from cd9660:wcd0a
setrootbyname failed
iso_mountroot: can't find rootvp
Root mount failed: 6

Manual root filesystem specification:
  :  Mount  using filesystem 
   eg. ufs:/dev/da0s1a
  ?  List valid disk boot devices
 Abort manual imput

mountroot>

It seems that something goes wrong in setrootbyname(). Any clues?

P.S.: I've also tried with 4-stable kernel, and it goes pretty well.

-- -
Makoto `MAR' MATSUSHITA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message