On 2014-04-03, Ben Pfaff <b...@nicira.com> wrote: > On Thu, Apr 03, 2014 at 06:45:47PM +0000, Karol Mroz wrote: >> On 2014-04-03, Ben Pfaff <b...@nicira.com> wrote: >> > On Tue, Apr 01, 2014 at 11:15:41AM -0700, Karol Mroz wrote: >> >> I'm experiencing a problem starting openvswitch 2.1 on an openSUSE13.1 >> >> (kernel version 3.11.10) system. Specifically, ovsdb-server enters an >> >> infinite loop during logging bringup. >> > >> > What compiler did you build with? >> >> gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux) > > Hmm. > > I have a guess about the problem. I guess that one or more ovsdb > modules are being added to the linked list multiple times, which could > cause a loop. The question, then, is why is that happening? > > It might be helpful to find out whether every module is being added > multiple times, or just ovsdb-server. We could find that out by > applying a patch like this:
Interesting. When I have a moment I'll apply the patch and give it a test. Thanks for the input. > > diff --git a/lib/vlog.h b/lib/vlog.h > index 0f791af..07c4fe5 100644 > --- a/lib/vlog.h > +++ b/lib/vlog.h > @@ -93,6 +93,7 @@ extern struct list vlog_modules; > #define VLOG_DEFINE_MODULE(MODULE) \ > VLOG_DEFINE_MODULE__(MODULE) \ > OVS_CONSTRUCTOR(init_##MODULE) { \ > + printf("%s\n", #MODULE); \ > list_insert(&vlog_modules, &VLM_##MODULE.list); \ > } \ > > and then looking for duplicates, e.g. > ovsdb-server|sort|uniq -c|sort -rn|head -Karol _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev