Root mount error
-
Hi,
This morning I decided to give 2.0 a try, I took a 4GB Microdrive I had and I loaded the 4GB image with physdiskwrite, in fact I did that last week and it took 3 hours to complete… The this morning I removed the actual compact flash from my soekris and I tried to boot this new image, without success.
I receive that error
ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=ufs:/dev/ufs/pfsense0 vfs.root.mountfrom.options=rw Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices <empty line=""> Abort manual input mountroot></empty></fstype></device></device></fstype>
After a search I found that I'm not the only one, but there are not a lot of us having the same problem. I've read that I should try to install 1.2.3, then upgrade, that's I'm doing right now, let's see when it finishes writing the image in about 3 hours…
I have a Soekris NET5501 I'm using a genuine Hitachi 4GB Microdrive, which is the first time I'm trying to use in the Soekris though. I don't have any other compactflash, but the one that hold my working 1.2.2 config.
Any though about that problem?
MageMinds
-
like your system tells you, give it at the prompt "mountroot>" ufs:/dev/da0s1a and press enter.
After the complete boot you have to change in /etc/fstab the entry from your root to ufs:/dev/da0s1a. After a new boot it should work right.
Sometimes ufs:/dev/ad0s1a is the right mountpoint. -
It's not working …
Like my system tell me ufs:/dev/da0s1a is an example... I didn't expect it to work, but I tried it...
I'm looking at my 1.2.2 setup and the mount point are /dev/ufs/pfSense I guest that have changed in 2.0 and even in 1.2.3, because that one doesn't boot either on my Soekris.
Here is the dmesg taken from my working pfSense 1.2.2
pfsense:~# dmesg Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p8 #0: Thu Jan 8 23:06:42 EST 2009 sullrich@freebsd7-releng_1_2_1.pfsense.org:/usr/obj.pfSense/usr/src/sys/pfSense_wrap.7 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by AMD PCS (499.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x5a2 Stepping = 2 Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory = 536870912 (512 MB) avail memory = 515686400 (491 MB) wlan: mac acl policy registered K6-family MTRR support enabled (2 registers) ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cryptosoft0: <software crypto=""> on motherboard cpu0 on motherboard pcib0: <host to="" pci="" bridge=""> pcibus 0 on motherboard pci0: <pci bus=""> on pcib0 Geode LX: Soekris net5501 comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008 MFGPT bar: f00100006200 pci0: <encrypt decrypt,="" entertainment="" crypto=""> at device 1.2 (no driver attached) vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe100-0xe1ff mem 0xa0004000-0xa00040ff irq 11 at device 6.0 on pci0 vr0: Quirks: 0x6 vr0: Revision: 0x96 miibus0: <mii bus=""> on vr0 ukphy0: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:00:24:cb:57:40 vr0: [ITHREAD] vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe200-0xe2ff mem 0xa0004100-0xa00041ff irq 5 at device 7.0 on pci0 vr1: Quirks: 0x6 vr1: Revision: 0x96 miibus1: <mii bus=""> on vr1 ukphy1: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr1: Ethernet address: 00:00:24:cb:57:41 vr1: [ITHREAD] vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe300-0xe3ff mem 0xa0004200-0xa00042ff irq 9 at device 8.0 on pci0 vr2: Quirks: 0x6 vr2: Revision: 0x96 miibus2: <mii bus=""> on vr2 ukphy2: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr2: Ethernet address: 00:00:24:cb:57:42 vr2: [ITHREAD] vr3: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe400-0xe4ff mem 0xa0004300-0xa00043ff irq 12 at device 9.0 on pci0 vr3: Quirks: 0x6 vr3: Revision: 0x96 miibus3: <mii bus=""> on vr3 ukphy3: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr3: Ethernet address: 00:00:24:cb:57:43 vr3: [ITHREAD] pcib1: <pci-pci bridge=""> at device 14.0 on pci0 pci1: <pci bus=""> on pcib1 sis0: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd000-0xd0ff mem 0xa4000000-0xa4000fff irq 10 at device 0.0 on pci1 sis0: Silicon Revision: DP83816A miibus4: <mii bus=""> on sis0 ukphy4: <generic ieee="" 802.3u="" media="" interface=""> PHY 0 on miibus4 ukphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:00:24:cb:8a:b4 sis0: [ITHREAD] sis1: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd100-0xd1ff mem 0xa4001000-0xa4001fff irq 6 at device 1.0 on pci1 sis1: Silicon Revision: DP83816A miibus5: <mii bus=""> on sis1 ukphy5: <generic ieee="" 802.3u="" media="" interface=""> PHY 0 on miibus5 ukphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: 00:00:24:cb:8a:b5 sis1: [ITHREAD] sis2: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd200-0xd2ff mem 0xa4002000-0xa4002fff irq 10 at device 2.0 on pci1 sis2: Silicon Revision: DP83816A miibus6: <mii bus=""> on sis2 ukphy6: <generic ieee="" 802.3u="" media="" interface=""> PHY 0 on miibus6 ukphy6: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis2: Ethernet address: 00:00:24:cb:8a:b6 sis2: [ITHREAD] sis3: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd300-0xd3ff mem 0xa4003000-0xa4003fff irq 6 at device 3.0 on pci1 sis3: Silicon Revision: DP83816A miibus7: <mii bus=""> on sis3 ukphy7: <generic ieee="" 802.3u="" media="" interface=""> PHY 0 on miibus7 ukphy7: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis3: Ethernet address: 00:00:24:cb:8a:b7 sis3: [ITHREAD] hifn0 mem 0xa0005000-0xa0005fff,0xa0006000-0xa0007fff,0xa0008000-0xa000ffff irq 15 at device 17.0 on pci0 hifn0: [ITHREAD] hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x801 <ext clk,="" 4x="" mult="">isab0: <pci-isa bridge=""> at device 20.0 on pci0 isa0: <isa bus=""> on isab0 atapci0: <amd cs5536="" udma100="" controller=""> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0 ata0: <ata 0="" channel=""> on atapci0 ata0: [ITHREAD] ata1: <ata 1="" channel=""> on atapci0 ata1: [ITHREAD] ohci0: <ohci (generic)="" usb="" controller=""> mem 0xa0010000-0xa0010fff irq 7 at device 21.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: <ohci (generic)="" usb="" controller=""> on ohci0 usb0: USB revision 1.0 uhub0: <amd 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr=""> on usb0 uhub0: 4 ports with 4 removable, self powered ehci0: <ehci (generic)="" usb="" 2.0="" controller=""> mem 0xa0011000-0xa0011fff irq 7 at device 21.1 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: <ehci (generic)="" usb="" 2.0="" controller=""> on ehci0 usb1: USB revision 2.0 uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr=""> on usb1 uhub1: 4 ports with 4 removable, self powered orm0: <isa option="" rom=""> at iomem 0xc8000-0xd27ff pnpid ORM0000 on isa0 ppc0: parallel port not found. sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0 sio0: type 16550A, console sio0: [FILTER] sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: [FILTER] Timecounter "TSC" frequency 499905544 Hz quality 800 Timecounters tick every 1.879 msec Fast IPsec: Initialized Security Association Processing. ad0: 488MB <sandisk sdcfh-512="" hdx="" 4.04=""> at ata0-master PIO4 GEOM_LABEL: Label for provider ad0a is ufs/pfSense. GEOM_LABEL: Label for provider ad0d is ufs/pfSenseCfg. Trying to mount root from ufs:/dev/ufs/pfSense vr1: link state changed to UP vr0: link state changed to UP vr3: link state changed to DOWN vr2: link state changed to DOWN sis0: link state changed to DOWN sis1: link state changed to DOWN sis2: link state changed to DOWN sis3: link state changed to DOWN pflog0: promiscuous mode enabled kern.polling.enable is deprecated. Use ifconfig(8) pfsense:~#</sandisk></isa></amd></ehci></ehci></amd></ohci></ohci></ata></ata></amd></isa></pci-isa></ext></generic></mii></natsemi></generic></mii></natsemi></generic></mii></natsemi></generic></mii></natsemi></pci></pci-pci></generic></mii></via></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></host></software></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>
And here is the dmesg obtain during boot of the version 2.0
Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-STABLE #0: Wed May 26 02:29:06 EDT 2010 sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by AMD PCS (499.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x5a2 Family = 5 Model = a Stepping = 2 Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory = 536870912 (512 MB) avail memory = 507318272 (483 MB) wlan: mac acl policy registered ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_bss_fw, 0xc06cb9e0, 0) error 1 ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc06cba80, 0) error 1 ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc06cbb20, 0) error 1 wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/. wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (wpi_fw, 0xc081ae60, 0) error 1 K6-family MTRR support enabled (2 registers) ACPI Error: A valid RSDP was not found (20100331/tbxfroot-309) ACPI: Table initialisation failed: AE_NOT_FOUND ACPI: Try disabling either ACPI or apic support. cryptosoft0: <software crypto=""> on motherboard padlock0: No ACE support. pcib0: <host to="" pci="" bridge=""> pcibus 0 on motherboard pci0: <pci bus=""> on pcib0 Geode LX: Soekris net5501 comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008 pci0: <encrypt decrypt,="" entertainment="" crypto=""> at device 1.2 (no driver attached) vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe100-0xe1ff mem 0xa0004000-0xa00040ff irq 11 at device 6.0 on pci0 vr0: Quirks: 0x2 vr0: Revision: 0x96 miibus0: <mii bus=""> on vr0 ukphy0: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: [ITHREAD] vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe200-0xe2ff mem 0xa0004100-0xa00041ff irq 5 at device 7.0 on pci0 vr1: Quirks: 0x2 vr1: Revision: 0x96 miibus1: <mii bus=""> on vr1 ukphy1: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr1: [ITHREAD] vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe300-0xe3ff mem 0xa0004200-0xa00042ff irq 9 at device 8.0 on pci0 vr2: Quirks: 0x2 vr2: Revision: 0x96 miibus2: <mii bus=""> on vr2 ukphy2: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr2: [ITHREAD] vr3: <via 10="" vt6105m="" rhine="" iii="" 100basetx=""> port 0xe400-0xe4ff mem 0xa0004300-0xa00043ff irq 12 at device 9.0 on pci0 vr3: Quirks: 0x2 vr3: Revision: 0x96 miibus3: <mii bus=""> on vr3 ukphy3: <generic ieee="" 802.3u="" media="" interface=""> PHY 1 on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr3: [ITHREAD] pcib1: <pci-pci bridge=""> at device 14.0 on pci0 pci1: <pci bus=""> on pcib1 sis0: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd000-0xd0ff mem 0xa4000000-0xa4000fff irq 10 at device 0.0 on pci1 sis0: Silicon Revision: DP83816A miibus4: <mii bus=""> on sis0 nsphyter0: <dp83815 10="" 100="" media="" interface=""> PHY 0 on miibus4 nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: [ITHREAD] sis1: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd100-0xd1ff mem 0xa4001000-0xa4001fff irq 6 at device 1.0 on pci1 sis1: Silicon Revision: DP83816A miibus5: <mii bus=""> on sis1 nsphyter1: <dp83815 10="" 100="" media="" interface=""> PHY 0 on miibus5 nsphyter1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: [ITHREAD] sis2: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd200-0xd2ff mem 0xa4002000-0xa4002fff irq 10 at device 2.0 on pci1 sis2: Silicon Revision: DP83816A miibus6: <mii bus=""> on sis2 nsphyter2: <dp83815 10="" 100="" media="" interface=""> PHY 0 on miibus6 nsphyter2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis2: [ITHREAD] sis3: <natsemi 10="" dp8381[56]="" 100basetx=""> port 0xd300-0xd3ff mem 0xa4003000-0xa4003fff irq 6 at device 3.0 on pci1 sis3: Silicon Revision: DP83816A miibus7: <mii bus=""> on sis3 nsphyter3: <dp83815 10="" 100="" media="" interface=""> PHY 0 on miibus7 nsphyter3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis3: [ITHREAD] hifn0 mem 0xa0005000-0xa0005fff,0xa0006000-0xa0007fff,0xa0008000-0xa000ffff irq 15 at device 17.0 on pci0 hifn0: [ITHREAD] hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x801 <ext clk,="" 4x="" mult="">isab0: <pci-isa bridge=""> at device 20.0 on pci0 isa0: <isa bus=""> on isab0 atapci0: <amd cs5536="" udma100="" controller=""> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0 ata0: <ata 0="" channel=""> on atapci0 ata0: [ITHREAD] ata1: <ata 1="" channel=""> on atapci0 ata1: [ITHREAD] ohci0: <ohci (generic)="" usb="" controller=""> mem 0xa0010000-0xa0010fff irq 7 at device 21.0 on pci0 ohci0: [ITHREAD] usbus0: <ohci (generic)="" usb="" controller=""> on ohci0 ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller=""> mem 0xa0011000-0xa0011fff irq 7 at device 21.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: <amd cs5536="" (geode)="" usb="" 2.0="" controller=""> on ehci0 cpu0 on motherboard orm0: <isa option="" rom=""> at iomem 0xc8000-0xd27ff pnpid ORM0000 on isa0 atrtc0: <at real="" time="" clock=""> at port 0x70 irq 8 on isa0 ppc0: parallel port not found. uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 uart0: [FILTER] uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0 uart1: [FILTER] Timecounter "TSC" frequency 499905564 Hz quality 800 Timecounters tick every 10.000 msec IPsec: Initialized Security Association Processing. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: <amd> at usbus0 uhub0: <amd 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr=""> on usbus0 ugen1.1: <amd> at usbus1 uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr=""> on usbus1 Root mount waiting for: usbus1 usbus0 uhub0: 4 ports with 4 removable, self powered Root mount waiting for: usbus1 uhub1: 4 ports with 4 removable, self powered Trying to mount root from ufs:/dev/ufs/pfsense0 ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=ufs:/dev/ufs/pfsense0 vfs.root.mountfrom.options=ro,sync,noatime Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices <empty line=""> Abort manual input mountroot></empty></fstype></device></device></fstype></amd></amd></amd></amd></at></isa></amd></amd></ohci></ohci></ata></ata></amd></isa></pci-isa></ext></dp83815></mii></natsemi></dp83815></mii></natsemi></dp83815></mii></natsemi></dp83815></mii></natsemi></pci></pci-pci></generic></mii></via></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></host></software></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>
MageMinds
-
The device names in fstab for embedded do not matter anymore.
It should be /dev/ufs/pfsense0 for the first slice and /dev/ufs/pfsense1 for the second slice. The underlying geom ufs labels should be picked up during boot.
Nowhere in that second boot message did I see it list an actual disk. The BIOS probably got it far enough to boot but pfSense isn't seeing your controller properly.
Check BIOS options to see if you can control anything ATA related, such as SATA/IDE/Legacy type modes. The answer is probably in the BIOS somewhere.
-
That's what I though, I'll probably end up getting an other SanDisk CF to test the v2.0-BETA
I tested this: image my MicroDrive with the embedded image of the version 1.2.2 and it did the same thing… My Soekris doesn't like the MicroDrive, I won't beat it, I'll just supply it with a good real CF.
Thanks for your help.
-
I finally tested my CF that is working with 1.2.2 and it works with 2.0, but unfortunately I had problem configuring everything, like IPSec, Traffic Shaper and I don't have the patience tonight to look at it. So I flashed back my backup image I took and I'm back to my rock solid 1.2.2
I'll try to get my hands on a new CF to have to CF to play with…
MageMinds