Date: Sun, 25 May 2008 21:28:36 -0400 From: "Andrew Edwards" <aedwards@sandvine.com> To: <freebsd-net@freebsd.org> Subject: panic in nfsd in freebsd7-release and -stable Message-ID: <5230D3C40B842D4F9FB3CD368021BEF7020107F1@exchange-2.sandvine.com>
next in thread | raw e-mail | index | archive | help
I have a system that was running some version of redhat (I don't remember now) and I upgraded it to freebsd7 and I would get an immediate panic when nfsd is started. I then updated to 7-stable (on May 24th) and built a new kerenl and userland and the panic continued.=20 This was happening 100% of the time whenever nfsd is started but what I later discovered was that because I had used the same IP's as the linux host there were some systems that still had a filesystem mounted from before the conversion. I put in an ipfw rule to block those hosts and then I was able to start nfsd without crashing and then create new mounts. I have been able to work-around the issue by forcing all of the servers that were mounting from the linux os to remount, I am only including this information just in case someone else runs into a similar problem. Thanks, Andrew Here's the backtrace Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 06 fault virtual address =3D 0x18 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc06ce915 stack pointer =3D 0x28:0xe8f32a48 frame pointer =3D 0x28:0xe8f32a64 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 755 (nfsd) trap number =3D 12 panic: page fault cpuid =3D 1 Uptime: 40m22s Physical memory: 3318 MB Dumping 93 MB: 78 62 46 30 14 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc069a917 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc069ac13 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc0926763 in trap_fatal (frame=3D0xe8f32a08, eva=3D24) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc09270ff in trap (frame=3D0xe8f32a08) at /usr/src/sys/i386/i386/trap.c:280 #5 0xc090c84b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc06ce915 in turnstile_broadcast (ts=3D0x0, queue=3D0) at /usr/src/sys/kern/subr_turnstile.c:835 #7 0xc068d292 in _mtx_unlock_sleep (m=3D0xc0a47e10, opts=3D0, = file=3D0x0, line=3D0) at /usr/src/sys/kern/kern_mutex.c:611 #8 0xc0849b79 in nfsrv3_access (nfsd=3D0xc6ba5d00, slp=3D0xc6b7f700, td=3D0xc6856c60, mrq=3D0xe8f32c58) at /usr/src/sys/nfsserver/nfs_serv.c:253 #9 0xc085bc71 in nfssvc (td=3D0xc6856c60, uap=3D0xe8f32cfc) at /usr/src/sys/nfsserver/nfs_syscalls.c:461 #10 0xc0926d35 in syscall (frame=3D0xe8f32d38) at /usr/src/sys/i386/i386/trap.c:1035 #11 0xc090c8b0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #12 0x00000033 in ?? ()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5230D3C40B842D4F9FB3CD368021BEF7020107F1>