mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6.x] reboot fails on AMD Athlon System
@ 2004-04-04 20:32 Sascha Wilde
  2004-04-09 22:38 ` Sascha Wilde
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Wilde @ 2004-04-04 20:32 UTC (permalink / raw)
  To: linux-kernel

Hello *,

On my AMD Athlon System any version of Linux 2.6.x (including 2.6.5)
hangs when trying to reboot (or power off).  Any other OS (including
any Linux version up to 2.4.x) reboots the box like expected.

I posted this before, so a long version of the problem report can be
found here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=107913498220501&w=2
 

After getting no helpful reply I decided to ignore the fact that I'm
no kernel-hacker and started digging in the sources.

What I found (or better: what I haven't found) is even more confusing
to me:  the system hangs exactly at the time when the reboot should
be triggered by mach_reboot().

I tracked it down to this very line by placing lots of printk() with
debugging messages into linux/arch/i386/kernel/reboot.c

The strange thing is: the code of mach_reboot() is line by line exactly
the same as used in Linux 2.4.24 which reboots the box w/o problems.

I even forced the kernel to use the alternative reboot method ("force
a triple fault" -- code same as in 2.4.x, too) but with no success.

The conclusion so far: the code that hangs is not changed in
comparison with Linux 2.4.24 which works for me, so the reason for the
failure must be elsewhere in the setup of the hardware environment.
Maybe in the apic disabling code, though it looks very similar to the
2.4.24 version, too.  Or in the setup of the AMD [Irongate/Viper]
chip-set?

As mentioned before I don't know anything about kernel-hacking or
the esoteric details of x86 platform, but maybe those of you who do,
can give me some useful hints on where to look further.

Please cc me in any reply, I'm not subscribed to the lkml.

cheers
sascha
-- 
Sascha Wilde  :  "I heard that if you play the Windows CD backward, you
              :  get a satanic message. But that's nothing compared to
              :  when you play it forward: It installs Windows...." 
              :  -- G. R. Gaudreau

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

end of thread, other threads:[~2004-04-10 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-04 20:32 [2.6.x] reboot fails on AMD Athlon System Sascha Wilde
2004-04-09 22:38 ` Sascha Wilde
2004-04-10 17:38   ` Denis Vlasenko
2004-04-10 20:41     ` Sascha Wilde

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®