From owner-freebsd-current Sun Mar 8 07:00:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA02634 for freebsd-current-outgoing; Sun, 8 Mar 1998 07:00:53 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA02515 for ; Sun, 8 Mar 1998 06:59:30 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.8.8/frmug-2.2/nospam) with UUCP id PAA05799 for current@FreeBSD.ORG; Sun, 8 Mar 1998 15:59:12 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.8.8/keltia-2.13/nospam) id PAA06254; Sun, 8 Mar 1998 15:06:39 +0100 (CET) (envelope-from roberto) Message-ID: <19980308150639.A6195@keltia.freenix.fr> Date: Sun, 8 Mar 1998 15:06:39 +0100 From: Ollivier Robert To: current@FreeBSD.ORG Subject: Re: Okay, -current should be conditionally safe to use Mail-Followup-To: current@FreeBSD.ORG References: <199803080059.TAA00326@dyson.iquest.net> <2649.889329889@gjp.erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.90.4i In-Reply-To: <2649.889329889@gjp.erols.com>; from Gary Palmer on Sat, Mar 07, 1998 at 11:04:49PM -0500 X-Operating-System: FreeBSD 3.0-CURRENT ctm#4103 AMD-K6 MMX @ 225 MHz Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Gary Palmer: > Apart from the problems with using Async & SoftUpdates together, what > other `known' problems are there? The panic Amancio and I have seen is not related to async + softupdates, just softupdates themselves. It always panic in softdep_setup_allocindir_page while doing a bcopy. #10 0xf019e5d2 in generic_bcopy () #11 0xf0172637 in softdep_setup_allocindir_page (ip=0xf09e0c00, lbn=203, bp=0xf1ca394c, ptrno=191, newblkno=303640, oldblkno=0, nbp=0xf1cc4cd4) at ../../ufs/ffs/ffs_softdep.c:1416 #12 0xf016fbbd in ffs_balloc (ap=0xf4048e94) at ../../ufs/ffs/ffs_balloc.c:302 #13 0xf017936c in ffs_write (ap=0xf4048ee8) at vnode_if.h:995 #14 0xf013ac27 in vn_write (fp=0xf0a2adc0, uio=0xf4048f30, cred=0xf0aca800) at vnode_if.h:331 #15 0xf011b9cb in write (p=0xf3f42f00, uap=0xf4048f84) softdep_setup_allocindir_page() has no bcopy but calls softdep_setup_allocindir_page2 which has one at the end: -=-=-=-=- MALLOC(newindirdep, struct indirdep *, sizeof(struct indirdep), M_INDIRDEP, M_WAITOK); newindirdep->ir_list.wk_type = D_INDIRDEP; newindirdep->ir_state = ATTACHED; LIST_INIT(&newindirdep->ir_deplisthd); LIST_INIT(&newindirdep->ir_donehd); newindirdep->ir_saveddata = (ufs_daddr_t *)bp->b_data; newindirdep->ir_savebp = getblk(ip->i_devvp, bp->b_blkno, bp->b_bcount, 0, 0); bcopy((caddr_t)newindirdep->ir_saveddata, newindirdep->ir_savebp->b_data, bp->b_bcount); } } -=-=-=-=- -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #0: Sun Mar 1 18:50:39 CET 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message