Re: Math-emu kills the kernel on Athlon64 X2





On Tue, 19 Sep 2006, Jesper Juhl wrote:

Booting with: vga=normal no387 nofxsr
gets me no forther. These are all the messages I get:

boot: 2.6.18rc7git2 vga=normal no387 nofxsr
Loading 2.6.18rc7git2...................................
BIOS data check successful
Uncompressing Linux... Ok, booting the kernel.

And then the system hangs and requires a power cycle.

So unfortunately that does't help much :-(

Ok. The next phase is to try to figure out where it hangs, and since it
happens very early, that's most often most easily done the hard way: add
some code that reboots the machine, and if the machine hangs, you didn't
reach it.

These days there's a slightly easier approach: if you enable PM_TRACE
support (you need to enable PM and PM_DEBUG and EXPERIMENTAL to get it),
you can do

#include <resume-trace.h>

at the top of a file, and add a sprinkling of "TRACE_RESUME(x)" calls
(where "x" is some integer in the range 0-15 that you can use to save off
the iteration count in a loop, for example - leave at 0 if you're not
interested).

And then, when it hangs, once you reboot into the same kernel (without the
"no387", so that it works ;), it should tell you where the last
trace-point was fairly early in the bootup dmesg's.

(It _will_ screw up your time-of-day clock in the process, though, which
is why tracing is so hard to enable on purpose ;)

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • IBM Netfinity 3500 and 5.5
    ... to RELENG_5_5 and built a new world and kernel, ... After these two lines have been printed, the machine hangs hard. ... So I rebooted after disabling the onboard NIC ... but that didn't help - booting still hangs at the same place. ...
    (freebsd-questions)
  • Re: linux hangs up while booting
    ... the kernel hangs up while booting. ... The last boot messages I can see are: ... Is it possible that the kernel/initrd is damaged or a kernel module ...
    (comp.os.linux.misc)
  • Re: Computer hangs on startup following change of monitor
    ... I have tried booting from the setup disk - this hangs halfway through ... I have tried booting in safe mode - same result. ... I continually get to the windows ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: 2.6.15-rc5-mm2
    ... When booting this kernel with vga=791 like I normally do, ... Booting with vga=normal works just fine. ... the screen and then it hangs - even the ... I've got the vesafb driver build in, none of the other fb drivers. ...
    (Linux-Kernel)
  • Re: XP Bootup Hang
    ... Booting from the XP CD ... > hangs at ... formatting/reinstalling Windows isn't going to help. ... would swap out the psu first with a known-working one since you ...
    (microsoft.public.windowsxp.general)