[okl4-developer] Problem running wombat (unknown syscall)

Carl van Schaik carl at ok-labs.com
Mon Mar 3 22:09:39 EST 2008


What is happening is that your default toolchain is NPTL enabled. You
need to use a separate toolchain. Sometimes, the Linux distribution you
are using has both versions of the libraries, one in /libs/tls/... 
hence the previous mail to move this directory out of the way so the
non-NPTL libraries can be found.

However, you may want to build you on non-NPTL toolchain (using
crosstool), or download one.
You need to specify the toolchain to use on the command line and ensure
it is in your current PATH.
to specify the toolchain, use    "toolprefix=i686-pc-linux-gnu-"   or
whatever the toolchain prefix is. Note this must be different to any
other toolchain on your system or you have to be really careful about
your PATH.

one preecompiled one can be found at:
https://www.ertos.nicta.com.au/downloads/i686-gcc-3.3.4-glibc-2.3.3-2006-06-02.tar.gz

--
Carl

Geoffrey Lee wrote:
> On Mon, Mar 03, 2008 at 01:10:38AM -0500, Sergio Aguayo wrote:
>   
>> Hi Geoffrey
>>
>> THanks for your response. I have not changed the root= variable. My system is using glibc 2.6.1, which AFAIK only supports NPTL. Any other option?
>>     
>
>
> Hi
>
> I think I may understand what is happening.  In order to create
> the root filesystem it has pulled in the glibc from your toolchain.
> Your toolchain is NPTL-enabled which OK Linux does not currently
> support.
>
> I suggest trying crosstool, this should be able to get you a toolchain suite
> with compilers, linkers and a glibc without NPTL.
>
>
>   
>> Thanks in advance,
>>
>> Sergio Aguayo
>>     
>
> 	-gl
>
>   
>> ----- Original Message -----
>> From: "Geoffrey Lee" <glee at ok-labs.com>
>> To: "Sergio Aguayo" <sergioag at qmailhosting.net>
>> Cc: developer at okl4.org
>> Sent: Monday, March 3, 2008 1:01:45 AM GMT -05:00 Columbia
>> Subject: Re: [okl4-developer] Problem running wombat (unknown syscall)
>>
>> On Mon, Mar 03, 2008 at 12:52:05AM -0500, Sergio Aguayo wrote:
>>     
>>> Hi Geoffrey
>>>
>>> Thanks for your quick response. Is there any way of disabling NPTL or do i have to build my compiler without NPTL?
>>>       
>> Hi 
>>
>> I assume you must have changed root= to point to your hard disk 
>> rather than the in-memory root filesystem.
>>
>> Some distributions contain both NPTL and non-NPTL glibc, they typically place
>> the NPTL-enabled version in /lib/tls.  If this is the case, move
>> /lib/tls to /lib/tls.bak or similar.  Otherwise you may have to rebuild
>> a glibc without NPTL support.
>>
>> 	-gl
>>
>>     
>>> Thanks in advance,
>>>
>>> Sergio Aguayo
>>>
>>> ----- Original Message -----
>>> From: "Geoffrey Lee" <glee at ok-labs.com>
>>> To: "Sergio Aguayo" <sergioag at qmailhosting.net>
>>> Cc: developer at okl4.org
>>> Sent: Monday, March 3, 2008 12:46:23 AM GMT -05:00 Columbia
>>> Subject: Re: [okl4-developer] Problem running wombat (unknown syscall)
>>>
>>> On Mon, Mar 03, 2008 at 12:24:44AM -0500, Sergio Aguayo wrote:
>>>       
>>>> Hi
>>>>
>>>> I've began testing pistachio+wombat just a few days ago and so far it has compiled correctly using gcc 3.3.5 (i686-pc-linux-gnu) under Gentoo Linux. I have compiled it with the following command:
>>>>
>>>> tools/build.py machine=ia32_pc99_vga wombat=yes project=iguana toolprefix=i686-pc-linux-gnu-
>>>>         
>>> Hi
>>>
>>> It looks like you are trying to use NPTL.  The public release for
>>> OK Linux does not have support for NPTL.
>>>
>>>
>>> 	-gl
>>>
>>>       
>>>> However, running with qemu like this:
>>>>
>>>> qemu -hda c.img -serial /dev/stdout
>>>>
>>>> starts linux, but i get the following message and loops forever:
>>>>
>>>> init:1:70001 unknown syscall
>>>> syscall 243
>>>>
>>>>
>>>> I have looked in google and the list's archives, but i've found nothing.
>>>>
>>>> Thanks in advance,
>>>>
>>>> Sergio Aguayo
>>>>
>>>> _______________________________________________
>>>> Developer mailing list
>>>> Developer at okl4.org
>>>> https://lists.okl4.org/mailman/listinfo/developer
>>>>
>>>>         
>>> -- 
>>>
>>>
>>>
>>> _______________________________________________
>>> Developer mailing list
>>> Developer at okl4.org
>>> https://lists.okl4.org/mailman/listinfo/developer
>>>
>>>       
>> -- 
>>
>>
>>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>>
>>     
>
>   




More information about the Developer mailing list