Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 02:34:38 -0700
From:      Doug Barton <DougB@DougBarton.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: -current is _definitely_ not stable right now
Message-ID:  <3B14BEAE.FDC43C2A@DougBarton.net>
References:  <XFMail.010529160703.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B14BEAE.FDC43C2A>