Re: modload() fails with ENOREG
- From: Don Morris <dmorris@xxxxxxxxxx>
- Date: Tue, 17 Jan 2006 15:46:02 GMT
iam.techy@xxxxxxxxx wrote:
Hi, I need to load a dlkm module programatically in 11.23 (IA). When I try to load any dlkm module through modload() syscall, I get ENOREG error. syslog shows "modld: Attempt to load unregistered module".kcmodule loads the module without any issues. So how can I load the same module by using modload () syscall ? Thanks.
Well, according to to modload(2) man page:
The module must be of a supported type and must have been registered via kcmodule(1M) before it can be loaded.
Have you run kcmodule with your target module?
Don .
- Follow-Ups:
- Re: modload() fails with ENOREG
- From: iam.techy@xxxxxxxxx
- Re: modload() fails with ENOREG
- References:
- modload() fails with ENOREG
- From: iam.techy@xxxxxxxxx
- modload() fails with ENOREG
- Prev by Date: Re: get file system type name
- Next by Date: Re: question on adding static route
- Previous by thread: modload() fails with ENOREG
- Next by thread: Re: modload() fails with ENOREG
- Index(es):
Relevant Pages
|