免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1538 | 回复: 1
打印 上一主题 下一主题

Can't Find rootvp? 如何恢复? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-29 08:34 |只看该作者 |倒序浏览
5.1重新制定编译内核后出现  Can't  Find rootvp? 如何恢复使用从前的内核?

论坛徽章:
0
2 [报告]
发表于 2003-09-29 08:43 |只看该作者

Can't Find rootvp? 如何恢复?

From: Marc     
Date: 03-05-02 05:36
Subject:  

--------------------------------------------------------------------------------
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


  
From: John Nielsen     
Date: 03-05-02 05:36
Subject:  

--------------------------------------------------------------------------------
"marc" <marc.cormier@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


  
From: Marc     
Date: 03-05-02 15:28
Subject:  

--------------------------------------------------------------------------------
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?

"John Nielsen" <zoobie@bsdconspiracy.net>; wrote in message
news:WcZg8.16049$e07.3259@sccrnsc01...
  >; "marc" <marc.cormier@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


  
From: Marc     
Date: 03-05-02 15:28
Subject:  

--------------------------------------------------------------------------------
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.
ppseudo-device loop # Network loopback
pppseudo-device ether # Ethernet support
ppppseudo-device sl 1 # Kernel SLIP
pppppseudo-device ppp 1 # Kernel PPP
ppppppseudo-device tun # Packet tunnel.
pppppppseudo-device pty # Pseudo-ttys (telnet etc)
ppppppppseudo-device md # Memory "disks"
pppppppppseudo-device gif # IPv6 and IPv4 tunneling
ppppppppppseudo-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
murray@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: <arallel port>; at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset
(NIBBLE-only) in COMPATIBLE mode plip0: <LIP network interface>; on ppbus0 lpt0:
<rinter>; on ppbus0 lpt0: Interrupt-driven port ppi0: <arallel 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" <zoobie@bsdconspiracy.net>; wrote in message
news:WcZg8.16049$e07.3259@sccrnsc01...
  >; "marc" <marc.cormier@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


  
From: Rasputin     
Date: 03-06-02 17:48
Subject:  

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

  >; 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 ::


  
From: Tl     
Date: 03-07-02 02:38
Subject:  

--------------------------------------------------------------------------------
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

marc wrote:

  >; 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?
  >;
  >; "John Nielsen" <zoobie@bsdconspiracy.net>; wrote in message
  >; news:WcZg8.16049$e07.3259@sccrnsc01...
     >; >; "marc" <marc.cormier@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
     >; >;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP