Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Today's -current no longer boots on my amd64 machine



On 04/19/10 07:38, Dennis Ferguson wrote:
Hello,

I've been building and booting a new GENERIC -current
kernel every few days for several months now without
difficulty, but something about today's kernel really
disagrees with my amd64 machine.  boot loads the kernel,
the kernel prints a couple of lines and then, after it
prints four or five words in the line which starts with

    cpu0 at mainbus0 ...

the machine immediately reboots without stopping at
ddb.  Last Friday's kernel works fine.

I haven't investigated this further yet, but thought
I'd mention it in case anyone else has problems.  It
may be coincidence but some of the changes that came
with this morning's cvs update seem to be to code which
might be running around the time that line is printed.

The machine has two dual-core Xeon processors, on the
off chance that matters.

This is probably related to my recent change. Could you try with the following patch?

Index: sys/arch/x86/x86/identcpu.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/identcpu.c,v
retrieving revision 1.20
diff -u -u -r1.20 identcpu.c
--- sys/arch/x86/x86/identcpu.c 18 Apr 2010 23:47:51 -0000      1.20
+++ sys/arch/x86/x86/identcpu.c 19 Apr 2010 06:53:49 -0000
@@ -671,7 +671,7 @@
                }
 #ifndef XEN
                /* Early patch of text segment. */
-               x86_patch(true);
+               /* x86_patch(true); */
 #endif
        } else {
                /*

--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index