Re: Newbie: ENBD on kernel 2.6 - kernel crash!

"Peter T. Breuer" <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
"Also sprach Roland Paterson-Jones:"
> >load the tainting driver.
> >  
> >
> Peter, I looked this up. Notice the kernel output line:
> 
> "May 17 11:29:24 localhost kernel: enbd: no version for "struct_module" 
> found: kernel tainted. "

Then there is something wrong, because the enbd module is GPL and says
so.

> So it looks like the 'taint'ing simply means that the ENBD module is not 
> labeled as GPL.

Then you have not compiled it, because it IS! Look in the source, Luke
:-):

  betty:/usr/oboe/ptb/lang/c/nbd/nbd-2.4.32/kernel/linux-2.6.x/drivers/block/enbd%
  grep -4 GPL *
  enbd_base.c-
  enbd_base.c-#ifdef MODULE
  enbd_base.c-MODULE_AUTHOR ("Peter T. Breuer, Andres Marin");
  enbd_base.c-MODULE_DESCRIPTION ("Enhanced Network Block Device " ENBD_VERSION);
  enbd_base.c:MODULE_LICENSE ("GPL");
  enbd_base.c-#endif              /* MODULE */
  enbd_base.c-

and therefore it is defined. Something is wrong with your compilation.

> >Oh? Well, init oopsed. Half way through. Scatter some printk's through
> >the routine and it should become clear where.

I may add that of course this is again not normal. Init runs
fine. There is some chance that a kernel registration routine has
changed, but I doubt it. At any rate, it's easy to chase down, whatever
it is, so there's no point in thinking about it. It's more likely a
fundamental miscompilation, since the licence is missing!

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.