Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
In case anyone's intrested, running a drbd setup, with one i386 node and one x86_64 node seems to work fine! /Håkan Håkan wrote: > Since i could not make drbd 8.0pre3 work in centos 4.3-x86_64, I tried > the the svn trunk Revision 2306. > This version compiles just fine, but I had to change drbdadm a bit, > otherwise it whouldn't find my eth0's adress. > Perhaps the get_ifi_info() could be written in some other way? > > anyway, here's my patch: > > --- drbdadm_main.c.old 2006-07-28 16:23:25.000000000 +0200 > +++ drbdadm_main.c 2006-07-28 16:16:20.000000000 +0200 > @@ -1233,7 +1233,8 @@ > break; > } > > - ptr += sizeof(ifr->ifr_name) + len; /* for next one in buffer */ > + //ptr += sizeof(ifr->ifr_name) + len; /* for next one in buffer */ > + ptr += sizeof(struct ifreq); > > if (ifr->ifr_addr.sa_family != family) > continue; /* ignore if not desired address family */ > > > > > best regards, > /Håkan > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > -- Håkan Berg, Wayfinder Systems AB Box 1154, SE-221 05 Lund, Sweden Phone: +46 (0)46-2882 324, Fax: +46 (0)46-2882 201