Alix 2D13 Boot failure - nanoBSD 2.2.6



  • Hi,

    I just did a clean install of pfSense-2.2.6-RELEASE-2g-i386-nanobsd.img on my Alix 2D13 board which was running 2.0.2 version just fine.
    The bios version is 0.99h

    After the upgrade, the boot sequence is stuck at the following:

    (aprobe0:ata0:0:1:0): Retrying command                                          
    (aprobe0:ata0:0:1:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00    
    (aprobe0:ata0:0:1:0): CAM status: Command timeout                               
    (aprobe0:ata0:0:1:0): Error 5, Retries exhausted      
    
    

    Here is the full boot sequence:

    
    PC Engines ALIX.2 v0.99h
    640 KB Base Memory
    
    15360
    31744
    48128
    64512
    80896
    97280
    113664
    130048
    146432
    162816
    179200
    195584
    211968
    228352
    244736
    261120 KB Extended Memory
    
    01F0 Master 848A SanDisk SDCFH-002G                      
    Phys C/H/S 3897/16/63 Log C/H/S 974/64/63
    
    1  pfSense
    2  pfSense
    
    F6 PXE
    Boot:  1 
    -\|/-\|/-\|/-\/boot/config: -S115200 -h
    |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Consoles: serial port  
    BIOS drive C: is disk0
    BIOS 640kB/261120kB available memory
    
    FreeBSD/x86 bootstrap loader, Revision 1.1
    (root@pfs23-i386-builder, Wed Feb 24 15:34:15 CST 2016)
    |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\Loading /boot/defaults/loader.conf
    |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|//boot/kernel/kernel text=0x124a3e7 -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/data=0x847800+0xd9988 -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-syms=[0x4+0xf6760\|/-\|/-\|/-\|/-\|/-\|/-\|+0x4+0x16fea9/-\|/-\|/-\|/-\|/-\|]
    
    Hit [Enter] to boot immediately, or any other key for command prompt.
    
    Booting [/boot/kernel/kernel] in 4 seconds... 
    Booting [/boot/kernel/kernel] in 3 seconds... 
    Booting [/boot/kernel/kernel] in 2 seconds... 
    Booting [/boot/kernel/kernel] in 1 second... 
    Booting [/boot/kernel/kernel]...               
    /-\|/-KDB: debugger backends: ddb
    KDB: current backend: ddb
    Copyright (c) 1992-2016 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.3-BETA2 #387 70e9380(devel): Wed Feb 24 15:45:12 CST 2016
        root@pfs23-i386-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense_wrap i386
    FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
    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 = 226562048 (216 MB)
    pnpbios: Bad PnP BIOS data checksum
    random: <software, yarrow="">initialized
    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, 0xc0818580, 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, 0xc0818630, 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, 0xc08186e0, 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, 0xc08400d0, 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, 0xc0840180, 0) error 1
    wlan: mac acl policy registered
    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, 0xc0840230, 0) error 1
    K6-family MTRR support enabled (2 registers)
    kbd0 at kbdmux0
    ACPI BIOS Error (bug): A valid RSDP was not found (20150515/tbxfroot-258)
    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: 00:0d:b9:1b:03:10
    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: 00:0d:b9:1b:03:11
    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: 00:0d:b9:1b:03:12
    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
    uhub0: 4 ports with 4 removable, self powered
    uhub1: 4 ports with 4 removable, self powered
    random: unblocking device.
    (aprobe0:ata0:0:1:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
    (aprobe0:ata0:0:1:0): CAM status: Command timeout
    (aprobe0:ata0:0:1:0): Retrying command
    run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
    (aprobe0:ata0:0:1:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
    (aprobe0:ata0:0:1:0): CAM status: Command timeout
    (aprobe0:ata0:0:1:0): Error 5, Retries exhausted
    (aprobe0:ata0:0:1:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
    (aprobe0:ata0:0:1:0): CAM status: Command timeout
    (aprobe0:ata0:0:1:0): Retrying command</amd></amd></amd></amd></at></at></isa></amd></ohci></ata></ata></amd></isa></pci-isa></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> 
    

    Please help. I also tried pfSense-2.3-BETA-2g-i386-nanobsd-20160224-1522.img but it does the same thing.



  • You probably have a CF that fails to function when DMA is enabled. Can follow the instructions here to disable.
    https://doc.pfsense.org/index.php/UpgradeGuide#Disk_Driver_Changes



  • When I try to disable DMA at the boot command prompt, I get "not found" in the response. :(

    OK hint.ata.0.mode=PIO4                                                         
    hint.ata.0.mode=PIO4 not found                                                  
    OK hint.ata.1.mode=PIO4                                                         
    hint.ata.1.mode=PIO4 not found  
    
    

    Is there any other way to disable DMA?

    Edit: I just realized I was not using "set" before the option. I'll try again and get back.



  • An IDE-DOM would be also running very well without deactivating something.
    Or a smaller IDE-SSD would also ding his very best together with this board.
    Only as a workaround.



  • @cmb:

    You probably have a CF that fails to function when DMA is enabled. Can follow the instructions here to disable.
    https://doc.pfsense.org/index.php/UpgradeGuide#Disk_Driver_Changes

    I tried following at boot command prompt but it still doesn't want to boot. What could be the issue?

    set hint.ata.0.mode=PIO4
    set kern.cam.ada.write_cache=0
    boot
    
    


  • It still fail with the same logs? I can't think of anything else that's changed that would impact that.



  • @cmb:

    It still fail with the same logs? I can't think of anything else that's changed that would impact that.

    Yes it still fails with the same error.
    I tried v2.0.2 again and it works. Also v2.1.5 works.
    Looks like v2.2.x has issues with this board.



  • Maybe Tinybios 0.99m helps you out ?



  • ALIX certainly works fine on 2.2.x and 2.3, it's the CF card if anything to do with hardware. Upgrading to the latest BIOS wouldn't hurt.



  • How has your performance been on these with 2.2.6?

    Mine run out of memory often!

    I am slowly replacing all my alix with homemade 2578


Log in to reply