Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, I did a build for 2.6.16.60_0.27_xen x86_64 on SLES 10 SP2/xen with the current patchlevel - just as outlined in the INSTALL-file... No problem at all. I had to install the distribution kernel-source and flex to make it work. I have never seen such a clean "make" before. To build the rpms I used "make rpm" after "make clean all" - this worked as normal user - no need for root. Kind regards Nils > -----Original Message----- > From: drbd-user-bounces at lists.linbit.com > [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Lars > Ellenberg > Sent: Wednesday, September 10, 2008 6:55 PM > To: drbd-user at lists.linbit.com > Subject: Re: [DRBD-user] create rpm sles10 sp2 8.2.6 > > On Wed, Sep 10, 2008 at 03:36:30PM +0200, morbus2000 at web.de wrote: > > hello > > > > we have Problems creating RPM's for drbd 8 on sles10sp2, > drbd 8.2.6 for kernel 2.6.16.60_0.21 or 2.6.16.60_0.27. > > > > we extract the Tarball to /usr/src/drbd-8.2.6/ # cd > /usr/src/linux # > > make mrproper > > why would you make mrproper there? > without making sure that the config matches the running kernel? > > when using "stock" kernels, > it should be enough to have the "-source" and "-syms" > packages installed, and telling DRBD to > "KDIR=/usr/src/linux-bla-obj/arch/flavour" > > you should not "make" in the /usr/src/linux at all. > > if using a NON-stock (self-built) kernel, make sure you build > drbd against the exact same config as your running kernel. > > > # cd /usr/src/drbd-8.2.6/drbd > > # make clean all > > ... > > CC /usr/src/drbd-8.2.6/drbd/drbd.mod.o > > LD [M] /usr/src/drbd-8.2.6/drbd/drbd.ko > > make[1]: Leaving directory > `/usr/src/linux-2.6.16.60-0.21-obj/x86_64/smp' > > mv .drbd_kernelrelease.new .drbd_kernelrelease Memorizing module > > configuration ... done. > > >> softlink /lib/modules/2.6.16.60-0.21-smp/build to > > >> /usr/src/linux-2.6.16.60-0.21-obj/x86_64/smp > > > > # cd /usr/src/drbd-8.2.6/ > > # make rpm > > ... > > we find an ERROR "Conflicts: km_drbd" > > ... > > dist/RPMS/x86_64/drbd-8.2.6-3.x86_64.rpm > > dist/RPMS/x86_64/drbd-km-2.6.16.60_0.21_smp-8.2.6-3.x86_64.rpm > > > > when we try install package drbd-8.2.6-3.x86_64.rpm with YaST - OK. > > when we install package > drbd-km-2.6.16.60_0.21_smp-8.2.6-3.x86_64.rpm > > get ERROR "There are no installable providers of > > kernel(drivers_connector)==3fa207f05b78df64 for > > drbd-km-2.6.16.60_0.21_smp-8.2.6-3.x86_64[_krpmview_tempoary]" > > > > is this a bug? > > Can anybody help us, please? > > if that all is too much trouble, > have a look at my sig... > ;) > > -- > : Lars Ellenberg > : LINBIT HA-Solutions GmbH > : DRBD(r)/HA support and consulting http://www.linbit.com > > DRBD(r) and LINBIT(r) are registered trademarks of LINBIT > Information Technologies GmbH __ > please don't Cc me, but send to list -- I'm subscribed > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user >