[06:45] <tomdob> is anyone able to assist with patch I am trying to deploy for a usbadaptor [06:47] <tomdob> when I attempt to modprobe I get an error : cant load, invalid argument. The patch files seems fine. Not sure why I am getting the error [10:22] <notnow1> hi. can anyone help with issue I have with compiling driver patch [10:23] <notnow1> ls [11:09] *** XSoul has quit IRC (Read error: No route to host) [11:45] <notnow1> hi trying to compile a driver without success [11:45] <notnow1> please help with troubleshooting [11:57] <notnow1> please help with troubleshooting [12:31] <notnow1> hi, can anyone help in getting a driver to work / compile [12:31] <notnow1> I patched a cx231xx but it isnt working for me and need help with troubleshoot [13:48] <kbingham> notnow1: You need to give a lot more information than 'I'm having difficulty compiling' copy / paste the build log into a pastebin utility (don't paste here) and then post the link if you want someone to look at it [13:49] <kbingham> notnow1: Just seen higher in the logs as well, if you have compiled it but you can't modrpobe it - check dmesg too .. it will probably tell you that there are symbols missing or something. [14:14] <notnow1> kbingham, I think the issue I am having relates to the drivers not being loaded / and or card not being recognised [14:14] <kbingham> notnow1: Have you checked dmesg? [14:20] <notnow1> kbingham, https://pastebin.com/hnirbk1d [14:21] <notnow1> I compared the inf driver for the usb and appears to have the same or close to the OTG102 [14:22] <notnow1> looking for "dvd" in dmesg is null [14:22] <notnow1> and any reference to cx231xx driver is also null [14:22] <notnow1> sorry "dvb" [14:25] <notnow1> here is the patch to the OTG2 driver; OTG2 is now part of the starndard kernel 4.4.0 [14:25] <notnow1> https://linuxtv.org/wiki/index.php/OTG102 [14:25] <kbingham> notnow1: what is the full output of the dmesg... I don't think the paste you have given gives anything relevant. ... [14:26] <notnow1> I will need to reboot to give you a full dmesg. 2 ticks [14:32] <notnow1> kbingham, https://pastebin.com/xtGV7AmU [14:34] <notnow1> kbingham, is there a way that I can uninstall my changes and return to the default kernel modules so I compare [14:34] <kbingham> kbingham: What did you do to install ? [14:34] <kbingham> What did you do to build ? [14:35] <notnow1> basic install ./build to compile and sudo make install [14:35] <kbingham> notnow1: Have you checked that there wasn't already a module loaded when you tried to load? [14:35] <kbingham> lsmod would be useful for you to check too. [14:36] <kbingham> notnow1: If you did a sudo make install, then I presume that has installed the modules over your existing set. So restoring depends on your distribution. You might be able to force a resinstall from your package manager. [14:36] <kbingham> But I would guess you have overwritten your existing module. [14:37] <notnow1> that was I was afraid of [14:37] <kbingham> When you compile a module - you don't need to install it to test int. [14:37] <kbingham> test it* [14:37] <kbingham> just do sudo insmod ./mymodule.ko [14:38] <kbingham> but make sure that the module hasn't already been loaded. You can't insert two versions of the same module. [14:38] <kbingham> Also, doing insmod ./mymodule_just_compiled.ko means you know you are loading the module you expect. [14:38] <kbingham> At the moment, I do'nt know if you aren't just loading an old module? [14:39] <kbingham> and there's no sign that you have loaded a module in that latest dmesg ? [14:39] <notnow1> looking at insmod, I dont see cx231xx loaded [14:39] <kbingham> notnow1: you mean lsmod I hope :) [14:40] <notnow1> lsmod yes [14:40] <kbingham> So - now try to sudo insmod ./cx231xx.ko or whatever has been built. [14:40] <notnow1> Can I test this all in a VM ? or do I need to test with baremetal [14:41] <kbingham> notnow1: That depends on your VM :) [14:41] <notnow1> virtualbox I am more familiar with [14:41] <notnow1> lvm is not something I spent much time with [14:41] <kbingham> I have tested kernel modules through VM's. If you can enable usb passthrough for that device. [14:42] <notnow1> I think I done that with Vbox before, it just a pain getting to work on linux [14:43] <notnow1> alternatively do you know of good snapshot method for ubuntu on baremetal [14:44] <notnow1> btrfs any good? or should I stick with VM's [14:44] <kbingham> ? [14:44] <kbingham> Thats a very different topic :) [14:44] <notnow1> understood [14:45] <kbingham> I still haven't seen any output relevant to you trying to load the module and showing where it fails yet. [14:46] <notnow1> Getting back to module, I will attempt to do a clean install and boot and compare the results. Pain but I way I know to return to standard state. thanks for your help. Goto to go to bed now [14:46] <kbingham> just reinstall the kernel modules package. [14:46] <kbingham> You don't need a full system re-install. [14:47] <notnow1> something like this sudo apt-get install --reinstall linux-image-generic linux-image [14:48] <notnow1> ? [14:48] <b-rad> linux-image-extra [14:49] <notnow1> sudo apt-get install --reinstall linux-image-generic linux-image linux-image-extra [14:50] <kbingham> it will be something like that yes. [14:51] <kbingham> dpkg -S /lib/modules/`uname -r`/kernel/drivers/media/usb/cx231xx/cx231xx* will tell you the real package name rather than the indirect. [14:55] <kbingham> Hrm, looks like there are a lot of module dependancies anyway for cx231 ... so insmod isn't so straight forwards. [19:17] <chatter29> hey guys [19:17] <chatter29> allah is doing [19:17] <chatter29> sun is not doing allah is doign [19:17] <chatter29> sun is not doing allah is doing [19:17] <chatter29> to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger [21:22] *** Sashmo has quit IRC (Ping timeout: 240 seconds)