[uml-user] [PATCH linux-next] remove csum_partial_copy_generic_i386 to clean up exception table

2014-06-04 Thread Honggang Li
The csum_partial_copy_generic_i386 never been called. It mess up x86 uml kernel exception table. So remove it. linux-next]$ grep -n -r csum_partial_copy_generic_i386 . ./arch/x86/um/checksum_32.S:249:csum_partial_copy_generic_i386: ./arch/x86/um/checksum_32.S:384:csum_partial_copy_generic_i386:

[uml-user] [PATCH] remove csum_partial_copy_generic_i386 to clean up exception table

2014-06-04 Thread Honggang Li
arch/x86/um/checksum_32.S had been copy & paste from x86. When build x86 uml, csum_partial_copy_generic_i386 mess up the exception table. In fact, exception table dose not work in uml kernel. And csum_partial_copy_generic_i386 never been called. So, delete it. Signed-off-by: Honggang Li --- arc

Re: [uml-user] how to find out which functions have been record in exception table?

2014-06-04 Thread Richard Weinberger
Am 04.06.2014 15:39, schrieb Real Name: > On Fri, May 30, 2014 at 10:50:59AM +0200, Richard Weinberger wrote: > > I find the function through checking which object file has the _ex_table > section. > > tmp]$ cat find_ex_table.sh > #!/bin/bash > > (cd ~/uml/linux-3.12.6; find . -type f -name '

Re: [uml-user] how to find out which functions have been record in exception table?

2014-06-04 Thread Real Name
On Fri, May 30, 2014 at 10:50:59AM +0200, Richard Weinberger wrote: I find the function through checking which object file has the _ex_table section. tmp]$ cat find_ex_table.sh #!/bin/bash (cd ~/uml/linux-3.12.6; find . -type f -name '*.o' > /tmp/xx.txt) for file in `cat /tmp/xx.txt`; do

Re: [uml-user] How to run UML with valgrind and GDB?

2014-06-04 Thread Richard Weinberger
On Wed, Jun 4, 2014 at 10:26 AM, Real Name wrote: > Hi, > I tried to run UML (linux-3.12.6-x86) kernel with valgrind and GDB. > But valgrind always terminated because SIGSEGV signal. I searched with > google, just got some very old resource about run linux-2.6.xx with valgrind. To run UML in GD

[uml-user] How to run UML with valgrind and GDB?

2014-06-04 Thread Real Name
Hi, I tried to run UML (linux-3.12.6-x86) kernel with valgrind and GDB. But valgrind always terminated because SIGSEGV signal. I searched with google, just got some very old resource about run linux-2.6.xx with valgrind. So, is it possible to run linux (>3.12) with valgrind? If yes, how to do