Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread David Howells
Okay, I managed to run the job script for about 6 hours, but saw no problems.
I'm guessing it's one of those things that you have to hit just right.

I've updated my mount-api and fsinfo branches to remove the "shortcut" code
from mqueue_get_tree() and just rely on vfs_get_super() finding a duplicate
superblock.

I'll ask Al to pull it tomorrow if I can work out solutions to Stephen's
issues with building the sample programs.

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread David Howells
Okay, I managed to run the job script for about 6 hours, but saw no problems.
I'm guessing it's one of those things that you have to hit just right.

I've updated my mount-api and fsinfo branches to remove the "shortcut" code
from mqueue_get_tree() and just rely on vfs_get_super() finding a duplicate
superblock.

I'll ask Al to pull it tomorrow if I can work out solutions to Stephen's
issues with building the sample programs.

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread Li Zhijian



On 9/18/2018 6:20 PM, David Howells wrote:

Li Zhijian  wrote:


this is not expected.
could you list/home/dhowells/.lkp/cache

final_initrd  initrd-concatenated  lkp/  lkp-x86_64-ad88cb1a437a_.cgz  osimage/

Note that ~/.lkp is a symlink to somewhere that I don't mind clobbering.

Does this assume that I'm running on some particular OS other than Fedora?


sorry, i cannot reproduce your issue on debian and ubuntu

1. please type following command to verify the lkp-src
$ gzip -dc /home/dhowells/.lkp/cache/lkp-x86_64-ad88cb1a437a_.cgz | cpio -t

it should have something like
lizhijian@ivb44:~$ gzip -dc .lkp/cache/lkp-x86_64-ebf5822e1818_.cgz | cpio -t | 
head
lkp
lkp/lkp
lkp/lkp/src
lkp/lkp/src/COPYING
lkp/lkp/src/Gemfile
lkp/lkp/src/Makefile
lkp/lkp/src/README.md
lkp/lkp/src/Rakefile
lkp/lkp/src/_config.yml
lkp/lkp/src/allot

2. remove this file and try again with following changes
lizhijian@ivb44:/lkp-qemu/lkp-tests$ git diff
diff --git a/pack/lkp-src b/pack/lkp-src
index 793084cb..ca8717e9 100755
--- a/pack/lkp-src
+++ b/pack/lkp-src
@@ -1,5 +1,5 @@
 #!/bin/bash
-
+set -x
 LKP_SRC=${LKP_SRC:-/lkp/$USER/src}
 export ARCH=${arch:-x86_64}
 LKP_USER=${LKP_USER:-$USER}



Thanks
 



David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread Li Zhijian



On 9/18/2018 6:20 PM, David Howells wrote:

Li Zhijian  wrote:


this is not expected.
could you list/home/dhowells/.lkp/cache

final_initrd  initrd-concatenated  lkp/  lkp-x86_64-ad88cb1a437a_.cgz  osimage/

Note that ~/.lkp is a symlink to somewhere that I don't mind clobbering.

Does this assume that I'm running on some particular OS other than Fedora?


sorry, i cannot reproduce your issue on debian and ubuntu

1. please type following command to verify the lkp-src
$ gzip -dc /home/dhowells/.lkp/cache/lkp-x86_64-ad88cb1a437a_.cgz | cpio -t

it should have something like
lizhijian@ivb44:~$ gzip -dc .lkp/cache/lkp-x86_64-ebf5822e1818_.cgz | cpio -t | 
head
lkp
lkp/lkp
lkp/lkp/src
lkp/lkp/src/COPYING
lkp/lkp/src/Gemfile
lkp/lkp/src/Makefile
lkp/lkp/src/README.md
lkp/lkp/src/Rakefile
lkp/lkp/src/_config.yml
lkp/lkp/src/allot

2. remove this file and try again with following changes
lizhijian@ivb44:/lkp-qemu/lkp-tests$ git diff
diff --git a/pack/lkp-src b/pack/lkp-src
index 793084cb..ca8717e9 100755
--- a/pack/lkp-src
+++ b/pack/lkp-src
@@ -1,5 +1,5 @@
 #!/bin/bash
-
+set -x
 LKP_SRC=${LKP_SRC:-/lkp/$USER/src}
 export ARCH=${arch:-x86_64}
 LKP_USER=${LKP_USER:-$USER}



Thanks
 



David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread David Howells
Li Zhijian  wrote:

> this is not expected.
> could you list/home/dhowells/.lkp/cache

final_initrd  initrd-concatenated  lkp/  lkp-x86_64-ad88cb1a437a_.cgz  osimage/

Note that ~/.lkp is a symlink to somewhere that I don't mind clobbering.

Does this assume that I'm running on some particular OS other than Fedora?

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread David Howells
Li Zhijian  wrote:

> this is not expected.
> could you list/home/dhowells/.lkp/cache

final_initrd  initrd-concatenated  lkp/  lkp-x86_64-ad88cb1a437a_.cgz  osimage/

Note that ~/.lkp is a symlink to somewhere that I don't mind clobbering.

Does this assume that I'm running on some particular OS other than Fedora?

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread Li Zhijian



On 9/18/2018 3:23 PM, David Howells wrote:

Still not sure what I'm meant to be seeing.  Note that there are a number of
"Not found" and "No such file or directory" errors appearing.

I've attached the console log for you.

David
---
warthog>sudo bin/lkp qemu -k /data/fs/linux-next/build2/arch/x86/boot/bzImage 
job-script
make: Entering directory '/data/lkp-tests/bin/event'
gcc-c -o wakeup.o wakeup.c
gcc  -static -o wakeup wakeup.o
rm -f wakeup.o
strip wakeup
make: Leaving directory '/data/lkp-tests/bin/event'
cpio: Cannot open/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or 
directory
cpio: Cannot open/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or 
directory
cpio: Cannot open/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or 
directory
gzip:/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or directory
mv: cannot stat '/home/dhowells/.lkp/cache/lkp-x86_64.cpio.gz': No such file or 
directory
mv: cannot stat '/home/dhowells/.lkp/cache/lkp-x86_64.cgz': No such file or 
directory


this is not expected.
could you list/home/dhowells/.lkp/cache

looks something wrong at below function
lizhijian@haswell-OptiPlex-9020:~/lkp-tests$ vim lkp-exec/qemu +230
230 create_lkp_src_initrd()
231 {
232 if [[ "$kconfig" =~ ^(i386|x86_64)- ]]; then
233 local arch=${kconfig%%-*}
234 else
235 local arch=$(arch)
236 fi
237
238 if [ -d $LKP_SRC/.git ]; then
239 local head_commit=$(cd $LKP_SRC && git rev-list -n1 HEAD)
240 local diff_id=$(cd $LKP_SRC && git diff | git patch-id | 
cut -f1 -d' ')
241 local src_sig=${head_commit:0:12}_${diff_id:0:12}
242 else
243 local src_sig=$(ls -lR $LKP_SRC|md5sum|cut -c1-12)
244 fi
245 lkp_initrd=$CACHE_DIR/lkp-$arch-$src_sig.cgz
246 [[ -f $lkp_initrd ]] || {
247 LKP_USER=$user \
248 $LKP_SRC/sbin/pack -f -a $arch lkp-src
249 mv $CACHE_DIR/lkp-$arch.cgz $lkp_initrd
250 }
251 }


Thanks



Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread Li Zhijian



On 9/18/2018 3:23 PM, David Howells wrote:

Still not sure what I'm meant to be seeing.  Note that there are a number of
"Not found" and "No such file or directory" errors appearing.

I've attached the console log for you.

David
---
warthog>sudo bin/lkp qemu -k /data/fs/linux-next/build2/arch/x86/boot/bzImage 
job-script
make: Entering directory '/data/lkp-tests/bin/event'
gcc-c -o wakeup.o wakeup.c
gcc  -static -o wakeup wakeup.o
rm -f wakeup.o
strip wakeup
make: Leaving directory '/data/lkp-tests/bin/event'
cpio: Cannot open/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or 
directory
cpio: Cannot open/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or 
directory
cpio: Cannot open/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or 
directory
gzip:/home/dhowells/.lkp/cache/lkp-x86_64.cpio: No such file or directory
mv: cannot stat '/home/dhowells/.lkp/cache/lkp-x86_64.cpio.gz': No such file or 
directory
mv: cannot stat '/home/dhowells/.lkp/cache/lkp-x86_64.cgz': No such file or 
directory


this is not expected.
could you list/home/dhowells/.lkp/cache

looks something wrong at below function
lizhijian@haswell-OptiPlex-9020:~/lkp-tests$ vim lkp-exec/qemu +230
230 create_lkp_src_initrd()
231 {
232 if [[ "$kconfig" =~ ^(i386|x86_64)- ]]; then
233 local arch=${kconfig%%-*}
234 else
235 local arch=$(arch)
236 fi
237
238 if [ -d $LKP_SRC/.git ]; then
239 local head_commit=$(cd $LKP_SRC && git rev-list -n1 HEAD)
240 local diff_id=$(cd $LKP_SRC && git diff | git patch-id | 
cut -f1 -d' ')
241 local src_sig=${head_commit:0:12}_${diff_id:0:12}
242 else
243 local src_sig=$(ls -lR $LKP_SRC|md5sum|cut -c1-12)
244 fi
245 lkp_initrd=$CACHE_DIR/lkp-$arch-$src_sig.cgz
246 [[ -f $lkp_initrd ]] || {
247 LKP_USER=$user \
248 $LKP_SRC/sbin/pack -f -a $arch lkp-src
249 mv $CACHE_DIR/lkp-$arch.cgz $lkp_initrd
250 }
251 }


Thanks



Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread David Howells
Rong Chen  wrote:

> Attach please find the new kconfig, you could try again.

I tried that again - it still comes to the login prompt and doesn't do
anything that I can tell.

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-18 Thread David Howells
Rong Chen  wrote:

> Attach please find the new kconfig, you could try again.

I tried that again - it still comes to the login prompt and doesn't do
anything that I can tell.

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-14 Thread Rong Chen




On 09/13/2018 07:28 PM, David Howells wrote:

kernel test robot  wrote:


To reproduce:

 git clone https://github.com/intel/lkp-tests.git
 cd lkp-tests
 bin/lkp qemu -k  job-script # job-script is attached in this 
email

Tried that.  That seems to work for me.  Or, at least, it comes to a prompt at
which I can log in.  I'm not sure whether anything else is meant to happen.

It's a 0day problem, we will fix it as soon as possible.

Best Regards,
Rong Chen


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-14 Thread Rong Chen




On 09/13/2018 07:28 PM, David Howells wrote:

kernel test robot  wrote:


To reproduce:

 git clone https://github.com/intel/lkp-tests.git
 cd lkp-tests
 bin/lkp qemu -k  job-script # job-script is attached in this 
email

Tried that.  That seems to work for me.  Or, at least, it comes to a prompt at
which I can log in.  I'm not sure whether anything else is meant to happen.

It's a 0day problem, we will fix it as soon as possible.

Best Regards,
Rong Chen


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-13 Thread David Howells
kernel test robot  wrote:

> To reproduce:
> 
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> bin/lkp qemu -k  job-script # job-script is attached in this 
> email

Tried that.  That seems to work for me.  Or, at least, it comes to a prompt at
which I can log in.  I'm not sure whether anything else is meant to happen.

David


Re: [LKP] [ipc] 61224adcd2: general_protection_fault:#[##]

2018-09-13 Thread David Howells
kernel test robot  wrote:

> To reproduce:
> 
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> bin/lkp qemu -k  job-script # job-script is attached in this 
> email

Tried that.  That seems to work for me.  Or, at least, it comes to a prompt at
which I can log in.  I'm not sure whether anything else is meant to happen.

David