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

    Alix 2D13 - CF - can't load 'kernel'

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    15 Posts 2 Posters 3.1k 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.
    • B
      bartounet
      last edited by

      Hello.
      I have Alix 2D13 whith a CF SANDISK ULTRA 4G

      I have unpack pfSense-2.1.5-RELEASE-4g-i386-nanobsd.img on the CF

      Pfsense began to boot but can't load the kernel

      PC Engines ALIX.2 v0.99h
      640 KB Base Memory
      261120 KB Extended Memory

      01F0 Master 848A SanDisk SDCFHSNJC-004G
      Phys C/H/S 7751/16/63 Log C/H/S 968/128/63

      1  pfSense
      2  pfSense

      F6 PXE
      Boot:  1
      /boot/config: -h
      Consoles: serial port
      BIOS drive C: is disk0
      BIOS 640kB/261120kB available memory

      FreeBSD/x86 bootstrap loader, Revision 1.1
      (root@pf2_1_1_i386.pfsense.org, Mon Aug 25 08:20:02 EDT 2014)
      Loading /boot/defaults/loader.conf
      /boot/kernel/kernel data=0x91c91c inflate: invalid stored block lengths

      readin failed

      elf32_loadimage: read failed
      /boot/kernel/kernel data=0x91c91c inflate: invalid stored block lengths

      readin failed

      elf32_loadimage: read failed
      Unable to load a kernel!
      /
      Hit [Enter] to boot immediately, or any other key for command prompt.
      Booting [/boot/kernel/kernel]…
      can't load 'kernel'

      Options about ALIX are

      9 9600 baud (2) 19200 baud (3) 38400 baud (5) 57600 baud (1) 115200 baud
      (C) CHS mode L LBA mode (W) HDD wait (V) HDD slave (U) UDMA enable
      (M) MFGPT workaround
      (P) late PCI init
      R Serial console enable
      (E) PXE boot enable
      (X) Xmodem upload
      (Q) Qui

      Could you help Me??

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        How did you write the image to the card?

        You might try the 2GB image instead.

        Steve

        1 Reply Last reply Reply Quote 0
        • B
          bartounet
          last edited by

          Thanks for answer  :)

          My command is simple:
          gzip -dc pfSense-2.1.5-RELEASE-4g-i386-nanobsd.img.gz | dd of=/dev/sdc bs=1M

          I will try whith 2G

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I would run the 2GB image (or even 1Gb) anyway just because you're very unlikely to ever need the extra space and it writes much quicker.  ;)
            However I would try writing the image differently. Try a different block size if you're using dd, 1M seems way too big. Figures plucked from the docs wiki and forum indicate bs=16k is more suitable.

            https://forum.pfsense.org/index.php?topic=25413.msg132036#msg132036

            Steve

            1 Reply Last reply Reply Quote 0
            • B
              bartounet
              last edited by

              It is better whith 2G but it don't boot.

              It is block to Booting [/boot/kernel/kernel]…
              |
              ###############

              boot: Consoles: serial port
              BIOS drive C: is disk0
              BIOS 640kB/261120kB available memory

              FreeBSD/x86 bootstrap loader, Revision 1.1
              (root@pf2_1_1_i386.pfsense.org, Mon Aug 25 08:20:02 EDT 2014)
              Loading /boot/defaults/loader.conf
              /boot/kernel/kernel data=0x91c91c data=0x51dad4+0x9e0c4 -
              |
              Hit [Enter] to boot immediately, or any other key for command prompt.
              Booting [/boot/kernel/kernel]…
              |
              ##################

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                What baud rate are you using on the serial console?
                pfSense uses 9600 by default but I believe the ALIX tinycore bios uses something else.

                Steve

                1 Reply Last reply Reply Quote 0
                • B
                  bartounet
                  last edited by

                  i have set 9600 on alix bios

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Did you try the much smaller block size when flashing the card?

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • B
                      bartounet
                      last edited by

                      yes.
                      A have test 16k
                      same problem….

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, your symptoms exactly match those that happen if you don't have the correct bios version but you already have 0.99h.  :-
                        Has this board been running pfSense before?
                        It doesn't have any mini-PCI cards?

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • B
                          bartounet
                          last edited by

                          Yes this alix has running pfsense whith hdd microdrive yet

                          1 Reply Last reply Reply Quote 0
                          • B
                            bartounet
                            last edited by

                            news…
                            i have extract the same image pfSense-2.1.5-RELEASE-4g-i386-nanobsd.img
                            on hdd 2"5 whith the ide Sate adaptor...

                            And it boot...
                            Why does not boot whith CF...

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              It could be that your cf card presents some geometry that the bootloader handle.
                              You could try a 2.2beta snapshot. I'm not sure what might have changed in the bootloader but you may have more luck.

                              Any suggestions from ALIX veterans?

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • B
                                bartounet
                                last edited by

                                Hello i have solve my problem…
                                i have simply change my CF Card Reader...

                                Whith anoter card Reader, on the same CF , no problem...

                                Perhaps my old card reader has written bad blocks on CF

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Ah. Hadn't considered that could be an issue. Thanks for coming back with that.  :)

                                  Steve

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