Skip to contentSkip to conversation

2291: regressions - trouble: blocked/fail

linux test xen.org 3 participants 3 messages Sep 30, 2010 – Oct 1, 2010 x86

lore
Share & tools
lore

xen.org

author
#0 lore raw

flight 2291 linux real
http://www.chiark.greenend.org.uk/~xensrcts/logs/2291/

Regressions :-(

tests which did not succeed:

 build-amd64                   3 xen-build                  fail REGR. vs. 2279
 build-i386                    3 xen-build                  fail REGR. vs. 2279
 test-amd64-amd64-pair         1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-pv           1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-win          1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl           1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-pair          1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-pv            1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-win           1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl            1 xen-build-check(1)           blocked  n/a
 test-i386-i386-pair           1 xen-build-check(1)           blocked  n/a
 test-i386-i386-pv             1 xen-build-check(1)           blocked  n/a
 test-i386-i386-win            1 xen-build-check(1)           blocked  n/a
 test-i386-i386-xl             1 xen-build-check(1)           blocked  n/a

version targeted for testing:
linux 2335481c107f9336bf276d6ea2ab3aebffb48c06
baseline version:
linux 41a85de5caef68bbd58e11ed7b781b7867d96eaa

jobs:

 build-amd64                  fail     
 build-i386                   fail     
 test-amd64-amd64-xl          blocked  
 test-amd64-i386-xl           blocked  
 test-i386-i386-xl            blocked  
 test-amd64-amd64-pair        blocked  
 test-amd64-i386-pair         blocked  
 test-i386-i386-pair          blocked  
 test-amd64-amd64-pv          blocked  
 test-amd64-i386-pv           blocked  
 test-i386-i386-pv            blocked  
 test-amd64-amd64-win         blocked  
 test-amd64-i386-win          blocked  
 test-i386-i386-win           blocked  

-------------------------------------------------------------------------------
build-amd64:

 1 host-install(1)              pass     
 2 host-build-prep              pass     
 3 xen-build                    fail     
 linux           2335481c107f9336bf27
 qemu            f95d202ed6444dacb15f
 xen             22155:5393151a737b
-------------------------------------------------------------------------------
build-i386:
 1 host-install(1)              pass     
 2 host-build-prep              pass     
 3 xen-build                    fail     
 linux           2335481c107f9336bf27
 qemu            f95d202ed6444dacb15f
 xen             22155:5393151a737b

-------------------------------------------------------------------------------
test-amd64-amd64-xl:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-i386-xl:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-i386-i386-xl:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-amd64-pair:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-i386-pair:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-i386-i386-pair:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-amd64-pv:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-i386-pv:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-i386-i386-pv:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-amd64-win:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-amd64-i386-win:
1 xen-build-check(1) blocked
-------------------------------------------------------------------------------
test-i386-i386-win:
1 xen-build-check(1) blocked

------------------------------------------------------------
sg-report-flight on woking.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary

Not pushing.

#1 lore raw
Quoted 8 lines · xen.org

flight 2291 linux real
http://www.chiark.greenend.org.uk/~xensrcts/logs/2291/

Regressions :-(

tests which did not succeed:

 build-amd64                   3 xen-build                  fail REGR. vs. 2279
 build-i386                    3 xen-build                  fail REGR. vs. 2279

In file included
from /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/kernel/early_printk.c:18:
/home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h: In function 'pgd_set_mm':
/home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: implicit declaration of function '__pfn_to_section' /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: warning: initialization makes pointer from integer without a cast /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: implicit declaration of function '__section_mem_map_addr' /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: invalid type argument of '->' (have 'long unsigned int') /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: bit-field '<anonymous>' width not an integer constant /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:33: warning: initialization makes pointer from integer without a cast /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:33: error: invalid type argument of '->' (have 'long unsigned int') make[7]: *** [arch/x86/kernel/early_printk.o] Error 1
make[6]: *** [arch/x86/kernel] Error 2
make[5]: *** [arch/x86] Error 2
make[5]: *** Waiting for unfinished jobs....

I think this comes from b2464c422fb44275deeb5770b668351860f68e0e.

In my 32 bit environment I get this instead:
CC arch/x86/kernel/early_printk.o
In file included from /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/kernel/early_printk.c:18:
/local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h: In function 'pgd_set_mm':
/local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: 'mem_map' undeclared (first use in this function) /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: (Each undeclared identifier is reported only once /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: for each function it appears in.) /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: bit-field '<anonymous>' width not an integer constant make[2]: *** [arch/x86/kernel/early_printk.o] Error 1
make[1]: *** [arch/x86/kernel/early_printk.o] Error 2

mem_map and __pfn_to_section are both in linux/mmzone.h so the patch below fixes my issue and I suspect fixes the original too. Possibly we should be including <linux/mm.h> instead of mmzone and mm_types?

arch/x86/include/asm/pgtable.h +1 -0
index c68e3ca..77a9766 100644
@@ -15,6 +15,7 @@
 	 : (prot))
 
 #ifndef __ASSEMBLY__
+#include <linux/mmzone.h>
 #include <linux/mm_types.h>
 
 /*
#2 lore raw
Quoted 24 lines · Ian Campbell
Quoted 8 lines · xen.org

flight 2291 linux real
http://www.chiark.greenend.org.uk/~xensrcts/logs/2291/

Regressions :-(

tests which did not succeed:

 build-amd64                   3 xen-build                  fail REGR. vs. 2279
 build-i386                    3 xen-build                  fail REGR. vs. 2279

In file included
from /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/kernel/early_printk.c:18:
/home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h: In function 'pgd_set_mm':
/home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: implicit declaration of function '__pfn_to_section' /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: warning: initialization makes pointer from integer without a cast /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: implicit declaration of function '__section_mem_map_addr' /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: invalid type argument of '->' (have 'long unsigned int') /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:32: error: bit-field '<anonymous>' width not an integer constant /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:33: warning: initialization makes pointer from integer without a cast /home/osstest/build.2291.build-amd64/xen-unstable/linux-2.6-pvops.git/arch/x86/include/asm/pgtable.h:33: error: invalid type argument of '->' (have 'long unsigned int') make[7]: *** [arch/x86/kernel/early_printk.o] Error 1
make[6]: *** [arch/x86/kernel] Error 2
make[5]: *** [arch/x86] Error 2
make[5]: *** Waiting for unfinished jobs....

Quoted 2 lines

I think this comes from b2464c422fb44275deeb5770b668351860f68e0e.

Yes. Works for me, needless to say. I'm guessing you have NUMA and/or hotplug memory config options enabled which I don't?

Quoted 11 lines

In my 32 bit environment I get this instead:
CC arch/x86/kernel/early_printk.o
In file included from /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/kernel/early_printk.c:18:
/local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h: In function 'pgd_set_mm':
/local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: 'mem_map' undeclared (first use in this function) /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: (Each undeclared identifier is reported only once /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: for each function it appears in.) /local/scratch/ianc/devel/kernels/linux-2.6/arch/x86/include/asm/pgtable.h:32: error: bit-field '<anonymous>' width not an integer constant make[2]: *** [arch/x86/kernel/early_printk.o] Error 1
make[1]: *** [arch/x86/kernel/early_printk.o] Error 2

Quoted 3 lines

mem_map and __pfn_to_section are both in linux/mmzone.h so the patch below fixes my issue and I suspect fixes the original too. Possibly we should be including <linux/mm.h> instead of mmzone and mm_types?

I think there's a very strong risk of getting a cyclic #include dependency. Even mmzone.h is quite risky.

I think the simplest fix is to just pull them out of line. They're hardly performance critical. The alternative would be to keep using inlines but in the single file where each is used. But I'd prefer to keep them together as a matched pair for maintenance's sake.

J

Quoted 14 lines
arch/x86/include/asm/pgtable.h +1 -0
index c68e3ca..77a9766 100644
@@ -15,6 +15,7 @@
 	 : (prot))
 
 #ifndef __ASSEMBLY__
+#include <linux/mmzone.h>
 #include <linux/mm_types.h>
 
 /*