Hello everyone, Oh i am such a super-idiot, i was using a big name, which was'nt allowed. Thanks a lot pankaj, just one sentence from you saved me from hours of debugging. --- pankaj chauhan <chauhan_ait@yahoo.co.in> wrote: > > hi , > > > Why do'nt u go to slab.c ( line 642, as indicated by > ur err log ) and see where the problem is .. i'll > also > look in the code and get back to u ... > > Rgds, > Pankaj > > --- Zeeshan Ali <zeelists@yahoo.com> wrote: > > Hello, > > > > I get a segfault when i try to insmod a module > that > > calls kmem_cache_create. Here is the 'relevent' > > code: > > > > node_cache = > > kmem_cache_create ("hash_table_nodes_cache", > > sizeof (HashTableNode), > > 0, SLAB_HWCACHE_ALIGN, NULL, NULL); > > > > the value of sizeof (HashTableNode) is 16. > > Here is the exact error i get: > > > > ------------[ cut here ]------------ > > kernel BUG at slab.c:642! > > invalid operand: 0000 ===== "The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts." --Bertrand Russell "We are convinced that freedom without Socialism is privilege and injustice, and that Socialism without freedom is slavery and brutality." from the book: "The Political Philosophy of Bakunin". __________________________________ Do you Yahoo!? Yahoo! Search - Find what you?re looking for faster http://search.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/