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

Kernel patch 16936 requested



Hi guys! I know you must be busy with lots of stuffs there. I am sorry to send you a request for the kernel patch 16936 at
http://patchwork.kernel.org/patch/16936/
Basically it fixes some bugs and adds support for a Topro-chip-based webcam, for which I have long desired.

I tried to build a module to replace gspca_t613.ko but failed with a strange error. It seems not due to vermagic-incompatibility. Here is the output of modinfo:
filename:       gspca_t613.ko
license:        GPL
description:    GSPCA/T613 (JPEG Compliance) USB Camera Driver
author:         Leandro Costantino <le_costantino@pixartargentina.com.ar>
alias:          usb:v17A1p0128d*dc*dsc*dp*ic*isc*ip*
depends:        gspca_main,usbcore
vermagic:       2.6.30-1-686 SMP mod_unload modversions 686

filename:       gspca_t613.ko.bak
license:        GPL
description:    GSPCA/T613 (JPEG Compliance) USB Camera Driver
author:         Leandro Costantino<le_costantino@pixartargentina.com.ar>
alias:          usb:v17A1p0128d*dc*dsc*dp*ic*isc*ip*
depends:        gspca_main,usbcore
vermagic:       2.6.30-1-686 SMP mod_unload modversions 686

As you may see here, the one without .bak suffix is what I compiled with debian's linux-source-2.6.30 package patched with 16936 and the other is the official module shipped with linux-image-2.6.30-1-686.

I checked the dmesg output it says both gspca_t613 and gspca_main (if I replace it too since it is depended by t613) might cause an error:
[23074.336118] usb 4-1: USB disconnect, address 3
[23077.012070] usb 4-1: new full speed USB device using uhci_hcd and address 4
[23077.185600] usb 4-1: New USB device found, idVendor=06a2, idProduct=0003
[23077.185609] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[23077.185755] usb 4-1: configuration #1 chosen from 1 choice
[23129.832516] gspca_main: no symbol version for module_layout
[23133.662315] gspca_main: no symbol version for module_layout
[23715.574510] gspca: main v2.5.0 registered
[23715.574799] gspca_t613: no symbol version for module_layout
[24707.969844] gspca_t613: no symbol version for module_layout
[25405.247398] gspca_t613: no symbol version for module_layout
[25575.909439] gspca_t613: no symbol version for module_layout
[25597.327205] gspca_t613: no symbol version for module_layout
[26020.020324] gspca_t613: no symbol version for module_layout
[26220.121513] gspca_t613: no symbol version for module_layout
[26707.562201] gspca_t613: module_layout: kernel tainted.
[26707.562210] Disabling lock debugging due to kernel taint
[26707.564453] usbcore: registered new interface driver t613
[26707.564459] t613: registered
[26766.195295] usbcore: deregistering interface driver t613
[26766.195346] t613: deregistered
[26770.329406] gspca: main deregistered
[27385.983256] gspca_main: no symbol version for module_layout
[27391.960981] gspca: main v2.5.0 registered
[27391.963634] usbcore: registered new interface driver t613
[27391.963642] t613: registered
[27462.370146] usbcore: deregistering interface driver t613
[27462.370198] t613: deregistered
[27464.253071] gspca: main deregistered
[31483.523833] gspca_main: no symbol version for module_layout
[31491.483300] gspca_main: no symbol version for module_layout
[31686.396747] gspca_main: no symbol version for module_layout

If I insert these modules with --force option, I can't find my camera device in /dev/ still. Here the tainted thing happened when I inserted a wrong version forcefully. But later I corrected the versioning.

I can't find some useful links about these errors on the Internet and then I am wondering whether you may put the patch into the debian kernel (since it has been accepted by upstreams already). If you do not have the time at present, could you please tell me what I might do to install the driver? I would really appreciate either.

BTW I can still find spca5xx in module-assistant while the module source has already been removed from the previous separate package. That might cause some confusion.

Best wishes!

-- 
He, Li
Shanghai Key Lab of Intelligent Information Processing
School of Information Science and Engineering
Fudan University, Shanghai, China
E-mail: I.demonstrate@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: