Issues when installing pfSense 2.0.2 on a Soekris net5501
-
Hi,
I am trying to install psSense to my net5501 and have some issues. I've been using m0n0wall until now and want to give pfSense a try.
I first tried pfSense 2.0.3, but did not get very far. I got into a loop during first time boot up. So thats why I opted for 2.0.2. I can update it when I get it to work. :)
I started off writing the image to my 4GB Lexar CF card. I took a few minutes, but no errors.
sudo dd if=pfSense-2.0.2-RELEASE-4g-i386-nanobsd.img of=/dev/sde
After inserting the CF card into my net5501, I powered it on. The following is the boot process copied from the console window. As you may notice it boots from partition 2. I have tried partition 1 as well with the same result.
POST: 012345689bcefghips1234ajklnopqr,,,tvwxy comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008 Soekris Engineering. net5501 0512 Mbyte Memory CPU Geode LX 500 Mhz Pri Mas LEXAR ATA FLASH CARD LBA Xlt 971-128-63 3915 Mbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int ------------------------------------------------------------------- 0:01:2 1022 2082 10100000 0006 0220 08 00 00 A0000000 00000000 10 0:06:0 1106 3053 02000096 0117 0210 08 40 00 0000E101 A0004000 11 0:07:0 1106 3053 02000096 0117 0210 08 40 00 0000E201 A0004100 05 0:08:0 1106 3053 02000096 0117 0210 08 40 00 0000E301 A0004200 09 0:09:0 1106 3053 02000096 0117 0210 08 40 00 0000E401 A0004300 12 0:20:0 1022 2090 06010003 0009 02A0 08 40 80 00006001 00006101 0:20:2 1022 209A 01018001 0005 02A0 08 00 00 00000000 00000000 0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0005000 00000000 15 0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0006000 00000000 15 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. 1 pfSense 2 pfSense F6 PXE Boot: 2 /boot.config: -h Consoles: serial port BIOS drive C: is disk0 BIOS 639kB/523264kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@snapshots-8_1-i386.builders.pfsense.org, Fri Dec 7 17:04:23 EST 2012) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x8b1454 data=0x3caa94+0x9b720 syms=[0x4+0x951e0+0x4+0xcc8e7] | Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... 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.1-RELEASE-p13 #0: Fri Dec 7 17:12:42 EST 2012 root@snapshots-8_1-i386.builders.pfsense.org:/usr/obj./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 = 506281984 (482 MB) 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, 0xc0712570, 0) error 1 wlan: mac acl policy registered 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, 0xc0712610, 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, 0xc07126b0, 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, 0xc0891b90, 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] 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 0xa0005000-0xa0005fff irq 15 at device 21.0 on pci0 ohci0: [ITHREAD] usbus0: <ohci (generic)="" usb="" controller="">on ohci0 ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xa0006000-0xa0006fff irq 15 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 499905410 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/pfsense1 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/pfsense1 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></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>
As you see at the end of the text above I get a ROOT MOUNT ERROR. And I don't know what to do. Please advice.
The strange thing is if I press enter, then it reboots as it should and I am able to connect to it using a network cable and a browser.
At the time this happened I was able to to the setup using the wizard.and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=ufs:/dev/ufs/pfsense1 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> panic: Root mount failed, startup aborted. cpuid = 0 Uptime: 6m24s Cannot dump. Device not defined or unavailable. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... POST: 012345689bcefghips1234ajklnopqr,,,tvwxy comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008 Soekris Engineering. net5501 0512 Mbyte Memory CPU Geode LX 500 Mhz Pri Mas LEXAR ATA FLASH CARD LBA Xlt 971-128-63 3915 Mbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int ------------------------------------------------------------------- 0:01:2 1022 2082 10100000 0006 0220 08 00 00 A0000000 00000000 10 0:06:0 1106 3053 02000096 0117 0210 08 40 00 0000E101 A0004000 11 0:07:0 1106 3053 02000096 0117 0210 08 40 00 0000E201 A0004100 05 0:08:0 1106 3053 02000096 0117 0210 08 40 00 0000E301 A0004200 09 0:09:0 1106 3053 02000096 0117 0210 08 40 00 0000E401 A0004300 12 0:20:0 1022 2090 06010003 0009 02A0 08 40 80 00006001 00006101 0:20:2 1022 209A 01018001 0005 02A0 08 00 00 00000000 00000000 0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0005000 00000000 15 0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0006000 00000000 15 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. 1 pfSense 2 pfSense F6 PXE Boot: 2 /boot.config: -h Consoles: serial port BIOS drive C: is disk0 BIOS 639kB/523264kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@snapshots-8_1-i386.builders.pfsense.org, Fri Dec 7 17:04:23 EST 2012) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x8b1454 data=0x3caa94+0x9b720 syms=[0x4+0x951e0+0x4+0xcc8e7] | Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... 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.1-RELEASE-p13 #0: Fri Dec 7 17:12:42 EST 2012 root@snapshots-8_1-i386.builders.pfsense.org:/usr/obj./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.90-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 = 506281984 (482 MB) 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, 0xc0712570, 0) error 1 wlan: mac acl policy registered 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, 0xc0712610, 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, 0xc07126b0, 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, 0xc0891b90, 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] 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 0xa0005000-0xa0005fff irq 15 at device 21.0 on pci0 ohci0: [ITHREAD] usbus0: <ohci (generic)="" usb="" controller="">on ohci0 ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xa0006000-0xa0006fff irq 15 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 499904654 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 ad0: 3823MB <lexar 20070918="" ata="" flash="" card="">at ata0-master PIO4 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/pfsense1 Configuring crash dumps... Mounting filesystems... Setting up embedded specific environment... done. Disabling APM on /dev/ad0 ___ ___/ f \ / p \___/ Sense \___/ \ \___/ Welcome to pfSense 2.0.2-RELEASE ... Creating symlinks.....stray irq7 .stray irq7 done. External config loader 1.0 is now starting... ad0s3 Launching the init system... done. Initializing........stray irq7 .stray irq7 .too many stray irq 7's: not logging anymore .................. done. Starting device manager (devd)...done. Loading configuration......done. Updating configuration...done. Cleaning backup cache...done. Setting up extended sysctls...done. Setting timezone...done. Starting Secure Shell Services...done. Setting up polling defaults...done. Setting uvr1: link state changed to DOWN p interfaces microcode...done. Configuring LAGG interfaces...done. Configuring VLAN interfaces...done. Configuring QinQ interfaces...done. Configuring WAN interface...done. vr0: link state changed to DOWN Configuring LAN interface...done. Syncing OpenVPN settings...done. Starting syslog...done. Configuring firewallpflog0: promiscuous mode enabled ......done. Starting PFLOG...done. Setting up gateway monitors...done. Synchronizing user settings...done. Starting webConfigurator...done. Configuring CRON...done. Starting NTP time client...Starting DHCP service...done. Starting DNS forwarder...done. Configuring firewall......done. Generating RRD graphs...done. Starting CRON... done. Bootup complete FreeBSD/i386 (pfSense.localdomain) (console) *** Welcome to pfSense 2.0.2-RELEASE-nanobsd (i386) on pfSense *** WAN (wan) -> vr1 -> NONE (DHCP) LAN (lan) -> vr0 -> 192.168.1.1 0) Logout (SSH only) 8) Shell 1) Assign Interfaces 9) pfTop 2) Set interface(s) IP address 10) Filter Logs 3) Reset webConfigurator password 11) Restart webConfigurator 4) Reset to factory defaults 12) pfSense Developer Shell 5) Reboot system 13) Upgrade from console 6) Halt system 14) Disable Secure Shell (sshd) 7) Ping host Enter an option:</lexar></amd></amd></amd></amd></at></isa></amd></amd></ohci></ohci></ata></ata></amd></isa></pci-isa></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></empty></fstype></device></device></fstype>
But if I now reboot my net5501 it wont fully boot. Connecting to the console shows the ROOT MOUNT ERROR again.
I would greatly appreciate some help here. It's driving my mad. I tried to put m0n0Wall on the CF card again and have no problems.
Regards,
Bjørn
-
Hi Bjørn,
I'm not completely sure, but your "ROOT MOUNT ERROR" looks like this one:
http://doc.pfsense.org/index.php/Soekris_6501_USB_Flash_installationAt the boot loader prompt you could give the following a try:
set kern.cam.boot_delay=10000 boot
The solution is given for a net6501 and booting from USB, hopefully it helps you as well. If your machine boots correctly, you will want to add this boot option to /boot/loader.conf.local.
I've recently installed pfSense (2.0.3, i386, NanoBSD) on a 4 GiB CF for a net 6501. As expected I did not see any "ROOT MOUNT ERROR". But things may be different on a net5501.
Regards,
Peter -
Hi Peter,
Thank you for your reply.
I tried your suggestion hoping it would resolve my issue on my net5501. Unfortunately this doesn't fix it and I'm still experiencing the issue.
As I have no experience in FreeBSD or time for that matter I'll let it rest until I get more replies, see another post or there is a new pfSense version available (time being the real factor here, learning about FreeBSD would be nice).
Regards,
Bjørn
-
Hi Bjørn,
well it was worth a try but I'm afraid we need a net5501/pfSense expert. I've studied your boot log once again but have unfortunately no further idea how to solve the "ROOT MOUNT ERROR" on your machine. Actually, it shouldn't occur when booting from CF.
Regards,
Peter -
The first startup output doesn't show a hard drive detected while the second one does:
ad0: 3823MB <lexar 20070918="" ata="" flash="" card="">at ata0-master PIO4
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/pfsense1</lexar>There is something strange going on that the CF card on the IDE interface can be detected by the BIOS but not by the OS.
-
Some Soekris boxes require DMA to be active in order to correctly see the card. That's the reason the Nano+VGA image has DMA enabled by default.
Soekris net6501 behaves really erratically with DMA off. It won't even boot on certain disks, especially mSATA.
The standard Nano images have it disabled. You could try booting a Nano+VGA image or try removing the line hw.ata.ata_dma="0" from /boot/loader.conf if you can get it booted to do that.
Alternatively the above behaviour looks very similar to that experienced trying to boot a HD in a Firebox X-e. The drive would just not be seen for seemingly no good reason. A workaround in that case was to boot in verbose mode which, for unknown reasons, allowed the drive to be detected reliably.
Steve
-
Inspired by Stephen's answer I've re-checked my boot options. I'm indeed overriding the
hw.ata.atapi_dma="0"
in /boot/loader.conf with
hw.ata.atapi_dma="1"
in /boot/loader.conf.local. I remember never having had the "ROOT MOUNT ERROR" when booting from CF on a net6501. However, I've seen occasional read errors which disappeared with DMA on.
Peter
-
Hi,
My observations:
CF card detected by BIOS during cold and warm boot
CF card detected by FreeBSD only after warm bootChanging hw.ata.atapi_dma="1" in /boot/loader.conf (did it directly using vi hoping that is ok) gave the same results as above.
I changed from 2.0.2 to 2.0.3 and have the same issue. (I don't know why 2.0.3 don't give me a loop anymore, but I added bs=16k when using dd)
My Lexar 4GB CF card is 80x (which I calculate to 12MB/s)
I have also tried with a SanDisk 4GB 30MB/s (which I calculate to approx. 200x)
(I base my calculatons on a 1 gen. CD-ROM reading at 150KB/s, correct or….?).Using the Lexar CF I have to wait several seconds after BIOS have counted onboard memory. 5-10 secs. There is no waittime when using the SanDisk CF, FreeBSD starts right away.
Without going into much detail the Sandisk gives a completly different error which I won't add to this thread.One question pops up. Does it matter that they have different metrics, while both claims to be 4GB, BIOS shows the LBA differs?
From BIOS:
Pri Mas LEXAR ATA FLASH CARD LBA Xlt 971-128-63 3915 Mbyte
Pri Mas SanDisk SDCFH-004G LBA Xlt 968-128-63 3906 MbyteRegards,
Bjørn