5.2-BETA root mount failure

Jeroen Hogeveen twiddle at xs4all.nl
Tue Nov 25 16:37:44 PST 2003


(Firsthand I sorry if this E-Mail is sent twice to the list, got client
rejected from mx1.)

I'm having difficulties trying out the 5.2-BETA, preparing for the 
release. I would greatly appreciate it if anyone has some time at hand to 
help (re)solve a problem that occures with my 5.2-BETA kernel (26 nov

The situation is the following: I have tried to upgrade a system
from 5.1-RELEASE to 5.2-BETA, according to the src/UPDATING text (I did
add the COMPAT_FREEBSD4 option to my kernel config).

buildworld went fine and so did buildkernel. After doing a installkernel
and booting with the newly installed 5.2-BETA kernel (single-user), I
get the following message before I get thrown in the "mount root> "

    mounting root from ufs:/dev/ar0s1a
    setrootbyname failed
    ffs_mountroot: can't find rootvp
    Root mount failed: 6

    mount root>

Did I miss a step or have I hit something in -current?

Below is my dmesg output (working 5.1) :

Copyright (c) 1992-2003 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.1-RELEASE #0: Tue Nov 25 09:49:42 GMT 2003
    current at fake.com:/usr/src/sys/i386/compile/CURRENT
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0381000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2391148112 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2391.15-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7

real memory  = 1073676288 (1023 MB)
avail memory = 1039364096 (991 MB)
pnpbios: Bad PnP BIOS data checksum
Pentium Pro MTRR support enabled
acpi0: <IntelR AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00fdec0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCIBIOS 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
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.5.31> port 
0xb000-0xb03f mem 0xe2000000-0xe201ffff irq 12 at device 5.0 on pci2
em0:  Speed:10 Mbps  Duplex:Half
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 
0xb400-0xb43f mem 0xe2020000-0xe203ffff,0xe2044000-0xe2044fff irq 10 at 
device 6.0 on pci2
fxp0: Ethernet address 00:0c:76:15:19:c5
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci2: <display, VGA> at device 7.0 (no driver attached)
atapci0: <Promise PDC20276 UDMA133 controller> port 
0xcc00-0xcc0f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 mem 
0xe2040000-0xe2043fff irq 11 at device 10.0 on pci2
ata2: at 0xbc00 on atapci0
ata3: at 0xc400 on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port 
0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xc8000-0xd07ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad4: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata2-master UDMA100
ad6: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata3-master UDMA100
ar0: 117301MB <ATA RAID1 array> [14953/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
Opened disk ad4 -> 1
Opened disk ad6 -> 1
Opened disk ad6 -> 1
Mounting root from ufs:/dev/ar0s1a

%atacontrol list
ATA channel 0:
    Master:      no device present
    Slave:       no device present
ATA channel 1:
    Master:      <SR244W/T01A> ATA/ATAPI rev 0
    Slave:       no device present
ATA channel 2:
    Master:  ad4 <IC35L120AVV207-1/V24OA66A> ATA/ATAPI rev 6
    Slave:       no device present
ATA channel 3:
    Master:  ad6 <IC35L120AVV207-1/V24OA66A> ATA/ATAPI rev 6
    Slave:       no device present

%atacontrol status 0
ar0: ATA RAID1 subdisks: ad4 ad6 status: READY

%atacontrol mode 2
Master = UDMA100
Slave  = ???
%atacontrol mode 3
Master = UDMA100
Slave  = ???

Jeroen Hogeveen, <jh at twiddle.com>

More information about the freebsd-current mailing list