Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense 2.2.4 nanobsd config.xml not found

    Problems Installing or Upgrading pfSense Software
    4
    12
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pfadmin
      last edited by

      Hi,

      pfsense hangs during startup with the problem I found in archiv as solved. https://forum.pfsense.org/index.php?topic=94900.0

      I wrote the image via Windows 7 and ubuntu, but same result.

      Atix 2D13, 4gb CF-Card

      I used image pfSense-2.2.4-RELEASE-4g-i386-nanobsd.img.gz. I downloaded it twice from different mirrors, checksums where ok (sha256sum -c pfSense-2.2.4-RELEASE-4g-i386-nanobsd.img.gz.sha256)

      What could I did wrong or is there still/again this bug?

      Thanks
      pfadmin

      1 Reply Last reply Reply Quote 0
      • R
        robi
        last edited by

        try deleting all partitions from CF card before writing image to it

        1 Reply Last reply Reply Quote 0
        • P
          pfadmin
          last edited by

          Thanks for reply, but I did this before flashing (dd if=/dev/zero of=/dev/sdb bs=1M count=1). Ubuntu comes with an window to tell me that it cannot mount or so the 53mb partition after flashing is done. are there this missing config files? If no one has problems with this image on this machines, it could be a problem with my hardware. can someone tell me, that it works with fresh installed 2.2.4 x86 nanobsd 4gb without old configs or so?

          Thank you!

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Eh? Why are you trying to mount UFS in Ubuntu?

            1 Reply Last reply Reply Quote 0
            • P
              pfadmin
              last edited by

              I flashed the cf with dd in a console in ubuntu. At one point ubuntu tries to do something with the cf. Maybe not mounting, but it came up with a window that tells me, it can nothing do with the 53mb partition. Only the 53mb part! It could be that I missinterpret it, but same result under windows: pfsense don't start because config.xml is not there…

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                WTF?!?!? Are you trying to RUN the image under Windows ??!! Or what? You write the image, stick it to the Alix and boot from. There's serial console available, you can use PuTTY for that and post the console output….

                Messing with/trying to mount/similar WTF under Windows or Ubuntu won't produce absolutely anything, let alone useful information. There's no UFS filesystem/BSD slices support in Windows, and very much doubt the Ubuntu kernel has this compiled in by default either.

                1 Reply Last reply Reply Quote 0
                • P
                  pfadmin
                  last edited by

                  no no no, stop thinking so bad!  ;D

                  I first try to flash the pfsense image under windows to my 4gb cf card for the atix2d13, then as it don't work in the atix again under ubuntu. the serial console told me that pfsense can't come up because config.xml is not there.

                  I used this wiki https://doc.pfsense.org/index.php/Writing_Disk_Images

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    Sigh… Post the actual full output from the console, from where it boots to where it stops.

                    1 Reply Last reply Reply Quote 0
                    • P
                      pfadmin
                      last edited by

                      ok, need to do that on weekend. Thank you so long!

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfadmin
                        last edited by

                        Hi again,

                        /boot/config: -h
                        Consoles: serial port  
                        BIOS drive C: is disk0
                        BIOS 640kB/261120kB available memory
                        
                        FreeBSD/x86 bootstrap loader, Revision 1.1
                        (root@pfs22-i386-builder, Sat Jul 25 20:19:42 CDT 2015)
                        Loading /boot/defaults/loader.conf 
                        /boot/kernel/kernel text=0x1218287 data=0x833668+0x279f60 syms=[0x4+0xf5400+0x4+0x16e574]
                        
                        Hit [Enter] to boot immediately, or any other key for command prompt.
                        Booting [/boot/kernel/kernel]...               
                        KDB: debugger backends: ddb
                        KDB: current backend: ddb
                        Copyright (c) 1992-2014 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 10.1-RELEASE-p15 #0 c5ab052(releng/10.1)-dirty: Sat Jul 25 20:29:48 CDT 2015
                            root@pfs22-i386-builder:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_wrap.10.i386 i386
                        FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
                        VT: running with driver "vga".
                        CPU: Geode(TM) Integrated Processor by AMD PCS (498.06-MHz 586-class CPU)
                          Origin = "AuthenticAMD"  Id = 0x5a2  Family = 0x5  Model = 0xa  Stepping = 2
                          Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory  = 268435456 (256 MB)
                        avail memory = 226222080 (215 MB)
                        pnpbios: Bad PnP BIOS data checksum
                        random device not loaded; using insecure entropy
                        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, 0xc08122b0, 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, 0xc0812360, 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, 0xc0812410, 0) error 1
                        iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.
                        iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
                        module_register_init: MOD_LOAD (iwi_bss_fw, 0xc083aa40, 0) error 1
                        iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.
                        iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
                        module_register_init: MOD_LOAD (iwi_ibss_fw, 0xc083aaf0, 0) error 1
                        iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.
                        iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
                        module_register_init: MOD_LOAD (iwi_monitor_fw, 0xc083aba0, 0) error 1
                        wlan: mac acl policy registered
                        kbd0 at kbdmux0
                        K6-family MTRR support enabled (2 registers)
                        random: <software, yarrow="">initialized
                        ACPI BIOS Error (bug): A valid RSDP was not found (20130823/tbxfroot-223)
                        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 pcibus 0 on motherboard
                        pci0: <pci bus="">on pcib0
                        Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007
                        pci0: <encrypt decrypt,="" entertainment="" crypto="">at device 1.2 (no driver attached)
                        vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.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:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
                        vr0: Ethernet address: ###############
                        vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 11 at device 10.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:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
                        vr1: Ethernet address: #################
                        vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1800-0x18ff mem 0xe0080000-0xe00800ff irq 15 at device 11.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:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
                        vr2: Ethernet address: ##################
                        ath0: <atheros 9220="">mem 0xe00c0000-0xe00cffff irq 9 at device 12.0 on pci0
                        [ath] enabling AN_TOP2_FIXUP
                        ath0: [HT] enabling HT modes
                        ath0: [HT] 1 stream STBC receive enabled
                        ath0: [HT] 1 stream STBC transmit enabled
                        ath0: [HT] 2 RX streams; 2 TX streams
                        ath0: AR9220 mac 128.2 RF5133 phy 13.0
                        ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
                        isab0: <pci-isa bridge="">port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0
                        isa0: <isa bus="">on isab0
                        atapci0: <amd cs5536="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
                        ata0: <ata channel="">at channel 0 on atapci0
                        ata1: <ata channel="">at channel 1 on atapci0
                        ohci0: <ohci (generic)="" usb="" controller="">mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0
                        usbus0 on ohci0
                        ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0
                        usbus1: EHCI version 1.0
                        usbus1 on ehci0
                        cpu0 on motherboard
                        pmtimer0 on isa0
                        orm0: <isa option="" rom="">at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0
                        atrtc0: <at realtime="" clock="">at port 0x70 irq 8 on isa0
                        Event timer "RTC" frequency 32768 Hz quality 0
                        attimer0: <at timer="">at port 0x40 on isa0
                        Timecounter "i8254" frequency 1193182 Hz quality 0
                        Event timer "i8254" frequency 1193182 Hz quality 100
                        ppc0: parallel port not found.
                        uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
                        uart0: console (115200,n,8,1)
                        uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
                        Timecounters tick every 1.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
                        ada0 at ata0 bus 0 scbus0 target 0 lun 0
                        ada0: <ts4gcf133 20110407="">CFA-7 device
                        ada0: Serial Number #######################################
                        ada0: 66.700MB/s transfers (UDMA4, PIO 512bytes)
                        ada0: 3823MB (7831152 512 byte sectors: 16H 63S/T 7769C)
                        ada0: Previously was known as ad0
                        random: unblocking device.
                        Timecounter "TSC" frequency 498061645 Hz quality 800
                        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 [ro,sync,noatime]...
                        Configuring crash dumps...
                        /dev/ufs/pfsense0: FILE SYSTEM CLEAN; SKIPPING CHECKS
                        /dev/ufs/pfsense0: clean, 3272467 free (1131 frags, 408917 blocks, 0.0% fragmentation)
                        /dev/ufs/cf: FILE SYSTEM CLEAN; SKIPPING CHECKS
                        /dev/ufs/cf: clean, 97477 free (29 frags, 12181 blocks, 0.0% fragmentation)
                        Filesystems are clean, continuing...
                        Mounting filesystems...
                        Setting up memory disks... done.
                        Disabling APM on /dev/ad0
                        
                             ___
                         ___/ f \
                        / p \___/ Sense
                        \___/   \
                            \___/
                        
                        Welcome to pfSense 2.2.4-RELEASE  ...
                        
                        Creating symlinks....warning: failed to load external entity "/conf/config.xml"
                        ..ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
                        a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
                        done.
                        >>> Under 512 megabytes of ram detected.  Not enabling APC.
                        
                        Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. I4
                        
                        Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. I4
                        Oct  2 14:35:05 php-fpm[281]: /ecl.php: No config.xml found, attempting last known config restore.
                        Oct  2 14:35:05 php-fpm[281]: /ecl.php: New alert found: No config.xml found, attempting last known config restore.
                        Oct  2 14:35:05 php-fpm[281]: /ecl.php: No config.xml found, attempting last known config restore.
                        Oct  2 14:35:05 php-fpm[281]: /ecl.php: New alert found: No config.xml found, attempting last known config restore.
                        Oct  2 14:35:05 php-fpm[281]: /ecl.php: pfSense is restoring the configuration /cf/conf/backup/config-1441039848.xml
                        Oct  2 14:35:05 php-fpm[281]: /ecl.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1441039848.xml
                        
                        Warning: fopen(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. 3
                        
                        Warning: fopen(/conf/config.xml): failed to open stream: Not a directory in /etc/inc/xmlparse.inc on line 183
                        Oct  2 14:35:06 php-fpm[281]: /ecl.php: Error: could not open XML input
                        Oct  2 14:35:07 php-fpm[281]: /ecl.php: pfSense is restoring the configuration /cf/conf/backup/config-1441039848.xml
                        Oct  2 14:35:07 php-fpm[281]: /ecl.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1441039848.xml
                        External config loader 1.0 is now starting...
                        Launching the init system... done.
                        Initializing....
                        Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. I4
                        
                        Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. I4
                        .................. done.
                        Starting device manager (devd)...done.
                        Loading configuration....XML configuration file not found.  pfSense cannot continue booting.
                        Waiting (max 60 seconds) for system process `vnlru' to stop...done
                        Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
                        Waiting (max 60 seconds) for system process `syncer' to stop...
                        Syncing disks, vnodes remaining...0 0 done
                        All buffers synced.
                        Uptime: 26s
                        
                        The operating system has halted.
                        Please press any key to reboot.</ts4gcf133></amd></amd></amd></amd></at></at></isa></amd></ohci></ata></ata></amd></isa></pci-isa></atheros></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></software></software,></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx> 
                        

                        I try to write the cf under deft8. There dd comes to an end and after that, the system recognised the 3rd partition with 53MB, but don't try to automaticaly mount this partition like ubuntu. But anyway, same end.

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmb
                          last edited by

                          The thread you linked initially has no relation. That was never a problem in any release version.

                          Not being able to find the config most often happens when you write the upgrade image (which has no conf slice) rather than the one for new installs. That'd be a filename ending in "nanobsd-upgrade.img.gz" rather than "nanobsd.img.gz". Judging by the filename posted that wouldn't be the case, but make sure you're really using the right file. If you are, there's something wrong with how you're writing it, or your system's doing something to break it after it's written.

                          That's assuming it isn't throwing out any errors while writing. Try the 2 GB image instead, maybe your 4 GB CF is slightly too small to hold the 4 GB image.

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfadmin
                            last edited by

                            Hi,

                            sorry for delay, but WAF was going down  ;D

                            The 2g image works as it should. So I'm fine at this moment.

                            Thank you for your assistent
                            pfadmin

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.