Page 1 of 1

Building on 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 15:17

PostPosted: Wed May 29, 2013 11:14 pm
by Grimeton
Hi,

trying to build the sources against the 3.8.0-22-generic tree of the Ubuntu kernel leaves me with wrong version numbers of the dvb_usb_* symbols of the TBS modules.

It also overwrites the dvb-usb.ko module of the kernel when running a "make install" which then also errors out with a wrong version umber of the dvb* symbols.

It looks like this for the dvb-usb.ko module :

Code: Select All Code
May 29 16:20:23 fennzeh kernel: [ 1448.191572] dvb_usb: Unknown symbol rc_register_device (err -22)
May 29 16:20:23 fennzeh kernel: [ 1448.191605] dvb_usb: disagrees about version of symbol rc_free_device
May 29 16:20:23 fennzeh kernel: [ 1448.191608] dvb_usb: Unknown symbol rc_free_device (err -22)
May 29 16:20:23 fennzeh kernel: [ 1448.191637] dvb_usb: disagrees about version of symbol rc_allocate_device
May 29 16:20:23 fennzeh kernel: [ 1448.191639] dvb_usb: Unknown symbol rc_allocate_device (err -22)
May 29 16:20:23 fennzeh kernel: [ 1448.191679] dvb_usb: disagrees about version of symbol rc_unregister_device
May 29 16:20:23 fennzeh kernel: [ 1448.191681] dvb_usb: Unknown symbol rc_unregister_device (err -22)
May 29 16:20:32 fennzeh kernel: [ 1456.972144] dvb_usb: disagrees about version of symbol rc_register_deviceMay 29 16:20:32 fennzeh kernel: [ 1456.972150] dvb_usb: Unknown symbol rc_register_device (err -22)
May 29 16:20:32 fennzeh kernel: [ 1456.972172] dvb_usb: disagrees about version of symbol rc_free_deviceMay 29 16:20:32 fennzeh kernel: [ 1456.972174] dvb_usb: Unknown symbol rc_free_device (err -22)
May 29 16:20:32 fennzeh kernel: [ 1456.972192] dvb_usb: disagrees about version of symbol rc_allocate_device
May 29 16:20:32 fennzeh kernel: [ 1456.972195] dvb_usb: Unknown symbol rc_allocate_device (err -22)
May 29 16:20:32 fennzeh kernel: [ 1456.972218] dvb_usb: disagrees about version of symbol rc_unregister_device
May 29 16:20:32 fennzeh kernel: [ 1456.972221] dvb_usb: Unknown symbol rc_unregister_device (err -22)


and like this for the dvb_usb_tbsqbox22 module:

Code: Select All Code
May 29 17:02:22 fennzeh kernel: [ 1017.400251] dvb_usb_tbsqbox22: disagrees about version of symbol dvb_usb_device_init
May 29 17:02:22 fennzeh kernel: [ 1017.400257] dvb_usb_tbsqbox22: Unknown symbol dvb_usb_device_init (err -22)


Frankly: The hardware is nice, it works I can watch TV and everything. Ok, only if an update of Ubuntu is not killing the self hacked V4L-tree provided by you braindead people. Why can't the source be included in the main kernel line? Where's the f*cking problem? Every other hardware is included, or at least it doesn't provide a totally different V4L-tree that is self hacked, semi patched, amateur style f*cked up and breaks with every minor kernel release change.

Next card will not be a TBS card as long as you are not able to provide a working set of modules. And don't tell me that you just have to fix a few things to make it work. That's not the deal when it comes to Linux. Provide the source to be included in the mainline tree and stop crying about any company secrets that don't exist in an OS like Linux or Windows anyway. The only secret you can have is in your hardware and/or its firmware. That's a fact, or don't you think it would be that hard to run debug sessions to figure out what you f*cked up source is meant to be doing - which it most of the time doesn't do....

Grow up guys and fix this the right way.

A not satisfied customer anymore,

G.

Re: Building on 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 1

PostPosted: Thu May 30, 2013 5:04 am
by crazycat
TBS Linux FAQ

Q1. after the drivers are installed there are error messages like:

"disagrees about version of symbol..."

and/or

"Unknown symbol..."

on 'dmesg' output and no DVB devices are created.

A1: do the following:

# sudo rm -rf /lib/modules/<kernel_version>/kernel/drivers/media/

where "<kernel_version>" is replaced by the loaded kernel version
and then reinstall the drivers with doing "make install".

TBC

EOF

P.S. About open-source V4L - first ask V4L community about core saa716x support, because many TBS device use this PCI-E bridge.

Re: Building on 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 1

PostPosted: Sat Jun 01, 2013 12:28 am
by updatelee
It kinda sounds like you didn't do your home work before buying the card. TBS does make cards that are 100% open source as well as others that other users have wrote open source drivers for.

I would love to see all devices 100% open source, but it really is up to the manufacturer, not you, what of any drivers he releases for Linux. Don't like it? Write the drivers yourself, I added 6925 support because I couldn't use pre compiled libraries with my modified tree. Get out the logic analyzer, oscilloscope, and USB logger and get writing code.

UDL