LDT problems with 2.1.109 and above.

David Bruce (david@hulcote.com)
Wed, 12 Aug 1998 21:35:47


Hello all

I am having problems with the iBCS module with 2.1.109 and above. This
module uses the call gate in the default ldt as an entry point.

But all programs using the module are now crashing with a segmentation
violation. It looks like the default ldt is not being setup and the
programs are crashing because the call gate is missing.

I have had a look at the code but am unable to workout where the problem
is but i did come across something odd while i was doing some tests. I
modified the modify_ldt system call to copy over the default ldt when
it sets up a new ldt (Why does it not do this normaly?) and all the
segmentation faults went away but why? I cant work out how this could
cause the problem to go away.

Confused
David Bruce.

David Bruce <david@hulcote.com>
Hulcote Electronics (Europe) Ltd.
Manton Lane.
Bedford, MK41 7UZ
U.K.
(Tel) +44 (0)1234 344206 (Fax) +44 (0)1234 269538

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html