|
|
Home Linux and 3G Forum
|
|
PHARscape 3G Datacards and Linux
|
| View previous topic :: View next topic |
| Author |
Message |
tributepower
Joined: 13 Jul 2006 Posts: 2

|
Posted: Thu Jul 13, 2006 7:05 am Post subject: Error after insmod (ubuntu 2.6.15-26-686) with nozomi 2.1 |
|
|
I've tried to compile and insert the ne 2.1 nozomi driver.
With my Ubuntu Dapper with 2.6.15-26-686 Kernel, there will be a warning during compile.
When i try to load the module, it dosn't work.
Attached the messages:
COMPILE:
Warning: Compiling for 2.6:
make -C /lib/modules/2.6.15-26-686/build SUBDIRS=/root/nozomi-new modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-26-686'
Building modules, stage 2.
MODPOST
*** Warning: "tty_buffer_request_room" [/root/nozomi-new/nozomi.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-26-686'
INSMOD:
insmod ./nozomi.ko
insmod: error inserting './nozomi.ko': -1 Unknown symbol in module |
|
| Back to top |
|
 |
Paul Site Admin
Joined: 08 Oct 2004 Posts: 510 Location: UK and Belgium

|
Posted: Thu Jul 13, 2006 12:26 pm Post subject: 2.6.15 Kernels |
|
|
It seems that 2.6.15 is a transitional kernel - so some distros with 2.6.15 don't have the tty_flip structure but have a tty_buffer_request_room function.
If you have a 2.6.15 kernel but the driver fails compilation with "tty_buffer_request_room" your solution will be to try the older 2.6 compile options by deleting the lines 88-89 of nozomi.c :
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,14)
#define KERNEL_2_6_14
#endif
Cheers,
Paul |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
|
|
|
|