public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: bugghy <bugghy@SAFe-mail.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: address of int80 idt
Date: Thu, 15 Jul 2004 17:38:30 +0200	[thread overview]
Message-ID: <C32704C118F@vcnet.vc.cvut.cz> (raw)

On 15 Jul 04 at 18:27, bugghy wrote:
> 
> The problem is that on some kernels 2.4.22 (and I think on 2.6.7, 2.2.26
> and 2.4.26 too) on vmware sidt returns a bogus address for idtr.base:
> idtr.base=0xffc6a370 (2.4.22) 
> 
> If I try to read from /dev/kmem from this address it doesn't work.

It is feature, not a bug... Well, it is bug, but not easily fixable.
Either check 'Disable acceleration' checkbox in VM configuration, or,
if you want portable solution (if your program has root privileges), call 
iopl(3) before issuing sidt. Or issue sidt in the kernel, not in userspace.
                                                        Best regards,
                                                            Petr Vandrovec
                                                            


             reply	other threads:[~2004-07-15 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 15:38 Petr Vandrovec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-15 18:27 address of int80 idt bugghy

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=C32704C118F@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=bugghy@SAFe-mail.net \
    --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