On Thu, Jun 9, 2011 at 12:13 AM, Naman Muley <naman.g.mu...@gmail.com>wrote:

>
>
> On Wed, Jun 8, 2011 at 8:51 PM, Edmundo Carmona <eantor...@gmail.com>wrote:
>
>> This is a thread I created at linuxquestions about the problem.
>> Perhaps it could be the solution to yours.
>>
>
>
>> http://www.linuxquestions.org/questions/linux-kernel-70/uml-exit-code-134-a-877527/
>>
>> Hey, I check out that thread. It containted a link to a HOWTO webpage. I
> followed it (http://hanez.org/howto-user-mode-linux.html). Here's what I
> got. After spending more than 7 hours at this, I think there seems to be a
> problem with my disk. Can you please help me find it:
>
> Here's what happened:
>
> naman-mint@naman-mint-laptop ~/uml/linux-2.6.23.13 $ ./vmlinux
> ubda=./Fedora14-x86-root_fs mem=128M
> Core dump limits :
> soft - 0
> hard - NONE
> Checking that ptrace can change system call numbers...OK
> Checking syscall emulation patch for ptrace...OK
> Checking advanced syscall emulation patch for ptrace...OK
> Checking for tmpfs mount on /dev/shm...OK
> Checking PROT_EXEC mmap in /dev/shm/...OK
> Checking for the skas3 patch in the host:
>   - /proc/mm...not found: No such file or directory
>   - PTRACE_FAULTINFO...not found
>   - PTRACE_LDT...not found
> UML running in SKAS0 mode
> Adding 30695424 bytes to physical memory to account for exec-shield gap
> *** buffer overflow detected ***: ./vmlinux terminated
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x7ae390]
> /lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0x7ad2ca]
> /lib/tls/i686/cmov/libc.so.6(+0xe0c29)[0x7acc29]
> /lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0x7acb14]
> ./vmlinux[0x80635e5]
> ./vmlinux[0x804a81e]
> ./vmlinux[0x8049608]
> ./vmlinux[0x8064275]
> ./vmlinux[0x805914e]
> [0x0]
> ======= Memory map: ========
> 00110000-00111000 rwxp 00000000 00:00 0
> 00111000-00119000 r-xp 00000000 08:03 2643       /lib/tls/i686/cmov/
> libnss_nis-2.11.1.so
> 00119000-0011a000 r-xp 00007000 08:03 2643       /lib/tls/i686/cmov/
> libnss_nis-2.11.1.so
> 0011a000-0011b000 rwxp 00008000 08:03 2643       /lib/tls/i686/cmov/
> libnss_nis-2.11.1.so
> 00120000-0013b000 r-xp 00000000 08:03 1575       /lib/ld-2.11.1.so
> 0013b000-0013c000 r-xp 0001a000 08:03 1575       /lib/ld-2.11.1.so
> 0013c000-0013d000 rwxp 0001b000 08:03 1575       /lib/ld-2.11.1.so
> 002d6000-002f3000 r-xp 00000000 08:03 2600       /lib/libgcc_s.so.1
> 002f3000-002f4000 r-xp 0001c000 08:03 2600       /lib/libgcc_s.so.1
> 002f4000-002f5000 rwxp 0001d000 08:03 2600       /lib/libgcc_s.so.1
> 003d9000-003da000 rwxp 00000000 00:00 0
> 00444000-00445000 rwxp 00000000 00:00 0
> 006cc000-0081f000 r-xp 00000000 08:03 2548       /lib/tls/i686/cmov/
> libc-2.11.1.so
> 0081f000-00820000 ---p 00153000 08:03 2548       /lib/tls/i686/cmov/
> libc-2.11.1.so
> 00820000-00822000 r-xp 00153000 08:03 2548       /lib/tls/i686/cmov/
> libc-2.11.1.so
> 00822000-00823000 rwxp 00155000 08:03 2548       /lib/tls/i686/cmov/
> libc-2.11.1.so
> 00823000-00826000 rwxp 00000000 00:00 0
> 00857000-0086a000 r-xp 00000000 08:03 2627       /lib/tls/i686/cmov/
> libnsl-2.11.1.so
> 0086a000-0086b000 r-xp 00012000 08:03 2627       /lib/tls/i686/cmov/
> libnsl-2.11.1.so
> 0086b000-0086c000 rwxp 00013000 08:03 2627       /lib/tls/i686/cmov/
> libnsl-2.11.1.so
> 0086c000-0086e000 rwxp 00000000 00:00 0
> 00b06000-00b08000 r-xp 00000000 08:03 2707       /lib/tls/i686/cmov/
> libutil-2.11.1.so
> 00b08000-00b09000 r-xp 00001000 08:03 2707       /lib/tls/i686/cmov/
> libutil-2.11.1.so
> 00b09000-00b0a000 rwxp 00002000 08:03 2707       /lib/tls/i686/cmov/
> libutil-2.11.1.so
> 00b2a000-00b2b000 r-xp 00000000 00:00 0          [vdso]
> 00c09000-00c13000 r-xp 00000000 08:03 2633       /lib/tls/i686/cmov/
> libnss_files-2.11.1.so
> 00c13000-00c14000 r-xp 00009000 08:03 2633       /lib/tls/i686/cmov/
> libnss_files-2.11.1.so
> 00c14000-00c15000 rwxp 0000a000 08:03 2633       /lib/tls/i686/cmov/
> libnss_files-2.11.1.so
> 00c45000-00c4b000 r-xp 00000000 08:03 2629       /lib/tls/i686/cmov/
> libnss_compat-2.11.1.so
> 00c4b000-00c4c000 r-xp 00006000 08:03 2629       /lib/tls/i686/cmov/
> libnss_compat-2.11.1.so
> 00c4c000-00c4d000 rwxp 00007000 08:03 2629       /lib/tls/i686/cmov/
> libnss_compat-2.11.1.so
> 00c6d000-00c70000 rwxp 00000000 00:00 0
> 00d7c000-00d7e000 rwxp 00000000 00:00 0
> 08048000-081f5000 rwxp 00000000 08:03 341368
> /home/naman-mint/uml/linux-2.6.23.13/vmlinux
> 081f5000-08205000 rwxp 00000000 00:00 0
> 09f2a000-09f4b000 rwxp 00000000 00:00 0          [heap]
> 09f4b000-11d8e000 rwxs 01f03000 00:10 189943     /dev/shm/vm_file-aGlyHl
> (deleted)
> bf850000-bf865000 rwxp 00000000 00:00 0          [stack]
> Segmentation fault
>
> Appreciate it.
>
ps: here's how my folder looks right now:
naman-mint@naman-mint-laptop ~/uml/linux-2.6.23.13 $ ls
arch     CREDITS        drivers               include  Kbuild  linux
 mm              README          security    usr
block    crypto         Fedora14-x86-root_fs  init     kernel  MAINTAINERS
 Module.symvers  REPORTING-BUGS  sound       vmlinux
COPYING  Documentation  fs                    ipc      lib     Makefile
net             scripts         System.map  vmlinux.o
naman-mint@naman-mint-laptop ~/uml/linux-2.6.23.13 $


> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev
>> _______________________________________________
>> User-mode-linux-user mailing list
>> User-mode-linux-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>>
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to