Re: How to get a patched kernel into anaconda?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 07, 2008 at 04:04:28PM +0200, Anders Karlsson wrote:
> * Erik P. Olsen <epodata@xxxxxxxxx> [20080907 15:10]:
> > This is all new land for me, so bear with me if the answer is trivial.
> > 
> > I have patched kernel 2.6.23.1-42.fc8 (actually sata_mv.c) to support my sta
> > disk controller. It works correctly, I can attach my disks make directories and
> > store data on them and even retrieve the data. So from that perspective
> > everything is fine.
> > 
> > The next thing I want to do is to boot from the disks and create my system on
> > them. That means as far as I can see that anaconda must use the patched kernel.
> > Is there a way to load this kernel during start of anaconda or can I create a
> > new install dvd with the kernel added?
> > 
> > Can someone help me with this?
> 
> This sounds like you are in the territory of
> http://driverupdateprogram.com and using driver update disks. With
> that, you could build your patched driver out-of-tree, and supply that
> on a driver disk (boot the installer with "linux dd") to use during
> installation.
> 
> Benefit of doing it this way is that you don't have to recompile the
> whole kernel. The problem I can see is that when you after
> installation update your system, the new kernel that will get pulled
> in may not provide the driver functionality that you need to drive the
> disks, so you may end up requiring to build kmod packages for every
> new kernel until the driver patch is accepted upstream and/or makes it
> in to the Fedora kernel.

DKMS can be used to generate driver disks which you can then load into
anaconda, and can generate RPMs which can be rebuilt as you update
your kernel.  Conveniently, DKMS is also included in Fedora. :-)

See http://linux.dell.com/dkms/dkms.html for documentation, and 'yum
install dkms' to begin using it.

Thanks,
Matt
(former DKMS upstream maintainer)

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux