On Mon, Dec 04, 2006 at 04:54:39PM -0800, Junhan Zhang (junhan) wrote: > I have a kernel module which uses sys_open(), however, when I insmod, > I got unknown symbol sys_open(). Do you know why? By the way, I use > kernel 2.6.11 . Thanks a lot. The module should not need that symbol. It's a wrong way to open files from kernel (not mentioning that it's wrong to open files in kernel at all), because it uses file handles, that are associated with processes, a luxury that kernel modules don't have. What kind of module it is? > bash-2.05b# insmod flash.ko > aesop_flash: Unknown symbol sys_open > Dec 4 07:08:56 localhost kernel: aesop_flash: Unknown symbol sys_open > insmod: error inserting 'flash.ko': -1 Unknown symbol in module -------------------------------------------------------------------------------- - Jan Hudec `Bulb' <bulb@xxxxxx> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/