Skip to contentSkip to conversation

remus build error

DISCUSSION Christoph Egger 4 participants 10 messages Feb 5, 2010 – Feb 11, 2010

lore
Share & tools
lore
#0 lore raw

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

Signature · 6 lines
---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
#1 lore raw
Quoted 8 lines · Christoph Egger

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

#2 lore raw
Quoted 10 lines · On Friday 05 February 2010 18:08:20 Keir Fraser wrote:
Quoted 7 lines · Christoph Egger

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

Signature · 6 lines
---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
#3 lore raw

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:

Quoted 10 lines · On Friday 05 February 2010 18:08:20 Keir Fraser wrote:
Quoted 9 lines · Christoph Egger
Quoted 7 lines

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¹

Quoted 7 lines
Quoted 1 line

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
[email protected]

#4 lore raw
In reply to Christoph Egger
Quoted 10 lines · Christoph Egger
Quoted 9 lines · On Friday 05 February 2010 18:08:20 Keir Fraser wrote:
Quoted 7 lines · Christoph Egger

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¹

Quoted 5 lines
Quoted 1 line

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.

# HG changeset patch
# User Brendan Cully <[email protected]>
# Date 1265741893 28800
# Node ID 2ce70781e68fb4af933f75f4354e9e4cb8f106f4 # Parent 86d6c6417cf96cb018a35f300aa0b1709cf93d5c
Remus: turn on IMQ in xen/xen0 defconfig

This module is needed for Remus network buffering.

buildconfigs/linux-defconfig_xen0_x86_32 +6 -0
@@ -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
 
buildconfigs/linux-defconfig_xen0_x86_64 +6 -0
@@ -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
 
buildconfigs/linux-defconfig_xen_x86_32 +6 -0
@@ -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
 
buildconfigs/linux-defconfig_xen_x86_64 +6 -0
@@ -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
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 8 lines · Brendan Cully
Quoted 3 lines

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

#6 lore raw
Quoted 6 lines · Keir Fraser
Quoted 4 lines · Brendan Cully
Quoted 3 lines

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.

Quoted 7 lines
Quoted 4 lines

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.

#7 lore raw
Quoted 9 lines · Brendan Cully
Quoted 7 lines
Quoted 4 lines

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

#8 lore raw
Quoted 7 lines · Keir Fraser
Quoted 5 lines · Brendan Cully
Quoted 5 lines
Quoted 4 lines

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.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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.

#9 lore raw
Quoted 9 lines · Brendan Cully
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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