Topic: Chumby8 kernel build config file and build directory ??

Can someone post a zip of the chumby8 kernel build directory ? the files.chumby.com does not have a kernel which matches with a .config file.
i am trying to build ipv6 for the chumby8 kernel but not getting anywhere with symbols mismatching from the files.chumby.com kernel.

Re: Chumby8 kernel build config file and build directory ??

I'll forward the request to the guy that was in charge of that kernel and see what he comes up with.  I can't find it in my archives, but it's got to be out there somewhere.

Re: Chumby8 kernel build config file and build directory ??

AFAIK the C8 is pretty much the same as the I8.

That means you should be able to take the tarball from files.chumby.com for the latest release of silvermoon code (1.8.1) at: http://files.chumby.com/source/silvermo … 2.6.28.tgz

You can obtain the config used by SSHing to your Chumby8 and run "zcat /proc/config.gz" on the device.  You can redirect this to a file, or copy/paste it to a kernel directory's ".config" and go from there.

I've done this successfully with an I8, but I don't own an actual Chumby8, so I can't tell you for sure if this should work.

Linux Guy - Occasional Chumby Hacker

Re: Chumby8 kernel build config file and build directory ??

tried that. doesnt work. can you generate an ipv6 kernel module on your i8 and post it up somewhere ?

5 (edited by Materdaddy 2013-02-05 07:16:19)

Re: Chumby8 kernel build config file and build directory ??

Try this: https://dl.dropbox.com/u/143641/ipv6.ko

I got the config as previously instructed.  Then with the chumby toolchain in my path I ran the following:

make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig

enabled ipv6 as a module, then ran:

make ARCH=arm CROSS_COMPILE=arm-linux- modules SUBDIRS=net/ipv6
Linux Guy - Occasional Chumby Hacker

Re: Chumby8 kernel build config file and build directory ??

insmod ipv6.ko
insmod: error inserting 'ipv6.ko': -1 Unknown symbol in module
uname -a
Linux dev8 2.6.28-M2.1.8.12 #5 Thu Jul 7 13:09:56 PDT 2011 armv5tejl GNU/Linux

Re: Chumby8 kernel build config file and build directory ??

Run "dmesg" to see the symbol that's missing...

Unknown symbol might be because it needs something else loaded first.  If it were wrong entirely, I'd expect to see something like module and kernel version don't match.

Linux Guy - Occasional Chumby Hacker

Re: Chumby8 kernel build config file and build directory ??

[910203.270880] ipv6: Unknown symbol __ipv6_addr_type
[910203.293815] ipv6: Unknown symbol inet6_lookup
[910203.305958] ipv6: Unknown symbol secure_tcpv6_sequence_number
[910203.312980] ipv6: Unknown symbol ipv6_skip_exthdr
[910203.329855] ipv6: Unknown symbol inet6_hash_connect
[910203.345263] ipv6: Unknown symbol ipv6_ext_hdr
[910203.354787] ipv6: Unknown symbol __inet6_lookup_established
[910203.369544] ipv6: Unknown symbol __inet6_hash
[910203.391729] ipv6: Unknown symbol inet6_lookup_listener
[910644.969570] ipv6: Unknown symbol __ipv6_addr_type
[910644.992589] ipv6: Unknown symbol inet6_lookup
[910645.004910] ipv6: Unknown symbol secure_tcpv6_sequence_number
[910645.011821] ipv6: Unknown symbol ipv6_skip_exthdr
[910645.028748] ipv6: Unknown symbol inet6_hash_connect
[910645.044188] ipv6: Unknown symbol ipv6_ext_hdr
[910645.053733] ipv6: Unknown symbol __inet6_lookup_established
[910645.068293] ipv6: Unknown symbol __inet6_hash
[910645.090452] ipv6: Unknown symbol inet6_lookup_listener

Re: Chumby8 kernel build config file and build directory ??

I attempted loading this on my I8 and see the following undefined:

[77168.064413] ipv6: Unknown symbol __ipv6_addr_type
[77168.087250] ipv6: Unknown symbol inet6_lookup
[77168.099241] ipv6: Unknown symbol secure_tcpv6_sequence_number
[77168.106099] ipv6: Unknown symbol ipv6_skip_exthdr
[77168.122935] ipv6: Unknown symbol inet6_hash_connect
[77168.138388] ipv6: Unknown symbol ipv6_ext_hdr
[77168.147829] ipv6: Unknown symbol __inet6_lookup_established
[77168.162317] ipv6: Unknown symbol __inet6_hash
[77168.184381] ipv6: Unknown symbol inet6_lookup_listener

I looked up the first one (__ipv6_addr_type) which is a symbol defined in "net/ipv6/addrconf_core.c".  Looking at the makefile, it always gets added to the kernel's objects (obj-y), so I'm not sure why that symbol is missing.  I think there is something awry with the build.

I figured it'd be something quick/simple so I tried to help, but at this point you're on your own because I have no interest in getting IPv6 working on my devices at this point.  Good luck.

Linux Guy - Occasional Chumby Hacker

Re: Chumby8 kernel build config file and build directory ??

no worries. thanks for trying anyway. it looks like the GPL source on chumbies website is not the same as the one the actually c8's were distributed with. (1.8.1 vs 1.8.12)