From owner-freebsd-bugs Tue Aug 18 16:40:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29202 for freebsd-bugs-outgoing; Tue, 18 Aug 1998 16:40:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29184 for ; Tue, 18 Aug 1998 16:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA16570; Tue, 18 Aug 1998 16:40:00 -0700 (PDT) Date: Tue, 18 Aug 1998 16:40:00 -0700 (PDT) Message-Id: <199808182340.QAA16570@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Bruce Evans Subject: Re: kern/7658: (1) rlogin from some host to the FreeBSD host with very slow link. (ping reports around 200ms - 500ms delay) Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/7658; it has been noted by GNATS. From: Bruce Evans To: freebsd-gnats-submit@FreeBSD.ORG, yasu@mrit.mei.co.jp Cc: Subject: Re: kern/7658: (1) rlogin from some host to the FreeBSD host with very slow link. (ping reports around 200ms - 500ms delay) Date: Wed, 19 Aug 1998 09:31:17 +1000 >When I use a FreeBSD box from slow link, kernel sometimes panics with the >procedure listed in `how to repeat the problem' part. >Here is the back trace got form a crash dump. >.... >#10 0xf01417dd in fsync (p=0xf5b49a80, uap=0xf5bdcf84) > at ../../kern/vfs_syscalls.c:2425 Here is a possible fix for the panic. diff -c2 vfs_syscalls.c~ vfs_syscalls.c *** vfs_syscalls.c~ Wed Jul 15 12:32:13 1998 --- vfs_syscalls.c Wed Aug 19 09:25:09 1998 *************** *** 2423,2427 **** VOP_UNLOCK(vp, 0, p); ! if ((vp->v_mount->mnt_flag & MNT_SOFTDEP) && bioops.io_sync) (*bioops.io_sync)(NULL); } --- 2423,2428 ---- VOP_UNLOCK(vp, 0, p); ! if (vp->v_mount && (vp->v_mount->mnt_flag & MNT_SOFTDEP) && ! bioops.io_sync) (*bioops.io_sync)(NULL); } Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message