Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 13:38:05 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Graham Menhennitt <gmenhennitt@optusnet.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: "ffs_mountroot: can't find rootvp" after cvsup and making worldfmen
Message-ID:  <20050325133558.U16071@carver.gumbysoft.com>
In-Reply-To: <42436771.3060006@optusnet.com.au>
References:  <42436771.3060006@optusnet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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 =3D "GenuineIntel"  Id =3D 0xf12  Stepping =3D 2
>
> Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  =3D 335478784 (319 MB)
> avail memory =3D 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 acp=
i0
> 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 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08Console:
> 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@xxxx.xxx, Wed Mar 23 20:16:31 EST 2005)
> |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08=
/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08Loading
> /boot/defaults/loader.conf
> |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08=
/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=
=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08=
/boot/kernel/kernel
> text=3D0x252bec |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08=
/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=
=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08=
|=08/=08-=08\=08|=08data=3D0x2bbe8+0x30518
> /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08syms=3D[0x4+0x36040/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08+0x4+0x44316\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08]
> |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08Loading
> /boot/defaults/loader.conf
> -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=
=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=1B[H=1B[J=1B[4;46H
> ,        ,=1B[5;46H            /(        )`=1B[6;46H            \ \___   =
/
> |=1B[7;46H            /- _  `-/  '=1B[8;46H           (/\/ \ \
> /\=1B[9;46H           / /   | `    \=1B[10;46H           O O   ) /
> |=1B[11;46H           `-^--'`<     '=1B[12;46H          (_.)  _  )
> /=1B[13;46H           `.___/`    /=1B[14;46H             `-----'
> /=1B[15;46H<----.     __ / __   \=1B[16;46H<----|=3D=3D=3D=3DO)))=3D=3D) =
\)
> /=3D=3D=3D=3D=1B[17;46H<----'    `--' `.__,' \=1B[18;46H             |
> |=1B[19;46H              \       /       /\=1B[20;46H         ______( (_
> / \______/=1B[21;46H       ,'  ,-----'   |=1B[22;46H       `--{__________=
)=1B[3;2H=B3=1B[4;2H=B3=1B[5;2H=B3=1B[6;2H=B3=1B[7;2H=B3=1B[8;2H=B3=1B[9;2H=
=B3=1B[10;2H=B3=1B[11;2H=B3=1B[12;2H=B3=1B[13;2H=B3=1B[14;2H=B3=1B[15;2H=B3=
=1B[16;2H=B3=1B[17;2H=B3=1B[18;2H=B3=1B[19;2H=B3=1B[20;2H=B3=1B[21;2H=B3=1B=
[3;44H=B3=1B[4;44H=B3=1B[5;44H=B3=1B[6;44H=B3=1B[7;44H=B3=1B[8;44H=B3=1B[9;=
44H=B3=1B[10;44H=B3=1B[11;44H=B3=1B[12;44H=B3=1B[13;44H=B3=1B[14;44H=B3=1B[=
15;44H=B3=1B[16;44H=B3=1B[17;44H=B3=1B[18;44H=B3=1B[19;44H=B3=1B[20;44H=B3=
=1B[21;44H=B3=1B[2;3H=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=
=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=1B[22=
;3H=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=
=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=C4=1B[2;2H=DA=1B[22;2H=C0=
=1B[2;44H=BF=1B[22;44H=D9=1B[6;13HWelcome
> to FreeBSD!=1B[9;5H1 =1B[9;6H. Boot FreeBSD [default]=1B[10;5H2 =1B[10;6H=
=2E Boot
> FreeBSD with ACPI disabled=1B[11;5H3 =1B[11;6H. Boot FreeBSD in Safe
> Mode=1B[12;5H4 =1B[12;6H. Boot FreeBSD in single user mode=1B[13;5H5 =1B[=
13;6H.
> Boot FreeBSD with verbose logging=1B[14;5H6 =1B[14;6H. Escape to loader
> prompt=1B[15;5H7 =1B[15;6H. Reboot=1B[20;5HSelect option, [Enter] for
> default=1B[21;5Hor [Space] to pause timer    =1B[21;32H10 =1B[21;32H10
> =1B[21;32H10 =1B[21;32H10 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9
> =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =
=1B[21;32H9
> =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =1B[21;32H9 =
=1B[21;32H8
> =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =
=1B[21;32H8
> =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =1B[21;32H8 =1B[25;0H\=08=
|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08=
/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08ACPI
> autoload failed - no such file or directory
> \=08|=08/=08-=08\=08|=08/=08Copyright (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@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 =3D "GenuineIntel"  Id =3D 0xf12  Stepping =3D 2
>
> Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  =3D 335478784 (319 MB)
> avail memory =3D 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 isa=
0
> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050325133558.U16071>