Welcome! Log In Create A New Profile

Advanced

Jeff's tutorial, "FATAL: kernel too old"

Posted by flashless 
Jeff's tutorial, "FATAL: kernel too old"
January 09, 2017 09:11PM
I have a spare PogoPlug E02 that I had used with the qnology.com instructions long ago. I'm not sure I can get logitechmediaserver running on my "production" E02 that is also qnology/arch, so I wanted to try debian to get LMS and samba NAS functions on this spare unit.

I pulled the USB out of the spare unit, booted (cdadmin), put the USB back in and ... I wasn't sure if I should do uboot or debian rootfs first. So I ran "Jeff's Tutorial" http://projects.doozan.com/debian/ on it, and it failed, and the last line of /tmp/debian/debootstrap/debootstrap.log is "FATAL: kernel too old".
Pogoplug:/tmp$ tail /tmp/debian/debootstrap/debootstrap.log 
vim-common_2%3a7.3.5 100% |*******************************|   158k --:--:-- ETA
Connecting to cdn.debian.net (128.31.0.66:80)
vim-tiny_2%3a7.3.547 100% |*******************************|   273k --:--:-- ETA
Connecting to cdn.debian.net (128.31.0.66:80)
wget_1.13.4-3+deb7u2 100% |*******************************|   735k --:--:-- ETA
Connecting to cdn.debian.net (128.31.0.66:80)
xz-utils_5.1.1alpha+ 100% |*******************************|   233k --:--:-- ETA
Connecting to cdn.debian.net (128.31.0.66:80)
zlib1g_1%3a1.2.7.dfs 100% |*******************************| 87460  00:00:00 ETA
FATAL: kernel too old
Pogoplug:/tmp$ uname -a
Linux Pogoplug 2.6.22.18 #44 Mon Aug 10 12:57:36 PDT 2009 armv5tejl unknown

Update: Also, since I intend to use this as a NAS with an external HD, should I be doing this with the HD instead of a flash thumb drive? My Arch NAS is set up that way. I could overwrite the small partition on the Arch external HD, but it would be nice to have the debian replacement working before taking down my NAS.



Edited 2 time(s). Last edit at 01/09/2017 09:16PM by flashless.
Re: Jeff's tutorial, "FATAL: kernel too old"
January 10, 2017 04:50AM
flashless Wrote:
-------------------------------------------------------
> I have a spare PogoPlug E02 that I had used with
> the qnology.com instructions long ago. I'm not
> sure I can get logitechmediaserver running on my
> "production" E02 that is also qnology/arch, so I
> wanted to try debian to get LMS and samba NAS
> functions on this spare unit.
>
> I pulled the USB out of the spare unit, booted
> (cdadmin), put the USB back in and ... I wasn't
> sure if I should do uboot or debian rootfs first.
> So I ran "Jeff's Tutorial"
> http://projects.doozan.com/debian/ on it, and it
> failed, and the last line of
> /tmp/debian/debootstrap/debootstrap.log is "FATAL:
> kernel too old".
>
> Pogoplug:/tmp$ tail
> /tmp/debian/debootstrap/debootstrap.log 
> vim-common_2%3a7.3.5 100%
> |*******************************|   158k --:--:--
> ETA
> Connecting to cdn.debian.net (128.31.0.66:80)
> vim-tiny_2%3a7.3.547 100%
> |*******************************|   273k --:--:--
> ETA
> Connecting to cdn.debian.net (128.31.0.66:80)
> wget_1.13.4-3+deb7u2 100%
> |*******************************|   735k --:--:--
> ETA
> Connecting to cdn.debian.net (128.31.0.66:80)
> xz-utils_5.1.1alpha+ 100%
> |*******************************|   233k --:--:--
> ETA
> Connecting to cdn.debian.net (128.31.0.66:80)
> zlib1g_1%3a1.2.7.dfs 100%
> |*******************************| 87460  00:00:00
> ETA
> FATAL: kernel too old
>
>
> Pogoplug:/tmp$ uname -a
> Linux Pogoplug 2.6.22.18 #44 Mon Aug 10 12:57:36
> PDT 2009 armv5tejl unknown
>
>
> Update: Also, since I intend to use this as a NAS
> with an external HD, should I be doing this with
> the HD instead of a flash thumb drive? My Arch NAS
> is set up that way. I could overwrite the small
> partition on the Arch external HD, but it would be
> nice to have the debian replacement working before
> taking down my NAS.

Jeff's script has been obsolete. See this thread to create the Debian 4.4 rootfs first:
http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Jeff's tutorial, "FATAL: kernel too old"
January 15, 2017 08:22PM
That's too bad that Jeff's tutorial is obsolete, especially when it is pointed to prominently from the page forum.doozan.com. After poking around, I haven't found an alternative "getting started" instructions.

I created the Debian 4.4 rootfs as you suggested, installed that USB thumb drive on the target, and then started uboot installation from
http://forum.doozan.com/read.php?3,12381
(Maybe I should be be posting this in the uboot section)
and here is where I got stuck:

Pogoplug:/tmp$ tools/flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 -- 100 % complete 
Pogoplug:/tmp$ ls
debian                                 resolv.conf                            uboot.2014.07-tld-3.pogo_e02.mtd0.kwb
debootstrap                            tmp                                    var
install_uboot_mtd0.sh                  tools
kirkwood.debian-wheezy.sh              uboot-mtd0-dump
Pogoplug:/tmp$ tools/nandwrite /dev/mtd0 uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
uboot.2016.05-tld-1.pogo_e02.mtd0.kwb: No such file or directory
nandwrite: error!: Data was only partially written due to error
           error 9 (Bad file descriptor)
Pogoplug:/tmp$

The output from flash_erase did not match what the instructions said to expect, but the output seemed to me. The nandwrite command was copied and pasted, but I ran into "error 9 (Bad file descriptor)"

Edit: attach log file of command line of the command line history.



Edited 1 time(s). Last edit at 01/15/2017 08:31PM by flashless.
Attachments:
open | download - debian-attempt-AFF6.txt (11.6 KB)
Re: Jeff's tutorial, "FATAL: kernel too old"
January 15, 2017 11:55PM
According to the output of your 'ls' command, you have the file uboot.2014.07-tld-3.pogo_e02.mtd0.kwb, but your 'nandwrite' command references uboot.2016.05-tld-1.pogo_e02.mtd0.kwb. It would appear that you didn't download the latest uboot tar from the thread you referenced.

-JT
Re: Jeff's tutorial, "FATAL: kernel too old"
January 16, 2017 01:55PM
And you don't need to update uboot to have latest rootfs.
Re: Jeff's tutorial, "FATAL: kernel too old"
January 16, 2017 01:59PM
jst818 Wrote:
-------------------------------------------------------
> And you don't need to update uboot to have latest
> rootfs.

But did you retry like JT has suggested and is it OK now?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Jeff's tutorial, "FATAL: kernel too old"
January 16, 2017 02:06PM
Source
http://forum.doozan.com/read.php?2,31505


bodhi
I am not sure what you want to ask with your latest question.
Re: Jeff's tutorial, "FATAL: kernel too old"
January 16, 2017 02:09PM
jst818 Wrote:
-------------------------------------------------------
> Source
> http://forum.doozan.com/read.php?2,31505
>
>
> bodhi
> I am not sure what you want to ask with your
> latest question.

Did you flash the u-boot file uboot.2016.05-tld-1.pogo_e02.mtd0.kwb?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Jeff's tutorial, "FATAL: kernel too old"
January 17, 2017 07:57PM
Good catch, JT. I was able to nandwrite the correct file. I didn't notice the "no such file" message a couple of lines above the file descriptor message.

Bodhi, the uboot seemed to flash correctly, and I'l proceeding with your instructions, step 8 onward, at http://forum.doozan.com/read.php?3,12381
I assume that it's talking about etc on the new rootfs, and not /etc on the pogo plug stock firmware that I booted from.



Edited 1 time(s). Last edit at 01/17/2017 08:00PM by flashless.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: