On 08/10/2007, Jay Shah <jayshah31@...> wrote:
> Hi Flavio,
> Many Thanks for your response.
No Problem! ;-)
> I have attempted to compile a kernel,
You mean the host kernel, isn't it?
Note that for x86_64 architectures skas3 patch doesn't work. (See info
about skas0 mode)
Excuse me but in my previous e-mail I gave you not the right URL. It
was about guest kernel patching. Anyway.. kernel patches are all
applicable in that way.
> using your patching instructions, but when the datacenter attempted to
> boot it, they said the following error happened:
> mkroot dev: label / not found
> Mounting root filesystem
> mount: error 2 mounting ext3
> mount: error 2 mounting none
> switching to new root
> switchroot: mount failed: 22
> umount /initrd/dev failed: 2
> kernel panic - not syncing: Attempted to kill init!
I don't think skas3 patch may cause this kind of problems.
It seems there are some other trouble in filesystem support in the guest kernel.
But, excuse me, only to make me understand...
If I did understand correctly you
1) applied SKAS3 patch to your Linux HOST kernel (the real kernel,
that one you always boot when you power on your PC)
2) applied uml patch to your uml sources (did you?)
3) tried to boot a kernel.
Here I didn't understand if you tried to boot the host or the guest kernel.
Error messages you wrote before, seems to be coming from the uml kernel boot.
In that case, try to setup /etc/fstab correctly in your UML filesystem.
That kind of problems may also be caused by a wrong kernel
compilation, e.g. you didn't include ext3 filesystem support as built
> Any ideas as to it's resolution?
> Many Thanks to you, and all that have replied.
> On 07/10/2007, Flavio <fbcyborg@...> wrote:
> > Hello Jay
> > patches are always applied to sources. Once you've patched them, you
> > can compile.
> > First of all you need "bzcat" program on your Linux distribution and
> > Linux kernel sources in your /usr/src directory.
> > Go to your kernel root directory, (e.g. /usr/src/linux , where linux
> > is a symbolic link to your
> > current kernel source directory) and patch the sources.
> > Practically you have to do that:
> > 1) cd /usr/src/linux
> > 2) move your skas-2.6.20-v9-pre9.patch.bz2 file in /usr/src/linux directory
> > you will do something like this:
> > mv /home/myHome/skas-2.6.20-v9-pre9.patch.bz2 . (the dot indicates the
> > current directory, that is /usr/src/linux).
> > 3) bzcat skas-2.6.20-v9-pre9.patch.bz2 | patch -p1 --dry-run
> > if no errors appear, repeat 3 again without --dry-run option.
> > 4) bzcat skas-2.6.20-v9-pre9.patch.bz2 | patch -p1
> > 5) You've done. Now compile your kernel as you like. (compiling the
> > kernel is not simple, if it's the first time. Look for documentations
> > on google!!!
> > here you can find more info:
> > http://www.vdd-project.org/index.php?option=com_content&task=view&id=20&Itemid=51#Getting%20vanilla%20Linux%20kernel%20sources
> > Good Luck!
> > Flavio.
> > Master degree student at Department of Computer Science (DIS)
> > University of Rome "La Sapienza"
> > url: http://www.vdd-project.org
> > On 06/10/2007, Jay Shah <jayshah31@...> wrote:
> > > Hi All,
> > >
> > > I was wondering if someone could lend me a hand on applying the "SKAS"
> > > patch to my kernel?
> > >
> > > I've searched the internet, and as I've never compiled a kernel
> > > before, I don't want to risk breaking my system. Is currently is
> > > hosting users with cPanel on it (if that makes any difference).
> > >
> > > My current kernel is "2.6.9-55.0.6.ELsmp #1 SMP" (CentOS 4) which I
> > > keep tidy with "yum update" so I've never "patched" it myself, but I'm
> > > not sure if Yum has. I therefore don't have a kernel tree (etc.) to
> > > add the Arch what's not to.
> > >
> > > I would appreciate anything that would point me in the right
> > > direction. For example, a recommendation to "compile" my own working
> > > kernel first, then patch it? Any advice would be greatly greatly
> > > appreciated.
> > >
> > > Many Thanks In Advance,
> > >
> > > Jay
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems? Stop.
> > > Now Search log events and configuration files using AJAX and a browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > _______________________________________________
> > > User-mode-linux-user mailing list
> > > User-mode-linux-user@...
> > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
> > >
> Please feel free to contact me via instant messaging:
> MSN: admin@...
> Yahoo!: shahjay2003
> ICQ: 495690391