buggnokii - Bugs: bug #17065, Multiple problems with GKU2 and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17065: Multiple problems with GKU2 and kernel 2.6.16

Submitted by:  None
Submitted on:  Sat 08 Jul 2006 02:43:11 PM UTC  
 
Category: buildSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Pawel Kot <pkot>
Open/Closed: Closed

Mon 10 Jul 2006 07:44:26 PM UTC, comment #2:

Yes, that's fixed in CVS. Also nokia_dku2 module is deprecated in favour of the userspace driver (starting from gnokii 0.6.13).

You need usb-serial either compiled in or as a module to use nokia_dku2 module

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Sat 08 Jul 2006 03:17:12 PM UTC, comment #1:

Another minor bug is in the Makefile for DKU2:

> ...
> install -m 744 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT)
> ...


I believe this should be ... -m 644, and there should be a check, whether $(MODULE_ROOT) exists. You do not have /lib/modules/<kernel-name>/kernel/drivers/usb/serial if you compile your kernel without USB-Serial support.

Leonid Chaichenets <l2l_k6>
Sat 08 Jul 2006 02:43:11 PM UTC, original submission:

Compilation of gku2 module fails with gnokii-0.6.13 and kernel 2.6.16(-gentoo-r7).

Error reported is:

> gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.c:62: error: syntax > error before numeric constant


It seems to me, that the bug is in nokia_dku2.h:

> ...
> #define NOKIA7600_PRODUCT_ID 0x0400 7600
> #define NOKIA6650_PRODUCT_ID 0x0401 6650
> #define NOKIA6255_PRODUCT_ID 0x0402 6255
> #define NOKIA6651_PRODUCT_ID 0x040E 6651
> #define NOKIA6230_PRODUCT_ID 0x040F 6230
> #define NOKIA6170_PRODUCT_ID 0x0416 6170
> #define NOKIA7270_PRODUCT_ID 0x0417 7270
> #define NOKIA7710_PRODUCT_ID 0x041C 7710
> #define NOKIA3230_PRODUCT_ID 0x0421 3230
> #define NOKIA6230i_PRODUCT_ID 0x0428 6230i
> ...


the last field (7600 6650 ...) makes no sense! Removing it allows me to compile the module. However several warning appear on compilation:

> make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'
> CC [M] /var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.o
> Building modules, stage 2.
> MODPOST
> *** Warning: "usb_serial_deregister" [/var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.ko] undefined!
>*** Warning: "usb_serial_register" [/var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.ko] undefined!
>*** Warning: "usb_serial_disconnect" [/var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.ko] undefined!
>*** Warning: "usb_serial_probe" [/var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.ko] undefined!
> CC >/var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.mod.o

LD [M] >/var/tmp/gnokii-0.6.13/patches/kernel_2.6/nokia_dku2.ko

>make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'


And indeed the loading of the module fails with:

>FATAL: Error inserting nokia_dku2 >(/lib/modules/2.6.16-gentoo-r7/kernel/drivers/usb/serial/nokia_dku2.ko): Unknown symbol in module, or unknown parameter (see dmesg)


Dmesg tells me:

> ...
> nokia_dku2: Unknown symbol usb_serial_disconnect
> nokia_dku2: Unknown symbol usb_serial_probe
> nokia_dku2: Unknown symbol usb_serial_register
> nokia_dku2: Unknown symbol usb_serial_deregister
> ...

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 10 Jul 2006 07:44:26 PM UTCpkotStatusNone=>Fixed
  Assigned toNone=>pkot
  Open/ClosedOpen=>Closed
Sat 08 Jul 2006 02:48:48 PM UTCl2l_k6Carbon-Copy-=>Added l2l_k6

Back to the top


Powered by Savane 3.1-cleanup1