As LI Xin's said,
I modified sys/kern/kern_descrip.c,
[EMAIL PROTECTED] /web/dump# diff -c kern_descrip.c.bak  
/sys/kern/kern_descrip.c
*** kern_descrip.c.bak  Sun Dec 17 05:10:51 2006
--- /sys/kern/kern_descrip.c    Sun Dec 17 02:37:01 2006
***************
*** 197,202 ****
--- 197,203 ----
 static int
 fdisused(struct filedesc *fdp, int fd)
 {
+       MPASS(fdp->fd_map != NULL);
         KASSERT(fd >= 0 && fd < fdp->fd_nfiles,
             ("file descriptor %d out of range (0, %d)", fd, fdp->fd_nfiles));
       return ((fdp->fd_map[NDSLOT(fd)] & NDBIT(fd)) != 0);


New backtrace:
http://upload.hshh.org/homes/hshh/temp/panic/kgdb-1217.log

Kernel config:
http://upload.hshh.org/homes/hshh/temp/panic/kernel-1217.log

On 12/15/06, hshh <[EMAIL PROTECTED]> wrote:
After recompile kernel with new conf:
http://upload.hshh.org/homes/hshh/temp/panic/kernel-1215.log
It still panic while SMP enabled.
kgdb backtrace:
http://upload.hshh.org/homes/hshh/temp/panic/kgdb-1215.log

On 12/15/06, LI Xin <[EMAIL PROTECTED]> wrote:
> hshh wrote:
> > Hi,
> > My FreeBSD server panic while running SMP kernel. All work fine if
> > disable SMP feature.
> >
> > uname log: http://upload.hshh.org/homes/hshh/temp/panic/uname.log
> > My kernel conf: http://upload.hshh.org/homes/hshh/temp/panic/kernel.log
> > Backtrace log: http://upload.hshh.org/homes/hshh/temp/panic/kgdb.log
>
> Would you please disable ZEROCOPY_SOCKETS and try if things gets improved?
>
> Cheers,
> --
> Xin LI <[EMAIL PROTECTED]>    http://www.delphij.net/
> FreeBSD - The Power to Serve!
>
>
>
>

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to