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

Re: make-kpkg aendert config



On 13.07.09 22:42:46, Andreas Pakulat wrote:
> On 13.07.09 18:35:08, Sven Joachim wrote:
> > Am 13.07.2009 um 17:28 schrieb Andreas Pakulat:
> > 
> > > On 13.07.09 17:02:31, Jens Kapitza wrote:
> > >
> > > Uhm, ich hab linux-source-2.6.30 (2.6.30-1) installiert und das
> > > linux-image-2.6.30-1-amd64 hat genau diesselbe revision.
> > >
> > >> mal nach dem kopieren make menuconfig aufgerufen? oder make oldconfig?
> > >
> > > Ja, das hilft nicht, make-kpkg will trotzdem selber nochmal
> > > menuconfig/oldconfig/config/.. aufrufen und danach ist die .config
> > > anders als vorher.
> > >
> > > Was auch noch merkwuerdig ist: Mit oldconfig oder ohne das abspeichern
> > > aus menuconfig werden mir noch diverse Fragen gestellt weil anscheinend
> > > nicht alle Optionen gesetzt sind. Und wenn ich da einfach durchgehe und
> > > ueberall den Default lasse bekomme ich eine voellig andere .config
> > > heraus. Insbesondere sind auch Optionen geaendert nach denen ich nicht
> > > gefragt wurde...
> > 
> > Versuchst du, einen 64-bit Kernel auf i386 zu bauen?  Das erfordert die
> > Option --cross-compile für make-kpkg.
> 
> Uhm, jepp, jetzt wo du es sagst will ich das vmtl. (amd64 kernel auf nem
> normalen 32-Bit Userland) :) Hatte ich gar nicht dran gedacht...

Ok, das wars tatsaechlich, nach ein wenig Googlen hat folgendes
geholfen:

gcc*multilib installieren (bin nicht sicher ob das wirklich noetig ist)
DEB_HOST_ARCH=i386 make-kpkg --initrd --cross-compile - --arch=amd64
--rootcmd fakeroot --revision 2.0 kernel_image

Damit ist die .config dann gleich und das VMWare Modul baut (und der
Rechner haengt sich beim Resume vom Suspend to RAM nicht auf).

Andreas, der jetzt zusehen muss wie er VMWare mit ner neueren libstdc++
zum laufen bekommt...

-- 
You are only young once, but you can stay immature indefinitely.


Reply to: