Date: Tue, 18 Aug 1998 16:40:00 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7658: (1) rlogin from some host to the FreeBSD host with very slow link. (ping reports around 200ms - 500ms delay) Message-ID: <199808182340.QAA16570@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/7658; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808182340.QAA16570>