mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: linux-kernel@vger.kernel.org
Subject: boot_cpu_data.x86_vendor corruption on dual AMD
Date: Wed, 13 Mar 2002 22:29:26 +0100 (MET)	[thread overview]
Message-ID: <200203132129.WAA08883@harpo.it.uu.se> (raw)

I'm involved with debugging a driver problem which only appears
on dual AMD systems. When the driver's module_init() is called,
boot_cpu_data.x86_vendor is 0 (Intel) instead of 2 (AMD), causing
incorrect code to be selected and eventually an oops.

We've so far traced it to the call to smp_init() in init/main.c.
Before this call, boot_cpu_data.x86_vendor is 2 (correct), but
after the call, the field is 0.

I've been looking through the code but haven't found any obvious
bug candidates, so we've resorted to debug printouts and binary
search. (I'm giving directions, another person is doing the tests
at a remote site, so progress is slow.)

The kernel in question is 2.4.18, but we've seen this in other
2.4 kernels too. Choice of compiler (gcc-2.96-98/egcs-2.91.66)
and CONFIG_MK7 on or off doesn't seem to make any difference.
The box (Tyan) is otherwise stable, and the CPUs are Athlon MPs.

/Mikael

             reply	other threads:[~2002-03-13 21:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13 21:29 Mikael Pettersson [this message]
2002-03-21 18:58 ` Maciej W. Rozycki

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=200203132129.WAA08883@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --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®