5.2-BETA root mount failure

2003-11-25 Thread Jeroen Hogeveen
Gents,

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
2003).

The situation is the following: I have tried to upgrade a system
(http://www.msi.com.tw/program/products/server/svr/pro_svr_detail.php?UID=376)
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> "
prompt:
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
[EMAIL PROTECTED]:/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
Features=0xbfebfbff
real memory  = 1073676288 (1023 MB)
avail memory = 1039364096 (991 MB)
pnpbios: Bad PnP BIOS data checksum
Pentium Pro MTRR support enabled
acpi0:  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:  on acpi0
acpi_cpu1:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port 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
em0:  port 
0xb000-0xb03f mem 0xe200-0xe201 irq 12 at device 5.0 on pci2
em0:  Speed:10 Mbps  Duplex:Half
fxp0:  port 
0xb400-0xb43f mem 0xe202-0xe203,0xe2044000-0xe2044fff irq 10 at 
device 6.0 on pci2
fxp0: Ethernet address 00:0c:76:15:19:c5
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci2:  at device 7.0 (no driver attached)
atapci0:  port 
0xcc00-0xcc0f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 
mem 0xe204-0xe2043fff irq 11 at device 10.0 on pci2
ata2: at 0xbc00 on atapci0
ata3: at 0xc400 on atapci0
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  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:  at device 31.3 (no driver attached)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
npx0:  on motherboard
npx0: INT 16 interface
orm0:  at iomem 0xc8000-0xd07ff,0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0:  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:  at port 0x3b0-0x3df iomem 0xa-0xb 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  [239340/16/63] at ata2-master UDMA100
ad6: 117800MB  [239340/16/63] at ata3-master UDMA100
ar0: 117301MB  [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:   ATA/ATAPI rev 0
Slave:   no device present
ATA channel 2:
Master:  ad4  ATA/ATAPI rev 6
Slave:   no device present
ATA channel 3:
Master:  ad6  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, <[EMAIL PROTECTED]>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2-BETA root mount failure

2003-11-25 Thread Jeroen Hogeveen
Gents,

(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
2003).

The situation is the following: I have tried to upgrade a system
(http://www.msi.com.tw/program/products/server/svr/pro_svr_detail.php?UID=376)
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> "
prompt:

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
[EMAIL PROTECTED]:/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

Features=0xbfebfbff
real memory  = 1073676288 (1023 MB)
avail memory = 1039364096 (991 MB)
pnpbios: Bad PnP BIOS data checksum
Pentium Pro MTRR support enabled
acpi0:  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:  on acpi0
acpi_cpu1:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port 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
em0:  port 
0xb000-0xb03f mem 0xe200-0xe201 irq 12 at device 5.0 on pci2
em0:  Speed:10 Mbps  Duplex:Half
fxp0:  port 
0xb400-0xb43f mem 0xe202-0xe203,0xe2044000-0xe2044fff irq 10 at 
device 6.0 on pci2
fxp0: Ethernet address 00:0c:76:15:19:c5
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci2:  at device 7.0 (no driver attached)
atapci0:  port 
0xcc00-0xcc0f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 mem 
0xe204-0xe2043fff irq 11 at device 10.0 on pci2
ata2: at 0xbc00 on atapci0
ata3: at 0xc400 on atapci0
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  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:  at device 31.3 (no driver attached)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
npx0:  on motherboard
npx0: INT 16 interface
orm0:  at iomem 0xc8000-0xd07ff,0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0:  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:  at port 0x3b0-0x3df iomem 0xa-0xb 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  [239340/16/63] at ata2-master UDMA100
ad6: 117800MB  [239340/16/63] at ata3-master UDMA100
ar0: 117301MB  [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:   ATA/ATAPI rev 0
Slave:   no device present
ATA channel 2:
Master:  ad4  ATA/ATAPI rev 6
Slave:   no device present
ATA channel 3:
Master:  ad6  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, <[EMAIL PROTECTED]>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"