Re: panic when returning error on MOD_LOAD

2001-07-09 Thread Dima Dorfman
"Eugene L. Vorokov" <[EMAIL PROTECTED]> writes: > Hello, > > I'm pretty confused with the fact that kernel panics when my module's > event handler returns something greater than zero on MOD_LOAD. I wanted > module to refuse to load when it can't find it's config file, so I > thought I can return

panic when returning error on MOD_LOAD

2001-07-08 Thread Eugene L. Vorokov
Hello, I'm pretty confused with the fact that kernel panics when my module's event handler returns something greater than zero on MOD_LOAD. I wanted module to refuse to load when it can't find it's config file, so I thought I can return error code and it will not be loaded, and behaviour of modul