Alix 2D13 - CF - can't load 'kernel'
-
Hello.
I have Alix 2D13 whith a CF SANDISK ULTRA 4GI 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 Memory01F0 Master 848A SanDisk SDCFHSNJC-004G
Phys C/H/S 7751/16/63 Log C/H/S 968/128/631 pfSense
2 pfSenseF6 PXE
Boot: 1
/boot/config: -h
Consoles: serial port
BIOS drive C: is disk0
BIOS 640kB/261120kB available memoryFreeBSD/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 lengthsreadin failed
elf32_loadimage: read failed
/boot/kernel/kernel data=0x91c91c inflate: invalid stored block lengthsreadin 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) QuiCould you help Me??
-
How did you write the image to the card?
You might try the 2GB image instead.
Steve
-
Thanks for answer :)
My command is simple:
gzip -dc pfSense-2.1.5-RELEASE-4g-i386-nanobsd.img.gz | dd of=/dev/sdc bs=1MI will try whith 2G
-
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
-
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 memoryFreeBSD/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]…
|
################## -
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
-
i have set 9600 on alix bios
-
Did you try the much smaller block size when flashing the card?
Steve
-
yes.
A have test 16k
same problem…. -
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
-
Yes this alix has running pfsense whith hdd microdrive yet
-
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... -
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
-
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
-
Ah. Hadn't considered that could be an issue. Thanks for coming back with that. :)
Steve