On Friday 07 October 2005 17:13, Kai Tan wrote:
> By enabling CONFIG_BLK_DEV_UBD as suggested by blaisorblade in an earlier
> post, I don't have the VFS: Unable to mount root fs on unknown-block(98,0)
> problem anymore.
>
> However I hit yet another problem -- Kernel panic - not syncing:
> copy_context_skas0 - stub-child reports error 12345678.
>
> It also says skas3 patch not found in the host, do I need to apply the
> patch?

You're hitting some bug with SKAS0, so to avoid it, you must avoid SKAS0 mode 
for now.

To avoid the bug, you can:
a) add mode=tt to the cmd line, but it will be slower.

b) apply the SKAS patch from UML's website (I don't ship patches for such old 
kernels). You'd probably want to apply it on a vanilla 2.4 kernel, rather 
than a RH patched one (upgrading to 2.6 on the host isn't needed, and 
requires some updates, for instance to module-init-tools, so it's another 
story).

And if you upgrade the host kernel, you'll likely use 2.4.31 (the latest) with 
my SKAS patch for 2.4.25.

Meanwhile, we'd also like to find and fix the bug - try if changing the host 
kernel makes skas0 mode work.

To force SKAS0 mode, you must add "skas0" to the cmd line (not "mode=skas0", 
but simply "skas0").

> #host> linux stderr=1 ubd0=../root_fs.rh-7.2-server.pristine.20020312

> Checking for /proc/mm...not found
> Checking for the skas3 patch in the host...not found
> UML running in SKAS0 mode

> Kernel panic - not syncing: copy_context_skas0 - stub-child reports error
> 12345678

> a02f78a0:  [<a001af19>] copy_context_skas0+0x189/0x214
>                                                        a02f7920:
> [<a0060e49>] buffered_rmqueue+0x17d/0x1dc
>             a02f7970:  [<a001a426>] init_stub_pte+0x26/0x80
>                                                            a02f7990:
> [<a001a588>] init_new_context_skas+0x108/0x138
>                      a02f79c0:  [<a0039b9e>] copy_mm+0x3a2/0x3b4
>                                                                 a02f79f0:
> [<a0064b22>] kmem_cache_alloc+0x32/0x50
>                    a02f7a10:  [<a003a62f>] copy_process+0x62f/0xf84
>                                                                   
> a02f7a20: [<a003abcc>] copy_process+0xbcc/0xf84
>                     a02f7a28:  [<a00179d6>] setjmp_wrapper+0x16/0x50
>
> a02f7a50:  [<a0014641>] change_signals+0x41/0x6c
>                      a02f7ad0:  [<a001beda>] buffer_op+0x2a/0x5c
>                                                                 a02f7ad4:
> [<a001bd74>] do_buffer_op+0x0/0x13c
>                a02f7af0:  [<a003b053>] do_fork+0x57/0x1cc
>                                                          a02f7b20:
> [<a001bfcc>] copy_chunk_to_user+0x0/0x28
>              a02f7b60:  [<a001489f>] sys_fork+0x7b/0x9c
>                                                        a02f7ba0:
> [<a001b93e>] execute_syscall_skas+0xde/0xe8
>               a02f7bc0:  [<a000f15f>] run_init_process+0x43/0x70
>                                                                 a02f7c20:
> [<a001b960>] handle_syscall+0x18/0x2c
>                  a02f7c40:  [<a001a81f>] handle_trap+0x3b/0x114
>                                                                a02f7c70:
> [<a001ad5e>] userspace+0x19e/0x1d0
>              a02f7cd4:  [<a000f18c>] init+0x0/0x10c
>                                                    a02f7ce0:  [<a001b487>]
> new_thread_handler+0xe7/0x11c
>          a02f7cf0:  [<a001b46d>] new_thread_handler+0xcd/0x11c
>                                                               a02f7d20:
> [<a0158258>] __restore+0x0/0x8
>         a02f7d60:  [<a01584c1>] kill+0x11/0x20
>
>                                                actually_do_remove :
> couldn't rmdir '/home/yotta/ktan/.uml/JiOltD', errno = 39

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

                
____________________________________
Con Yahoo! Mail proteggi la tua casella di posta da virus e posta indesiderata
http://mail.yahoo.com




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to