On Wednesday 02 November 2005 09:02, Tassilo Horn wrote:
> Hi,
>
> when I want to start uml I get:
>
> NET: Registered protocol family 1
> Initialized stdio console driver
> Console initialized on /dev/tty0
>  ubda: unknown partition table
> VFS: Mounted root (ext2 filesystem) readonly.
> cannot set up thread-local storage: set_thread_area failed when setting
> up thread-local storage
>
> Kernel panic - not syncing: Attempted to kill init!
>
> EIP: 0073:[<400109df>] CPU: 0 Not tainted ESP: 007b:bf59ca40 EFLAGS:
> 00200246
>     Not tainted
> EAX: ffffffda EBX: 0000007f ECX: bf59c820 EDX: 00000003
> ESI: 400129a0 EDI: 40012960 EBP: bf59cc18 DS: 007b ES: 007b
> a08a3b40:  [<a0030e1b>] printk+0x1b/0x20
> a08a3b50:  [<a004294d>] notifier_call_chain+0x2d/0x50
> a08a3b60:  [<a010d664>] bust_spinlocks+0x44/0x50
> a08a3b70:  [<a0030275>] panic+0x75/0x130
> a08a3ba0:  [<a00332fb>] do_exit+0x2cb/0x340
> a08a3bc0:  [<a007695c>] vfs_writev+0x4c/0x70
> a08a3be0:  [<a0033426>] do_group_exit+0x76/0xc0
> a08a3c10:  [<a001b834>] execute_syscall_skas+0xf4/0x180
> a08a3c34:  [<a0033470>] sys_exit_group+0x0/0x20
> a08a3c70:  [<a001b8de>] handle_syscall+0x1e/0x40
> a08a3c80:  [<a001b148>] userspace+0x238/0x360
> a08a3ce8:  [<a000d1b0>] init+0x0/0x110
> a08a3cf0:  [<a001b3c8>] new_thread_handler+0xb8/0xd0
>
> When I searched the mailing list archives I found a tip about
> moving /lib/tls, but I don't have such a directory: Neither on my host
> nor on my root_fs.
The host doesn't matter at the moment.

> I think the problem is that I've built glibc with NTPL support and
> without linux threads. So do I have to rebuild it with linux threads to
> get it work? Only on the uml guests root_fs or do I have to rebuild my
> hosts glibc, too?
It depends on your config; on x86 binaries (not x86_64 ones). TLS using LDT 
works for:

SKAS3 mode (only in this case, you need to patch host for TT mode (but it's 
slow and not recommended):

SKAS0 mode (but you need to apply "[uml-devel] [PATCH 8/10] UML - Maintain own 
LDT entries" from uml-devel (recently posted).

You'll find ML Archives on marc.theaimsgroup.com.

All the above holds for 2.6.14 or 2.6.13-latest -bs, some older releases have 
more bugs.
-- 
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

                
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.messenger.yahoo.com



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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