xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* remus build error
@ 2010-02-05 15:37 Christoph Egger
  2010-02-05 17:08 ` Keir Fraser
  0 siblings, 1 reply; 10+ messages in thread
From: Christoph Egger @ 2010-02-05 15:37 UTC (permalink / raw)
  To: xen-devel


Hi!

Build fails on Linux when no ebtables are installed:

/xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c: In function ‘ebt_target_imq’:
/xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c:13: error: ‘struct sk_buff’ 
has no member named ‘imq_flags’

Christoph

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-05 15:37 remus build error Christoph Egger
@ 2010-02-05 17:08 ` Keir Fraser
  2010-02-05 17:12   ` Christoph Egger
  0 siblings, 1 reply; 10+ messages in thread
From: Keir Fraser @ 2010-02-05 17:08 UTC (permalink / raw)
  To: Christoph Egger, xen-devel@lists.xensource.com; +Cc: Brendan Cully

On 05/02/2010 15:37, "Christoph Egger" <Christoph.Egger@amd.com> wrote:

> 
> Hi!
> 
> Build fails on Linux when no ebtables are installed:
> 
> /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c: In function Œebt_target_imq¹:
> /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c:13: error: Œstruct sk_buff¹
> has no member named Œimq_flags¹

Brendan, can you send a fix?

 Thanks,
 Keir

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-05 17:08 ` Keir Fraser
@ 2010-02-05 17:12   ` Christoph Egger
  2010-02-05 17:34     ` Gilberto Nunes
  2010-02-09 19:04     ` Brendan Cully
  0 siblings, 2 replies; 10+ messages in thread
From: Christoph Egger @ 2010-02-05 17:12 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Brendan Cully, xen-devel@lists.xensource.com

On Friday 05 February 2010 18:08:20 Keir Fraser wrote:
> On 05/02/2010 15:37, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
> > Hi!
> >
> > Build fails on Linux when no ebtables are installed:
> >
> > /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c: In function
> > Œebt_target_imq¹: /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c:13:
> > error: Œstruct sk_buff¹ has no member named Œimq_flags¹
>
> Brendan, can you send a fix?

I found a workaround: Enable CONFIG_IMQ in the dom0 kernel config. It is 'N' 
by default. IMO, you should either document this new requirement or
enable/disable this via autodetection.

Christoph
-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-05 17:12   ` Christoph Egger
@ 2010-02-05 17:34     ` Gilberto Nunes
  2010-02-09 19:04     ` Brendan Cully
  1 sibling, 0 replies; 10+ messages in thread
From: Gilberto Nunes @ 2010-02-05 17:34 UTC (permalink / raw)
  To: Christoph Egger; +Cc: Brendan Cully, xen-devel@lists.xensource.com, Keir Fraser

Hi friends


Please Christoph... Do not forget send feedback about remus to us...
I need Fault Tolerance on my VM too and I will appreciate any tricks...

Thanks


Em Sex, 2010-02-05 às 18:12 +0100, Christoph Egger escreveu:
> On Friday 05 February 2010 18:08:20 Keir Fraser wrote:
> > On 05/02/2010 15:37, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
> > > Hi!
> > >
> > > Build fails on Linux when no ebtables are installed:
> > >
> > > /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c: In function
> > > Œebt_target_imq¹: /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c:13:
> > > error: Œstruct sk_buff¹ has no member named Œimq_flags¹
> >
> > Brendan, can you send a fix?
> 
> I found a workaround: Enable CONFIG_IMQ in the dom0 kernel config. It is 'N' 
> by default. IMO, you should either document this new requirement or
> enable/disable this via autodetection.
> 
> Christoph


Gilberto Nunes Ferreira

Suporte T.I.

Selbetti Gestão de Documentos
(47) 3441-6004 / (47) 8861-6672
Fax (47) 3441-6027
gilberto.nunes@selbetti.com.br

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-05 17:12   ` Christoph Egger
  2010-02-05 17:34     ` Gilberto Nunes
@ 2010-02-09 19:04     ` Brendan Cully
  2010-02-10  9:23       ` Keir Fraser
  1 sibling, 1 reply; 10+ messages in thread
From: Brendan Cully @ 2010-02-09 19:04 UTC (permalink / raw)
  To: Christoph Egger; +Cc: xen-devel@lists.xensource.com, Keir Fraser

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

On Friday, 05 February 2010 at 18:12, Christoph Egger wrote:
> On Friday 05 February 2010 18:08:20 Keir Fraser wrote:
> > On 05/02/2010 15:37, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
> > > Hi!
> > >
> > > Build fails on Linux when no ebtables are installed:
> > >
> > > /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c: In function
> > > Œebt_target_imq¹: /xen/xen-unstable.hg/tools/remus/kmod/ebt_imq.c:13:
> > > error: Œstruct sk_buff¹ has no member named Œimq_flags¹
> >
> > Brendan, can you send a fix?
> 
> I found a workaround: Enable CONFIG_IMQ in the dom0 kernel config. It is 'N' 
> by default. IMO, you should either document this new requirement or
> enable/disable this via autodetection.

Sorry, I was out of the country for a few days. It looks like Keir has
already made the module not build if IMQ is off. I've attached a
(untested) patch to linux-2.6.18-xen.hg to turn on IMQ by default for
Linux xen/xen0.

[-- Attachment #2: linux-imq-defconfig.patch --]
[-- Type: text/plain, Size: 2324 bytes --]

# HG changeset patch
# User Brendan Cully <brendan@cs.ubc.ca>
# Date 1265741893 28800
# Node ID 2ce70781e68fb4af933f75f4354e9e4cb8f106f4
# Parent  86d6c6417cf96cb018a35f300aa0b1709cf93d5c
Remus: turn on IMQ in xen/xen0 defconfig

This module is needed for Remus network buffering.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>

diff --git a/buildconfigs/linux-defconfig_xen0_x86_32 b/buildconfigs/linux-defconfig_xen0_x86_32
--- a/buildconfigs/linux-defconfig_xen0_x86_32
+++ b/buildconfigs/linux-defconfig_xen0_x86_32
@@ -660,6 +660,12 @@
 # CONFIG_DUMMY is not set
 # CONFIG_BONDING is not set
 # CONFIG_EQUALIZER is not set
+CONFIG_IMQ=m
+# CONFIG_IMQ_BEHAVIOR_AA is not set
+CONFIG_IMQ_BEHAVIOR_AB=y
+# CONFIG_IMQ_BEHAVIOR_BA is not set
+# CONFIG_IMQ_BEHAVIOR_BB is not set
+CONFIG_IMQ_NUM_DEVS=2
 CONFIG_TUN=y
 # CONFIG_NET_SB1000 is not set
 
diff --git a/buildconfigs/linux-defconfig_xen0_x86_64 b/buildconfigs/linux-defconfig_xen0_x86_64
--- a/buildconfigs/linux-defconfig_xen0_x86_64
+++ b/buildconfigs/linux-defconfig_xen0_x86_64
@@ -612,6 +612,12 @@
 # CONFIG_DUMMY is not set
 # CONFIG_BONDING is not set
 # CONFIG_EQUALIZER is not set
+CONFIG_IMQ=m
+# CONFIG_IMQ_BEHAVIOR_AA is not set
+CONFIG_IMQ_BEHAVIOR_AB=y
+# CONFIG_IMQ_BEHAVIOR_BA is not set
+# CONFIG_IMQ_BEHAVIOR_BB is not set
+CONFIG_IMQ_NUM_DEVS=2
 CONFIG_TUN=y
 # CONFIG_NET_SB1000 is not set
 
diff --git a/buildconfigs/linux-defconfig_xen_x86_32 b/buildconfigs/linux-defconfig_xen_x86_32
--- a/buildconfigs/linux-defconfig_xen_x86_32
+++ b/buildconfigs/linux-defconfig_xen_x86_32
@@ -1292,6 +1292,12 @@
 CONFIG_DUMMY=m
 CONFIG_BONDING=m
 CONFIG_EQUALIZER=m
+CONFIG_IMQ=m
+# CONFIG_IMQ_BEHAVIOR_AA is not set
+CONFIG_IMQ_BEHAVIOR_AB=y
+# CONFIG_IMQ_BEHAVIOR_BA is not set
+# CONFIG_IMQ_BEHAVIOR_BB is not set
+CONFIG_IMQ_NUM_DEVS=2
 CONFIG_TUN=m
 CONFIG_NET_SB1000=m
 
diff --git a/buildconfigs/linux-defconfig_xen_x86_64 b/buildconfigs/linux-defconfig_xen_x86_64
--- a/buildconfigs/linux-defconfig_xen_x86_64
+++ b/buildconfigs/linux-defconfig_xen_x86_64
@@ -1235,6 +1235,12 @@
 CONFIG_DUMMY=m
 CONFIG_BONDING=m
 CONFIG_EQUALIZER=m
+CONFIG_IMQ=m
+# CONFIG_IMQ_BEHAVIOR_AA is not set
+CONFIG_IMQ_BEHAVIOR_AB=y
+# CONFIG_IMQ_BEHAVIOR_BA is not set
+# CONFIG_IMQ_BEHAVIOR_BB is not set
+CONFIG_IMQ_NUM_DEVS=2
 CONFIG_TUN=m
 CONFIG_NET_SB1000=m
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-09 19:04     ` Brendan Cully
@ 2010-02-10  9:23       ` Keir Fraser
  2010-02-10 16:21         ` Brendan Cully
  0 siblings, 1 reply; 10+ messages in thread
From: Keir Fraser @ 2010-02-10  9:23 UTC (permalink / raw)
  To: Brendan Cully, Christoph Egger; +Cc: xen-devel@lists.xensource.com

On 09/02/2010 19:04, "Brendan Cully" <brendan@cs.ubc.ca> wrote:

>> I found a workaround: Enable CONFIG_IMQ in the dom0 kernel config. It is 'N'
>> by default. IMO, you should either document this new requirement or
>> enable/disable this via autodetection.
> 
> Sorry, I was out of the country for a few days. It looks like Keir has
> already made the module not build if IMQ is off. I've attached a
> (untested) patch to linux-2.6.18-xen.hg to turn on IMQ by default for
> Linux xen/xen0.

No hunks of that patch applied at all, to xen-unstable tip. Weird. Try
again. :-)

 -- Keir

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-10  9:23       ` Keir Fraser
@ 2010-02-10 16:21         ` Brendan Cully
  2010-02-10 16:31           ` Keir Fraser
  0 siblings, 1 reply; 10+ messages in thread
From: Brendan Cully @ 2010-02-10 16:21 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Christoph Egger, xen-devel@lists.xensource.com

On Wednesday, 10 February 2010 at 09:23, Keir Fraser wrote:
> On 09/02/2010 19:04, "Brendan Cully" <brendan@cs.ubc.ca> wrote:
> 
> >> I found a workaround: Enable CONFIG_IMQ in the dom0 kernel config. It is 'N'
> >> by default. IMO, you should either document this new requirement or
> >> enable/disable this via autodetection.
> > 
> > Sorry, I was out of the country for a few days. It looks like Keir has
> > already made the module not build if IMQ is off. I've attached a
> > (untested) patch to linux-2.6.18-xen.hg to turn on IMQ by default for
> > Linux xen/xen0.
> 
> No hunks of that patch applied at all, to xen-unstable tip. Weird. Try
> again. :-)

It was against linux-2.6.18-xen, not xen-unstable.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-10 16:21         ` Brendan Cully
@ 2010-02-10 16:31           ` Keir Fraser
  2010-02-11 20:13             ` Brendan Cully
  0 siblings, 1 reply; 10+ messages in thread
From: Keir Fraser @ 2010-02-10 16:31 UTC (permalink / raw)
  To: Brendan Cully; +Cc: Christoph Egger, xen-devel@lists.xensource.com

On 10/02/2010 16:21, "Brendan Cully" <brendan@cs.ubc.ca> wrote:

>>> Sorry, I was out of the country for a few days. It looks like Keir has
>>> already made the module not build if IMQ is off. I've attached a
>>> (untested) patch to linux-2.6.18-xen.hg to turn on IMQ by default for
>>> Linux xen/xen0.
>> 
>> No hunks of that patch applied at all, to xen-unstable tip. Weird. Try
>> again. :-)
> 
> It was against linux-2.6.18-xen, not xen-unstable.

Argh.

 -- Keir

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-10 16:31           ` Keir Fraser
@ 2010-02-11 20:13             ` Brendan Cully
  2010-02-11 22:44               ` Keir Fraser
  0 siblings, 1 reply; 10+ messages in thread
From: Brendan Cully @ 2010-02-11 20:13 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Christoph Egger, xen-devel@lists.xensource.com

On Wednesday, 10 February 2010 at 16:31, Keir Fraser wrote:
> On 10/02/2010 16:21, "Brendan Cully" <brendan@cs.ubc.ca> wrote:
> 
> >>> Sorry, I was out of the country for a few days. It looks like Keir has
> >>> already made the module not build if IMQ is off. I've attached a
> >>> (untested) patch to linux-2.6.18-xen.hg to turn on IMQ by default for
> >>> Linux xen/xen0.
> >> 
> >> No hunks of that patch applied at all, to xen-unstable tip. Weird. Try
> >> again. :-)
> > 
> > It was against linux-2.6.18-xen, not xen-unstable.
> 
> Argh.

Does that mean you'd prefer a patch to buildconfigs/enable-xen-config
in xen-unstable? It wasn't clear to me which was better.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: remus build error
  2010-02-11 20:13             ` Brendan Cully
@ 2010-02-11 22:44               ` Keir Fraser
  0 siblings, 0 replies; 10+ messages in thread
From: Keir Fraser @ 2010-02-11 22:44 UTC (permalink / raw)
  To: Brendan Cully; +Cc: Christoph Egger, xen-devel@lists.xensource.com

On 11/02/2010 20:13, "Brendan Cully" <brendan@cs.ubc.ca> wrote:

>>>> No hunks of that patch applied at all, to xen-unstable tip. Weird. Try
>>>> again. :-)
>>> 
>>> It was against linux-2.6.18-xen, not xen-unstable.
>> 
>> Argh.
> 
> Does that mean you'd prefer a patch to buildconfigs/enable-xen-config
> in xen-unstable? It wasn't clear to me which was better.

It means I totally missed that the patch applied to the Linux repo, even
though your original email stated it. I did expect a patch to
enable-xen-config, but I don't much mind either way. I applied your original
patch now, anyway.

 -- Keir

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-11 22:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 15:37 remus build error Christoph Egger
2010-02-05 17:08 ` Keir Fraser
2010-02-05 17:12   ` Christoph Egger
2010-02-05 17:34     ` Gilberto Nunes
2010-02-09 19:04     ` Brendan Cully
2010-02-10  9:23       ` Keir Fraser
2010-02-10 16:21         ` Brendan Cully
2010-02-10 16:31           ` Keir Fraser
2010-02-11 20:13             ` Brendan Cully
2010-02-11 22:44               ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).