[linux-dvb] flexcop-pci.ko insmod failure

Alan Halverson alan at halversons.org
Tue Jun 28 19:27:25 CEST 2005


New to the list and linux dvb.  It's been a little frustrating  
getting going, but I now have a kernel with support for a pair of  
Air2PC 1st gen cards with the bcm3510 frontend.

I'm using the 2.6.12-git9 kernel patch on Fedora Core 3.  Initially,  
the flexcop-pci.ko module failed to load with this error:

Jun 28 08:25:46 dualxeon kernel: kobject_register failed for  
Technisat/B2C2 FlexCop II/IIb/III PCI (-13)
Jun 28 08:25:46 dualxeon kernel:  [<c021777d>] kobject_register+0x5d/ 
0x70
Jun 28 08:25:46 dualxeon kernel:  [<c02a3b82>] bus_add_driver+0x72/0xc0
Jun 28 08:25:46 dualxeon kernel:  [<c02250d8>] pci_register_driver 
+0x98/0xb0
Jun 28 08:25:46 dualxeon kernel:  [<c014bf72>] sys_init_module 
+0x132/0x1d0
Jun 28 08:25:46 dualxeon kernel:  [<c0103a8f>] sysenter_past_esp 
+0x54/0x75

Turns out that having a forward slash "/" in the driver name is  
illegal.  With the following diff, the flexcop-pci.ko modules loads  
correctly:

--- linux-2.6.12-clean/drivers/media/dvb/b2c2/flexcop-pci.c      
2005-06-17 14:48:29.000000000 -0500
+++ linux-2.6.12/drivers/media/dvb/b2c2/flexcop-pci.c   2005-06-28  
09:24:03.000000000 -0500
@@ -357,7 +357,7 @@
MODULE_DEVICE_TABLE(pci, flexcop_pci_tbl);
static struct pci_driver flexcop_pci_driver = {
-       .name = "Technisat/B2C2 FlexCop II/IIb/III PCI",
+       .name = "Technisat B2C2 FlexCop II IIb III PCI",
         .id_table = flexcop_pci_tbl,
         .probe = flexcop_pci_probe,
         .remove = flexcop_pci_remove,

I'm sure flexcop-usb.c (and others) would need a similar diff also.

_Alan




More information about the linux-dvb mailing list