[Voyage-linux] Some hints or related docs

Zenny (spam-protected)
Thu Oct 27 15:56:38 HKT 2011


Impressed to see very active and supportive members in this mailing list! I
am thankful to all who replied to my query.

@Artie: Do you think that going for bleeding edge kernel versions won't
break up security? I had a bad experience with such bleeding edge kernel in
server machines. For Desktop machines, I feel it okay. Just a bit of
apprehension to adopt new kernel for a server environment.

@Shane: I could not follow what you meant by 'the card sitting in RH box".

I would like to create an  image offlineand then dd to CF. Is there any
specific scripts to do so from a normal debian/ubuntu installation? Sorry
for my confusion.

2011/10/25 Artie Gold <agold at f4winc.com>

> Typically doing a 'apt-get install linux-headers-`uname -r` will do exactly
> the right thing for you as far as being able to build modules is concerned.
> That would be my first recommendation.
>
> Cheers,
> --ag
>
>
> 2011/10/25 Shane Harrison <shane.harrison at paragon.co.nz>
>
>> 1)  yes I do exactly that, card image sits on an old red hat box.  Of
>> course the image is only the file system image and boot loader in MBR,
>> partitions etc need to be set up first on the card.  Otherwise you can take
>> a an image of a real cf card using say cc and capture whole lot.  Many ways
>> to skin the cat.
>> 2)  I wouldn't downgrade kernel.  Just add repository that supports 2.6.38
>> to get kernel headers etc.
>>
>> Cheers
>> Shane
>> On Oct 26, 2011 4:10 AM, "Zenny" <garbytrash at gmail.com> wrote:
>>
>>> Thank you Shane for the comprehensive reply and John for pointing the
>>> right kernel.
>>>
>>> §1 But from what you stated earlier, the modules should be added to a
>>> running voyage linux box. I am thinking of creating the USB images with
>>> additional modules and packages on a separate debian/ubuntu box, and then
>>> create either an img/tar/iso file to burn it further to flash drive.
>>> Is that something possible?
>>>
>>> §2 And like John pointed out voyage 0.7.5 has 2.6.38 kernel which is not
>>> what upstream (I meant debian squeeze) supports. Does voyage loose its
>>> performance or features by downgrading the kernel in sync with upstream?
>>>
>>> /zenny
>>>
>>> 2011/10/25 John Coltrane <johncoltrane39 at googlemail.com>
>>>
>>>>  Hello,
>>>>
>>>>
>>>> On 10/24/2011 08:58 PM, Shane Harrison wrote:
>>>>
>>>> On point 3).  Not currently setup to support the "updates" directory as
>>>> far as I know.  I always simply replace the existing modules.
>>>>
>>>> To build a kernel module
>>>> ~~~~~~~~~~~~~~~~~~~~
>>>>
>>>> To compile a kernel or a kernel module you need the kernel headers etc.
>>>> Unfortunately for some reason the SDK doesn't include these.  Follow these
>>>> instructions to set up the environment to allow you to do this.
>>>>
>>>> When you need to build a module you will find out that the linux-headers
>>>> for the voyage kernel is not available.\\
>>>> Don't worry there is still a way to build your module.\\
>>>> **NOTE I'M WRITING THIS ASUMING YOU ARE USING KERNEL 2.6.32-486-VOYAGE**
>>>>
>>>>
>>>>
>>>> hint: voyage 0.7.5 runs kernel 2.6.38
>>>>
>>>>
>>>>
>>>>  first make sure you're on R/W mode if not run:
>>>> remountrw
>>>>
>>>> Perform the following to get the source
>>>> apt-get install linux-source-2.6.32-voyage
>>>>
>>>> once installed go to:
>>>> /usr/src/
>>>>
>>>> There you'll see that a packed file un pack this file e.g.
>>>> tar -zxf linux-source-2.6.32-voyage.tar.gz
>>>>
>>>> once unpacked there will be a folder called
>>>> ///usr/src/linux-source-2.6.32-voyage// \\
>>>> Enter this folder and edit the //Makefile// \\
>>>> Look for
>>>> EXTRAVERSION =
>>>> and change it to
>>>> EXTRAVERSION = -voyage
>>>>
>>>> now you'll need to copy the config file to the //linux-source// folder
>>>> using:
>>>> cp /boot/config-2.6.32-voyage
>>>> /usr/src/linux-source-2.6.32-voyage/.config
>>>> after that run
>>>> make
>>>>
>>>> Probably you'll want to go to bed or do something right now because this
>>>> can take a little time.
>>>>
>>>> once it is FINALLY DONE you'll need to make a symbol link with this
>>>> command:
>>>> ln -s /usr/src/linux-source-2.6.23-voyage
>>>> /lib/modules/2.6.23-486-voyage/build
>>>> There you go now you can build your module!
>>>>
>>>> 2011/10/25 Zenny <garbytrash at gmail.com>
>>>>
>>>>> Voyage linux seems a wonderful distro. I am surfing around the voyage
>>>>> linux site here and there, but what I could not find are:
>>>>>
>>>>>  1) How to make it completely compatible with the upstream debian
>>>>> release including kernel?
>>>>>
>>>>>  2) By downgrading the kernel, will it affect the voyage linux
>>>>> stability?
>>>>>
>>>>>  3) I need to add a few kernel modules, but I could not find exactly
>>>>> how to go about it? I did find the SDKs for 0.7.5 (not for 0.8.0), but it
>>>>> does not explain how to add  or remove some kernel module or packages before
>>>>> transferring to a USB/FlashDisk?
>>>>>
>>>>>  Appreciate if I could get some hints, links or advice. Thanks!
>>>>>
>>>>
>>>>
>>>> Cheers
>>>> Shane
>>>>
>>>>>
>>>>>  zenny
>>>>>
>>>>> _______________________________________________
>>>>> Voyage-linux mailing list
>>>>> Voyage-linux at list.voyage.hk
>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Paragon Electronic Design Ltd
>>>> L6 Crest House
>>>> 92 Queens Drive
>>>> P0 Box 30449
>>>> Lower Hutt 5040
>>>>
>>>> +64 4 5703870 Extn 875
>>>> +64 21 608919  (mobile)
>>>>
>>>> "Solving your problems with the right technology"
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing listVoyage-linux at list.voyage.hkhttp://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing list
>>>> Voyage-linux at list.voyage.hk
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>
>>>>
>>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
>
> --
> Artie Gold
> Principal Software Engineer
> Under Assistant West Coast Promo Man
>
> F4W, Inc.
>
> ===================================================
> Elegance is not a dispensable luxury but a factor that decides between
> success and failure.
> --Edsger Dijkstra
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20111027/ba5b8ff0/attachment-0002.html>


More information about the Voyage-linux mailing list