Current-Users archive

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

Re: Instability on amd64 -current



In Message <Pine.NEB.4.64.1201080725190.25597%screamer.whooppee.com@localhost>,
   Paul Goyette <paul%whooppee.com@localhost>wrote:

=>I've updated a couple of my systems to -current built from sources 
=>checked out on 2012-01-07 at 01:47:13 ...
=>
=>The systems are quite unstable, with random "hangs" occurring, usually 
=>when the system is under a bit of a load (such as while running the 
=>/etc/daily job).  When the system hangs, the console monitor is totally 
=>black (there is, however, still a valid video output, since the monitor 
=>is able to acheive sync).
=>
=>On one system, X was running, although I had switched the wsconsole to 
=>the console display with Ctrl/Alt/F1.  On another system, no X was 
=>running.  The instability occurs both with my own custom kernel and with 
=>GENERIC.
=>
=>On the non-X system, the most recent hang was especially interesting! 
=>When I manually reset the machine, the BIOS could not find the boot 
=>device wd0.  I actually had to remove mains power from the machine and 
=>then re-boot before it saw the hard drive!
=>
=>Any suggestions?

   This sounds rather similar to what I was seeing on my box. Chuq is
looking into the cause, but this patch is a workaround:

Index: sys/arch/amd64/include/types.h
===================================================================
RCS file: /usr2/netbsd-cvs/src/sys/arch/amd64/include/types.h,v
retrieving revision 1.40
diff -u -r1.40 types.h
--- sys/arch/amd64/include/types.h      4 Dec 2011 16:24:13 -0000       1.40
+++ sys/arch/amd64/include/types.h      8 Jan 2012 15:43:41 -0000
@@ -95,7 +95,7 @@
 #define        __HAVE_RAS
 
 #include "opt_xen.h"
-#if defined(__x86_64__) && !defined(XEN)
+#if defined(__x86_64__) && !defined(XEN) && 0
 #define        __HAVE_DIRECT_MAP 1
 #define        __HAVE_MM_MD_DIRECT_MAPPED_IO
 #define        __HAVE_MM_MD_DIRECT_MAPPED_PHYS
===================================================================

                                        Gary Duzan




Home | Main Index | Thread Index | Old Index