Watchguard X700, Installation success, failed after bootloader modification



  • Hey! I successfully installed, and booted my x700 box from a 4GB CFcard yesterday, using the hint.ata.0.mode=PIO4 boot option.
    But after making it permanent, dropping to a shell and modifying loader.conf i get:

    1  pfSense
    2  pfSense

    F6 PXE
    Boot:  1
    /boot/config: -S115200 -hConsoles: serial port 
    BIOS drive C: is disk0
    BIOS 639kB/261120kB available memory

    FreeBSD/x86 bootstrap loader, Revision 1.1
    (root@ce23-i386-builder, Tue Jul 19 13:40:21 CDT 2016)
    Loading /boot/defaults/loader.conf
    /boot/kernel/kernel text=0x121f23a data=0x8472ac+0xd9788 syms=[0x4+0xf3b40+0x4+0x16baa5]

    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-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-RELEASE-p5 #0 7307492(RELENG_2_3_2): Tue Jul 19 14:02:43 CDT 2016
        root@ce23-i386-builder:/builder/pfsense-232/tmp/obj/builder/pfsense-232/tmp/FreeBSD-src/sys/pfSense_wrap i386
    FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
    CPU: Intel(R) Celeron(TM) CPU                1200MHz (1202.75-MHz 686-class CPU)
      Origin="GenuineIntel"  Id=0x6b4  Family=0x6  Model=0xb  Stepping=4
      Features=0x383f9ff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,sep,mtrr,pge,mca,cmov,pat,pse36,mmx,fxsr,sse>real memory  = 268435456 (256 MB)
    avail memory = 226562048 (216 MB)
    random: <software, yarrow="">initialized
    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, 0xc0814f60, 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, 0xc0815010, 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, 0xc083ca00, 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, 0xc083cab0, 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, 0xc083cb60, 0) error 1
    wlan: mac acl policy registered
    ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
    ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
    module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0814eb0, 0) error 1
    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
    pir0: <pci 11="" interrupt="" routing="" table:="" entries="">on motherboard
    $PIR: Using invalid BIOS IRQ 9 from 2.13.INTA for link 0x63
    pci0: <pci bus="">on pcib0
    pcib1: <pcibios pci-pci="" bridge="">at device 30.0 on pci0
    pci2: <pci bus="">on pcib1
    safe0 mem 0xefbfe000-0xefbfffff irq 3 at device 6.0 on pci2
    safe0: SafeNet SafeXcel-1141 rng des/3des aes md5 sha1 null
    re0: <realtek 10="" 8139c+="" 100basetx="">port 0xd500-0xd5ff mem 0xefefa000-0xefefa1ff irq 10 at device 9.0 on pci2
    re0: Chip rev. 0x74800000
    re0: MAC rev. 0x00000000
    miibus0: <mii bus="">on re0
    rlphy0: <realtek internal="" media="" interface="">PHY 0 on miibus0
    rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
    re0: Using defaults for TSO: 65518/35/2048
    re0: Ethernet address: 00:90:7f:30:f9:17
    re1: <realtek 10="" 8139c+="" 100basetx="">port 0xd600-0xd6ff mem 0xefefb000-0xefefb1ff irq 5 at device 10.0 on pci2
    re1: Chip rev. 0x74800000
    re1: MAC rev. 0x00000000
    miibus1: <mii bus="">on re1
    rlphy1: <realtek internal="" media="" interface="">PHY 0 on miibus1
    rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
    re1: Using defaults for TSO: 65518/35/2048
    re1: Ethernet address: 00:90:7f:30:f9:18
    re2: <realtek 10="" 8139c+="" 100basetx="">port 0xd900-0xd9ff mem 0xefefc000-0xefefc1ff irq 11 at device 11.0 on pci2
    re2: Chip rev. 0x74800000
    re2: MAC rev. 0x00000000
    miibus2: <mii bus="">on re2
    rlphy2: <realtek internal="" media="" interface="">PHY 0 on miibus2
    rlphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
    re2: Using defaults for TSO: 65518/35/2048
    re2: Ethernet address: 00:90:7f:30:f9:19
    re3: <realtek 10="" 8139c+="" 100basetx="">port 0xda00-0xdaff mem 0xefefd000-0xefefd1ff irq 12 at device 12.0 on pci2
    re3: Chip rev. 0x74800000
    re3: MAC rev. 0x00000000
    miibus3: <mii bus="">on re3
    rlphy3: <realtek internal="" media="" interface="">PHY 0 on miibus3
    rlphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
    re3: Using defaults for TSO: 65518/35/2048
    re3: Ethernet address: 00:90:7f:30:f9:1a
    re4: <realtek 10="" 8139c+="" 100basetx="">port 0xdd00-0xddff mem 0xefefe000-0xefefe1ff irq 9 at device 13.0 on pci2
    re4: Chip rev. 0x74800000
    re4: MAC rev. 0x00000000
    miibus4: <mii bus="">on re4
    rlphy4: <realtek internal="" media="" interface="">PHY 0 on miibus4
    rlphy4:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
    re4: Using defaults for TSO: 65518/35/2048
    re4: Ethernet address: 00:90:7f:30:f9:1b
    re5: <realtek 10="" 8139c+="" 100basetx="">port 0xde00-0xdeff mem 0xefeff000-0xefeff1ff irq 6 at device 14.0 on pci2
    re5: Chip rev. 0x74800000
    re5: MAC rev. 0x00000000
    miibus5: <mii bus="">on re5
    rlphy5: <realtek internal="" media="" interface="">PHY 0 on miibus5
    rlphy5:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
    re5: Using defaults for TSO: 65518/35/2048
    re5: Ethernet address: 00:90:7f:30:f9:1c
    isab0: <pci-isa bridge="">at device 31.0 on pci0
    isa0: <isa bus="">on isab0
    atapci0: <intel ich2="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 31.1 on pci0
    ata0: <ata channel="">at channel 0 on atapci0
    ata1: <ata channel="">at channel 1 on atapci0
    cpu0 on motherboard
    pmtimer0 on isa0
    unknown: <pnp0c01>can't assign resources (memory)
    attimer0: <at timer="">at port 0x40-0x43 irq 0 pnpid PNP0100 on isa0
    Timecounter "i8254" frequency 1193182 Hz quality 0
    Event timer "i8254" frequency 1193182 Hz quality 100
    atrtc0: <at realtime="" clock="">at port 0x70-0x71 irq 8 pnpid PNP0b00 on isa0
    Event timer "RTC" frequency 32768 Hz quality 0
    atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 irq 1 pnpid PNP0303 on isa0
    atkbd0: <at keyboard="">irq 1 on atkbdc0
    kbd1 at atkbd0
    atkbd0: [GIANT-LOCKED]
    uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 pnpid PNP0501 on isa0
    uart0: console (115200,n,8,1)
    ppc0: <ecp parallel="" printer="" port="">at port 0x378-0x37f,0x778-0x77a irq 7 drq 3 pnpid PNP0401 on isa0
    ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
    ppc0: FIFO with 16/16/16 bytes threshold
    ppbus0: <parallel port="" bus="">on ppc0
    lpt0: <printer>on ppbus0
    lpt0: Interrupt-driven port
    ppi0: <parallel i="" o="">on ppbus0
    orm0: <isa option="" rom="">at iomem 0xe0000-0xe0fff pnpid ORM0000 on isa0
    unknown: <pnp0c01>can't assign resources (memory)
    random: unblocking device.
    Timecounters tick every 1.000 msec
    ada0 at ata0 bus 0 scbus0 target 0 lun 0
    ada0: <cf card="" ver7.04="">ATA-5 device
    ada0: Serial Number 5B69148E0
    ada0: 16.700MB/s transfers (PIO4, PIO 512bytes)
    ada0: 3811MB (7806960 512 byte sectors)
    ada0: Previously was known as ad0
    Timecounter "TSC" frequency 1202753372 Hz quality 800
    Trying to mount root from ufs:/dev/ufs/pfsense0 [ro,sync,noatime]…
    WARNING: / was not properly dismounted
    Nov  8 09:35:08 init: login_getclass: unknown class 'daemon'
    cat: /etc/version: No such file or directory
    Configuring crash dumps...
    /dev/ufs/pfsense0: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
    /dev/ufs/pfsense0: SUMMARY INFORMATION BAD (SALVAGED)
    /dev/ufs/pfsense0: BLK(S) MISSING IN BIT MAPS (SALVAGED)
    /dev/ufs/pfsense0: 15885 files, 873983 used, 2906045 free (2597 frags, 362931 blocks, 0.1% fragmentation)
    /dev/ufs/cf: FILE SYSTEM CLEAN; SKIPPING CHECKS
    /dev/ufs/cf: clean, 99618 free (42 frags, 12447 blocks, 0.0% fragmentation)
    Filesystems are clean, continuing...
    Mounting filesystems...
    Setting up memory disks... done.

    ___
    / f
    / p _
    / Sense
    _

        _
    _/

    Welcome to
    Warning: file_get_contents(/etc/version): failed to open stream: No such file or directory in /etc/inc/globals.inc on line 88
    pfSense  on the 'nanobsd' platform...

    Creating symlinks.....cd: too many arguments
    .ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/ipsec /usr/local/lib/perl5/5.20/mach/CORE
    a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
    done.
    /etc/rc: /usr/local/sbin/: Permission denied

    | ( ! ) Warning: require_once(globals.inc)
    : failed to open stream: No such file or directory in /etc/ecl.php on line 52 |
    | Call Stack |
    | # | Time | Memory | Fun
    ction | Location |
    | 1 | 0.0141 | 114044 | {main}(  )<
    /td> | .../ecl.php**:**0 |

    | ( ! ) Fatal error: require_once(): Faile
    d opening required 'globals.inc' (include_path='.:/usr/local/share/pear') in /etc/ecl.php on line 52 |
    | Call Stack |
    | # | Time | Memory | Fun
    ction | Location |
    | 1 | 0.0141 | 114044 | {main}(  )<
    /td> | .../ecl.php**:**0 |
    Launching the init system...[: /usr/local/share/: unexpected operator

    | ( ! ) Warning: require_once(pkg-utils.in
    c): failed to open stream: No such file or directory in /etc/rc.bootup on line 56 |
    | Call Stack |
    | # | Time | Memory | Fun
    ction | Location |
    | 1 | 0.0139 | 111740 | {main}(  )<
    /td> | …/rc.bootup**:**0 |

    | ( ! ) Fatal error: require_once(): Faile
    d opening required 'pkg-utils.inc' (include_path='.:/usr/local/share/pear') in /etc/rc.bootup on line 56 |
    | Call Stack |
    | # | Time | Memory | Fun
    ction | Location |
    | 1 | 0.0139 | 111740 | {main}(  )<
    /td> | .../rc.bootup**:**0 |
    [: Warning:: unexpected operator
    Starting CRON... done.
    Primary script unknown
    File not found.
    /etc/rc: /usr/local/sbin/: Permission denied
    cat: /etc/version.buildtime: No such file or directory

    Warning: file_get_contents(/etc/version): failed to open stream: No such file or directory in /etc/inc/globals.inc on line 88
    pfSense (nanobsd)  i386
    Bootup complete
    Nov  8 09:36:45 getty[171]: open /dev/ttyv0: No such file or directory
    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    Nov  8 09:36:46 init: getty repeating too quickly on port /dev/ttyu0, sleeping 30 secs
    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    Nov  8 09:37:16 init: getty repeating too quickly on port /dev/ttyu0, sleeping 30 secs
    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    (Amnesiac) (ttyu0)

    Nov  8 09:37:46 init: getty repeating too quickly on port /dev/ttyu0, sleeping 30 secs
    (Amnesiac) (ttyu0)</cf></pnp0c01></isa></parallel></printer></parallel></ecp></at></keyboard></at></at></pnp0c01></ata></ata></intel></isa></pci-isa></realtek></mii></realtek></realtek></mii></realtek></realtek></mii></realtek></realtek></mii></realtek></realtek></mii></realtek></realtek></mii></realtek></pci></pcibios></pci></pci></software></software,></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,sep,mtrr,pge,mca,cmov,pat,pse36,mmx,fxsr,sse>

    I dont mind installing again, but what went wrong here? I just appended the line

    hint.ata.0.mode=PIO4



  • If I had to guess then your CF card is not too happy:

    /dev/ufs/pfsense0: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
    /dev/ufs/pfsense0: SUMMARY INFORMATION BAD (SALVAGED)
    /dev/ufs/pfsense0: BLK(S) MISSING IN BIT MAPS (SALVAGED)
    /dev/ufs/pfsense0: 15885 files, 873983 used, 2906045 free (2597 frags, 362931 blocks, 0.1% fragmentation)
    /dev/ufs/cf: FILE SYSTEM CLEAN; SKIPPING CHECKS
    /dev/ufs/cf: clean, 99618 free (42 frags, 12447 blocks, 0.0% fragmentation)

    Warning: file_get_contents(/etc/version): failed to open stream: No such file or directory in /etc/inc/globals.inc on line 88
    pfSense  on the 'nanobsd' platform…

    Try another one - they are pretty cheap - or run a thorough test on the current one on another machine and try again.