My problem is this, I want to make sure my kernel for LFS has support for the SIL3114 (Silicon Image 3114) SATA controller built in. Every distribution I've tried so far doesn't recognize my controller on install. So I'm making my own
Using the book, I downloaded kernel 2.4.24. Now, the patch I need is 2.4.24-pre2-libata1.patch (which I downloaded)
So, twofold question, first, should this patch work correctly? (i.e.
Code:
patch -p1 < ../2.4.24-pre2-libata1.patch
and even though the kernel isn't "pre2"...will it still patch o.k.?)
Second, will this mess with the kernel in a negative way??? i.e. for purposes of LFS should I just leave it "as is"?
If I CAN patch it, should it be before or after
Code:
make mrproper
make include/linux/version.h
make symlinks
mkdir /tools/include/asm
cp include/asm/* /tools/include/asm
cp -R include/asm-generic /tools/include
cp -R include/linux /tools/include
touch /tools/include/linux/autoconf.h
I usually am cool with "trial and error" but this is quite a project to get all the way through to experience the bitter taste of frustration.
[EDIT] Quick update...I Decided to live life dangerously and I patched the kernel - no errors so.... Cross fingers, anyway here is a list of files that were patched, so I'm ASSUMING (heh) that nothing will be different
patching file Documentation/DocBook/Makefile
patching file Documentation/DocBook/libata.tmpl
patching file drivers/ide/pci/piix.c
patching file drivers/pci/quirks.c
patching file drivers/scsi/Config.in
patching file drivers/scsi/Makefile
patching file drivers/scsi/ata_piix.c
patching file drivers/scsi/libata-core.c
patching file drivers/scsi/libata-scsi.c
patching file drivers/scsi/libata.h
patching file drivers/scsi/sata_promise.c
patching file drivers/scsi/sata_sil.c
patching file drivers/scsi/sata_svw.c
patching file drivers/scsi/sata_via.c
patching file include/linux/ata.h
patching file include/linux/ioport.h
patching file include/linux/libata.h
patching file kernel/ksyms.c
patching file kernel/resource.c
Am I on the right track in assuming this? and will make mrproper kill all this (I'm thinking no but...)
[/end edit @4:21]