"Dave J. Boers" wrote:
> It is rumoured that Peter Wemm had the courage to say:
> > Warning: softupdates is still falling over quite easily:
> > (I run with INVARIANTS)
> >
> > initial pcb at 31f9e0
> > panicstr: softdep_lock: lock held by 412
> > panic messages:
> > ---
> > panic: softdep_disk_write_complete: lock is held
> >
> > syncing disks... panic: softdep_lock: lock held by 412
> > Uptime: 3m17s
>
> I second that. Same panic, system can't even stay alive for more than 3
> minutes after booting. Same version of ffs_softdep.c: 1.49.
I have committed an unreviewed patch that fixes it for a number of folks.
You might like to try this if you can't wait for cvsup. (boot single user
and turn softupdates off until you recompile).
Index: ffs_softdep.c
===================================================================
RCS file: /home/ncvs/src/sys/contrib/softupdates/ffs_softdep.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ffs_softdep.c 2000/01/13 07:20:01 1.49
+++ ffs_softdep.c 2000/01/13 18:48:12 1.50
@@ -4563,7 +4563,9 @@
if (waitfor != MNT_WAIT)
return (0);
bp->b_xflags |= BX_BKGRDWAIT;
+ FREE_LOCK_INTERLOCKED(&lk);
tsleep(&bp->b_xflags, PRIBIO, "getbuf", 0);
+ ACQUIRE_LOCK_INTERLOCKED(&lk);
if (bp->b_xflags & BX_BKGRDINPROG)
panic("getdirtybuf: still writing");
continue;
Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message