Chris Fanning
2006-Oct-02 14:13 UTC
[Xen-users] compile a squashfs module for my xen kernel
Hi all, I''d like to compile a squashfs module for my xen kernel. I cannot see an option in make linux-2.6-xen-config CONFIGMODE=menuconfig so I guess I need to patch the kernel, right? Can someone explain this to me? Thankyou. Chris. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chris Fanning
2006-Oct-02 16:09 UTC
[Xen-users] Re: compile a squashfs module for my xen kernel
ok. this is what I did. cd /usr/src/ wget squashfs3.1-r2.tar.gz tar zxvf squashfs3.1-r2.tar.gz cd /usr/src/xen-3.0.2-2/linux-2.6.16-xen cp /usr/src/squashfs3.1-r2/linux-2.6.16/squashfs3.1-patch ./ patch -p1 < squashfs-patch make linux-2.6-xen-config CONFIGMODE=menuconfig make linux-2.6-xen-build make linux-2.6-xen-install it works, but what would the proceedure be on a fresh xen instalation? Cheers. Chris. On 10/2/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> Hi all, > > I''d like to compile a squashfs module for my xen kernel. > I cannot see an option in > make linux-2.6-xen-config CONFIGMODE=menuconfig > so I guess I need to patch the kernel, right? > > Can someone explain this to me? > > Thankyou. > Chris. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Teck Choon Giam
2006-Oct-02 22:19 UTC
Re: [Xen-users] Re: compile a squashfs module for my xen kernel
Hi Chris, On 10/3/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> ok. this is what I did. > > cd /usr/src/ > wget squashfs3.1-r2.tar.gz > tar zxvf squashfs3.1-r2.tar.gz > > cd /usr/src/xen-3.0.2-2/linux-2.6.16-xen > cp /usr/src/squashfs3.1-r2/linux-2.6.16/squashfs3.1-patch ./ > > patch -p1 < squashfs-patch > > make linux-2.6-xen-config CONFIGMODE=menuconfig > make linux-2.6-xen-build > make linux-2.6-xen-install > > it works, but what would the proceedure be on a fresh xen instalation?I guess you mean fresh install from source? If it is so, just need to move/copy the patch to /usr/src/xen-3.0.2-2/patches/linux-2.6.16/ cp /usr/src/squashfs3.1-r2/linux-2.6.16/squashfs3.1-patch /usr/src/xen-3.0.2-2/patches/linux-2.6.16/ Then do the make world etc... which whatever in /usr/src/xen-3.0.2-2/patches/linux-2.6.16/ folder will be applied to xen0 and/or xenU or xen. Hope this helps. Kindest regards, Choon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chris Fanning
2006-Oct-03 06:31 UTC
Re: [Xen-users] Re: compile a squashfs module for my xen kernel
> I guess you mean fresh install from source? If it is so, just need to > move/copy the patch to /usr/src/xen-3.0.2-2/patches/linux-2.6.16/Thankyou very much! On 10/3/06, Teck Choon Giam <giamteckchoon@gmail.com> wrote:> Hi Chris, > > On 10/3/06, Chris Fanning <christopher.fanning@gmail.com> wrote: > > ok. this is what I did. > > > > cd /usr/src/ > > wget squashfs3.1-r2.tar.gz > > tar zxvf squashfs3.1-r2.tar.gz > > > > cd /usr/src/xen-3.0.2-2/linux-2.6.16-xen > > cp /usr/src/squashfs3.1-r2/linux-2.6.16/squashfs3.1-patch ./ > > > > patch -p1 < squashfs-patch > > > > make linux-2.6-xen-config CONFIGMODE=menuconfig > > make linux-2.6-xen-build > > make linux-2.6-xen-install > > > > it works, but what would the proceedure be on a fresh xen instalation? > > I guess you mean fresh install from source? If it is so, just need to > move/copy the patch to /usr/src/xen-3.0.2-2/patches/linux-2.6.16/ > > cp /usr/src/squashfs3.1-r2/linux-2.6.16/squashfs3.1-patch > /usr/src/xen-3.0.2-2/patches/linux-2.6.16/ > > Then do the make world etc... which whatever in > /usr/src/xen-3.0.2-2/patches/linux-2.6.16/ folder will be applied to > xen0 and/or xenU or xen. > > Hope this helps. > > Kindest regards, > Choon > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users