On Mon, Jun 09, 2003 at 03:13:24AM -0400, Donn Miller wrote: > Please see the attached gdb file. I get this panic if I have a samba > filesystem mounted via mount_smbfs, where an iso file resides. When I > try to use mdconfig on the file, I get an immediate panic. The exact > mdconfig command issued is: > > mount -a -t vnode -f /smbfs/sol-9-u3-x86-v1.iso -u 0 Try this patch and let me know whether it works. It seems to fix the problem for me, but it still panics if I try to reboot the machine without running mdconfig -d first. --- sys/netsmb/smb_iod.c.orig Mon Jun 9 20:36:56 2003 +++ sys/netsmb/smb_iod.c Mon Jun 9 20:36:27 2003 _at__at_ -400,7 +400,8 _at__at_ int error; SMBIODEBUG("\n"); - if (rqp->sr_cred->scr_td->td_proc == iod->iod_p) { + if (rqp->sr_cred->scr_td != NULL && + rqp->sr_cred->scr_td->td_proc == iod->iod_p) { rqp->sr_flags |= SMBR_INTERNAL; SMB_IOD_RQLOCK(iod); TAILQ_INSERT_HEAD(&iod->iod_rqlist, rqp, sr_link);Received on Mon Jun 09 2003 - 01:39:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC