misc/63343: Manual root filesystem specification failed with error 22 on 4.9-STABLE

Nikolay Pavlov quetzal at roks.biz
Wed Feb 25 03:00:57 PST 2004


>Number:         63343
>Category:       misc
>Synopsis:       Manual root filesystem specification failed with error 22 on 4.9-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 25 03:00:34 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nikolay Pavlov
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD pathfinder.roks.biz 4.9-STABLE FreeBSD 4.9-STABLE #1: Tur Feb 24 12:43:26 EET 2004 quetzal at pathfinder.roks.biz:/usr/obj/usr/src/sys/ADM_KERNEL i386

>Description:
	I have erroneously change my fstab file and on next reboot can't mount root with <vfsname>:[<path>] command:
mountroot> ufs:/dev/ad1s2a
Root mount failed: 22
Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:/dev/da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

The command did not want work only with new kernel, when I "boot kernel.GENERIC" it works.
> ls -l kernel kernel.GENERIC
-r-xr-xr-x  1 root  wheel  2843049 24 feb 14:03 kernel
-r-xr-xr-x  1 root  wheel  4028952  9 oct  2002 kernel.GENERIC

Here is my correct fstab file:
> mount
/dev/ad1s2a on / (ufs, local)
/dev/ad1s2h on /home (ufs, local, soft-updates)
/dev/ad1s2e on /tmp (ufs, local, soft-updates)
/dev/ad1s2g on /usr (ufs, local, soft-updates)
/dev/ad1s2f on /var (ufs, local, soft-updates)
/dev/ad3s1e on /usr/obj (ufs, local, soft-updates)
/dev/ad3s1f on /music (ufs, local, soft-updates)
procfs on /proc (procfs, local)

I have found some information in maillist archive and thought that it probably the same problem:
http://www.mail-archive.com/freebsd-stable@freebsd.org/msg59577.html

>How-To-Repeat:
	Just install freebsd 4.9 as usual, then do cvsup to RELENG_4 tag and make new kernel. Replace a correct fstab mountroot lineon obviously wrong and reboot.

>Fix:
	not known.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list