[LAU] Building a Debian realtime kernel

Jan Weil jan.weil at web.de
Mon Jun 1 14:04:33 EDT 2009


On Mon, Jun 01, 2009 at 01:51:41PM -0400, nescivi wrote:
> On Monday 01 June 2009 13:43:22 Jan Weil wrote:
> > On Mon, Jun 01, 2009 at 01:26:21PM -0400, nescivi wrote:
> > > On Monday 01 June 2009 11:16:35 Jan Weil wrote:
> > > > On Mon, Jun 01, 2009 at 11:03:49AM -0400, nescivi wrote:
> > > > > some more on this...
> > > > > I had a problem using my RME Multiface with this kernel... It saw the
> > > > > PCMCIA card, but not the device. Tried my basic 2.6.29 kernel, that
> > > > > one had the same problem.
> > > > > 2.6.26 had no problem with it.
> > > >
> > > > yup, been there. Does this
> > > > <http://www.nabble.com/kernel-2.6.29-rc6-no-working-rme-multiface-1-td2
> > > >2280 851.html> <http://article.gmane.org/gmane.linux.alsa.devel/60411>
> > > > help?
> > >
> > > Probably :)
> > > I don't need to rebuild the whole kernel for this, right?
> >
> > Yes, if you built snd-hdsp as a module. Until recently, you would have
> > had to call 'make-kpkg clean' after patching, i.e., recompile the entire
> > kernel, which was a real PITA. Fortunately, this is no longer needed. A
> > long overdue change in my opinion.
> 
> So which command do I use?

Just call make-kpkg again as before, something like

fakeroot make-kpkg --initrd --revision XYZ kernel_image

The kernel Makefile will catch your changes and only recompile what is
needed. If I understand correctly, the debian sub-directory will be
recreated on the fly. It should be safe to remove it, though, if the
above does not work out. dpkg will yell out some warnings when you
install the newly built version as it is not able to determine new
module dependencies. In this case, just recompiling a single module,
there shouldn't be a problem.



More information about the Linux-audio-user mailing list