Date: Fri, 3 Apr 1998 02:16:40 -0800 (PST) From: "Bryan K. Ogawa" <bkogawa@primenet.com> To: Malte Lance <malte@webmore.com> Cc: questions@FreeBSD.ORG Subject: Re: Advice for diagnosing X hangs / kernel hangs? Message-ID: <Pine.BSI.3.94.980403021334.5256A-100000@foo.primenet.com> In-Reply-To: <3.0.32.19980403094213.006d37ac@cyclone.degnet.baynet.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <stdio.h> #include <unistd.h> 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 <bkogawa@primenet.com> http://www.primenet.com/~bkogawa/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.980403021334.5256A-100000>