public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Pollard <jesse@cats-chateau.net>
To: Andi Kleen <ak@suse.de>, Daniel Egger <degger@fhm.edu>
Cc: Andi Kleen <ak@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.8 and 2.6.9 Dual Opteron glitches
Date: Wed, 3 Nov 2004 09:06:19 -0600	[thread overview]
Message-ID: <04110309061900.18266@tabby> (raw)
In-Reply-To: <20041103110511.GA23808@wotan.suse.de>

On Wednesday 03 November 2004 05:05, Andi Kleen wrote:
> On Wed, Nov 03, 2004 at 11:53:05AM +0100, Daniel Egger wrote:
> > On 03.11.2004, at 06:06, Andi Kleen wrote:
> > >>   Replacing those panic(s) by printk make the machine boot just fine
> > >>   and also work (seemingly) without any problems under load.
> > >
> > >Can you print the two values? I've never seen such a problem.
> > >If it works then they must be identical, otherwise user space would
> > >break very quickly.
> >
> > printk("%p %p %p\n", (unsigned long) &vgettimeofday, &vgettimeofday,
> > VSYSCALL_ADDR(__NR_vgettimeofday));
> >
> > ffffffffff600000 ffffffffff600000 ffffffffff600000
> >
> > I've no idea why it still triggers. Also the next one BTW:
> > vtime link addr brokenIA32
> >
> > The compiler is: gcc version 3.4.0 20040111 (experimental)
>
> Looks like a compiler bug. I would talk to the gcc people.

Personally .. I think it is a type error - unsigned long is 32 bits.

It appears to be comparing it to an address - which is 64 bits.

There is no sign extension from 32bit to 64bit for an unsigned number.

This same problem occured in Kerberos when compiled on AMD in
64 bit mode. The solution was to use (void *).

  reply	other threads:[~2004-11-03 15:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5AC1EEB8-2CD7-11D9-BF00-000A958E35DC@fhm.edu.suse.lists.linux.kernel>
2004-11-03  5:06 ` 2.6.8 and 2.6.9 Dual Opteron glitches Andi Kleen
2004-11-03 10:53   ` Daniel Egger
2004-11-03 11:05     ` Andi Kleen
2004-11-03 15:06       ` Jesse Pollard [this message]
2004-11-02 13:59 Daniel Egger
2004-11-02 16:58 ` Thomas Zehetbauer
2004-11-02 17:55   ` Tomas Carnecky
2004-11-02 21:52     ` Thomas Zehetbauer
2004-11-02 22:37   ` Daniel Egger
2004-11-02 21:53 ` Rafael J. Wysocki
2004-11-06 23:06   ` Christopher E. Brown
2004-11-02 21:56 ` Jesse Pollard

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=04110309061900.18266@tabby \
    --to=jesse@cats-chateau.net \
    --cc=ak@suse.de \
    --cc=degger@fhm.edu \
    --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