SMP Kernel Panic while heavy load.

hshh hunreal at gmail.com
Sat Dec 16 13:15:12 PST 2006


As LI Xin's said,
I modified sys/kern/kern_descrip.c,
[root at www] /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 <hunreal at gmail.com> 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 <delphij at delphij.net> 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 <delphij at delphij.net>    http://www.delphij.net/
> > FreeBSD - The Power to Serve!
> >
> >
> >
> >
>


More information about the freebsd-stable mailing list