Re: kernel panic after insmod

"Peter T. Breuer" <[email protected]> Mon, 8 May 2006 18:05:34 +0200 (MET DST)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
"Also sprach Dosadnik:"
> I am trying to load the enbd kernel driver on CentOS
> 4.3 linux with 2.6.9 kernel. I am using the last
> version of the enbd -> nbd-2.4.33pre.tgz. I have no
> problems compiling the last version with gcc (GCC)

Yes you do ...

> 3.4.5 20051201 (Red Hat 3.4.5-2), but when i try to
> insmod/modprobe the kernel driver I get a kernel panic
> after 5 seconds and this text in /var/log/messages:
> 
> kernel: enbd: no version for "struct_module" found:

There you are! Compile it again, this time correctly :).

Use a plain kernel from kernel.org, not a RH kernel, and in
any case, make sure you have (configured and) COMPILED the kernel once
yourself before doing anything else.

For any other advice, I'd need more data, such as a compile log.

Peter