LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2010, 01:23 AM   #1
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Rep: Reputation: 15
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
 
Old 08-18-2010, 06:22 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try http://zen-kernel.org/
 
Old 08-18-2010, 07:08 AM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
Old 08-19-2010, 01:39 AM   #4
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Original Poster
Rep: Reputation: 15
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
 
Old 08-19-2010, 01:40 AM   #5
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Original Poster
Rep: Reputation: 15
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.

Last edited by author_unknown; 08-19-2010 at 04:08 AM.
 
Old 08-20-2010, 06:46 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
Old 08-22-2010, 02:50 AM   #7
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Original Poster
Rep: Reputation: 15
Thanx for the reply wouls surely try nd get back to you
 
Old 08-23-2010, 05:05 AM   #8
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Original Poster
Rep: Reputation: 15
error

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.Click image for larger version

Name:	error_mylinux.JPG
Views:	32
Size:	80.3 KB
ID:	4388
 
Old 08-23-2010, 06:18 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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?
 
Old 08-23-2010, 06:40 AM   #10
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Original Poster
Rep: Reputation: 15
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

Last edited by author_unknown; 08-23-2010 at 06:45 AM.
 
Old 08-23-2010, 06:49 AM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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?
 
Old 08-23-2010, 08:10 AM   #12
author_unknown
Member
 
Registered: Aug 2007
Location: Buffalo, NY
Distribution: Fedora 7, RHEL5, CentOS 5 and Backtrack 2.0
Posts: 73

Original Poster
Rep: Reputation: 15
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???
 
Old 08-23-2010, 08:14 AM   #13
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
you gotta have xz
http://cormander.com/blog/2010/03/rp...-centosrhel-5/
 
Old 08-23-2010, 08:14 AM   #14
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
you gotta have xz
http://cormander.com/blog/2010/03/rp...-centosrhel-5/
 
Old 08-23-2010, 08:18 AM   #15
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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?

Last edited by linus72; 08-23-2010 at 08:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding scsi support to kernel for scanport sq2030 scanner (ppscsi patch) jzimm0007@msn.com Linux - Kernel 5 07-05-2008 12:52 PM
AUFS support in 2.6.22 kernel saneesh00 Linux - Embedded & Single-board computer 1 04-24-2008 03:36 AM
Need SATA support in kernel ~2.4.26 -- libata patch? ErrorBound Linux - Kernel 1 07-22-2006 11:39 AM
Where to find a Kernel/Kernel Patch with support for stack sizes >8K Valhalla Linux - Software 2 05-24-2005 05:39 PM
Kernel patch & DRI support gamehack Linux - General 1 11-04-2003 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration