ffs_mountroot: can't find rootvp (about to give up...)

ffs_mountroot: can't find rootvp (about to give up...)

Post by marc » Wed, 06 Mar 2002 14:24:59



I have FreeBSD 4.5 installed on an old 486. Compiled the kernel several
times with different options enabled/disabled and searched on the web for
similar problems but only found answers (I think...) in other languages. Can
anyone help me as I'm about to give up on FreeBSD.

FreeBSD 4.5
------------------------------------------------------------------------
mountroot> ufs:/dev/da0s1a
Mounting root from ufs:/dev/da0s1a
no such device 'da'
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Manual root filesystem specitifation:
    <fstype>:<device> Mount <device> using filesystem <fstype>
                                        eg. ufs:/dev/da0s1a
     ?                           List valid disk boot devices
     <empty line>         Abort manual input

mountroot>
------------------------------------------------------------------------

Marc

 
 
 

ffs_mountroot: can't find rootvp (about to give up...)

Post by John Nielse » Wed, 06 Mar 2002 15:03:34



Quote:> I have FreeBSD 4.5 installed on an old 486. Compiled the kernel several
> times with different options enabled/disabled and searched on the web for
> similar problems but only found answers (I think...) in other languages.
Can
> anyone help me as I'm about to give up on FreeBSD.

> FreeBSD 4.5
> ------------------------------------------------------------------------
> mountroot> ufs:/dev/da0s1a
> Mounting root from ufs:/dev/da0s1a
> no such device 'da'
> setrootbyname failed
> ffs_mountroot: can't find rootvp
> Root mount failed: 6

> Manual root filesystem specitifation:
>     <fstype>:<device> Mount <device> using filesystem <fstype>
>                                         eg. ufs:/dev/da0s1a
>      ?                           List valid disk boot devices
>      <empty line>         Abort manual input

> mountroot>
> ------------------------------------------------------------------------

da is the "direct access" SCSI driver.  Do you have a SCSI disk?  If so, do
you have all of the necessary SCSI options in your kernel?  (At a minimum,
this would include your controller ("device ahb" or "device ahc", for
example), scbus, and da.)  Do the da* device entries exist in /dev?

If you don't have SCSI disks, you need to edit etc/fstab to have it use the
proper devices.  However, unless you've edited fstab before, you probably do
have SCSI disks..

JN

 
 
 

ffs_mountroot: can't find rootvp (about to give up...)

Post by marc » Wed, 06 Mar 2002 22:01:17


I don't have anything that is scsi. However I do have an old IDE controller
card. Would I need to use some sort of scsi driver for this to work?




> > I have FreeBSD 4.5 installed on an old 486. Compiled the kernel several
> > times with different options enabled/disabled and searched on the web
for
> > similar problems but only found answers (I think...) in other languages.
> Can
> > anyone help me as I'm about to give up on FreeBSD.

> > FreeBSD 4.5
> > ------------------------------------------------------------------------
> > mountroot> ufs:/dev/da0s1a
> > Mounting root from ufs:/dev/da0s1a
> > no such device 'da'
> > setrootbyname failed
> > ffs_mountroot: can't find rootvp
> > Root mount failed: 6

> > Manual root filesystem specitifation:
> >     <fstype>:<device> Mount <device> using filesystem <fstype>
> >                                         eg. ufs:/dev/da0s1a
> >      ?                           List valid disk boot devices
> >      <empty line>         Abort manual input

> > mountroot>
> > ------------------------------------------------------------------------

> da is the "direct access" SCSI driver.  Do you have a SCSI disk?  If so,
do
> you have all of the necessary SCSI options in your kernel?  (At a minimum,
> this would include your controller ("device ahb" or "device ahc", for
> example), scbus, and da.)  Do the da* device entries exist in /dev?

> If you don't have SCSI disks, you need to edit etc/fstab to have it use
the
> proper devices.  However, unless you've edited fstab before, you probably
do
> have SCSI disks..

> JN

 
 
 

ffs_mountroot: can't find rootvp (about to give up...)

Post by marc » Wed, 06 Mar 2002 22:58:57


Here's my kernel configuration, the standard install kernel dmesg and also
my fstab. This might give you a better look at things.

- Marc -
------------------------------------------------------------------------
MYKERNEL
------------------------------------------------------------------------
machine  i386
cpu  I486_CPU
ident  MYKERNEL
maxusers 40

#makeoptions DEBUG=-g  #Build kernel with gdb(1) debug symbols

#options  MATH_EMULATE  #Support for x87 emulation
options  INET   #InterNETworking
#options  INET6   #IPv6 communications protocols
#options  FFS   #Berkeley Fast Filesystem
#options  FFS_ROOT  #FFS usable as root device [keep this!]
#options  SOFTUPDATES  #Enable FFS soft updates support
options  UFS_DIRHASH  #Improve performance on big directories
options  MFS   #Memory Filesystem
options  MD_ROOT   #MD is a potential root device
options  NFS   #Network Filesystem
options  NFS_ROOT  #NFS usable as root device, NFS required
#options  MSDOSFS   #MSDOS Filesystem
#options  CD9660   #ISO 9660 Filesystem
#options  CD9660_ROOT  #CD-ROM usable as root, CD9660 required
options  PROCFS   #Process filesystem
options  COMPAT_43  #Compatible with BSD 4.3 [KEEP THIS!]
options  UCONSOLE  #Allow users to grab the console
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor
options  KTRACE   #ktrace(1) support
options  SYSVSHM   #SYSV-style shared memory
options  SYSVMSG   #SYSV-style message queues
options  SYSVSEM   #SYSV-style semaphores
options  P1003_1B  #Posix P1003_1B real-time extensions
options  _KPOSIX_PRIORITY_SCHEDULING
options  ICMP_BANDLIM  #Rate limit bad replies
options  KBD_INSTALL_CDEV # install a CDEV entry in /dev

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0 at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
#device  fd1 at fdc0 drive 1

# ATA and ATAPI devices
device  ata0 at isa? port IO_WD1 irq 14
device  ata1 at isa? port IO_WD2 irq 15
#device  ata
#device  atadisk   # ATA disk drives
device  atapicd   # ATAPI CDROM drives
device  atapifd   # ATAPI floppy drives
#options  ATA_STATIC_ID  #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0 at atkbdc? irq 1 flags 0x1
#device  psm0 at atkbdc? irq 12

device  vga0 at isa?

# splash screen/screen saver
pseudo-device splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? flags 0x100

# Floating point support - do not disable.
device  npx0 at nexus? port IO_NPX irq 13

# Serial (COM) ports
#device  sio0 at isa? port IO_COM1 flags 0x10 irq 4
#device  sio1 at isa? port IO_COM2 irq 3
#device  sio2 at isa? disable port IO_COM3 irq 5
#device  sio3 at isa? disable port IO_COM4 irq 9

# Parallel port
#device  ppc0 at isa? irq 7
#device  ppbus  # Parallel port bus (required)
#device  lpt  # Printer
#device  plip  # TCP/IP over parallel
#device  ppi  # Parallel port interface device
#device  vpo  # Requires scbus and da

# ISA Ethernet NICs.
#device  ie0 at isa? port 0x300 irq 10 iomem 0xd0000
device  le0 at isa? port 0x300 irq 5 iomem 0xd0000
#device  lnc0 at isa? port 0x280 irq 10 drq 0
#device  cs0 at isa? port 0x300
#device  sn0 at isa? port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop  # Network loopback
pseudo-device ether  # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun  # Packet tunnel.
pseudo-device pty  # Pseudo-ttys (telnet etc)
pseudo-device md  # Memory "disks"
pseudo-device gif  # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
#pseudo-device bpf  #Berkeley packet filter
------------------------------------------------------------------------
FSTAB
------------------------------------------------------------------------
# See the fstab(5) manual page for important information on automatic mounts
# of network filesystems before modifying this file.
#
# Device  Mountpoint FStype Options  Dump Pass#
/dev/ad0s1b  none  swap sw  0 0
/dev/ad0s1a  /  ufs rw  1 1
/dev/ad0s1f  /tmp  ufs rw  2 2
/dev/ad0s1g  /usr  ufs rw  2 2
/dev/ad0s1e  /var  ufs rw  2 2
/dev/acd0c  /cdrom  cd9660 ro,noauto 0 0
proc   /proc  procfs rw  0 0
------------------------------------------------------------------------
DMESG
------------------------------------------------------------------------
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
    mur...@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: i486DX (486-class CPU)
real memory  = 33816576 (33024K bytes)
avail memory = 28360704 (27696K bytes)
Preloaded elf kernel "kernel.old" at 0xc0496000.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16450
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16450
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 4133MB <FUJITSU MPE3043AE> [8959/15/63] at ata0-master BIOSPIO
acd0: CDROM <ATAPI CD ROM DRIVE 50X MAX> at ata0-slave using BIOSPIO
Mounting root from ufs:/dev/ad0s1a

"John Nielsen" <zoo...@bsdconspiracy.net> wrote in message

news:WcZg8.16049$e07.3259@sccrnsc01...
> "marc" <marc.corm...@ns.sympatico.ca> wrote in message
> news:LEYg8.243$Hv4.69676@sapphire.mtt.net...
> > I have FreeBSD 4.5 installed on an old 486. Compiled the kernel several
> > times with different options enabled/disabled and searched on the web
for
> > similar problems but only found answers (I think...) in other languages.
> Can
> > anyone help me as I'm about to give up on FreeBSD.

> > FreeBSD 4.5
> > ------------------------------------------------------------------------
> > mountroot> ufs:/dev/da0s1a
> > Mounting root from ufs:/dev/da0s1a
> > no such device 'da'
> > setrootbyname failed
> > ffs_mountroot: can't find rootvp
> > Root mount failed: 6

> > Manual root filesystem specitifation:
> >     <fstype>:<device> Mount <device> using filesystem <fstype>
> >                                         eg. ufs:/dev/da0s1a
> >      ?                           List valid disk boot devices
> >      <empty line>         Abort manual input

> > mountroot>
> > ------------------------------------------------------------------------

> da is the "direct access" SCSI driver.  Do you have a SCSI disk?  If so,
do
> you have all of the necessary SCSI options in your kernel?  (At a minimum,
> this would include your controller ("device ahb" or "device ahc", for
> example), scbus, and da.)  Do the da* device entries exist in /dev?

> If you don't have SCSI disks, you need to edit etc/fstab to have it use
the
> proper devices.  However, unless you've edited fstab before, you probably
do
> have SCSI disks..

> JN

 
 
 

ffs_mountroot: can't find rootvp (about to give up...)

Post by Rasputi » Fri, 08 Mar 2002 01:55:18


In the last exciting episode of comp.unix.bsd.freebsd.misc,
marc said:

Quote:> I have FreeBSD 4.5 installed on an old 486. Compiled the kernel several
> times with different options enabled/disabled and searched on the web for
> similar problems but only found answers (I think...) in other languages. Can
> anyone help me as I'm about to give up on FreeBSD.

You haven't done something funny like remove FFS support from the kernel, have
you?

Post your kernel config.

--
"Don't worry about people stealing your ideas.  If your ideas are any
good, you'll have to ram them down people's throats."
                -- Howard Aiken
Rasputin :: Jack of All Trades - Master of Nuns ::

 
 
 

ffs_mountroot: can't find rootvp (about to give up...)

Post by Tl » Thu, 07 Mar 2002 22:34:52


If you don't have scsi you should not try to mount da0s1a, but ad0s1a
(probably).
Most likely your fstab is wrong. Try boot to singleuser, and when it fails give

rootdevice as ufs:/dev/ad0s1a (or whatever partition is right for you).

When in singleuser mode do

 mount -u /
 TERM=cons25
 vi /etc/fstab

to fix any errors.

-tom


> I don't have anything that is scsi. However I do have an old IDE controller
> card. Would I need to use some sort of scsi driver for this to work?





> > > I have FreeBSD 4.5 installed on an old 486. Compiled the kernel several
> > > times with different options enabled/disabled and searched on the web
> for
> > > similar problems but only found answers (I think...) in other languages.
> > Can
> > > anyone help me as I'm about to give up on FreeBSD.

> > > FreeBSD 4.5
> > > ------------------------------------------------------------------------
> > > mountroot> ufs:/dev/da0s1a
> > > Mounting root from ufs:/dev/da0s1a
> > > no such device 'da'
> > > setrootbyname failed
> > > ffs_mountroot: can't find rootvp
> > > Root mount failed: 6

> > > Manual root filesystem specitifation:
> > >     <fstype>:<device> Mount <device> using filesystem <fstype>
> > >                                         eg. ufs:/dev/da0s1a
> > >      ?                           List valid disk boot devices
> > >      <empty line>         Abort manual input

> > > mountroot>
> > > ------------------------------------------------------------------------

> > da is the "direct access" SCSI driver.  Do you have a SCSI disk?  If so,
> do
> > you have all of the necessary SCSI options in your kernel?  (At a minimum,
> > this would include your controller ("device ahb" or "device ahc", for
> > example), scbus, and da.)  Do the da* device entries exist in /dev?

> > If you don't have SCSI disks, you need to edit etc/fstab to have it use
> the
> > proper devices.  However, unless you've edited fstab before, you probably
> do
> > have SCSI disks..

> > JN

 
 
 

1. help / "ffs_mountroot: can't find rootvp" FreeBSD boot message

Hi!

Does anyone have any experience in debugging FreeBSD install without
just re-installing over an operationnal server?

After reboot my server do not want to boot anymore complaining about no
valid bootdisk; when I do try to make it boot pointing him to my root
partition "ufs:/dev/da0s1a" it just just answer with a "ffs_mountroot:
can't find rootvp" message.

I would like to mount from within "fixit" each partition I have in my
FreeBSD slice  in order to recover my data before re-installing from
scratch or even to be able to get my server back on-line as I would have
done with a SUN/Solaris box.
But from within "fixit" it looks like only the /dev/da0s1 slice device
is known from him, and not all my partitions under this slice (a, d, e,
...).

Would anyone have some pointer or guidance for me on this problem? I did
a search in all the docs I could find I did not read anything usefull
(rotvp is not even a found key in the FreeBSD search engines).

TIA,

Richard

--
"You may say I'm a dreamer,... but I'm not the only one..."  J.L.

2. Help: Where can I obtain winmodem driver?

3. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

4. Question

5. startx gives 'Server failed: no screens found'

6. Can't find CDR device in -mm only

7. find commmand gives 'cannot stat' for any file

8. linking a.out binaries with ELF ld - is any way to do it?

9. instructing 'find' to only give me certain files

10. It's not bad canned meat...

11. 'make dep' gives error - what gives?

12. powerd & UPS - Help I can't find any documentation