| Summary: | Fatal trap 12 in kldunload() on 4.4-RC | ||
|---|---|---|---|
| Product: | Base System | Reporter: | behanna <behanna> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
behanna
2001-09-03 06:40:00 UTC
It seems, that problem is related to statically compiled in kernel COMPAT_LINUX staff... Had the same problem, after commenting out 'options COMPAT_LINUX' it disappeared (not sure when it was introduced, my previous kernel is dated June, 17 and does not have COMPAT_LINUX compiled in). Sources updated on September, 8, 23:20 MSD (GMT-4) Sincerely yours, Sergey Mokryshev State Changed From-To: open->feedback Does this still happen with more recent FreeBSD versions? Since removing LINUX_COMPAT from the kernel (I load the module from the loader now), this problem has disappeared. It only occurred when you had a kernel with option LINUX_COMPAT compiled in and also had linux.ko dynamically loaded. I deliberately compiled a 4.7-STABLE kernel with option LINUX_COMPAT from sources cvsup'd at Wed Dec 4 12:01:41 EST 2002, and attempted to boot it while linux.ko was loaded. This kernel was unable to boot--it panic'd in process swapper, before it could even configure itself to do a dump. Hence, I was not able to reproduce the problem. A kernel identical save for the fact that option LINUX_COMPAT is not present booted just fine and serves as my production kernel. Chris BeHanna <behanna@zbzoom.net> State Changed From-To: feedback->closed Submitter reports problem was due to kldloading code that was statically compiled into the kernel. |