From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 21:38:06 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35AFB16A4D9 for ; Fri, 25 Mar 2005 21:38:06 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD76F43D48 for ; Fri, 25 Mar 2005 21:38:05 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id B3EC672DE5; Fri, 25 Mar 2005 13:38:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id ADAC072DE4; Fri, 25 Mar 2005 13:38:05 -0800 (PST) Date: Fri, 25 Mar 2005 13:38:05 -0800 (PST) From: Doug White To: Graham Menhennitt In-Reply-To: <42436771.3060006@optusnet.com.au> Message-ID: <20050325133558.U16071@carver.gumbysoft.com> References: <42436771.3060006@optusnet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-stable@freebsd.org Subject: Re: "ffs_mountroot: can't find rootvp" after cvsup and making worldfmen X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 21:38:06 -0000 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 [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 > real memory =3D 335478784 (319 MB) > avail memory =3D 322949120 (307 MB) > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: 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: on acpi0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > pcib0: port 0x4000-0x40f7,0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > rl0: port 0xc000-0xc0ff mem > 0xe4000000-0xe40000ff irq 11 at device 9.0 on pci2 > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:20:ed:1c:da:f9 > pci2: at device 10.0 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: 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: port > 0xd000-0xd01f irq 5 at device 31.2 on pci0 > uhci0: [GIANT-LOCKED] > usb0: 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: at device 31.3 (no driver attached) > uhci1: port > 0xd800-0xd81f irq 12 at device 31.4 on pci0 > uhci1: [GIANT-LOCKED] > usb1: 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: 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: port 0x778-0x77b,0x378-0x37f irq > 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > ppbus0: IEEE1284 device found > Probing for PnP devices on ppbus0: > lpt0: on ppbus0 > lpt0: Interrupt-driven port > atkbdc0: at port 0x64,0x60 on isa0 > atkbd0: 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 [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 > real memory =3D 335478784 (319 MB) > avail memory =3D 322957312 (307 MB) > npx0: on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: pcibus 0 on motherboard > pir0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > rl0: port 0xc000-0xc0ff mem > 0xe4000000-0xe40000ff irq 11 at device 9.0 on pci2 > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:20:ed:1c:da:f9 > pci2: at device 10.0 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: 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: port > 0xd000-0xd01f irq 5 at device 31.2 on pci0 > usb0: 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: at device 31.3 (no driver attached) > uhci1: port > 0xd800-0xd81f irq 12 at device 31.4 on pci0 > usb1: 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: at port 0x64,0x60 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa= 0 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > ppbus0: IEEE1284 device found > Probing for PnP devices on ppbus0: > lpt0: 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: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: can't assign resources (port) > unknown: 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: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > 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