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

Geoffrey Lee glee at ok-labs.com
Mon Mar 3 17:17:44 EST 2008


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