mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* boot_cpu_data.x86_vendor corruption on dual AMD
@ 2002-03-13 21:29 Mikael Pettersson
  2002-03-21 18:58 ` Maciej W. Rozycki
  0 siblings, 1 reply; 2+ messages in thread
From: Mikael Pettersson @ 2002-03-13 21:29 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-21 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-13 21:29 boot_cpu_data.x86_vendor corruption on dual AMD Mikael Pettersson
2002-03-21 18:58 ` Maciej W. Rozycki

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®