Pb porting a driver from 2.4 to 2.6 : unknown symbol exit_files ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hello,

I'm posting here for the first time, I hope to be on the right list for my
problem.

I'm porting a private kernel driver from 2.4 to new 2.6 Linux kernel (2.6.8
precisely),
on a Debian system.
I've modified its sources and its compile scheme, get a module (named
x25sbs.ko),
but when I'm trying to load it, I get the following message :

# modprobe x25sbs
FATAL: Error inserting x25sbs (/lib/modules/2.6.8-dev/extra/x25sbs.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
# dmesg|tail -10
...
x25sbs: Unknown symbol exit_files

This module uses really this function (in a kernel thread), but this functions
seems to always
exist in the 2.6 series :

# grep exit_files /boot/System.map-2.6.8-dev 
c011c4d0 T exit_files
c012ae68 t kthread_exit_files

So I don't understand why modprobe tells me that !

Can anybody tells me where I'm wrong ? thanks.

	with regards,

		Fred.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux