From: Christopher D. C. <c.d...@re...> - 2008-05-28 09:46:38
|
Thanks Guys! #make kernel Did the trick "Why is Gaffa tape like the force? Because it has a light side, a dark side, and it holds the universe together!" ----------------===========---------------- Christopher Chapman Systems Programmer ITNG School of Systems Engineering The University of Reading E-mail: c.d...@re... Phone: +44 (0)118 3787664 School of Systems Engineering The University of Reading PO Box 225 Whiteknights Reading RG6 6AY ----------------===========---------------- -----Original Message----- From: Paolo Minazzi [mailto:pao...@gm...] Sent: 23 May 2008 18:05 To: Christopher David Chapman Subject: Re: [coLinux-users] Rolling your own kernel the ...build directory is the directory with objects (the soruce is getted from the ....source directory) the ....source contains the source code patched with colinux drivers regards paolo On Fri, May 23, 2008 at 6:25 PM, Christopher David Chapman <c.d...@re...> wrote: > Hi Paolo, > > Thank you very much for getting back to me. > > So far I have downloaded the stable-xxxxxx.tar.gz and run > >>make kernel (just make failed on binutils!) > > I now have linux-xxx-source and linux-xxx-build. What's the difference between the two? > > Is linux-xxx-source the vanilla kernel and linux-xxx-build the coLinux patched one? > > You mention patching linux-xxx-source but from the looks of the make output its already been done. > > Cheers > Chris > > > ==================================== > > [root@cg-217-130 stable-colinux-20080512]# make kernel > log: /usr/src/log/build-colinux-9739.log > err: /usr/src/log/build-colinux-9739.err > Check kernel and modules: vmlinux or modules don't exist, build it now > Downloading linux-2.6.22.18.tar.bz2 > --16:42:35-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.18.tar.bz2 > => `linux-2.6.22.18.tar.bz2' > Resolving wwwcache.rdg.ac.uk... 134.225.2.160 > Connecting to wwwcache.rdg.ac.uk|134.225.2.160|:8080... connected. > Proxy request sent, awaiting response... 200 OK > Length: 45,103,645 (43M) [application/x-bzip2] > > 100%[===============================================================================================>] 45,103,645 103.69K/s ETA 00:00 > > 16:47:04 (164.40 KB/s) - `linux-2.6.22.18.tar.bz2' saved [45103645/45103645] > > Extracting Kernel 2.6.22.18 > reading base-2.6.22.diff > patching file CREDITS > patching file Makefile > patching file arch/i386/Kconfig > patching file arch/i386/Kconfig.cpu > patching file arch/i386/kernel/Makefile > patching file arch/i386/kernel/cooperative.c > patching file arch/i386/kernel/cpu/common.c > patching file arch/i386/kernel/entry.S > patching file arch/i386/kernel/head.S > patching file arch/i386/kernel/i387.c > patching file arch/i386/kernel/process.c > patching file arch/i386/kernel/setup.c > patching file arch/i386/kernel/traps.c > patching file arch/i386/kernel/vmlinux.lds.S > patching file arch/i386/mm/fault.c > patching file arch/i386/mm/init.c > patching file arch/i386/mm/ioremap.c > patching file include/asm-i386/bug.h > patching file include/asm-i386/cooperative.h > patching file include/asm-i386/cooperative_internal.h > patching file include/asm-i386/dma.h > patching file include/asm-i386/fixmap.h > patching file include/asm-i386/io.h > patching file include/asm-i386/mach-default/irq_vectors.h > patching file include/asm-i386/mach-default/irq_vectors_limits.h > patching file include/asm-i386/mc146818rtc.h > patching file include/asm-i386/mmzone.h > patching file include/asm-i386/page.h > patching file include/asm-i386/pgalloc.h > patching file include/asm-i386/pgtable-2level.h > patching file include/asm-i386/pgtable.h > patching file include/asm-i386/processor.h > patching file include/linux/cooperative.h > patching file include/linux/cooperative_internal.h > patching file kernel/Makefile > patching file kernel/cooperative.c > patching file kernel/panic.c > patching file kernel/printk.c > patching file mm/bootmem.c > patching file mm/page_alloc.c > patching file mm/vmscan.c > patching file drivers/char/mem.c > patching file include/linux/elf.h > patching file arch/i386/kernel/cpu/bugs.c > patching file arch/i386/kernel/reboot_cooperative.c > patching file arch/i386/mach-default/setup.c > patching file arch/i386/kernel/i8259_cooperative.c > patching file arch/i386/kernel/ioport_cooperative.c > reading timer-2.6.22.diff > patching file arch/i386/kernel/timer_cooperative.c > patching file arch/i386/kernel/cpu/common.c > patching file arch/i386/lib/delay.c > patching file arch/i386/mach-default/setup.c > patching file include/asm-i386/delay.h > patching file include/asm-i386/mach-default/do_timer.h > patching file include/asm-i386/timex.h > reading coconsole-core.diff > patching file drivers/video/console/cocon.c > reading coconsole-2.6.22.diff > patching file drivers/video/console/Kconfig > patching file include/linux/console.h > patching file drivers/video/console/Makefile > patching file drivers/video/console/cocon.c > reading serial-core.diff > patching file drivers/char/cocd.c > reading serial-2.6.22.diff > patching file drivers/char/Makefile > patching file drivers/char/cocd.c > patching file drivers/char/Kconfig > reading conet-core.diff > patching file drivers/net/conet.c > reading conet-2.6.22.diff > patching file drivers/net/Kconfig > patching file drivers/net/Makefile > patching file drivers/net/conet.c > reading cobd-core.diff > patching file drivers/block/cobd.c > reading cobd-2.6.22.diff > patching file include/linux/major.h > patching file drivers/block/Kconfig > patching file drivers/block/Makefile > patching file drivers/block/cobd.c > reading kbd-core.diff > patching file drivers/input/serio/cokbd.c > reading kbd-2.6.22.diff > patching file drivers/input/keyboard/Kconfig > patching file drivers/input/keyboard/atkbd.c > patching file drivers/input/serio/Kconfig > patching file drivers/input/serio/Makefile > patching file drivers/input/serio/cokbd.c > reading mouse-2.6.22.diff > patching file drivers/input/mouse/Kconfig > patching file drivers/input/mouse/Makefile > patching file drivers/input/mouse/comouse.c > reading cofs-core.diff > patching file fs/cofusefs/dev.c > patching file fs/cofusefs/dir.c > patching file fs/cofusefs/file.c > patching file fs/cofusefs/fuse_i.h > patching file fs/cofusefs/inode.c > patching file fs/cofusefs/util.c > patching file include/linux/cooperative_fs.h > reading cofs-2.6.22.diff > patching file fs/Kconfig > patching file fs/Makefile > patching file fs/cofusefs/Makefile > patching file fs/cofusefs/file.c > patching file fs/cofusefs/fuse_i.h > patching file fs/cofusefs/dir.c > patching file fs/cofusefs/inode.c > reading cloop-core-2.06.diff > patching file drivers/block/cloop.c > patching file drivers/block/compressed_loop.h > reading cloop-2.6.22.diff > patching file drivers/block/Kconfig > patching file drivers/block/Makefile > reading squashfs3.2-core.diff > patching file fs/squashfs/inode.c > patching file fs/squashfs/Makefile > patching file fs/squashfs/squashfs2_0.c > patching file fs/squashfs/squashfs.h > patching file include/linux/squashfs_fs.h > patching file include/linux/squashfs_fs_i.h > patching file include/linux/squashfs_fs_sb.h > patching file init/do_mounts_rd.c > reading squashfs3.2-2.6.22.diff > patching file fs/Kconfig > patching file fs/Makefile > Configuring Kernel 2.6.22.18 > Making Kernel 2.6.22.18 > Making Modules 2.6.22.18 > Create Modules archive > Create md5sum > [root@cg-217-130 stable-colinux-20080512]# > > ==================================== > > "Why is Gaffa tape like the force? > Because it has a light side, a dark side, and it holds the universe together!" > > ----------------===========---------------- > Christopher Chapman > Systems Programmer ITNG > School of Systems Engineering > The University of Reading > > E-mail: c.d...@re... > Phone: +44 (0)118 3787664 > > School of Systems Engineering > The University of Reading > PO Box 225 > Whiteknights > Reading > RG6 6AY > ----------------===========---------------- > > > -----Original Message----- > From: col...@li... [mailto:col...@li...] On Behalf Of Paolo Minazzi > Sent: 23 May 2008 12:38 > To: col...@li... > Subject: Re: [coLinux-users] Rolling your own kernel > > Hi, > My advice is to use the stable-xxxxxx.tar.gz source code. > use > >>./configure >> make > > This will compile compilers, kernel and colinux form source. > This process don't touch your linux distro. You can use it. > > At the end of this process you will find a directory "../build". > In this directory there are linux-xxx-source and linux-xxx-build > You have to apply patch to the linux-xxx-source tree. > This is kernel patched with colinux drivers. > Now apply your patch to this tree (linux-xxx-source) > > When this is done, you can compile using >>make > > in the linux-xxx-build directory. > > If you need to change the .config copy your .conf in the > linux-xxx-build directory. > > I hope this is OK. I do it. If something is wrong .... > > > Bye, > Paolo > > > > On Fri, May 23, 2008 at 12:39 PM, Christopher David Chapman > <c.d...@re...> wrote: >> Hi, >> >> I am trying to get autofs working under fc8 and coLinux. >> Autofs is complaining that it is missing a kernel module autofs4. >> Ok, I thought I will need to add it into the kernel. >> >> Following the instruction in the FAQ (http://colinux.wikia.com/wiki/CoLinux_FAQ#Q19._How_do_I_build_my_own_kernel_for_coLinux.3F) >> >> I downloaded the latest stable source ball for coLinux and the kernel source for 2.6.22 from kernel.org >> Untar'd them both and cd'd into /usr/src/linux >> >> When trying the line "patch -p1 < (extraction-point)/colinux-20040529/patch/linux" /patch/linux is not found and if I try to do the 2.6.22 diff files by hand I get as far as "cobd-2.6.22.diff" and if fails saying there is no "drivers/block/cobd.c", which indeed there is not. >> >> I short, I'm lost >> >> >> Any clues much appreciated. >> >> Cheers >> Chris >> >> "Why is Gaffa tape like the force? >> Because it has a light side, a dark side, and it holds the universe together!" >> >> ----------------===========---------------- >> Christopher Chapman >> Systems Programmer ITNG >> School of Systems Engineering >> The University of Reading >> >> E-mail: c.d...@re... >> Phone: +44 (0)118 3787664 >> >> School of Systems Engineering >> The University of Reading >> PO Box 225 >> Whiteknights >> Reading >> RG6 6AY >> ----------------===========---------------- >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> coLinux-users mailing list >> coL...@li... >> https://lists.sourceforge.net/lists/listinfo/colinux-users >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |