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

    PCEngines APU - Booting NanoBSD from SDCard - without having another BSD

    Scheduled Pinned Locked Moved Hardware
    19 Posts 10 Posters 14.2k Views
    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.
    • D
      doktornotor Banned
      last edited by

      @gonzopancho:

      Have you considered buying your APU from the pfSense store?

      Then it "just works".

      I thought you want to stop the adverts altogether. Instead, you are spamming? Is the ship already sinking? Regardless, no, I have not considered that, neither have others, not until you get less retarded shipping company.

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

        @Jason:

        Have you considered using a full install on a better SD card?  On a full install you can use /boot/loader.conf.local and that will persist past upgrades.  You'll need to wait another week or two for this one, but this uses MLC flash, a big step up in reliability from most SD cards which are TLC.

        http://www.amazon.com/dp/B00IVPU6AA/

        I personally prefer nevertheless the NanoBSD install.. I've got a bad feeling when it goes to writes on SD / CF Cards.. Also there are mostly no exact data how much can be written on the cards and so on..

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

          @gonzopancho:

          Have you considered buying your APU from the pfSense store?

          Then it "just works".

          IJS…

          If you're using the Image on SD Card you should have the same problem. "Just works" means for me, that you have not the same buildup. Perphaps I've got a good reason for that build up?
          And no, I use PCEngines not only for PFSense. And I'm buying stuff anytime in the same country as I live, when there is no good reason against it. Buying PCEngines hardware elsewhere is no possibility

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            @chsu83:

            REMEMBER & BE AWARE - AT THE MOMENT YOU NEED THE SERIAL CONSOLE AT EVERY UPDATE

            Use loader.conf.local, not loader.conf.

            loader.conf.local is copied over during an upgrade.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              @chsu83:

              @gonzopancho:

              Have you considered buying your APU from the pfSense store?

              Then it "just works".

              IJS…

              If you're using the Image on SD Card you should have the same problem. "Just works" means for me, that you have not the same buildup. Perphaps I've got a good reason for that build up?
              And no, I use PCEngines not only for PFSense. And I'm buying stuff anytime in the same country as I live, when there is no good reason against it. Buying PCEngines hardware elsewhere is no possibility

              We are pfSense.  We have a custom version (because we can do that).

              1 Reply Last reply Reply Quote 0
              • N
                nscheffer
                last edited by

                Hi gonzopancho,

                When you say we "are" pfsense and you have a special built to fully support the APU1C do you mean that you could have also a built supporting an APU1C including a 3G or 4G modem (miniPCIe slot) like the Sierra MC8801 or MC7304, LEDs working fine, Thermal sensors, reset button and so on ?

                Thanks

                Nicolas

                1 Reply Last reply Reply Quote 0
                • G
                  GLR
                  last edited by

                  Hello,

                  I don't understand and I am becoming crazy because on my side, following this same procedure, it simply doesn't work.

                  I wrote the image pfSense-2.1.2-RELEASE-4g-amd64-nanobsd-20140410-0542.img to the SD card, booted the APU1c, interrupted the boot and typed the command set kern.cam.boot.delay=10000, but root mounting still fails :

                  Consoles: serial port
                  BIOS drive C: is disk0
                  BIOS 639kB/2064811kB available memory
                  
                  FreeBSD/x86 bootstrap loader, Revision 1.1
                  (root@pf2.1.1_amd64.pfsense.org, Thu Apr 10 06:26:53 EDT 2014)
                  Loading /boot/defaults/loader.conf
                  /boot/kernel/kernel data=0x8d2938 data=0x555948+0xc24e0 syms=[0x8+0xe4000+0x8+0xd2118]
                  -
                  Hit [Enter] to boot immediately, or any other key for command prompt.
                  Booting [/boot/kernel/kernel] in 4 seconds...
                  
                  Type '?' for a list of commands, 'help' for more detailed help.
                  OK set kern.cam.boot.delay=10000
                  OK boot
                  Copyright (c) 1992-2012 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.3-RELEASE-p15 #0: Thu Apr 10 06:39:47 EDT 2014
                      root@pf2.1.1_amd64.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.8.amd64 amd64
                  

                  …

                  ugen6.2: <generic>at usbus6
                  umass0: <generic 0="" 2="" flash="" card="" readerwriter,="" class="" 0,="" rev="" 2.01="" 1.00,="" addr="">on usbus6
                  Root mount waiting for: usbus6
                  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</empty></fstype></device></device></fstype></generic></generic> 
                  

                  Any thought ?

                  1 Reply Last reply Reply Quote 0
                  • GruensFroeschliG
                    GruensFroeschli
                    last edited by

                    You need to set

                    
                    kern.cam.boot_delay=10000
                    
                    

                    NOT
                    kern.cam.boot.delay=10000

                    We do what we must, because we can.

                    Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                    1 Reply Last reply Reply Quote 0
                    • G
                      GLR
                      last edited by

                      OMG, this silly typo in the APU topic : https://forum.pfsense.org/index.php?topic=59555.msg406438#msg406438 !
                      It leaded me to lost several hours :-(
                      Thanks a lot to you however !

                      1 Reply Last reply Reply Quote 0
                      • GruensFroeschliG
                        GruensFroeschli
                        last edited by

                        Hehe. I thought i caught all posts of this typo.
                        Apparently missed one ^^"
                        The linked post is now edited.

                        We do what we must, because we can.

                        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                        1 Reply Last reply Reply Quote 0
                        • G
                          GLR
                          last edited by

                          Great, thanks.

                          And here above :

                          echo kern.cam.boot_delay=10000 >> /boot/loader.conf

                          Save/Load from path: /boot/loader.conf

                          .local is missing

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest
                            last edited by

                            @nscheffer:

                            Hi gonzopancho,

                            When you say we "are" pfsense and you have a special built to fully support the APU1C do you mean that you could have also a built supporting an APU1C including a 3G or 4G modem (miniPCIe slot) like the Sierra MC8801 or MC7304, LEDs working fine, Thermal sensors, reset button and so on ?

                            Thanks

                            Nicolas

                            I haven't bothered testing 3G/4G modems in the miniPCIe sockets.

                            But otherwise, yes.

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

                              This STILL doesn't work  >:(

                              
                              Welcome to minicom 2.7
                              
                              PC Engines APU BIOS build date: Apr  5 2014
                              Reading data from file [bootorder]
                              SeaBIOS (version ?-20140405_120742-frink)
                              SeaBIOS (version ?-20140405_120742-frink)
                              Found coreboot cbmem console @ df150400
                              Found mainboard PC Engines APU
                              Relocating init from 0x000e8e71 to 0xdf1065e0 (size 39259)
                              Found CBFS header at 0xfffffb90
                              found file "bootorder" in cbmem
                              CPU Mhz=1000
                              Found 27 PCI devices (max PCI bus is 05)
                              Copying PIR from 0xdf160400 to 0x000f27a0
                              Copying MPTABLE from 0xdf161400/df161410 to 0x000f25b0 with length 1ec
                              Copying ACPI RSDP from 0xdf162400 to 0x000f2590
                              Copying SMBIOS entry point from 0xdf16d800 to 0x000f2570
                              Using pmtimer, ioport 0x808
                              Scan for VGA option rom
                              EHCI init on dev 00:12.2 (regs=0xf7f08420)
                              Found 1 lpt ports
                              Found 2 serial ports
                              AHCI controller at 11.0, iobase f7f08000, irq 11
                              EHCI init on dev 00:13.2 (regs=0xf7f08520)
                              EHCI init on dev 00:16.2 (regs=0xf7f08620)
                              Searching bootorder for: /pci@i0cf8/*@11/drive@0/disk@0
                              AHCI/0: registering: "AHCI/0: TS32GMSA340 ATA-9 Hard-Disk (30533 MiBytes)"
                              Searching bootorder for: /rom@img/setup
                              Searching bootorder for: /rom@img/memtest
                              OHCI init on dev 00:12.0 (regs=0xf7f04000)
                              OHCI init on dev 00:13.0 (regs=0xf7f05000)
                              Searching bootorder for: /pci@i0cf8/usb@12,2/storage@1/*@0/*@0,0
                              Searching bootorder for: /pci@i0cf8/usb@12,2/usb-*@1
                              OHCI init on dev 00:14.5 (regs=0xf7f06000)
                              OHCI init on dev 00:16.0 (regs=0xf7f07000)
                              Searching bootorder for: /pci@i0cf8/usb@16,2/storage@1/*@0/*@0,0
                              Searching bootorder for: /pci@i0cf8/usb@16,2/usb-*@1
                              USB MSC vendor='Multiple' product='Card  Reader' rev='1.00' type=0 removable=1
                              Device reports MEDIUM NOT PRESENT
                              scsi_is_ready returned -1
                              Unable to configure USB MSC drive.
                              Unable to configure USB MSC device.
                              USB MSC vendor='ADATA' product='USB Flash Drive' rev='1100' type=0 removable=1
                              USB MSC blksize=512 sectors=15572992
                              All threads complete.
                              Scan for option roms
                              Running option rom at c000:0003
                              
                                        __ ____                          
                                 _ __  / _/ ___|  ___ _ __  ___  ___     
                                | '_ \| |_\___ \ / _ \ '_ \/ __|/ _ \    
                                | |_) |  _|___) |  __/ | | \__ \  __/    
                                | .__/|_| |____/ \___|_| |_|___/\___|    
                                |_|                                      
                              
                               +------------Welcome to pfSense-----------+                             
                               |                                         |                 ______         
                               |  1\. Boot Multi User [Enter]             |                /      \        
                               |  2\. Boot [s]ingle User                  |          _____/    f   \       
                               |  3\. [Esc]ape to loader prompt           |         /     \        /       
                               |  4\. Reboot                              |        /   p   \______/  Sense 
                               |                                         |        \       /      \        
                               |  Options:                               |         \_____/        \       
                               |  5\. [K]ernel: kernel (1 of 2)           |               \        /       
                               |  6\. Configure Boot [O]ptions...         |                \______/        
                               |                                         |                             
                               |                                         |                             
                               |                                         |
                               +-----------------------------------------+
                              
                              |
                              To get back to the menu, type `menu' and press ENTER
                              or type `boot' and press ENTER to start pfSense.
                              
                              Type '?' for a list of commands, 'help' for more detailed help.
                              
                              OK set kern.cam.boot_delay=10000
                              OK show
                              LINES=24
                              ansi_caption[1]=Boot Multi User [Enter]
                              ansi_caption[2]=Boot Single User
                              ansi_caption[3]=Escape to loader prompt
                              ansi_caption[5]=Kernel: default/kernel (1 of 2)
                              ansi_caption[5][0]=Kernel: default/kernel (1 of 2)
                              ansi_caption[5][1]=Kernel: kernel.old (2 of 2)
                              ansi_caption[6]=Configure Boot Options...
                              autoboot_delay=NO
                              boot_multicons=YES
                              boot_serial=YES
                              bootfile=kernel
                              comconsole_pcidev=
                              comconsole_port=1016
                              comconsole_speed=115200
                              console=comconsole,vidconsole
                              currdev=disk0s4a:
                              hint.acpi.0.oem=CORE  
                              hint.acpi.0.revision=1
                              hint.acpi.0.rsdp=0x000f2590
                              hint.acpi.0.rsdt=0xdf162424
                              hint.apm.0.disabled=1
                              hint.apm.0.flags=0x20
                              hint.ata.0.at=isa                                       
                              hint.ata.0.irq=14                                       
                              hint.ata.0.port=0x1F0                                   
                              hint.ata.1.at=isa                                       
                              hint.ata.1.irq=15                                       
                              hint.ata.1.port=0x170                                   
                              hint.atkbd.0.at=atkbdc                                  
                              hint.atkbd.0.irq=1                                      
                              hint.atkbdc.0.at=isa                                    
                              hint.atkbdc.0.port=0x060                                
                              hint.atrtc.0.at=isa                                     
                              hint.atrtc.0.irq=8                                      
                              hint.atrtc.0.port=0x70                                  
                              hint.attimer.0.at=isa                                   
                              hint.attimer.0.irq=0                                    
                              hint.attimer.0.port=0x40                                
                              hint.fd.0.at=fdc0                                       
                              hint.fd.0.drive=0                                       
                              hint.fd.1.at=fdc0                                       
                              hint.fd.1.drive=1                                       
                              hint.fdc.0.at=isa                                       
                              hint.fdc.0.drq=2                                        
                              hint.fdc.0.irq=6                                        
                              hint.fdc.0.port=0x3F0                                   
                              hint.ppc.0.at=isa                                       
                              hint.ppc.0.irq=7                                        
                              hint.psm.0.at=atkbdc                                    
                              hint.psm.0.irq=12                                       
                              hint.sc.0.at=isa                                        
                              hint.sc.0.flags=0x100                                   
                              hint.uart.0.at=isa                                      
                              hint.uart.0.flags=0x10                                  
                              hint.uart.0.irq=4                                       
                              hint.uart.0.port=0x3F8                                  
                              hint.uart.1.at=isa                                      
                              hint.uart.1.irq=3                                       
                              hint.uart.1.port=0x2F8                                  
                              hint.wbwd.0.at=isa                                      
                              hw.uart.console=io:1016,br:115200                       
                              interpret=OK                                            
                              kern.cam.boot_delay=10000                               
                              kernel=kernel                                           
                              kernel[0]=kernel                                        
                              kernel[1]=kernel.old                                    
                              kernel_options=                                         
                              loaddev=disk0s4a:                                       
                              loader_color=NO                                         
                              loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local
                              mac_ifoff=NO                                            
                              mainansi_caption[1]=Boot Multi User [Enter]             
                              mainansi_caption[2]=Boot Single User                    
                              mainansi_caption[3]=Escape to loader prompt             
                              mainansi_caption[6]=Configure Boot Options...           
                              mainmenu_caption[1]=Boot Multi User [Enter]             
                              mainmenu_caption[2]=Boot [s]ingle User                  
                              mainmenu_caption[3]=[Esc]ape to loader prompt           
                              mainmenu_caption[6]=Configure Boot [O]ptions...         
                              mainmenu_command[1]=boot                                
                              mainmenu_command[2]=altboot                             
                              mainmenu_command[3]=goto_prompt                         
                              mainmenu_command[5]=cycle_kernel                        
                              mainmenu_command[6]=2 goto_menu                         
                              mainmenu_init[1]=init_boot                              
                              mainmenu_init[2]=init_altboot                           
                              mainmenu_kernel=5                                       
                              mainmenu_keycode[3]=27                                  
                              mainmenu_keycode[5]=107                                 
                              mainmenu_keycode[6]=111                                 
                              mainmenu_options=5                                      
                              mainmenu_reboot=                                        
                              maintoggled_ansi[1]=Boot Single User [Enter]            
                              maintoggled_ansi[2]=Boot Multi User                     
                              maintoggled_text[1]=Boot [s]ingle User [Enter]          
                              maintoggled_text[2]=Boot [M]ulti User                   
                              menu_caption[1]=Boot Multi User [Enter]                 
                              menu_caption[2]=Boot [s]ingle User                      
                              menu_caption[3]=[Esc]ape to loader prompt               
                              menu_caption[5]=[K]ernel: kernel (1 of 2)               
                              menu_caption[5][0]=[K]ernel: kernel (1 of 2)            
                              menu_caption[5][1]=[K]ernel: kernel.old (2 of 2)        
                              menu_caption[6]=Configure Boot [O]ptions...             
                              menu_command[1]=boot                                    
                              menu_command[2]=altboot                                 
                              menu_command[3]=goto_prompt                             
                              menu_command[5]=cycle_kernel                            
                              menu_command[6]=2 goto_menu
                              menu_init[1]=init_boot
                              menu_init[2]=init_altboot
                              menu_kernel=5
                              menu_keycode[1]=98
                              menu_keycode[2]=115
                              menu_keycode[3]=27
                              menu_keycode[5]=107
                              menu_keycode[6]=111
                              menu_options=5
                              menu_reboot=
                              menu_timeout_command=boot
                              menuset_initial=1
                              menuset_name1=main
                              menuset_name2=options
                              module_path=/boot/modules
                              optionsansi_caption[1]=Back to Main Menu [Backspace]
                              optionsansi_caption[2]=Load System Defaults
                              optionsansi_caption[3]=ACPI Support Off
                              optionsansi_caption[4]=Safe Mode... Off
                              optionsansi_caption[5]=Single User. Off
                              optionsansi_caption[6]=Verbose..... Off
                              optionsmenu_acpi=3                                      
                              optionsmenu_caption[1]=Back to Main Menu [Backspace]
                              optionsmenu_caption[2]=Load System [D]efaults
                              optionsmenu_caption[3]=[A]CPI Support off
                              optionsmenu_caption[4]=Safe [M]ode... off
                              optionsmenu_caption[5]=[s]ingle User. off
                              optionsmenu_caption[6]=[V]erbose..... off
                              optionsmenu_command[1]=1 goto_menu
                              optionsmenu_command[2]=set_default_boot_options
                              optionsmenu_command[3]=toggle_acpi
                              optionsmenu_command[4]=toggle_safemode
                              optionsmenu_command[5]=toggle_singleuser
                              optionsmenu_command[6]=toggle_verbose
                              optionsmenu_init[4]=init_safemode
                              optionsmenu_init[5]=init_singleuser
                              optionsmenu_init[6]=init_verbose
                              optionsmenu_keycode[1]=8
                              optionsmenu_keycode[2]=100
                              optionsmenu_keycode[3]=97
                              optionsmenu_keycode[4]=109
                              optionsmenu_keycode[5]=115
                              optionsmenu_keycode[6]=118
                              optionsmenu_options=3
                              optionsmenu_optionstext=Boot Options:                   
                              optionstoggled_ansi[3]=ACPI Support On
                              optionstoggled_ansi[4]=Safe Mode... On
                              optionstoggled_ansi[5]=Single User. On
                              optionstoggled_ansi[6]=Verbose..... On
                              optionstoggled_text[3]=[A]CPI Support On
                              optionstoggled_text[4]=Safe [M]ode... On
                              optionstoggled_text[5]=[s]ingle User. On
                              optionstoggled_text[6]=[V]erbose..... On
                              prompt=${interpret}
                              smbios.bios.reldate=04/05/2014
                              smbios.bios.vendor=coreboot
                              smbios.bios.version=SageBios_PCEngines_APU-45
                              smbios.chassis.maker=PC Engines
                              smbios.socket.enabled=1
                              smbios.socket.populated=1
                              smbios.system.maker=PC Engines
                              smbios.system.product=APU
                              smbios.system.serial=980545
                              smbios.system.version=1.0
                              smbios.version=2.7
                              toggled_ansi[1]=Boot Single User [Enter]
                              toggled_ansi[2]=Boot Multi User
                              toggled_text[1]=Boot [s]ingle User [Enter]              
                              toggled_text[2]=Boot [M]ulti User
                              OK 
                              OK  
                              OK boot
                              /boot/kernel/kernel text=0x1230515 data=0x835970+0x28f360 syms=[0x4+0xf7490+0x4+0x170be5]
                              Booting...
                              KDB: debugger backends: ddb
                              KDB: current backend: ddb
                              507904K of memory above 4GB ignored
                              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:25:50 CDT 2015
                                  root@pfs22-i386-builder:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.10 i386
                              FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
                              CPU: AMD G-T40E Processor (1000.02-MHz 686-class CPU)
                                Origin = "AuthenticAMD"  Id = 0x500f20  Family = 0x14  Model = 0x2  Stepping = 0
                                Features=0x178bfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,htt>Features2=0x802209 <sse3,mon,ssse3,cx16,popcnt>AMD Features=0x2e500800 <syscall,nx,mmx+,ffxsr,page1gb,rdtscp,lm>AMD Features2=0x35ff <lahf,cmp,svm,extapic,cr8,abm,sse4a,mas,prefetch,ibs,skinit,wdt>TSC: P-state invariant, performance statistics
                              real memory  = 3742687232 (3569 MB)
                              avail memory = 3641274368 (3472 MB)
                              Event timer "LAPIC" quality 400
                              ACPI APIC Table: <core  coreboot="">
                              FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
                              FreeBSD/SMP: 1 package(s) x 2 core(s)
                               cpu0 (BSP): APIC ID:  0
                               cpu1 (AP): APIC ID:  1
                              random device not loaded; using insecure entropy
                              ioapic0 <version 2.1=""> irqs 0-23 on motherboard
                              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, 0xc0813d20, 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, 0xc0813dd0, 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, 0xc0813e80, 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, 0xc083c4b0, 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, 0xc083c560, 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, 0xc083c610, 0) error 1
                              wlan: mac acl policy registered
                              kbd0 at kbdmux0
                              random: <software, yarrow=""> initialized
                              module_register_init: MOD_LOAD (vesa, 0xc1229830, 0) error 19
                              cryptosoft0: <software crypto=""> on motherboard
                              padlock0: No ACE support.
                              acpi0: <core coreboot=""> on motherboard
                              acpi0: Power Button (fixed)
                              cpu0: <acpi cpu=""> on acpi0
                              cpu1: <acpi cpu=""> on acpi0
                              atrtc0: <at realtime="" clock=""> port 0x70-0x71 irq 8 on acpi0
                              Event timer "RTC" frequency 32768 Hz quality 0
                              attimer0: <at timer=""> port 0x40-0x43 irq 0 on acpi0
                              Timecounter "i8254" frequency 1193182 Hz quality 0
                              Event timer "i8254" frequency 1193182 Hz quality 100
                              Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
                              acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
                              hpet0: <high precision="" event="" timer=""> iomem 0xfed00000-0xfed003ff on acpi0
                              Timecounter "HPET" frequency 14318180 Hz quality 950
                              Event timer "HPET" frequency 14318180 Hz quality 550
                              Event timer "HPET1" frequency 14318180 Hz quality 450
                              pcib0: <acpi host-pci="" bridge=""> port 0xcf8-0xcff on acpi0
                              pci0: <acpi pci="" bus=""> on pcib0
                              pcib1: <acpi pci-pci="" bridge=""> irq 16 at device 4.0 on pci0
                              pci1: <acpi pci="" bus=""> on pcib1
                              re0: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" f="" g="" pcie="" gigabit="" ethernet=""> port 0x1000-0x10ff mem 0xf7a00000-0xf7a00fff,0xf7900000-0xf7903fff irq 16 at device 0.0 on pci1
                              re0: Using 1 MSI-X message
                              re0: ASPM disabled
                              re0: Chip rev. 0x2c000000
                              re0: MAC rev. 0x00200000
                              miibus0: <mii bus=""> on re0
                              rgephy0: <rtl8169s 8211="" 8110s="" 1000base-t="" media="" interface=""> PHY 1 on miibus0
                              rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000w
                              re0: Ethernet address: 00:0d:b9:3b:da:04
                              pcib2: <acpi pci-pci="" bridge=""> irq 17 at device 5.0 on pci0
                              pci2: <acpi pci="" bus=""> on pcib2
                              re1: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" f="" g="" pcie="" gigabit="" ethernet=""> port 0x2000-0x20ff mem 0xf7c00000-0xf7c00fff,0xf7b00000-0xf7b03fff irq 17 at device 0.0 on pci2
                              re1: Using 1 MSI-X message
                              re1: ASPM disabled
                              re1: Chip rev. 0x2c000000
                              re1: MAC rev. 0x00200000
                              miibus1: <mii bus=""> on re1
                              rgephy1: <rtl8169s 8211="" 8110s="" 1000base-t="" media="" interface=""> PHY 1 on miibus1
                              rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000w
                              re1: Ethernet address: 00:0d:b9:3b:da:05
                              pcib3: <acpi pci-pci="" bridge=""> irq 18 at device 6.0 on pci0
                              pci3: <acpi pci="" bus=""> on pcib3
                              re2: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" f="" g="" pcie="" gigabit="" ethernet=""> port 0x3000-0x30ff mem 0xf7e00000-0xf7e00fff,0xf7d00000-0xf7d03fff irq 18 at device 0.0 on pci3
                              re2: Using 1 MSI-X message
                              re2: ASPM disabled
                              re2: Chip rev. 0x2c000000
                              re2: MAC rev. 0x00200000
                              miibus2: <mii bus=""> on re2
                              rgephy2: <rtl8169s 8211="" 8110s="" 1000base-t="" media="" interface=""> PHY 1 on miibus2
                              rgephy2:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000w
                              re2: Ethernet address: 00:0d:b9:3b:da:06
                              ahci0: <amd sb7x0="" sb8x0="" sb9x0="" ahci="" sata="" controller=""> port 0x4010-0x4017,0x4020-0x4023,0x4018-0x401f,0x4024-0x4027,0x4000-0x400f mem 0xf7f08000-0xf7f083ff irq 19 at device 17.0 on pci0
                              ahci0: AHCI v1.20 with 6 6Gbps ports, Port Multiplier supported
                              ahcich0: <ahci channel=""> at channel 0 on ahci0
                              ahcich1: <ahci channel=""> at channel 1 on ahci0
                              ahcich2: <ahci channel=""> at channel 2 on ahci0
                              ahcich3: <ahci channel=""> at channel 3 on ahci0
                              ahcich4: <ahci channel=""> at channel 4 on ahci0
                              ahcich5: <ahci channel=""> at channel 5 on ahci0
                              ohci0: <amd sb7x0="" sb8x0="" sb9x0="" usb="" controller=""> mem 0xf7f04000-0xf7f04fff irq 18 at device 18.0 on pci0
                              usbus0 on ohci0
                              ehci0: <amd sb7x0="" sb8x0="" sb9x0="" usb="" 2.0="" controller=""> mem 0xf7f08400-0xf7f084ff irq 17 at device 18.2 on pci0
                              usbus1: EHCI version 1.0
                              usbus1 on ehci0
                              ohci1: <amd sb7x0="" sb8x0="" sb9x0="" usb="" controller=""> mem 0xf7f05000-0xf7f05fff irq 18 at device 19.0 on pci0
                              usbus2 on ohci1
                              ehci1: <amd sb7x0="" sb8x0="" sb9x0="" usb="" 2.0="" controller=""> mem 0xf7f08500-0xf7f085ff irq 17 at device 19.2 on pci0
                              usbus3: EHCI version 1.0
                              usbus3 on ehci1
                              isab0: <pci-isa bridge=""> at device 20.3 on pci0
                              isa0: <isa bus=""> on isab0
                              pcib4: <acpi pci-pci="" bridge=""> at device 20.4 on pci0
                              pci4: <acpi pci="" bus=""> on pcib4
                              ohci2: <amd sb7x0="" sb8x0="" sb9x0="" usb="" controller=""> mem 0xf7f06000-0xf7f06fff irq 18 at device 20.5 on pci0
                              usbus4 on ohci2
                              pcib5: <acpi pci-pci="" bridge=""> at device 21.0 on pci0
                              pci5: <acpi pci="" bus=""> on pcib5
                              ohci3: <amd sb7x0="" sb8x0="" sb9x0="" usb="" controller=""> mem 0xf7f07000-0xf7f07fff at device 22.0 on pci0
                              usbus5 on ohci3
                              ehci2: <amd sb7x0="" sb8x0="" sb9x0="" usb="" 2.0="" controller=""> mem 0xf7f08600-0xf7f086ff at device 22.2 on pci0
                              usbus6: EHCI version 1.0
                              usbus6 on ehci2
                              acpi_button0: <power button=""> on acpi0
                              pmtimer0 on isa0
                              orm0: <isa option="" rom=""> at iomem 0xee800-0xeffff pnpid ORM0000 on isa0
                              gpioapu0: Environment returned APU
                              gpioapu0: Address on reg 0x24 is 0xfed80000/4275568640
                              gpioapu0 at iomem 0xfed80100-0xfed801ff on isa0
                              ata0: <ata channel=""> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
                              ata1: <ata channel=""> at port 0x170-0x177,0x376 irq 15 on isa0
                              ppc0: <parallel port=""> at port 0x378-0x37f irq 7 on isa0
                              ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
                              ppbus0: <parallel port="" bus=""> on ppc0
                              lpt0: <printer> on ppbus0
                              lpt0: Interrupt-driven port
                              ppi0: <parallel i="" o=""> on ppbus0
                              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
                              acpi_throttle0: <acpi cpu="" throttling=""> on cpu0
                              acpi_throttle1: <acpi cpu="" throttling=""> on cpu1
                              acpi_throttle1: failed to attach P_CNT
                              device_attach: acpi_throttle1 attach returned 6
                              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
                              usbus2: 12Mbps Full Speed USB v1.0
                              usbus3: 480Mbps High Speed USB v2.0
                              ugen0.1: <ati> at usbus0
                              uhub0: <ati 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr=""> on usbus0
                              ugen1.1: <ati> at usbus1
                              uhub1: <ati 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr=""> on usbus1
                              ugen2.1: <ati> at usbus2
                              uhub2: <ati 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr=""> on usbus2
                              ugen3.1: <ati> at usbus3
                              uhub3: <ati 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr=""> on usbus3
                              usbus4: 12Mbps Full Speed USB v1.0
                              usbus5: 12Mbps Full Speed USB v1.0
                              usbus6: 480Mbps High Speed USB v2.0
                              ugen4.1: <ati> at usbus4
                              uhub4: <ati 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr=""> on usbus4
                              ugen5.1: <ati> at usbus5
                              uhub5: <ati 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr=""> on usbus5
                              ugen6.1: <ati> at usbus6
                              uhub6: <ati 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr=""> on usbus6
                              random: unblocking device.
                              ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
                              ada0: <ts32gmsa340 svn423b=""> ATA-9 SATA 3.x device
                              ada0: Serial Number 20141210B89443121156
                              ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
                              ada0: Command Queueing enabled
                              ada0: 30533MB (62533296 512 byte sectors: 16H 63S/T 16383C)
                              ada0: Previously was known as ad4
                              uhub4: 2 ports with 2 removable, self powered
                              uhub0: 5 ports with 5 removable, self powered
                              SMP: AP CPU #1 Launched!
                              Timecounter "TSC" frequency 1000023251 Hz quality 800
                              Root mount waiting for: usbus6 usbus5 usbus3 usbus2 usbus1
                              uhub2: 5 ports with 5 removable, self powered
                              uhub5: 4 ports with 4 removable, self powered
                              Root mount waiting for: usbus6 usbus3 usbus1
                              uhub6: 4 ports with 4 removable, self powered
                              uhub1: 5 ports with 5 removable, self powered
                              uhub3: 5 ports with 5 removable, self powered
                              ugen6.2: <generic> at usbus6
                              umass0: <generic 0="" 2="" flash="" card="" readerwriter,="" class="" 0,="" rev="" 2.01="" 1.00,="" addr=""> on usbus6
                              Root mount waiting for: usbus1
                              da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
                              da0: <multiple card ="" reader="" 1.00=""> Removable Direct Access SCSI-4 device 
                              da0: Serial Number 058F63666485
                              da0: 40.000MB/s transfers
                              da0: Attempt to query device size failed: NOT READY, Medium not present
                              da0: quirks=0x2 <no_6_byte>Root mount waiting for: usbus1
                              ugen1.2: <adata> at usbus1
                              umass1: <adata 0="" 2="" adata="" usb="" flash="" drive,="" class="" 0,="" rev="" 2.10="" 11.00,="" addr=""> on usbus1
                              Trying to mount root from ufs:/dev/ufs/pfSense [ro]...
                              mountroot: waiting for device /dev/ufs/pfSense ...
                              da1 at umass-sim1 bus 1 scbus9 target 0 lun 0
                              da1: <adata 1100="" usb="" flash="" drive=""> Removable Direct Access SCSI-6 device 
                              da1: Serial Number 13A2813592280025
                              da1: 40.000MB/s transfers
                              da1: 0MB (1 512 byte sectors: 64H 32S/T 0C)
                              da1: quirks=0x2 <no_6_byte>GEOM_PART: integrity check failed (da1, MBR)
                              GEOM_PART: integrity check failed (diskid/DISK-13A2813592280025, MBR)
                              Mounting from ufs:/dev/ufs/pfSense failed with error 19.
                              
                              Loader variables:
                                vfs.root.mountfrom=ufs:/dev/ufs/pfSense
                                vfs.root.mountfrom.options=ro
                              
                              Manual root filesystem specification:
                                <fstype>: <device>[options]
                                    Mount <device> using filesystem <fstype>
                                    and with the specified (optional) option list.
                              
                                  eg. ufs:/dev/da0s1a
                                      zfs:tank
                                      cd9660:/dev/acd0 ro
                                        (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
                              
                                ?               List valid disk boot devices
                                .               Yield 1 second (for background tasks)
                                <empty line="">    Abort manual input
                              
                              mountroot> ufs:/dev/ufs/pfsense0
                              Invalid file system specification.
                              
                              mountroot> ufs:/deb/ufs/pfsense
                              Trying to mount root from ufs:/deb/ufs/pfsense []...
                              mountroot: waiting for device /deb/ufs/pfsense ...
                              Mounting from ufs:/deb/ufs/pfsense failed with error 19.
                              
                              mountroot> ufs:/dev/ufs/pfsense
                              Trying to mount root from ufs:/dev/ufs/pfsense []...
                              mountroot: waiting for device /dev/ufs/pfsense ...
                              Mounting from ufs:/dev/ufs/pfsense failed with error 19.
                              
                              mountroot> ufs:/dev/da0 
                              Trying to mount root from ufs:/dev/da0 []...
                              g_vfs_done():da0[READ(offset=65536, length=8192)]error = 6
                              Mounting from ufs:/dev/da0 failed with error 6.
                              
                              mountroot> show
                              Invalid file system specification.
                              
                              mountroot> ?
                              
                              List of GEOM managed disk devices:
                                diskid/DISK-13A2813592280025 da1 da0 diskid/DISK-20141210B89443121156 ada0
                              
                              mountroot> ufs:/dev/da1
                              Trying to mount root from ufs:/dev/da1 []...
                              g_vfs_done():da1[READ(offset=65536, length=8192)]error = 5
                              Mounting from ufs:/dev/da1 failed with error 5.
                              
                              mountroot> ufs:/dev/ada0
                              Trying to mount root from ufs:/dev/ada0 []...
                              Mounting from ufs:/dev/ada0 failed with error 22.
                              
                              mountroot> 
                              
                              wtf[/s][/s][/s][/s][/s][/s][/s]</empty></fstype></device></device></fstype></no_6_byte></adata></adata></adata></no_6_byte></multiple></generic></generic></ts32gmsa340></ati></ati></ati></ati></ati></ati></ati></ati></ati></ati></ati></ati></ati></ati></acpi></acpi></parallel></printer></parallel></parallel></ata></ata></isa></power></amd></amd></acpi></acpi></amd></acpi></acpi></isa></pci-isa></amd></amd></amd></amd></ahci></ahci></ahci></ahci></ahci></ahci></amd></rtl8169s></mii></realtek></acpi></acpi></rtl8169s></mii></realtek></acpi></acpi></rtl8169s></mii></realtek></acpi></acpi></acpi></acpi></high></at></at></acpi></acpi></core></software></software,></version></core ></lahf,cmp,svm,extapic,cr8,abm,sse4a,mas,prefetch,ibs,skinit,wdt></syscall,nx,mmx+,ffxsr,page1gb,rdtscp,lm></sse3,mon,ssse3,cx16,popcnt></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,htt>
                              
                              1 Reply Last reply Reply Quote 0
                              • rmaederR
                                rmaeder
                                last edited by

                                I couldn't get the embedded version (pfSense-2.2.5-RELEASE-4g-amd64-nanobsd.img.gz) on a 4GB SD card to work on an apu1d either.

                                umass0: <generic 0="" 2="" flash="" card="" readerwriter,="" class="" 0,="" rev="" 2.01="" 1.00,="" addr="">on 6
                                Trying to mount root from ufs:/dev/ufs/pfsense0 [ro,sync,noatime]...
                                mountroot: waiting for device /dev/ufs/pfsense0 ...
                                da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
                                da0: Serial Number 058F63666485
                                da0: 40.000MB/s transfers
                                da0: 3796MB (7774208 512 byte sectors: 255H 63S/T 483C)
                                da0: quirks=0x2 <no_6_byte>GEOM_PART: integrity check failed (da0, MBR)
                                GEOM_PART: integrity check failed (diskid/DISK-058F63666485, MBR)
                                GEOM_PART: integrity check failed (da0, MBR)
                                Mounting from ufs:/dev/ufs/pfsense0 failed with error 19.</no_6_byte></generic> 
                                

                                None of the variable tweaks suggested in various places, such as

                                set kern.cam.boot_delay=10000
                                set hw.ata.atapi_dma="1"
                                set hw.ata.ata_dma="1"
                                set hw.ata.wc="1"
                                
                                

                                had any effect.
                                I tried writing the card on an SD-USB adaptor (as /dev/sdX) and also a laptop with a native SD interface, where it showed up as /dev/mmcblk0. No difference.

                                In the end I wrote a live image on an USB stick and used that to boot, then install onto the same SD card. This went fine, and with /var and /tmp in RAM, writes to the SD card should be minimal, so not using the embedded version shouldn't be a problem, I assume.

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

                                  Well, clearly the image got either miswritten, or your SD is too small for 4GB to fit on it. Try with 2GB one instead.

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