mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chuck Ebbert <76306.1226@compuserve.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: desc v0.61 found a 2.5 kernel bug
Date: Sun, 27 Apr 2003 17:09:04 -0400	[thread overview]
Message-ID: <200304271711_MC3-1-3647-1A8A@compuserve.com> (raw)



desc v0.61 running on Linux 2.5.68-rel:

 GDT at c0306300, 32 entries:

GDT# 12: base:00000000 limit:ffffffff  flags:c09b <P:1 DPL:0 32-bit Code>
GDT# 13: base:00000000 limit:ffffffff  flags:c093 <P:1 DPL:0 RW Data>
GDT# 14: base:00000000 limit:ffffffff  flags:c0fb <P:1 DPL:3 32-bit Code>
GDT# 15: base:00000000 limit:ffffffff  flags:c0f3 <P:1 DPL:3 RW Data>
GDT# 16: base:c0353800 limit:000eb     flags:008b <P:1 DPL:0 Busy TSS>

    TSS at c0353800, 236 bytes:

   CS:0000 <GDT#00,RPL0>   EIP:00000000   eflags:00000000
  SS0:0068 <GDT#13,RPL0>  ESP0:c2806000
   SS:0000 <GDT#00,RPL0>   ESP:00000000
   DS:0000 <GDT#00,RPL0>  ES:0000 <GDT#00,RPL0>
   FS:0000 <GDT#00,RPL0>  GS:0000 <GDT#00,RPL0>
  LDT:0011 <GDT#02,RPL1>   CR3:00000000
      ^^^^                     ^^^^^^^^


 The LDT in the kernel's TSS is wrong -- it's shifted right by three

bits and should be 0088 <GDT entry #17, RPL 0>

 And shouldn't CR3 be intitialized in case anyone actually wants to
switch back to the kernel TSS?


------
 Chuck

             reply	other threads:[~2003-04-27 20:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-27 21:09 Chuck Ebbert [this message]
2003-04-28 10:34 ` Gabriel Paubert
2003-04-30  2:33 Chuck Ebbert
2003-04-30 17:10 ` Gabriel Paubert
2003-04-30 20:08 Chuck Ebbert
2003-05-08 22:54 ` paubert
2003-05-09  8:58 Chuck Ebbert
2003-05-11  3:50 Chuck Ebbert
2003-05-11 17:22 ` paubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304271711_MC3-1-3647-1A8A@compuserve.com \
    --to=76306.1226@compuserve.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®