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

    PCEngines alix2c3 (Substitute for WRAP) boot failes

    Scheduled Pinned Locked Moved Hardware
    158 Posts 44 Posters 121.3k 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.
    • E
      eweri
      last edited by

      @eweri:

      Just reply to my self: Installed tinyBIOS 0.99 today and now I have no reboot issues any more. Going to try the 1024MB image and see if the reboot-hung is gone also.

      Bad news: it still panics with the pfsense-1024MB-image and got hung until i pull the plug :(

      Here is the console output:

      pfSense is now shutting down …

      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: 4m3s
      ukphy0: detached
      miibus0: detached
      ukphy1: detached
      miibus1: detached
      ukphy2: detached
      miibus2: detached
      Rebooting...
      Keyboard reset did not work, attempting CPU shutdown
      kernel trap 12 with interrupts disabled

      Fatal trap 12: page fault while in kernel mode
      fault virtual address   = 0xc3faae10
      fault code              = supervisor read, page not present
      instruction pointer     = 0x20:0xc05ef0ae
      stack pointer           = 0x28:0xc7d44c04
      frame pointer           = 0x28:0xc7d44c0c
      code segment            = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
      processor eflags        = resume, IOPL = 0
      current process         = 1 (init)
      trap number             = 12
      panic: page fault
      kernel trap 12 with interrupts disabled

      Fatal trap 12: page fault while in kernel mode
      fault virtual address   = 0xc196ed28
      fault code              = supervisor read, page not present
      instruction pointer     = 0x20:0xc061add2
      stack pointer           = 0x28:0xc7d44b1c
      frame pointer           = 0x28:0xc7d44b4c
      code segment            = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
      processor eflags        = resume, IOPL = 0
      current process         = 1 (init)
      trap number             = 12
      panic: page fault
      kernel trap 12 with interrupts disabled

      Fatal trap 12: page fault while in kernel mode
      fault virtual address   = 0xc196ed28
      fault code              = supervisor read, page not present
      instruction pointer     = 0x20:0xc061add2
      stack pointer           = 0x28:0xc7d44a34
      frame pointer           = 0x28:0xc7d44a64
      code segment            = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
      processor eflags        = resume, IOPL = 0
      current process         = 1 (init)
      trap number             = 12
      panic: page fault
      kernel trap 12 with interrupts disabled

      Fatal trap 12: page fault while in kernel mode
      fault virtual address   = 0xc196ed28
      fault code              = supervisor read, page not present
      instruction pointer     = 0x20:0xc061add2
      stack pointer           = 0x28:0xc7d4494c
      frame pointer           = 0x28:0xc7d4497c
      code segment            = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
      processor eflags        = resume, IOPL = 0
      current process         = 1 (init)
      trap number             = 12
      panic: page fault
      kernel trap 12 with interrupts disabled

      Fatal trap 12: page fault while in kernel mode
      fault virtual address   = 0xc196ed28
      fault code              = supervisor read, page not present
      instruction pointer     = 0x20:0xc061add2
      stack pointer           = 0x28:0xc7d44864
      frame pointer           = 0x28:0xc7d44894
      code segment            = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
      processor eflags        = resume, IOPL = 0
      current process         = 1 (init)
      trap number             = 12
      panic: page fault
      kernel trap 12 with interrupts disabled

      Fatal trap 12: page fault while in kernel mode
      fault virtual address   = 0xc196ed28
      fault code              = supervisor read, page not present
      instruction pointer     = 0x20:0xc061add2
      stack pointer           = 0x28:0xc7d4477c
      frame pointer           = 0x28:0xc7d447ac
      code segment            = base 0x0, limit 0xfffff, type 0x1b
                              = DPL 0, pres 1, def32 1, gran 1
      processor eflags        = resume, IOPL = 0
      current process         = kk
      Fatal double fault:
      eip = 0xc0635d0e
      esp = 0xc7d43fe0
      ebp = 0xc7d440a8
      panic: double fault
      Uptime: 4m6s
      Cannot dump. No dump device defined.
      Automatic reboot in 15 seconds - press a key on the console to abort

      1 Reply Last reply Reply Quote 0
      • L
        luma
        last edited by

        As I can see the 1024 image from http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/embedded/1024/ is pretty old (10/14/07).
        Please can you upgrade to lastest snapshot using file http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/updates/pfSense-Embedded-Update-1.2-RC3.tgz? You have to use the upgrade utility provided in the console (option 13) through SSH or serial connection.

        My 2 cents…

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

          Does anyone have any thoughts as to why I might still be getting a kernel panic?  I've updated to .99 for the bios.  I've installed the full version of pfSense 1.2 rc3 onto a 4GB microdrive.

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

            I have two ALIX units, and I was able to get it working ok with one of them.  But with the oe with 3 LAN ports, 2x USB, and 1X mini-PCI, the error on bootup I get is:

            ehci0: <ehci (generic)="" usb="" 2.0="" controller=""> mem 0xefffd000-0xefffdfff irq 15 at d
            evice 15.5 on pci0
            ehci0: [GIANT-LOCKED]
            usb1: EHCI version 1.0
            usb1: wrong number of companions (1 != 2)
            usb1: companion controller, 4 ports each:
            
            Fatal trap 12: page fault while in kernel mode
            fault virtual address   = 0x2c
            fault code              = supervisor read, page not present
            instruction pointer     = 0x20:0xc06eb66e
            stack pointer           = 0x28:0xc0c20b28
            frame pointer           = 0x28:0xc0c20b28
            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         = 0 (swapper)
            trap number             = 12
            panic: page fault
            Uptime: 1s</ehci>
            
            1 Reply Last reply Reply Quote 0
            • E
              eweri
              last edited by

              @luma:

              As I can see the 1024 image from http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/embedded/1024/ is pretty old (10/14/07).
              Please can you upgrade to lastest snapshot using file http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/updates/pfSense-Embedded-Update-1.2-RC3.tgz? You have to use the upgrade utility provided in the console (option 13) through SSH or serial connection.

              My 2 cents…

              Update went okay - but no config-menu at the console any more :-( This is what I get at the console:
              ….
              Starting OpenNTP time client...done.
              Starting CRON... done.
              Executing rc.d items...
              Starting /usr/local/etc/rc.d/mdnsresponder.sh...done.
              appending output to nohup.out
              Bootup complete

              and than I can type any thing - no reaction from console.
              When I login with ssh I get the console setup  ???

              I did not test it with the 1024MB image - going to do this next

              Bye,
              eweri

              1 Reply Last reply Reply Quote 0
              • E
                eweri
                last edited by

                @eweri:

                and than I can type any thing - no reaction from console.
                When I login with ssh I get the console setup  ???

                problem solved - mv /etc/ttys /etc/ttys_back and cp /etc/ttys_wrap /etc/ttys and reboot  :)

                1 Reply Last reply Reply Quote 0
                • E
                  eweri
                  last edited by

                  @naughtyusmaximus:

                  Does anyone have any thoughts as to why I might still be getting a kernel panic?  I've updated to .99 for the bios.  I've installed the full version of pfSense 1.2 rc3 onto a 4GB microdrive.

                  Maybe I was a little to quick with "no panics any more" because I had at least one kernel panic at reboot with tinyBIOS 0.99. I upgraded to the latest snapshot (see comment from luma) and rebootet the system 5 or 6 times - no  kernel panics until now.  :)

                  Bye,
                  eweri

                  1 Reply Last reply Reply Quote 0
                  • L
                    luma
                    last edited by

                    @eweri:

                    […]
                    no  kernel panics until now.  :)

                    Bye,
                    eweri

                    Good to hear that!

                    Regards

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

                      :( Unfortunately my unit doesn't boot to the point where I can log in at all, so I can't install any updates.  Also, I'm trying to use the full installation on this unit (as I have a microdrive for it).  Are there any other options for me, or will I have to wait for 1.3?

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

                        Im having a different problem :)

                        I have been able to install the FreeDOS image on 1 CF Card (128Mb) and booted off that with no problem. From here i have upgraded my BIOS to the latest available (0.99). This worked great:

                        
                        PC Engines ALIX.2 v0.92
                        640 KB Base Memory
                        261120 KB Extended Memory
                        
                        01F0 Master 848A Flash Card                              
                        Phys C/H/S 994/8/32 Log C/H/S 994/8/32
                        FreeDOS kernel build 2036 cvs [version Aug 18 2006 compiled Aug 18 2006]
                        Kernel compatibility 7.10 - WATCOMC - 80386 CPU required - FAT32 support
                        
                        (C) Copyright 1995-2006 Pasquale J. Villani and The FreeDOS Project.
                        All Rights Reserved. This is free software and comes with ABSOLUTELY NO
                        WARRANTY; you can redistribute it and/or modify it under the terms of the
                        GNU General Public License as published by the Free Software Foundation;
                        either version 2, or (at your option) any later version.
                        C: HD1, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=   124 MB
                        FreeDOS HIMEM64 3.26 [Aug 25 2006] (c) 1995, Till Gerken 2001-2006 tom ehlert
                        HIMEM - Always On A20 method used
                        Kernel: allocated 43 Diskbuffers = 22876 Bytes in HMA
                        
                        FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]
                        C:\>sb
                        ALIX flash update (C)2007 PC Engines GmbH
                        Flash ID = 1 FFFF GPI = FF
                        Flash ID = 0 9D37 GPI = 01
                        Reading 512KB flash image alix1.bin................
                        Compare Erase Program Verify - update OK.
                        C:\>
                        
                        PC Engines ALIX.2 v0.99
                        640 KB Base Memory
                        261120 KB Extended Memory
                        
                        

                        I have also written the 1.2RC3 Embedded image to another 128Mb CF card using Physdiskwrite:

                        
                        C:\pfsesnse>physdiskwrite pfSense-1.2-RC3-Embedded.img.gz
                        
                        physdiskwrite v0.5.1 by Manuel Kasper <mk@neon1.net>Searching for physical drives...
                        
                        Information for \\.\PhysicalDrive0:
                           Windows:       cyl: 4863
                                          tpc: 255
                                          spt: 63
                           C/H/S:         16383/16/63
                           Model:         ST340014AS
                           Serial number:             
                           Firmware rev.: 8.12
                        
                        Information for \\.\PhysicalDrive1:
                           Windows:       cyl: 15
                                          tpc: 255
                                          spt: 63
                        
                        Which disk do you want to write? (0..1) 1
                        About to overwrite the contents of disk 1 with new data. Proceed? (y/n) y
                        Found compressed image file
                        122441728/122441728 bytes written in total</mk@neon1.net> 
                        

                        But when i try to boot off this CF Card i get the follow error:

                        
                        PC Engines ALIX.2 v0.99
                        640 KB Base Memory
                        261120 KB Extended Memory
                        
                        01F0 Master 848A Flash Card                              
                        Phys C/H/S 994/8/32 Log C/H/S 994/8/32
                        Boot error
                        
                        

                        or this:

                        
                        PC Engines ALIX.2 v0.99
                        640 KB Base Memory
                        261120 KB Extended Memory
                        
                        01F0 Master 848A Flash Card                              
                        Phys C/H/S 994/8/32 Log C/H/S 126/32/63
                        No boot device available, press Enter to continue.
                        
                        

                        Any ideas?

                        My next step will be to try dd under linux, incase its a problem with phydiskwrite.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mlabenda
                          last edited by

                          again

                          i have a 2c2 Alix with Bios 0.99 and it works like a champ (up now since almost 6 days)
                          I used the latest snapshot (Version number on webgui shows 1.2RC3)
                          I have a cheap 1GB CF Card and used gunzip -c pfsense.img.gz | dd=of/dev/sdx bs=16k (i'm on linux)
                          to put the filesystem on the cf card

                          pfsense is now almost as fast as m0n0wall 1.2.3x and faster than 1.3bx
                          And i got OpenVPN working

                          I'm happy

                          Great work

                          Microsoft gives you "Windows"
                          Opensource gives you the whole house

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

                            Seems like phydiskwrite was the problem.

                            redid it with dd and it booted without a problem:

                            
                                 ___
                             ___/ f \
                            / p \___/ Sense
                            \___/   \
                                \___/
                            
                            Welcome to pfSense 1.2-RC3 on the 'embedded' platform...
                            
                            Setting up embedded specific environment... done.
                            Mounting filesystems... done.
                            Creating symlinks......done.
                            Launching PHP init system... done.
                            Initializing.................. done.
                            Starting device manager (devd)...done.
                            Loading configuration......done.
                            
                            Network interface mismatch -- Running interface assignment option.
                            
                            Valid interfaces are:
                            
                            vr0     00:0d:b9:12:78:b8
                            vr1     00:0d:b9:12:78:b9
                            vr2     00:0d:b9:12:78:ba
                            ath0    00:80:48:4f:0c:28
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • I
                              ircman
                              last edited by

                              Hi all!,

                              I have installed pfsense 1.2-RC3 (not the embedded version) onto a 20gb harddisk and I'm trying to boot it with my Alix2C3,
                              But i'm getting page fault errors (see below). I was reading on some topics and it seems there is a problem in the EHCI usb driver of Freebsd.
                              Is there a way to disable usb driver ?

                              
                              usb1: wrong number of companions (1 != 2)
                              usb1: companion controller, 4 ports each:
                              
                              Fatal trap 12: page fault while in kernel mode
                              fault virtual address   = 0x2c
                              fault code              = supervisor read, page not present
                              instruction pointer     = 0x20:0xc06eb66e
                              stack pointer           = 0x28:0xc0c20b28
                              frame pointer           = 0x28:0xc0c20b28
                              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         = 0 (swapper)
                              trap number             = 12
                              panic: page fault
                              Uptime: 1s
                              Automatic reboot in 15 seconds - press a key on the console to abort
                              Rebooting...
                              Keyboard reset did not work, attempting CPU shutdown
                              
                              

                              Regards,

                              C'est moi!

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by

                                Update the ALIX's BIOS.  Known problem but has been resolved.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ircman
                                  last edited by

                                  Hi!,

                                  I;m running the latest 0.99 version from the 10th of december. So looks like its not resolved ?

                                  C'est moi!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mezza
                                    last edited by

                                    @sbyoon.

                                    You're a star. Tried for hours to get BIOS update working with XMODEM. If any one has instructions I'd be extremely grateful for enlightenment.

                                    Ended up downloading your CF image for FreeDOS and the 0.98g update, and just replacing the BIOS files with the 0.99 files.

                                    Thanks,

                                    mezza

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

                                      @ircman:

                                      Hi!,

                                      I;m running the latest 0.99 version from the 10th of december. So looks like its not resolved ?

                                      Yep, same here.  This issue is not resolved for me either. :(

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

                                        Also, I've tried with the 0.92 bios which was reported as working on the first page, and still get the same error message about my USB ports when I boot pfSense

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by

                                          Unfortunately Pascal has not sent me a ALIX board to test this.  This is likely to be fixed until we have a Alix testing board in one of the coreteam members possession.  If anyone knows him, I encourage you to ask him for a board so we can get this fixed once and for all.

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

                                            I don't know Pascal, but I sent him an email, and this was the reply:
                                            How should I know where to send a board ???

                                            Please ask the core dev to request a board at
                                            http://www.pcengines.ch/order1.php?c=2 with the
                                            note "pfsense developer sample"…

                                            Best regards,

                                            Pascal Dornier

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