"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
> -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-[H[J[4;46H
> , ,[5;46H /( )`[6;46H \ \___ /
> |[7;46H /- _ `-/ '[8;46H (/\/ \ \
> /\[9;46H / / | ` \[10;46H O O ) /
> |[11;46H `-^--'`< '[12;46H (_.) _ )
> /[13;46H `.___/` /[14;46H `-----'
> /[15;46H<----. __ / __ \[16;46H<----|====O)))==) \)
> /====[17;46H<----' `--' `.__,' \[18;46H |
> |[19;46H \ / /\[20;46H ______( (_
> / \______/[21;46H ,' ,-----' |[22;46H `--{__________)[3;2H³[4;2H³[5;2H³[6;2H³[7;2H³[8;2H³[9;2H³[10;2H³[11;2H³[12;2H³[13;2H³[14;2H³[15;2H³[16;2H³[17;2H³[18;2H³[19;2H³[20;2H³[21;2H³[3;44H³[4;44H³[5;44H³[6;44H³[7;44H³[8;44H³[9;44H³[10;44H³[11;44H³[12;44H³[13;44H³[14;44H³[15;44H³[16;44H³[17;44H³[18;44H³[19;44H³[20;44H³[21;44H³[2;3HÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[22;3HÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[2;2HÚ[22;2HÀ[2;44H¿[22;44HÙ[6;13HWelcome
> to FreeBSD![9;5H1 [9;6H. Boot FreeBSD [default][10;5H2 [10;6H. Boot
> FreeBSD with ACPI disabled[11;5H3 [11;6H. Boot FreeBSD in Safe
> Mode[12;5H4 [12;6H. Boot FreeBSD in single user mode[13;5H5 [13;6H.
> Boot FreeBSD with verbose logging[14;5H6 [14;6H. Escape to loader
> prompt[15;5H7 [15;6H. Reboot[20;5HSelect option, [Enter] for
> default[21;5Hor [Space] to pause timer [21;32H10 [21;32H10
> [21;32H10 [21;32H10 [21;32H9 [21;32H9 [21;32H9 [21;32H9
> [21;32H9 [21;32H9 [21;32H9 [21;32H9 [21;32H9 [21;32H9 [21;32H9
> [21;32H9 [21;32H9 [21;32H9 [21;32H9 [21;32H9 [21;32H9 [21;32H8
> [21;32H8 [21;32H8 [21;32H8 [21;32H8 [21;32H8 [21;32H8 [21;32H8
> [21;32H8 [21;32H8 [21;32H8 [21;32H8 [21;32H8 [25;0H\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-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