Re: [SOLVED] Re: custom kernel from kernel.org
hi, I'am trying to setup XEN-Domains via FAI. So i installed the xen-sources and added aufs-modules to initramfs.conf But initramfs does not add the module to a *-xen kernel. ?! I can boot the Domain, everything works fine, except the aufs-read-only mounts. So i patched aufs support into my running Xen Kernel. (as module and into the kernel), but FAI does not mount it correctly. When FAI is done and gives me a console, i can mount aufs volumes (without any modprobing). I probably have to change something in my nfsroot?! Any hints appreciated ;) Stephan Thomas Lange wrote: On Thu, 16 Oct 2008 13:17:58 +0200, Christian Quast [EMAIL PROTECTED] said: What are the required steps to create a custom kernel 2.6.20 used during the installation? Just use a plain 2.6.27 kernel from lenny inside the etch nfsroot. Therefore create a local repository, that inluced then needed deb files. That should work. Also make sure you have a new live-initramfs package inside the nfsroot. You do not need to comile a kernel on your own. Hi, thanks a lot, after adding some more lenny packages: aufs-modules, aufs-tools (libc6, tzdata) and adding module aufs to be included in the initramfs everything works fine. Chriss
Re: custom kernel from kernel.org
On Thu, 16 Oct 2008 13:17:58 +0200, Christian Quast [EMAIL PROTECTED] said: What are the required steps to create a custom kernel 2.6.20 used during the installation? Just use a plain 2.6.27 kernel from lenny inside the etch nfsroot. Therefore create a local repository, that inluced then needed deb files. That should work. Also make sure you have a new live-initramfs package inside the nfsroot. You do not need to comile a kernel on your own. -- regards Thomas
custom kernel from kernel.org
Hi, I have a debian etch server used as debian mirror and fai 'master'. The fai-nfsroot is also debian etch. The installation 'targets' are debian etch as well as ubuntu hardy. The problem I am having is that some of the computers I need to install use a PCIe Sata-RAID controller which is not supported by the stock etch kernel (2.6.18). Hence, during the installation the harddisks connected to the controller are not recognised by the OS. However, the controller is supported by the newer kernels (= 2.6.20). So I tried to follow the instructions at [1] to build a custom kernel. However, I am not really sure if these instructions apply to current fai versions, missing directories and config file entries. I managed to get the kernel into the nfsroot and added it to tftp as well. It started booting but the installation process failed shortly after reaching the fai 'screen'. If I remember correctly fai(?) complains about missing write permission on lots of files / directories. Reading the thread 'regular kernel' posted a few days ago I figured this might be due to the incompatibility mentioned by Michael Tautschnig. So I tried to build my own kernel. I have tried building unionfs 2.x [2] as well aufs [3]. When I apply either of these 'patches' to the stock kernel from kernel.org (I tried 2.6.26/27) I get an error during compilation. ERROR: security_inode_permission [fs/aufs/{aufs,unionfs}.ko] undefined! I couldn't find any helpful links searching the internet. So my questions are: What are the required steps to create a custom kernel 2.6.20 used during the installation? Should I build a new nfs root wich is based on something other than debian etch? Is there a way to use fai without the need to use unionfs (etc...)? regards Chriss signature.asc Description: PGP signature