--- Daniele Bellucci <bellucda@tiscali.it> wrote: > > >N.B: I Suppose you're running 2.4 kernel > Yes, the last Mandrake kernel, that is based in a 2.4.21-pre. >..... >> >> Major = module_register_chrdev(0, DEVICE_NAME, &Fops); /* Wrong!!*/ > > Major =register_chrdev(0, DEVICE_NAME, &Fops); >..... >> ret = module_unregister_chrdev(Major, DEVICE_NAME); /* Wrong!! */ > > ret = unregister_chrdev(Major, DEVICE_NAME); >..... This change works okay. Fantastic!. >> >> ÂWhat is a "unresolved symbol"? > > unresolved symbol means that such symbol isn't exported by kernel >(by mean of EXPORT_SYMBOL)... >take a look to /proc/ksyms to get a list of such symbols. > >N.B: There are other clean up to do in that code >(module_init/module_cleanup [look at include/linux/init.h]), as >well as MINOR(inode->r_dev) [include/linux/fs.h] .... have fun! > > >> As ever, Thank you very much, in advance. > > >No thanks but sangria ;) > Well... when you want!. Very cold with a lot of ice, fruit, and of course... wine. ;P It's a great thing drink it while eat paella. Thanks you very much, Daniele. Chao. Jose. http://linuxespana.scripterz.org FreeBSD RELEASE 4.8. Mandrake Linux 9.1 Kernel 2.4.21 XFS. Registered Linux User #213309. Memories..... You are talking about memories. Rick Deckard. Blade Runner. _____________________________________________________________ Get your own free tiggerfan.com email address!! DisneySites!! - http://www.disneysites.com/webmail/tiggerfan _____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/