Compiling 3rd-party module from source on OXNAS plug

Discussion about U-Boot and the kernel.

Compiling 3rd-party module from source on OXNAS plug

Postby DavidYon » Sat Jun 18, 2011 11:15 pm

So I've gotten my V3 plug on the new OXNAS-based kernel (thanks much guys!). That's seems to be working ok, with the caveat of the udev 100% CPU problem. I'm working around that in the rc.local script.

But I'm having trouble with the usb-redirector server, part of which is delivered as a kernel module, which is compiled from source. You folks probably already know this, but there is a mismatch in the OXNAS build:

$this->bbcode_second_pass_code('', '
[root@usbsrv ~]# uname -r
2.6.31.6_SMP_820
[root@usbsrv ~]# ls /usr/src/
linux-2.6.38
[root@usbsrv ~]#
')

So I've got a running kernel of 2.6.31, but the sources to 2.6.38. So how do I get to the point where I can compile a module that will install on this plug? I couldn't find anything obvious in the repo. Is it just not fully baked yet? Or is there somewhere specific I can look?

Thanks again for all the great work....
DavidYon
 
Posts: 19
Joined: Thu May 19, 2011 11:34 am

Re: Compiling 3rd-party module from source on OXNAS plug

Postby pepedog » Sat Jun 18, 2011 11:45 pm

Does this have relevance?
viewtopic.php?f=29&t=1234
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Compiling 3rd-party module from source on OXNAS plug

Postby tritron » Sun Jun 19, 2011 3:51 am

Well you can download source of kernel from pogoplug and recompile it. If you have linux workstationyoucan recompile kernel or just modules. What modules are youlooking for ?
tritron
 
Posts: 83
Joined: Thu Jun 16, 2011 7:16 pm

Re: Compiling 3rd-party module from source on OXNAS plug

Postby DavidYon » Sun Jun 19, 2011 6:11 pm

It's not so much the modules bundled in the kernel that I'm looking for. It's that I have the source to a third-party module, but I don't have access to the sources that were used to build the Arch Linux ARM OXNAS-based kernel. Without those, I can't build the third-party module such that it will load properly for my plug.
DavidYon
 
Posts: 19
Joined: Thu May 19, 2011 11:34 am

Re: Compiling 3rd-party module from source on OXNAS plug

Postby tritron » Sun Jun 19, 2011 6:17 pm

tritron
 
Posts: 83
Joined: Thu Jun 16, 2011 7:16 pm

Re: Compiling 3rd-party module from source on OXNAS plug

Postby WarheadsSE » Sun Jun 19, 2011 7:57 pm

And there is a minor cache-v6.S change that has to occur, but the CE tunnel services is down so the link is not working at the moment for my changed file.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 1 guest