"ffs_mountroot: can't find rootvp" after cvsup and making worldfmen

Doug White dwhite at gumbysoft.com
Fri Mar 25 13:38:06 PST 2005


On Fri, 25 Mar 2005, Graham Menhennitt wrote:

> I just cvsupped to the latest RELENG_5 (as of yesterday) and built and
> installed the world and a new kernel. When I boot the new kernel, I get
> an error "ffs_mountroot: can't find rootvp". At the "mountroot>" prompt,
> whatever I type (even '?') causes a crash and reboot. I can still boot
> my old kernel without a problem. The dmesg from the old kernel and a
> capture of the boot of the new kernel are below. Noticably absent from
> the new one is the line "ad0: 76319MB <ST380011A/3.06> [155061/16/63] at
> ata0-master UDMA100" which is my only disk drive.
>
> Can somebody please help?

If you break out of the beastie menu with '6' then enter:

unload
boot kernel.old

that will get you your old, working kernel. Make a backup of this kernel
before doing anything else by 'cd /boot; cp -Rp kernel.old kernel.WORKS'.
You can then reference this in loader by doing 'boot kernel.WORKS'.

Next we need to determine why the disk did not probe. I'd suggest booting
with -v and looking for messages from ata about disk discovery.

Did you change anything in your kernel config between these kernels?

>
> Thanks,
>     Graham
>
>  >>>>>>>>>>>>>>>>> old kernel <<<<<<<<<<<<<<<<<<<<<<
>
> Copyright (c) 1992-2005 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 5.3-STABLE #18: Fri Jan 21 06:23:06 EST 2005
>     gfm at xxxx.xxx.xxx:/usr/obj/usr/src/sys/fang
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz (1700.03-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
>
> Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  = 335478784 (319 MB)
> avail memory = 322949120 (307 MB)
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <GBT AWRDACPI> on motherboard
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_button0: <Power Button> on acpi0
> acpi_button1: <Sleep Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0x4000-0x40f7,0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> rl0: <RealTek 8139 10/100BaseTX> port 0xc000-0xc0ff mem
> 0xe4000000-0xe40000ff irq 11 at device 9.0 on pci2
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:20:ed:1c:da:f9
> pci2: <multimedia, audio> at device 10.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH2 UDMA100 controller> port
> 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port
> 0xd000-0xd01f irq 5 at device 31.2 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port
> 0xd800-0xd81f irq 12 at device 31.4 on pci0
> uhci1: [GIANT-LOCKED]
> usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
> usb1: USB revision 1.0
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
> fdc0: [FAST]
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> acpi0
> sio0: type 16550A, console
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> ppc0: <Standard parallel printer port> port 0x778-0x77b,0x378-0x37f irq
> 7 on acpi0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppbus0: <Parallel port bus> on ppc0
> ppbus0: IEEE1284 device found
> Probing for PnP devices on ppbus0:
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> Timecounter "TSC" frequency 1700030560 Hz quality 800
> Timecounters tick every 10.000 msec
> acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
> ad0: 76319MB <ST380011A/3.06> [155061/16/63] at ata0-master UDMA100
> Mounting root from ufs:/dev/ad0s1a
>
>
>  >>>>>>>>>>>>>>>>>>>>> new kernel <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-Console:
> serial port
> BIOS drive A: is disk0
> BIOS drive C: is disk1
> BIOS 639kB/326592kB available memory
>
> FreeBSD/i386 bootstrap loader, Revision 1.1
> (xxx at xxxx.xxx, Wed Mar 23 20:16:31 EST 2005)
> |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\Loading
> /boot/defaults/loader.conf
> |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\/boot/kernel/kernel
> text=0x252bec |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|data=0x2bbe8+0x30518
> /-\|/-\|/-\|syms=[0x4+0x36040/-\|/-\|/-\|/-+0x4+0x44316\|/-\|/-\|/-\|/-\]
> |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Loading
> /boot/defaults/loader.conf
> -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
> ,        ,            /(        )`            \ \___   /
> |            /- _  `-/  '           (/\/ \ \
> /\           / /   | `    \           O O   ) /
> |           `-^--'`<     '          (_.)  _  )
> /           `.___/`    /             `-----'
> /<----.     __ / __   \<----|====O)))==) \)
> /====<----'    `--' `.__,' \             |
> |              \       /       /\         ______( (_
> / \______/       ,'  ,-----'   |       `--{__________)³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÚÀ¿ÙWelcome
> to FreeBSD!1 . Boot FreeBSD [default]2 . Boot
> FreeBSD with ACPI disabled3 . Boot FreeBSD in Safe
> Mode4 . Boot FreeBSD in single user mode5 .
> Boot FreeBSD with verbose logging6 . Escape to loader
> prompt7 . RebootSelect option, [Enter] for
> defaultor [Space] to pause timer    10 10
> 10 10 9 9 9 9
> 9 9 9 9 9 9 9
> 9 9 9 9 9 9 8
> 8 8 8 8 8 8 8
> 8 8 8 8 8 \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-ACPI
> autoload failed - no such file or directory
> \|/-\|/Copyright (c) 1992-2005 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 5.4-PRERELEASE #19: Fri Mar 25 07:31:35 EST 2005
>     xxx at xxxx.xxx:/usr/obj/usr/src/sys/fang
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz (1700.03-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
>
> Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  = 335478784 (319 MB)
> avail memory = 322957312 (307 MB)
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> cpu0 on motherboard
> pcib0: <Host to PCI bridge> pcibus 0 on motherboard
> pir0: <PCI Interrupt Routing Table: 9 Entries> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
> pci2: <PCI bus> on pcib2
> rl0: <RealTek 8139 10/100BaseTX> port 0xc000-0xc0ff mem
> 0xe4000000-0xe40000ff irq 11 at device 9.0 on pci2
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:20:ed:1c:da:f9
> pci2: <multimedia, audio> at device 10.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH2 UDMA100 controller> port
> 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port
> 0xd000-0xd01f irq 5 at device 31.2 on pci0
> usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port
> 0xd800-0xd81f irq 12 at device 31.4 on pci0
> usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
> usb1: USB revision 1.0
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppbus0: <Parallel port bus> on ppc0
> ppbus0: IEEE1284 device found
> Probing for PnP devices on ppbus0:
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A, console
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> unknown: <PNP0303> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <PNP0700> can't assign resources (port)
> unknown: <PNP0400> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> Timecounter "TSC" frequency 1700026032 Hz quality 800
> Timecounters tick every 10.000 msec
> Mounting root from ufs:/dev/ad0s1a
> setrootbyname failed
> ffs_mountroot: can't find rootvp
> Root mount failed: 6
>
> Manual root filesystem specification:
>   <fstype>:<device>  Mount <device> using filesystem <fstype>
>                        eg. ufs:da0s1a
>   ?                  List valid disk boot devices
>   <empty line>       Abort manual input
>
> mountroot>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-stable mailing list