From owner-freebsd-current Wed May 30 2:34:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 2985737B423; Wed, 30 May 2001 02:34:40 -0700 (PDT) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id CAA73001; Wed, 30 May 2001 02:34:38 -0700 (PDT) (envelope-from DougB@DougBarton.net) Message-ID: <3B14BEAE.FDC43C2A@DougBarton.net> Date: Wed, 30 May 2001 02:34:38 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: freebsd-current@FreeBSD.org Subject: Re: -current is _definitely_ not stable right now References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin wrote: > > On 28-May-01 Doug Barton wrote: > > Gang, > > > > On the avi front, typing 'aviplay' with or without an argument is > > guaranteed to instantly wedge the box. I attached a lot of running aviplay > > through truss, but I have no way to know if it stopped at or before the > > offending instruction. As for the general wonkiness of the system, I have > > finally gotten a dump. The backtrace is below, let me know if there is > > anything else I can do to help debug. > > Please try http://www.FreeBSD.org/~jhb/patches/ldt.patch. This worked excellently for me! I patched the kernel and rebuilt, then tested aviplay... success. Then I cvsup'ed, built/installed world and kernel, and started stress testing. I'm currently running two builds of X 4, one over NFS and one local, 'make cleandir' in /usr/src, AND avifile (ok, it's a little choppy, but still runs). I'd say it's probably safe to go back in the water again. Next stop, re-enabling softupdates. :) BTW, I'm probably wrong about this but looking at the patch it seems odd to me that one of these is ifndef and the other is ifdef: @@ -422,15 +433,21 @@ kmem_free(kernel_map, (vm_offset_t)old_ldt_base, old_ldt_len * sizeof(union descriptor)); FREE(new_ldt, M_SUBPROC); +#ifndef SMP + mtx_lock_spin(&sched_lock); +#endif } else { pcb->pcb_ldt = pcb_ldt = new_ldt; +#ifdef SMP mtx_unlock_spin(&sched_lock); +#endif } Just curious, Doug (Thanks BTW) -- I need someone really bad. Are you really bad? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message