Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cannot set up LDT for thread-local storage



On Thu, Oct 02, 2008 at 11:20:42AM -0500, John Hayward wrote:
> >On Wed, Oct 01, 2008 at 08:36:43PM -0500, John Hayward wrote:
> >>Dear Xen people,
> >>   I have amd64 dom0 - xen 3.3 current as of about 9/27.
> >>   I have created two i386 domu - one NetBSD-4.0 and one NetBSD-4.99
> >>both
> >>using netbsd-XEN3PAE_DOMU from 4.99 as of about 9/27 - both domu installed
> >>fine.
> >>   I have installed a firefox-bin-3.0.2 binary package or build from
> >>pkgsrc - it seems to install fine.  When I run I get:
> >>
> >>cannot set up thread-local storage: cannot set up LDT for thread-local
> >>storage
> >>
> >>   Is this a limitation of NetBSD linux emulation under Xen domu?
> >
> >Do you have kernel options USER_LDT?
> I was using the daily kernel netbsd-XEN3PAE_DOMU from 4.99 as of about 9/27
> 
> In looking at the config for this kernel it had USER_LDT commented out (in
> included XEN2_DOMU).  I added that option and built a kernel - rebooted
> with new kernel.  When I attempt to start firefox-linux I now get:
> ====
> panic: gdt_get_slot botch 1
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 eip c038ceac cs 9 eflags 246 cr2 bac9a000 ilevel 0
> Stopped in pid 429.1 (firefox-bin) at   netbsd:breakpoint+0x4:  popl 
> %ebp
> db> 
> ====

That's why it's commented out :)
this is a known issue; and there's a PR open about it ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index