Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 1997 11:57:10 +0000
From:      davidn@unique.usn.blaze.net.au (David Nugent)
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        jfieber@indiana.edu (John Fieber), hackers@FreeBSD.ORG
Subject:   Re: Mounting devfs on /dev
Message-ID:  <Mutt.19970111115710.davidn@labs.blaze.net.au>
In-Reply-To: <Mutt.19970112002014.j@uriah.heep.sax.de>; from J Wunsch on Jan 12, 1997 00:20:14 %2B0100
References:  <Mutt.19970111201203.j@uriah.heep.sax.de> <Pine.BSI.3.95.970111150344.307A-100000@fallout.campusview.indiana.edu> <Mutt.19970112002014.j@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch writes:
> As John Fieber wrote:
> 
> > > 	options		DEVFS_ROOT
> > > 
> > > This will pass -r to init(8), which in turn causes it to mount DEVFS.
> > 
> > So far so good.  Now, what does:
> > 
> >   panic: ffs_mountroot: can't set up bdevvp for root
> 
> Are you sure everything has been built correctly?

FWIW, it happens here too. It seems that devfs does not (yet)
create the device nodes for hard disks correctly. It may be
related to having the FreeBSD slice on a separate partition
(in my case it was sd1s2). I've recently built a new root
on sd0 using sd0x devices and not sd0xsNx, so I will give it
another try when I next do a kernel build.


> j@uncle 55% ls /dev
> /dev:
> bpf0%      fd0.820#   log@       rfd0.1480% rvn4%      ttyp2%     ttyvb%
> console%   fd0a#      lpctl0%    rfd0.1720% rvn5%      ttyp3%     ttyvc%
> cuaa0%     fd0b#      lpt0%      rfd0.720%  rvn6%      ttyp4%     ttyvd%
> cuaa1%     fd0c#      mem%       rfd0.800%  rvn7%      ttyp5%     ttyve%
> cuaia0%    fd0d#      null%      rfd0.820%  speaker%   ttyp6%     ttyvf%
> cuaia1%    fd0e#      ptyp0%     rfd0a%     stderr%    ttyp7%     urandom%
> cuala0%    fd0f#      ptyp1%     rfd0b%     stdin%     ttyv0%     vn0#
> cuala1%    fd0g#      ptyp2%     rfd0c%     stdout%    ttyv1%     vn1#
> drum%      fd0h#      ptyp3%     rfd0d%     tty%       ttyv2%     vn2#
> fd/        gsc0%      ptyp4%     rfd0e%     ttyd0%     ttyv3%     vn3#
> fd0#       gsc0d%     ptyp5%     rfd0f%     ttyd1%     ttyv4%     vn4#
> fd0.1200#  gsc0p%     ptyp6%     rfd0g%     ttyid0%    ttyv5%     vn5#
> fd0.1440#  gsc0pd%    ptyp7%     rfd0h%     ttyid1%    ttyv6%     vn6#
> fd0.1480#  io%        random%    rvn0%      ttyld0%    ttyv7%     vn7#
> fd0.1720#  klog%      rfd0%      rvn1%      ttyld1%    ttyv8%     zero%
> fd0.720#   kmem%      rfd0.1200% rvn2%      ttyp0%     ttyv9%     
> fd0.800#   lkm%       rfd0.1440% rvn3%      ttyp1%     ttyva%     
> 
> That /dev looks fairly tidied up, doesn't it? :-)

Sure does.


> Btw., i just notice that ft0 is missing, and:
> 
> bpf: ppp0 attached
> bpf: ppp1 attached
> bpf: lo0 attached
> 
> ...bpf1 and bpf2 seems to be missing, too.

And where are the hard disk devices?  :-)

DEVFS_ROOT works great for netboots though.


Regards,

David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970111115710.davidn>