WRAP boot fails



  • Hi!
    Some weeks ago i bought a Wrap 1E-2 Board and i'm still struggeling to get PFSense to run.
    Since then i tried 3 different CF cards and 2 cardreaders but the result is still the same:
    the board boots but after mounting the CF card a page fault occurs.
    Sometimes the symptoms are a little different and i'm prompted to enter the path to sh, but it always ends up in a non working system.
    I tried monowall as well, but it has problems too and does not come up.
    All Linux based system like WrapCOP or StarOS work fine, so it seems not to be a hardware problem.
    I have used phsyswrite from windows an dd from a FreeBSD System.
    I posted this already on the support list, but the only answer was from Scott to wait until PFSense is based on the FreeBSD 6 Final. Has anyone an idea?

    Thanks Soenke

    This is a bootlog:

    PC Engines WRAP.1C/1D/1E v1.08
    640 KB Base Memory
    130048 KB Extended Memory

    01F0 Master 848A SanDisk SDCFB-256
    Phys C/H/S 695/15/48 Log C/H/S 248/32/63 Copyright © 1992-2005 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 6.0-RC1 #0: Thu Oct 20 03:37:59 UTC 2005
        sullrich@...:/usr/obj/usr/src/sys/pfSense_wrap.6
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Geode(TM) Integrated Processor by National Semi (266.66-MHz 586-class
    CPU)
      Origin = "Geode by NSC"  Id = 0x540  Stepping = 0
      Features=0x808131 <fpu,tsc,msr,cx8,cmov,mmx>real memory  = 134217728 (128 MB)
    avail memory = 121913344 (116 MB)
    wlan: mac acl policy registered
    ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
    npx0: [FAST]
    npx0: <math processor="">on motherboard</math>
    npx0: INT 16 interface
    cpu0 on motherboard
    pcib0: <host to="" pci="" bridge="">pcibus 0 on motherboard
    pci0: <pci bus="">on pcib0
    sis0: <natsemi 10="" dp8381[56]="" 100basetx="">port 0x1000-0x10ff mem
    0x80000000-0x8000 0fff irq 10 at device 14.0 on pci0
    sis0: Silicon Revision: DP83816A
    miibus0: <mii bus="">on sis0
    ukphy0: <generic ieee="" 802.3u="" media="" interface="">on miibus0
    ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    sis0: Ethernet address: 00:0d:b9:02:7c:64
    sis1: <natsemi 10="" dp8381[56]="" 100basetx="">port 0x1400-0x14ff mem
    0x80040000-0x8004
    0fff irq 9 at device 15.0 on pci0
    sis1: Silicon Revision: DP83816A
    miibus1: <mii bus="">on sis1
    ukphy1: <generic ieee="" 802.3u="" media="" interface="">on miibus1
    ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    sis1: Ethernet address: 00:0d:b9:02:7c:65
    sis2: <natsemi 10="" dp8381[56]="" 100basetx="">port 0x1800-0x18ff mem
    0x80080000-0x8008
    0fff irq 11 at device 16.0 on pci0
    sis2: Silicon Revision: DP83816A
    miibus2: <mii bus="">on sis2
    ukphy2: <generic ieee="" 802.3u="" media="" interface="">on miibus2
    ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    sis2: Ethernet address: 00:0d:b9:02:7c:66 Geode GPIO <at>= f400 Geode PC
    Engines WRAP.1C/1D/1E v1.tinyBIOS V1.4a (C)1997-2005
    isab0: <pci-isa bridge="">port 0xf400-0xf43f,0xf600-0xf63f at device 18.0 on
    pci0
    isa0: <isa bus="">on isab0
    pci0: <bridge>at device 18.1 (no driver attached)
    atapci0: <national geode="" sc1100="" ata33="" controller="">port
    0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xfc00-0xfc0f at device 18.2 on pci0
    ata0: <ata 0="" channel="">on atapci0
    ata1: <ata 1="" channel="">on atapci0
    pci0: <multimedia, audio="">at device 18.3 (no driver attached) Geode CBA <at>0x9000 Geode rev: 06 03 Timecounter "Geode" frequency 27000000 Hz quality
    1000
    pci0: <bridge>at device 18.5 (no driver attached) pmtimer0 on isa0
    orm0: <isa option="" rom="">at iomem 0xe0000-0xe7fff on isa0
    ppc0: parallel port not found.
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    sio0: type 16550A, console
    sio1: configured irq 3 not in bitmap of probed irqs 0
    sio1: port may not be enabled
    RTC BIOS diagnostic error 80 <clock_battery>Timecounters tick every 1.000
    msec Fast IPsec: Initialized Security Association Processing.
    ad0: 244MB <sandisk sdcfb-256="" rev="" 0.00="">at ata0-master PIO4
    Trying to mount root from ufs:/dev/ad0a

    pid 46 (sh), uid 0: exited on signal 11

    Fatal trap 12: page fault while in kernel mode
    fault virtual address  = 0x2014
    fault code              = supervisor write, page not present
    instruction pointer    = 0x20:0xc0702a51
    stack pointer          = 0x28:0xc7979828
    frame pointer          = 0x28:0xc7979840
    code segment            = base 0x0, limit 0xfffff, type 0x1b
                            = DPL 0, pres 1, def32 1, gran 1
    processor eflags        = interrupt enabled, resume, IOPL = 0
    current process        = 1 (init)
    trap number            = 12
    panic: page fault
    Uptime: 2s
    Cannot dump. No dump device defined.
    Automatic reboot in 15 seconds - press a key on the console to abort</sandisk></clock_battery></isa></bridge></at></multimedia,></ata></ata></national></bridge></isa></pci-isa></at></generic></mii></natsemi></generic></mii></natsemi></generic></mii></natsemi></pci></host></fpu,tsc,msr,cx8,cmov,mmx>



  • What image are you using? Please try this one: http://pfsense.tifrere.com/downloads/pfSense-Embedded-0.90.img.bin.gz
    I have been running pfSense on WRAPs from the first release that supported the WRAP-Platform and never had this issue. Also a lot of other people are running WRAPs fine. If not sure how to install please see our tutorial http://pfsense.tifrere.com//tutorials/wrap_install/wrap_install.htm



  • Thanks Hobo!
    I did 'exactly' what is described in the flash tutorial.
    I tried the .90 image, the .89 and a very old .7x - all with the same problem.
    I can mount the images from my FreeBSD box and they fschk ok.
    Will try your image on Friday, 'cause i'm currently out at a customer site.
    Soenke



  • This is just an ordinary .90 image from one of the mirrors, nothing special about it. So if you tried .90 already it should be the same but give it another try.



  • Hello,
    i just tried again to get pfSense running but i - again - failed.
    I installed staros and it immediately worked.
    I don't know what to do now.
    The normal installation process is so easy, i don't think i did anything wrong.
    I tried upgrading the bios to 1.10 but this did't work either.
    One question: the PCEngines WRAP manual states that if there are problems during the boot with CF cards, IDE DMA should be disabled in the OS. The boot log shows PIO4 Mode for the card. The DMA option should not matter here. Is this right?
    Any other ideas?
    I am really desperate!
    Thanks
    Soenke



  • @xgcssch

    lucky you are…. my WRAP does not booting at all  :( Had no problem with m0n0, but i want some more Wireless Cards to be supported. I tried 3 different CF-Cards, different Card Readers (USB) and different images. Also tried to play with LBA and CHS mode - no luck. My WRAP is the 1D wich revision do you have ? or who has pfSense running on wich revision ?

    (9) 9600 baud 3 38400 baud (5) 57600 baud
    C CHS mode (L) LBA mode
    (E) Etherboot enable
    (U) USB enable
    D Conservative DRAM timing
    R Serial console enable
    (X) Xmodem upload (Q) Quit
    Save changes Y/N ?
    Writing setup to flash... OK
    PC Engines WRAP.1C/1D/1E v1.10
    640 KB Base Memory
    130048 KB Extended Memory

    01F0 Master 848A SanDisk SDCFH-256
    Phys C/H/S 980/16/32 Log C/H/S 980/16/32
    àxððxøøxþøøøøxàøð€xàøø€€øx ø€x €x €€xðøøøððððð€xà€ðð

    so if anyone has an idea  ...  let me know  ...  THX

    regards serge



  • @godo:

    @xgcssch

    lucky you are…. my WRAP does not booting at all  :( Had no problem with m0n0, but i want some more Wireless Cards to be supported. I tried 3 different CF-Cards, different Card Readers (USB) and different images. Also tried to play with LBA and CHS mode - no luck. My WRAP is the 1D wich revision do you have ? or who has pfSense running on wich revision ?

    (9) 9600 baud 3 38400 baud (5) 57600 baud
    C CHS mode (L) LBA mode
    (E) Etherboot enable
    (U) USB enable
    D Conservative DRAM timing
    R Serial console enable
    (X) Xmodem upload (Q) Quit
    Save changes Y/N ?
    Writing setup to flash... OK
    PC Engines WRAP.1C/1D/1E v1.10
    640 KB Base Memory
    130048 KB Extended Memory

    01F0 Master 848A SanDisk SDCFH-256
    Phys C/H/S 980/16/32 Log C/H/S 980/16/32
    àxððxøøxþøøøøxàøð€xàøø€€øx ø€x €x €€xðøøøððððð€xà€ðð

    so if anyone has an idea  ...  let me know  ...  THX

    regards serge

    Watch the tutorial at pfsense.com. You didn't set the wrap bios to 9600 baud. Your's is set to 38400 and you access it with that speed. once pfsense is botting up it switches to 9600 (that's the default speed used by pfsense), so actually pfsense is booting up but showing crap because of the wrong consolespeed. set your terminalemulation to 9600 and you'll see crap for the bios messages but once pfsense took over for boot up it will display fine.



  • @hoba

    thanks very much….that was it... i remember now that i had set bios to 38400 as m0n0 had this as standard i think.

    pfSense is up and running  ;D



  • good to hear :)


Log in to reply