| Summary: | kernel crash with kldload/kldunload md.ko | ||
|---|---|---|---|
| Product: | Base System | Reporter: | davidx <davidx> |
| Component: | kern | Assignee: | dcs <dcs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.2-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
davidx
2001-02-16 06:20:01 UTC
On Thu, Feb 15, 2001 at 10:15:33PM -0800, davidx@viasoft.com.cn wrote: > >Originator: David Xu > >Release: FreeBSD 4.2-RELEASE ^^^^^^^^^^^^^^^^^^^ > when I kldload and kldunload malloc disk module md.ko, kernel crashed. > blah, blah, .... md(4) isn't in 4.x. If you're trying to kldload a module built under -current in 4.x, it won't work. Is this the case? Kris Responsible Changed From-To: freebsd-bugs->dcs I'm working on it right now. State Changed From-To: open->feedback Patches have been committed. If no further problems are detected, I'm going to close this PR. Hello Brad, Monday, March 05, 2001, 3:42:24 AM, you wrote: BL> > >Originator: David Xu BL> > >Release: FreeBSD 4.2-RELEASE BL> ^^^^^^^^^^^^^^^^^^^ BL> > when I kldload and kldunload malloc disk module md.ko, kernel crashed. BL> > blah, blah, .... BL> You have the following in your kernel config file - it is enabled in the GENERIC kernel BL> by default, and is easily missed: BL> pseudo-device md # Memory "disks" BL> I was able to reproduce the kernel panic with that option enabled in the config file. BL> The kernel bails out for obvious reasons; removing this option enables safe loading and BL> unloading of this module. BL> What is needed is a safety against loading a kernel module with code which already exists BL> in the BSD kernel itself; I've seen similar issues where modules are not prevented from BL> loading, particularly in my PPPoE setup (ng_pppoe.ko). BL> Cheers, BL> Brad Yeah, you are genius. -- Best regards, David Xu mailto:davidx@viasoft.com.cn State Changed From-To: feedback->closed Remaining issues are a duplicate of PR 24392. |