Skip to contentSkip to conversation

18128: regressions - FAIL

xen-unstable test xen.org 3 participants 5 messages Jun 15, 2013 – Jun 16, 2013

lore
Share & tools
lore

xen.org

author
#0 lore raw

flight 18128 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/18128/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-armhf 4 xen-build fail REGR. vs. 18121

Tests which did not succeed, but are not blocking:
test-amd64-amd64-xl-pcipt-intel 9 guest-start fail never pass
test-amd64-i386-xend-winxpsp3 16 leak-check/check fail never pass

 test-amd64-amd64-xl-qemut-win7-amd64 13 guest-stop             fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 13 guest-stop               fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 13 guest-stop             fail never pass
 test-amd64-i386-xl-win7-amd64 13 guest-stop                   fail  never pass
 test-amd64-amd64-xl-win7-amd64 13 guest-stop                   fail never pass
 test-amd64-i386-xl-qemut-win7-amd64 13 guest-stop              fail never pass
 test-amd64-amd64-xl-winxpsp3 13 guest-stop                   fail   never pass
 test-amd64-amd64-xl-qemut-winxpsp3 13 guest-stop               fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 13 guest-stop               fail never pass
 test-amd64-i386-xend-qemut-winxpsp3 16 leak-check/check        fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 13 guest-stop         fail never pass

version targeted for testing:
xen 82cb4113b6ace16de192021de20f6cbd991e478f
baseline version:
xen 2caac1caa19bdaeb9ab14b2baf1342e00c4d0495

------------------------------------------------------------
People who touched revisions under test:
George Dunlap <[email protected]>
Ian Campbell <[email protected]>
Ian Jackson <[email protected]>
Matthew Daley <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64                                                  pass    
 build-armhf                                                  fail    
 build-i386                                                   pass    
 build-amd64-oldkern                                          pass    
 build-i386-oldkern                                           pass    
 build-amd64-pvops                                            pass    
 build-i386-pvops                                             pass    
 test-amd64-amd64-xl                                          pass    
 test-amd64-i386-xl                                           pass    
 test-amd64-i386-rhel6hvm-amd                                 pass    
 test-amd64-i386-qemut-rhel6hvm-amd                           pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemut-win7-amd64                         fail    
 test-amd64-i386-xl-qemut-win7-amd64                          fail    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-amd64-xl-win7-amd64                               fail    
 test-amd64-i386-xl-win7-amd64                                fail    
 test-amd64-i386-xl-credit2                                   pass    
 test-amd64-amd64-xl-pcipt-intel                              fail    
 test-amd64-i386-rhel6hvm-intel                               pass    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-i386-xl-multivcpu                                 pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-winxpsp3-vcpus1                           fail    
 test-amd64-i386-xend-qemut-winxpsp3                          fail    
 test-amd64-amd64-xl-qemut-winxpsp3                           fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           fail    
 test-amd64-i386-xend-winxpsp3                                fail    
 test-amd64-amd64-xl-winxpsp3                                 fail    

------------------------------------------------------------
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.

(No revision log; it would be 928 lines long.)

#1 lore raw
Quoted 8 lines · xen.org

flight 18128 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/18128/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-armhf 4 xen-build fail REGR. vs. 18121

kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

The bisector has separately fingered ed65808a8ed4 "libelf: check all pointer accesses".

8<-----------------------

Quoted 1 line

From d1b3125b7e4d9ad3b1d8bb78781dd95fc2af2fee Mon Sep 17 00:00:00 2001

From: Ian Campbell <[email protected]>
Date: Sat, 15 Jun 2013 09:30:47 +0100
Subject: [PATCH] xen: arm: fix build after libelf changes.

ed65808a8ed4 "libelf: check all pointer accesses" caused:
kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

The field is now called dest_base. We also need to populate dest_size.

This fixes the build for me although have not tested it. I have a feeling that loading the kernel from an ELF file on ARM doesn't currently work anyway (everyone uses the zImage loader as far as I am aware).

---
 xen/arch/arm/kernel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
xen/arch/arm/kernel.c +3 -1
index 43cf2ab..aba5441 100644
@@ -159,7 +159,9 @@ static int kernel_try_zimage_prepare(struct kernel_info *info,
 static void kernel_elf_load(struct kernel_info *info)
 {
     printk("Loading ELF image into guest memory\n");
-    info->elf.elf.dest = (void*)(unsigned long)info->elf.parms.virt_kstart;
+    info->elf.elf.dest_base = (void*)(unsigned long)info->elf.parms.virt_kstart;
+    info->elf.elf.dest_size =
+         info->elf.parms.virt_kend - info->elf.parms.virt_kstart;
     elf_load_binary(&info->elf.elf);
 
     printk("Free temporary kernel buffer\n");
Signature · 1 line
1.7.2.5
Reviewed-by
#2 lore raw
Quoted 28 lines · Ian Campbell
Quoted 8 lines · xen.org

flight 18128 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/18128/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-armhf 4 xen-build fail REGR. vs. 18121

kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

The bisector has separately fingered ed65808a8ed4 "libelf: check all pointer accesses".

8<-----------------------

From d1b3125b7e4d9ad3b1d8bb78781dd95fc2af2fee Mon Sep 17 00:00:00 2001
From: Ian Campbell <[email protected]>
Date: Sat, 15 Jun 2013 09:30:47 +0100
Subject: [PATCH] xen: arm: fix build after libelf changes.

ed65808a8ed4 "libelf: check all pointer accesses" caused:
kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

Quoted 7 lines

The field is now called dest_base. We also need to populate dest_size.

This fixes the build for me although have not tested it. I have a feeling that loading the kernel from an ELF file on ARM doesn't currently work anyway (everyone uses the zImage loader as far as I am aware).

Although it might perhaps be better to fail kernel_elf_load() with panic("Not implemented yet") if it really has never been tried. It is likely to be less subtle than what actually does break.

Quoted 23 lines
---
 xen/arch/arm/kernel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
xen/arch/arm/kernel.c +3 -1
index 43cf2ab..aba5441 100644
@@ -159,7 +159,9 @@ static int kernel_try_zimage_prepare(struct kernel_info *info,
 static void kernel_elf_load(struct kernel_info *info)
 {
     printk("Loading ELF image into guest memory\n");
-    info->elf.elf.dest = (void*)(unsigned long)info->elf.parms.virt_kstart;
+    info->elf.elf.dest_base = (void*)(unsigned long)info->elf.parms.virt_kstart;
+    info->elf.elf.dest_size =
+         info->elf.parms.virt_kend - info->elf.parms.virt_kstart;
     elf_load_binary(&info->elf.elf);
 
     printk("Free temporary kernel buffer\n");
#3 lore raw
Quoted 31 lines · Andrew Cooper
Quoted 30 lines · Ian Campbell
Quoted 8 lines · xen.org

flight 18128 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/18128/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-armhf 4 xen-build fail REGR. vs. 18121

kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

The bisector has separately fingered ed65808a8ed4 "libelf: check all pointer accesses".

8<-----------------------

From d1b3125b7e4d9ad3b1d8bb78781dd95fc2af2fee Mon Sep 17 00:00:00 2001
From: Ian Campbell <[email protected]>
Date: Sat, 15 Jun 2013 09:30:47 +0100
Subject: [PATCH] xen: arm: fix build after libelf changes.

ed65808a8ed4 "libelf: check all pointer accesses" caused:
kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

The field is now called dest_base. We also need to populate dest_size.

Quoted 7 lines
Quoted 5 lines

This fixes the build for me although have not tested it. I have a feeling that loading the kernel from an ELF file on ARM doesn't currently work anyway (everyone uses the zImage loader as far as I am aware).

Thanks.

Quoted 3 lines

Although it might perhaps be better to fail kernel_elf_load() with panic("Not implemented yet") if it really has never been tried. It is likely to be less subtle than what actually does break.

It did used to work, we used it before we got zImage support, and I don't know for sure its broken, I just suspect it is.

We should probably just rip it out at some point, but for now lets just get the build error fixed.

Quoted 25 lines
Quoted 24 lines
---
 xen/arch/arm/kernel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
xen/arch/arm/kernel.c +3 -1
index 43cf2ab..aba5441 100644
@@ -159,7 +159,9 @@ static int kernel_try_zimage_prepare(struct kernel_info *info,
 static void kernel_elf_load(struct kernel_info *info)
 {
     printk("Loading ELF image into guest memory\n");
-    info->elf.elf.dest = (void*)(unsigned long)info->elf.parms.virt_kstart;
+    info->elf.elf.dest_base = (void*)(unsigned long)info->elf.parms.virt_kstart;
+    info->elf.elf.dest_size =
+         info->elf.parms.virt_kend - info->elf.parms.virt_kstart;
     elf_load_binary(&info->elf.elf);
 
     printk("Free temporary kernel buffer\n");
#4 lore raw
In reply to Andrew Cooper
Quoted 12 lines · Andrew Cooper
Quoted 12 lines

From d1b3125b7e4d9ad3b1d8bb78781dd95fc2af2fee Mon Sep 17 00:00:00 2001
From: Ian Campbell <[email protected]>
Date: Sat, 15 Jun 2013 09:30:47 +0100
Subject: [PATCH] xen: arm: fix build after libelf changes.

ed65808a8ed4 "libelf: check all pointer accesses" caused:
kernel.c: In function 'kernel_elf_load':
kernel.c:162:18: error: 'struct elf_binary' has no member named 'dest' make[4]: *** [kernel.o] Error 1

The field is now called dest_base. We also need to populate dest_size.

Quoted 7 lines
Quoted 5 lines

This fixes the build for me although have not tested it. I have a feeling that loading the kernel from an ELF file on ARM doesn't currently work anyway (everyone uses the zImage loader as far as I am aware).

In the interests of getting a test push I've stuck this into the tree with your review, since it's an area which you are currently rather familiar.

Thanks!

Ian.