Subject: Possible problems with LDT
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Robert L. Shady <rls@zeus.id.net>
List: current-users
Date: 04/19/1994 20:55:51
I've tried running wine recently, and my system rebooted not leaving me any
trace as to what happened.. Well, while scavenging through the current sources
today, I noticed a program "testldt", so I run it, and it gives me the
following output that may lead to further explination of what is happening...

--- Cut Here ---
Testing i386_get_ldt...
Got 5 (default) LDTs
Entry 0: LDT: Gate Off 0000f934, Sel   00008, Stkcpy 1 DPL 3, Type 12
	  Present, 
	  f810ec01 00081124
Entry 1: LDT: Seg Base 00000000, Limit 00000, DPL 0, Type 0
	  16, byte limit, 
	  00000000 00000000
Entry 2: LDT: Seg Base 00000000, Limit 00000, DPL 0, Type 0
	  16, byte limit, 
	  00000000 00000000
Entry 3: LDT: Seg Base 00000000, Limit f7bfd, DPL 3, Type 27
	  Accessed, Present, 32, page limit, 
	  00cffb00 00007bfd
Entry 4: LDT: Seg Base 00000000, Limit f7bfd, DPL 3, Type 19
	  Accessed, Present, 32, page limit, 
	  00cff300 00007bfd
Testing i386_set_ldt...
data address: 005f0000
setldt returned: 6
Entry 6: LDT: Seg Base 005f0000, Limit 01000, DPL 3, Type 18
	  Present, 16, byte limit, 
	  0000f25f 00001000
bus fault - investigate.

------------------------------------------------------------------------------