Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Nelson Castillo
> I've not yet read the patch, and likely I won't before you generate it with > -u. I was sleepy :) I'm sending it again. I added some text from an email Henrik Nordstrom sent. I checked out the XML sources from SF.net but faq.xml doesn't seem to be the source of faq.html. Regards. -- Homepage

Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Henrik Nordstrom
On Fri, 16 Sep 2005, Nelson Castillo wrote: 1) patching init/main.c to add the variable to the environment 2) using a wrapper to /sbin/init Better to just add the variable to the kernel command line.. any XX=something string on the command line is set as environment variables to init. b

Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Rob Landley
On Friday 16 September 2005 08:01, Nelson Castillo wrote: > On 9/16/05, Nelson Castillo <[EMAIL PROTECTED]> wrote: > > On 9/13/05, Blaisorblade <[EMAIL PROTECTED]> wrote: > > sysvinit should have a way to add a variable to the > > environment. Can it be done in intitab? > > I just fixed the patch f

Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Blaisorblade
On Friday 16 September 2005 13:23, Nelson Castillo wrote: > On 9/13/05, Blaisorblade <[EMAIL PROTECTED]> wrote: > (cut) > That is as maybe, but /etc/environment is the > only shell-agnostic file there is, and where it can be > used, it certainly serves a good purpose. > --

Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Nelson Castillo
On 9/16/05, Nelson Castillo <[EMAIL PROTECTED]> wrote: > On 9/13/05, Blaisorblade <[EMAIL PROTECTED]> wrote: > sysvinit should have a way to add a variable to the > environment. Can it be done in intitab? I just fixed the patch for the FAQ. It's much simpler (and correct, I hope) now. --

Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Nelson Castillo
On 9/13/05, Blaisorblade <[EMAIL PROTECTED]> wrote: (cut) > > > > What should I try? Do I need a patch? > mv /lib/tls /lib/tls.away, after loop-mounting the filesystem on the host > , or booting with init=/bin/bash (not sure the second will work). I did some tests. I just found out that In Debi

Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-13 Thread Blaisorblade
On Sunday 11 September 2005 20:17, Nelson Castillo wrote: > Hi. > > I got this error using UML Linux 2.6.13 (See [1] for the .config) running > under > a non-skas kernel. Runs well using SKAS. > > cannot set up thread-local storage: cannot set up LDT for thread-local > storage > Kernel panic - not

[uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-11 Thread Nelson Castillo
Hi. I got this error using UML Linux 2.6.13 (See [1] for the .config) running under a non-skas kernel. Runs well using SKAS.   cannot set up thread-local storage: cannot set up LDT for thread-local storage   Kernel panic - not syncing: Attempted to kill init! The problem arises using Kernel 2.6.