Date: Sat, 25 Aug 2012 23:11:52 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Yuri <yuri@rawbw.com> Cc: freebsd-hackers@FreeBSD.org Subject: Re: How to diagnose system freezes? Message-ID: <50393188.6030304@FreeBSD.org> In-Reply-To: <503925C7.7080202@rawbw.com> References: <501871FD.601@rawbw.com> <CAJ-FndCEswmVqSK7TR=ZfcGCrQkvV7us-dHFL%2BSsZ0BnjqMzvA@mail.gmail.com> <503925C7.7080202@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 25/08/2012 22:21 Yuri said the following: > On 07/31/2012 17:20, Attilio Rao wrote: >> Start by adding SW_WATCHDOG to your machine with a reasonably low timeout. >> Also, can you use a serial console? If yes you may consider going with >> a serial break. > > The difference with the GENERIC is mainly the addition of these lines, which > make it debug image and add SW_WATCHDOG, etc. (also add dtrace) > options KDTRACE_FRAME # Ensure frames are compiled in > options KDTRACE_HOOKS # Kernel DTrace hooks > options DDB_CTF > makeoptions WITH_CTF=1 > makeoptions DEBUG="-g" > options SW_WATCHDOG > options DIAGNOSTIC > options DDB # Support DDB. > options GDB # Support remote GDB > > Npw, with this config, system doesn't hang indefinitely. Instead, it hangs for > ~1 minute and then reboots. It doesn't drop into debugger and doesn't leave > anything in messages. > > I didn't yet try 4BSD scheduler as Doug Barton suggested. > > Anything else I can try? options KDB options KDB_TRACE options KDB_UNATTENDED > One thing of importance here is that there is an older graphics card 9400 GT on > this system and current nvidia-driver-295.71 has an issue with 9400 GT: it makes > graphics to malfunction (unpainted windows, long delays switching to terminal > mode) or freezes Xorg (but not OS). So I run the older nvidia-driver-285.05.09 > which appears to work. > That's why I think that nvidia driver is probably to blame for these periodic OS > freezes. Also the latest driver version must be, obviously, working for most > people because (I think) they mostly have newer than mine nvidia cards. So maybe > I should also just get the newer nvidia card and shut up, not sure. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50393188.6030304>