Le dimanche 04 décembre 2005 à 17:32 +0100, Jean-Michel Caricand a
écrit :
> Le dimanche 04 décembre 2005 à 17:22 +0100, Blaisorblade a écrit :
> 
> > Host kernel means the "normal kernel". The UML binary is called "guest 
> > kernel".
> > 
> I know. I'm very tired !
>  
> > 
> > Add stderr=1 to get more messages, then we'll see which is the cause. 
> > Additionally, reduce the amount of memory since it's not able to use so 
> > much 
> > in your system (probably because of Exec shield or something like that).
> > 
> ./vmlinux stderr=1 mem=64M ubd0=/dev/myvg/uml_rooubd1=/dev/myvg/uml_swap
> eth0=tuntap,tap0
> 
> Checking PROT_EXEC mmap in /tmp...OK
> tracing thread pid = 4968
> Linux version 2.6.12 ([EMAIL PROTECTED]) (version gcc 3.3.5 (Debian
> 1:3.3.5-13)) #2 Sat Dec 3 09:43:46 CET 2005
> Built 1 zonelists
> Kernel command line: stderr=1 mem=64M ubd0=/dev/myvg/uml_root
> ubd1=/dev/myvg/uml_swap eth0=tuntap,tap0 root=98:0
> PID hash table entries: 512 (order: 9, 8192 bytes)
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 60984k available
> Security Framework v1.0.0 initialized
> SELinux:  Disabled at boot.
> Mount-cache hash table entries: 512
> Checking for host processor cmov support...Yes
> Checking for host processor xmm support...No
> Checking that ptrace can change system call numbers...<0>Kernel panic -
> not syncing: check_ptrace: PTRACE_SETOPTIONS failed, errno = 3
> 
> Kernel panic - not syncing: Segfault with no mm
> 
> EIP: 0073:[<a002f285>] CPU: 0 Not tainted ESP: 007b:a0203ee4 EFLAGS:
> 00210246
>     Not tainted
> EAX: 00000000 EBX: a020521c ECX: a01d7aad EDX: a0204f44
> ESI: a02e09a0 EDI: 00000000 EBP: 00000000 DS: 007b ES: 007b
> a0203a38:  [<a0043aad>] notifier_call_chain+0x2d/0x50
> a0203a48:  [<a00d7d96>] bust_spinlocks+0x46/0x50
> a0203a58:  [<a0033b41>] panic+0x71/0x120
> a0203a78:  [<a001a25e>] segv+0x21e/0x280
> a0203ad4:  [<a016e904>] sigemptyset+0x24/0x40
> a0203ae8:  [<a0018125>] change_signals+0x65/0x90
> a0203b68:  [<a001a5e6>] segv_handler+0xe6/0xf0
> a0203b78:  [<a002f285>] show_regs+0x25/0x150
> a0203b88:  [<a001817f>] unblock_signals+0xf/0x20
> a0203b98:  [<a001dcab>] sig_handler_common_tt+0xbb/0x150
> a0203bf8:  [<a002b707>] sig_handler+0x17/0x20
> a0203c08:  [<a016e7d8>] __restore+0x0/0x8
> a0203c48:  [<a002f285>] show_regs+0x25/0x150
> a0203f00:  [<a001adab>] panic_exit+0x2b/0x50
> a0203f10:  [<a0043aad>] notifier_call_chain+0x2d/0x50
> a0203f20:  [<a00d7d96>] bust_spinlocks+0x46/0x50
> a0203f24:  [<a001d360>] signal_tramp+0x0/0x110
> a0203f30:  [<a0033b41>] panic+0x71/0x120
> a0203f44:  [<a001d360>] signal_tramp+0x0/0x110
> a0203f4c:  [<a001d360>] signal_tramp+0x0/0x110
> a0203f50:  [<a0008de6>] check_ptrace+0x1b6/0x1c0
> a0203f6c:  [<a001d360>] signal_tramp+0x0/0x110
> a0203f70:  [<a00a9650>] proc_mkdir+0x20/0x30
> a0203f74:  [<a001d360>] signal_tramp+0x0/0x110
> a0203f80:  [<a00093fd>] check_bugs+0xd/0x20
> a0203f90:  [<a00025f3>] start_kernel+0x173/0x1c0
> a0203fa4:  [<a0002160>] unknown_bootoption+0x0/0x200
> a0203fb0:  [<a001c857>] start_kernel_proc+0x37/0x50
> a0203fc0:  [<a001d422>] signal_tramp+0xc2/0x110
> a0203fc8:  [<a002b6f0>] sig_handler+0x0/0x20
> a0203fe0:  [<a0186d1a>] clone+0x6a/0x80
> a0203fe4:  [<a001c820>] start_kernel_proc+0x0/0x50
> 
> 
> actually_do_remove : couldn't open directory '/root/.uml/xZGRoB', errno
> = 2
> 
> > What about 2.6.13 or 2.6.14 (with -bs patches from my homepage)? 2.6.12 is 
> > old, 2.6.14 for somebody (and only somebody) is problematic, 
> > 
> 
> Same problem with 2.6.14.
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Hi,

I've applied your patch (uml-2.6.12-bs11.patch.bz2) to kernel 2.6.12.1.
My guest works now ! 

Thank.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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