LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   aufs support/patch for kernel 2.6.34.1 (https://www.linuxquestions.org/questions/linux-software-2/aufs-support-patch-for-kernel-2-6-34-1-a-826914/)

author_unknown 08-18-2010 01:23 AM

aufs support/patch for kernel 2.6.34.1
 
Hi,
I need aufs support/patch for kernel 2.6.34.1 as i i need to create a live linux distro for my organization and linux live scripts (the scripts which I am using for creating live linux distro) require aufs and squashfs support. There is a directive for squashfs in kernel configuration file but nothing for aufs and the patch available at linux-live site seems not to work. Any guidance/pointers would really be appreciated.

PS: For security reasons the kernel needs to be monolithic i.e. without loadable modules support.

Thanks,
AU

AlucardZero 08-18-2010 06:22 AM

Try http://zen-kernel.org/

linus72 08-18-2010 07:08 AM

I have the 2.6.34 zen kernel source pre-patched, etc
and the reason the original lls 6.3.0 wont work is cause it has squashfs 3.4; Ritchie at Slax forum has made a newer version of Linux-Live-Scripts that works with the 2.6.34 kernel

I have a kernel kit available that will enable you to create a livecd using arch/slackware, not tested on any others...
http://multidistro.com/NFLUXNEW/SQ4/kkits/kkits.html

kernel source is here
http://multidistro.com/NFLUXNEW/SQ4/kkits/x86.html

author_unknown 08-19-2010 01:39 AM

Hi Linus72,
thanks for the reply. I cannot get ahead with the .txz file as I am unable to figure out how to make it work on centos. If possible for you can u send me ur patched kernel(source would be appreciated), initrd, config file and System.map file

author_unknown 08-19-2010 01:40 AM

Hi AlucardZero,
Can u tell me how can i apply this patch to my kernek. it is in lzma format. I downloaded "lzma" and decompressed it using lzma -k but when i am trying to patch the kernel it asks me the name of file to patch. Can you please help me out.

linus72 08-20-2010 06:46 AM

ok
to decompress a .txz just do
Code:

tar xJvf /path/to/.txz
as for the source, which is prepatched
I also yesterday added the bfq patches for it too
heres those patches
http://algo.ing.unimo.it/people/paol...s/2.6.34-zen1/

to patch the source I put the patches in /usr/src along with the kernel source and did
Code:

patch -p1 < ../0001-block-prepare-I-O-context-code-for-BFQ.patch
patch -p1 < ../0002-block-add-cgroups-kconfig-and-build-bits-for-BFQ.patch
patch -p1 < ../0003-block-introduce-the-BFQ-I-O-scheduler.patch

then did "make menuconfig"; edited for bfq under
"Enable The Block Layer"/"IO Schedulers"
its set for cfq right now..

anyway; heres the BFQ patched source, it's .tar.bz2

or just extract the .txz you have and patch yourself
http://multidistro.com/downloads/App...2.6.34.tar.bz2

author_unknown 08-22-2010 02:50 AM

Thanx for the reply wouls surely try nd get back to you :)

author_unknown 08-23-2010 05:05 AM

error
 
1 Attachment(s)
Hi,

I downloaded ritchie's crripts from http://rapidshare.com/files/39626845....0_x86.tar.bz2

and everything went well with clean exit status(every command on echo $? showed exit status to be 0)

but when i tried to boot from the cd created i got the following error
"fatal error occured: mylinux data not found"

you can find the snapshot of the error in the attached file.

Any ideas how to get rid of it.Attachment 4388

linus72 08-23-2010 06:18 AM

well, I'm not sure
you should use the linux-live from me which I have modified even more than Ritchie's
its in the arch/slackware kernel kits here
http://multidistro.com/NFLUXNEW/SQ4/kkits/kkits.html

just download the arch x86 one and extract it and the linux-live is in there...

you compiled kernel too right?
did you change something?

author_unknown 08-23-2010 06:40 AM

yeah the kernel did compile fine.... and i have also added the loadable module support and applied the aufs patch... the system which i want to turn live is booting fine on the machine but displays the above error when made to turn live using lls scripts


BTW i forgot to mention I am using centos so I dont think your things would work for me... if possible please provide me your LLS scripts which u used to turn ur system live

linus72 08-23-2010 06:49 AM

the linux-live in the arch/slackware kernel kits will work for any system probably

there was already a aufs patch applied....why repatch it?

author_unknown 08-23-2010 08:10 AM

ok
to decompress a .txz just do

Code:
tar xJvf /path/to/.txz



I did it but a got an error stating invalid option --J

do i need to install any application for extracting .txz file???

linus72 08-23-2010 08:14 AM

you gotta have xz
http://cormander.com/blog/2010/03/rp...-centosrhel-5/

linus72 08-23-2010 08:14 AM

you gotta have xz
http://cormander.com/blog/2010/03/rp...-centosrhel-5/

linus72 08-23-2010 08:18 AM

so are you trying to make a Centos5 livecd?
or what?

and you said kernel needs to be monolithic?
so that means your gonna compile all modules into kernel vs being loadable modules?


All times are GMT -5. The time now is 06:02 PM.