From owner-freebsd-questions Fri Apr 3 02:16:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10525 for freebsd-questions-outgoing; Fri, 3 Apr 1998 02:16:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA10517 for ; Fri, 3 Apr 1998 02:16:22 -0800 (PST) (envelope-from bkogawa@primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id DAA19225; Fri, 3 Apr 1998 03:16:21 -0700 (MST) Received: from ip210.sjc.primenet.com(206.165.96.210), claiming to be "foo.primenet.com" via SMTP by smtp03.primenet.com, id smtpd019214; Fri Apr 3 03:16:15 1998 Received: from localhost (bkogawa@localhost) by foo.primenet.com (8.8.8/8.8.6) with SMTP id CAA05281; Fri, 3 Apr 1998 02:16:41 -0800 (PST) X-Authentication-Warning: foo.primenet.com: bkogawa owned process doing -bs Date: Fri, 3 Apr 1998 02:16:40 -0800 (PST) From: "Bryan K. Ogawa" To: Malte Lance cc: questions@FreeBSD.ORG Subject: Re: Advice for diagnosing X hangs / kernel hangs? In-Reply-To: <3.0.32.19980403094213.006d37ac@cyclone.degnet.baynet.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 3 Apr 1998, Malte Lance wrote: > At 13:42 02.04.98 -0800, you wrote: > >On Mon, 30 Mar 1998, Malte Lance wrote: > >> At 23:22 29.03.98 -0800, you wrote: > >> >On Tue, 24 Mar 1998, Bryan K. Ogawa wrote: > Maybe ... i encounter similar problems where my machine suddenly freezes > (no log, no error, no nothing ... just sudden-death). > I noticed it must be something with the scsi-system (while listening to > the old good 'Ludwig van' ;) > I changed the terminating device from CDROM to the tape-drive (SONY SDT-7000). > Then this freezes did not happen as often as they did when the CDROM was > terminating my scsi-bus. > I suspect TERM-POWER is causing this trouble but i am not sure. > I have played with the term-power config a little: > 1. no term-power (same as no active terminator) [bad idea] > 2. term-power connected just to the terminator, not the scsi-bus [good idea] > 3. term-power connected to the terminator AND the scsi-bus [not so good] > Best results gave nr. 2. so far (waiting for the next freeze with this > config). > My freezes always occur on heavy concurrent diskaccess. > My scsi-system: controller, 3 scsi-disks, cdrom, tape, zip. > It is not an OS-specific problem since this shit also happens with Win-95. > On the next freeze i will take a disk as terminating device. > If this will not solve my problems, i will order a new scsi-controller and > forget about my adaptec-2940. > Maybe you want to play with your scsi-bus-termination. Let me know about > your results. Hm... I agree with you -- this may be a SCSI problem (see the comments in -stable about SCSI stuff). I now have a 2nd machine so I can try to telnet when next my system hangs. I have also had great success in reducing my hangs by running the following program from another virtual console: #include #include int main (void) { for(;;) { sync(); sleep(12); } } This does a sync() every 12 seconds. I leave it running and I haven't had a hang since (there was one, but I think I had suspended the syncer before that hang). bryan k ogawa http://www.primenet.com/~bkogawa/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message