David Murray | 2 Dec 2009 14:58
Picon

building the voyage kernel

Hi,

I am currently using the experimental build of voyage because I want to use open 802.11s which only comes with the latest kernel. However, I also want to try out Layer 2 batman or batman experimental which requires the kernel headers. As there are no headers for my kernel (2.6.30-486-voyage) I am trying to build them from the kernel-source. I am following the instructions found here [1]. When I do my make, I get the following error:

 CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
dnsdomainname: Unknown host
  LZMA    arch/x86/boot/compressed/vmlinux.bin.lzma
lzma: Cannot allocate memory
  LD      arch/x86/boot/compressed/piggy.o
ld: arch/x86/boot/compressed/vmlinux.bin.lzma: No such file: No such file or directory
make[2]: *** [arch/x86/boot/compressed/piggy.o] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2

It seems that the ALIX boards with 256 MB/s of memory cannot create "arch/x86/boot/compressed/vmlinux.bin.lzma" becuase they run out of memory. Has anyone on this list encountered this problem before? I would prefer not to cross compile as it seems a little complicated when I just want to install batman-advanced. Can anyone give me some suggestions? Am I doing everything correctly?

Thanks
Dave

[1] http://wiki.voyage.hk/dokuwiki/doku.php?id=voyage_kernel

_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux
Jon Meek | 2 Dec 2009 19:47
Picon

Re: building the voyage kernel

How about adding swap space on a USB disk (assuming it is an out of
memory issue)? When I build software for a Voyage system I always do
it on an external disk to save wear on the CF card.

Jon

2009/12/2 David Murray <dave.murray.murdoch@...>:
> Hi,
>
> I am currently using the experimental build of voyage because I want to use
> open 802.11s which only comes with the latest kernel. However, I also want
> to try out Layer 2 batman or batman experimental which requires the kernel
> headers. As there are no headers for my kernel (2.6.30-486-voyage) I am
> trying to build them from the kernel-source. I am following the instructions
> found here [1]. When I do my make, I get the following error:
>
>  CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CALL    scripts/checksyscalls.sh
>   CHK     include/linux/compile.h
> dnsdomainname: Unknown host
>   LZMA    arch/x86/boot/compressed/vmlinux.bin.lzma
> lzma: Cannot allocate memory
>   LD      arch/x86/boot/compressed/piggy.o
> ld: arch/x86/boot/compressed/vmlinux.bin.lzma: No such file: No such file or
> directory
> make[2]: *** [arch/x86/boot/compressed/piggy.o] Error 1
> make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
> make: *** [bzImage] Error 2
>
> It seems that the ALIX boards with 256 MB/s of memory cannot create
> "arch/x86/boot/compressed/vmlinux.bin.lzma" becuase they run out of memory.
> Has anyone on this list encountered this problem before? I would prefer not
> to cross compile as it seems a little complicated when I just want to
> install batman-advanced. Can anyone give me some suggestions? Am I doing
> everything correctly?
>
> Thanks
> Dave
>
> [1] http://wiki.voyage.hk/dokuwiki/doku.php?id=voyage_kernel
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux@...
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
Nick L. | 2 Dec 2009 20:09
Picon

Re: building the voyage kernel

On 12/2/09, Jon Meek <meekjt@...> wrote:
> How about adding swap space on a USB disk (assuming it is an out of
>  memory issue)? When I build software for a Voyage system I always do
>  it on an external disk to save wear on the CF card.
>
>  Jon
>
>  2009/12/2 David Murray <dave.murray.murdoch@...>:
>  > Hi,
>  >
>  > I am currently using the experimental build of voyage because I want to use
>  > open 802.11s which only comes with the latest kernel. However, I also want
>  > to try out Layer 2 batman or batman experimental which requires the kernel
>  > headers. As there are no headers for my kernel (2.6.30-486-voyage) I am
>  > trying to build them from the kernel-source. I am following the instructions
>  > found here [1]. When I do my make, I get the following error:

Excuse my newbie-ness, but would it not be possible to recompile a
Voyage kernel on another machine and copy over the .deb to the target
machine?

I ask this because I'm thinking about compiling a real-time Voyage
kernel for my Alix.
David Murray | 2 Dec 2009 23:45
Picon

Re: building the voyage kernel

Thanks for the replies.
Jon: I will try your suggestion.
Nick: I think you are correct but I have problems cross compiling across architectures. At this stage I would prefer not to cross compile.

_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux
Gustin Johnson | 3 Dec 2009 00:32
Picon

Re: building the voyage kernel


David Murray wrote:
> Thanks for the replies.
> Jon: I will try your suggestion.
> Nick: I think you are correct but I have problems cross compiling across
> architectures. At this stage I would prefer not to cross compile.
> 
The ALIX boards are standard x86, so there should not be any cross
compiling issues.  Of course be careful not to enable features that are
not present on the Geodes.

If you really want to compile on the actual Alix itself, I use a
swapfile.  If all you want to do is build some third party module, why
don't you make the headers?

From the kernel source directory, run:
make-kpkg kernel-headers

You then get an installable .deb containing the kernel headers.

Hth,
Kim-man 'Punky' TSE | 3 Dec 2009 02:50
Favicon

Re: building the voyage kernel

Hi David,

The most easy to do is to install the SDK CD to VM (VMWare, Virtual Box 
or qemu).  It included required package to build kernel as well.  Once 
the deb is build, you can transfer the kernel deb to alix box and 
install it.

See: http://linux2.voyage.hk/develop

Regards,
Punky

David Murray wrote:
> Hi,
>
> I am currently using the experimental build of voyage because I want 
> to use open 802.11s which only comes with the latest kernel. However, 
> I also want to try out Layer 2 batman or batman experimental which 
> requires the kernel headers. As there are no headers for my kernel 
> (2.6.30-486-voyage) I am trying to build them from the kernel-source. 
> I am following the instructions found here [1]. When I do my make, I 
> get the following error:
>
>  CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CALL    scripts/checksyscalls.sh
>   CHK     include/linux/compile.h
> dnsdomainname: Unknown host
>   LZMA    arch/x86/boot/compressed/vmlinux.bin.lzma
> lzma: Cannot allocate memory
>   LD      arch/x86/boot/compressed/piggy.o
> ld: arch/x86/boot/compressed/vmlinux.bin.lzma: No such file: No such 
> file or directory
> make[2]: *** [arch/x86/boot/compressed/piggy.o] Error 1
> make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
> make: *** [bzImage] Error 2
>
> It seems that the ALIX boards with 256 MB/s of memory cannot create 
> "arch/x86/boot/compressed/vmlinux.bin.lzma" becuase they run out of 
> memory. Has anyone on this list encountered this problem before? I 
> would prefer not to cross compile as it seems a little complicated 
> when I just want to install batman-advanced. Can anyone give me some 
> suggestions? Am I doing everything correctly?
>
> Thanks
> Dave
>
> [1] http://wiki.voyage.hk/dokuwiki/doku.php?id=voyage_kernel
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux@...
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>   

--

-- 
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
  - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
  - Network Engineering, Development Platform and Consultation

	
Kim-man 'Punky' TSE | 3 Dec 2009 09:22
Favicon

linux.voyage.hk got a new look

Hi all,

We recently have upgraded CMS backend to Drupal 6.x which powered 
linux.voyage.hk project web site.  Apart from the new face introduced by 
the upgrade, it will allow us to build enhanced community services in 
near future.  The planned community service are:

1. Mailing list linked forum
2. Integrated Wiki (and migration from existing one)
3. Cookbook section
4. Source code browser

--

-- 
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
  - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
  - Network Engineering, Development Platform and Consultation

	
Navas Abubacker | 3 Dec 2009 16:45
Favicon

USB ethernet support in Voyage

Team,

a) Is there any chance of having 'dm9601' module with Voyage

http://www.davicom.com.tw/page1.aspx?no=209814

I am trying to use Davicom usb to fast ethernet adapter with voyage. It is compiling well on Debian lenny. I just tried compiling in voyage 6.2 but it simply doesn't

Please help..

b) I am bridging the following network adapters (on Alix 1C)

   i) eth0 (inbuilt alix's via rhine adapter goes to my linksyspap-2 voip adapter with magic jack configured)
   ii) ath0 (Atheros AR5413 chipset acts as an access point with WPA-PSK2)
   iii) eth1 ('cdc_ethernet' compatible adapter from my adsl2 modem)

how ever if I restart my adsl modem then eth1 drops and it never come back like eth0, how do I bring back eth1 live without restarting my alix's access point

Thanks for all your help, you guys are doing a great job,



--
Thanks
Navas

_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux
Alexander Stoklasa | 4 Dec 2009 19:57

iSCSI kernel module for 6.2/2.6.26

Hi All,

I'm relatively new to voyage running on a alix board. I'd like to use a iSCS connection to my NAS to mount as a
block level device. The required kernel module (included in debian installations) is iscsi_tcp
(http://wiki.debian.org/iSCSI/open-iscsi) - is there an easy way just to build the kernel module w/o
the whole kernel stuff?

Thanks
Alexander
benny.tops | 7 Dec 2009 18:11
Picon

Compiling a kernel module for Voyage 0.6

Hi,

I'm trying to update the Sierra Wireless USB driver for kernel 2.6.26 in Voyage Version: 0.6 (Build Date 20090708) and I get an 'Invalid module format' error.

This is what I do after a clean installation of Voyage 0.6:
- download http://fr.voyage.hk/dists/0.6/linux/linux-headers-2.6.26-voyage_6.0-2_i386.deb and install it using dpkg -i <package name>. This installs the package in /usr/src/linux-headers-2.6.26-voyage
- make sierra.c. The make file points to /usr/src/linux-headers-2.6.26-voyage for the kernel headers; build is successful
- when I try to install sierra.ko, I get this error message:
[ 1693.833588] sierra: version magic '2.6.26-voyage preempt mod_unload 486 ' should be '2.6.26-486-voyage preempt mod_unload 486 '
FATAL: Error inserting sier ra (/lib/modules/2.6.26-486-voyage/kernel/drivers/usb/serial/sierra.ko): Invalid module format

modinfo sierra returns 'vermagic:       2.6.26-voyage preempt mod_unload 486'
uname -r returns '2.6.26-486-voyage'

Do I use the wrong kernel headers (can't find another package ...)? Do I make a mistake somewhere?

Thanks in advance,

Benny


_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux

Gmane