We've just upgraded a couple of our servers from 10.3-RELEASE to 11.0-RELEASE. In our environment, we have an executable file on NFS, which is automounted on /net. If we executed /net/executable_file before the directory is automounted, kernel panic will occur. However, 10.3-RELEASE and previous releases doesn't seem to have such problem.
Can you get a backtrace of the panic, please?
I tried to get a core dump of the kernel panic by setting the dumpdev to AUTO and dumpdir to /var/crash but still got nothing. My FreeBSD would just freeze or worse, reboot. And please let me repharse it a little bit, we have a setuid executable on local drive as a setuid wrapper which calls execve() to execute a perl script located on the NFS. And kernel panic occured only when the /net folder is not automounted. If we list the /net folder (so that the NFS get mounted) and execute the setuid wrapper then everything is fine.
This might be a bug fixed in r311284, not yet merged to stable/11. Do you use autofs or amd ?
We use autofs.
I'll try to apply the patch provided in r311284 and see if it work.
Thanks guys, The r311284 patch worked like a charm.