Re: [LAU] Building a Debian realtime kernel

From: Tom Dunstan <gateswideopen@email-addr-hidden>
Date: Tue Jun 16 2009 - 16:24:42 EEST

hey,

just trying this method of compiling rt kernel....
i seem to be getting up to compile time
( ie time fakeroot make-kpkg --initrd -rev mz1 kernel_image kernel_headers
kernel_source )

and it all looks good til this error....

could someone help?

  CC arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.o
  LD arch/x86/kernel/cpu/cpufreq/built-in.o
  CC arch/x86/kernel/cpu/mtrr/main.o
  CC arch/x86/kernel/cpu/mtrr/if.o
  CC arch/x86/kernel/cpu/mtrr/generic.o
arch/x86/kernel/cpu/mtrr/generic.c:311: error: redefinition of ‘mtrr_debug’
arch/x86/kernel/cpu/mtrr/generic.c:38: error: previous definition of
‘mtrr_debug’ was here
arch/x86/kernel/cpu/mtrr/generic.c:316: error: redefinition of
‘__setup_str_mtrr_debug’
arch/x86/kernel/cpu/mtrr/generic.c:42: error: previous definition of
‘__setup_str_mtrr_debug’ was here
arch/x86/kernel/cpu/mtrr/generic.c:316: error: redefinition of
‘__setup_mtrr_debug’
arch/x86/kernel/cpu/mtrr/generic.c:42: error: previous definition of
‘__setup_mtrr_debug’ was here
make[4]: *** [arch/x86/kernel/cpu/mtrr/generic.o] Error 1
make[3]: *** [arch/x86/kernel/cpu/mtrr] Error 2
make[2]: *** [arch/x86/kernel/cpu] Error 2
make[1]: *** [arch/x86/kernel] Error 2
make[1]: Leaving directory `/home/tom/kernel/linux-2.6.29-source-rt'
make: *** [debian/stamp/build/kernel] Error 2

real 1m19.333s
user 0m50.659s
sys 0m12.893s

On Tue, Jun 2, 2009 at 4:51 AM, nescivi <nescivi@email-addr-hidden> wrote:

> On Monday 01 June 2009 14:04:33 Jan Weil wrote:
> > 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.
>
> ah, ok.
>
> got it all built...
> so now it's just seeing if it all works when I reboot...
> got to go now though, so more later!
>
> I updated my website/blog entry with the comments from this thread for
> future
> reference.
>
> sincerely,
> Marije
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Jun 16 20:15:02 2009

This archive was generated by hypermail 2.1.8 : Tue Jun 16 2009 - 20:15:02 EEST