You hit a point where UML doesn't build.  This happens occasionally,
and it's usually fixed pretty quickly.  In this case, apply this patch
to it -

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=1e0cb0c3bf04850fa6fb300293d9e85ba81b605f


The kernel builds OK, but when I run it, I meet with segmentation fault.
After gdb, the error message is very strange.
I have attached the frame. Any idea about it?


(gdb) r  mem=256M ubda=../../Ubuntu-FeistyFawn-i386-root_fs_2
ubdbc=../../ocfs2_fs eth0=mcast
Starting program: /home/test/source/newest/linux-2.6/linux mem=256M
ubda=../../Ubuntu-FeistyFawn-i386-root_fs_2 ubdbc=../../ocfs2_fs eth0=mcast
Core dump limits :
       soft - 0
       hard - NONE
Checking that ptrace can change system call numbers...Detaching after fork
from child process 14952.
OK
Checking syscall emulation patch for ptrace...Detaching after fork from
child process 14953.
missing
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...Detaching after fork from child process 14954.
not found
 - PTRACE_LDT...Detaching after fork from child process 14955.
not found
UML running in SKAS0 mode
Detaching after fork from child process 14956.
Detaching after fork from child process 14957.

Program received signal SIGSEGV, Segmentation fault.
create_dir (k=0x8252b2c, p=0x16d, n=0x8252b30 "logmask", d=0x87cfe6c) at
fs/sysfs/dir.c:156
156             mutex_lock(&p->d_inode->i_mutex);
(gdb) bt
#0  create_dir (k=0x8252b2c, p=0x16d, n=0x8252b30 "logmask", d=0x87cfe6c) at
fs/sysfs/dir.c:156
#1  0x080d70d6 in sysfs_create_dir (kobj=0x8252b2c, shadow_parent=0x0) at
include/linux/kobject.h:66
#2  0x081662da in create_dir (kobj=0x8252b2c, shadow_parent=0x0) at
lib/kobject.c:51
#3  0x081664d0 in kobject_shadow_add (kobj=0x8252b2c, shadow_parent=0x0) at
lib/kobject.c:197
#4  0x08166527 in kobject_add (kobj=0x8252b2c) at lib/kobject.c:224
#5  0x081669ba in kset_add (k=0x8252b20) at lib/kobject.c:589
#6  0x081669d8 in kset_register (k=0x8252b20) at lib/kobject.c:603
#7  0x08132439 in mlog_sys_init (o2cb_subsys=0x8252bc0) at
fs/ocfs2/cluster/masklog.c:161
#8  0x08132501 in o2cb_sys_init () at fs/ocfs2/cluster/sys.c:119
#9  0x0804f76f in init_o2nm () at fs/ocfs2/cluster/nodemanager.c:944
Previous frame inner to this frame (corrupt stack?)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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