[ANNOUNCE] Tiny Core Linux 3.4 for XO-1.5

2011-01-05 Thread James Cameron
Announcing a build of Tiny Core Linux for XO-1.5 based on the kernel from OLPC OS 10.1.3 build os361. I've found this useful for testing and diagnosis without touching the internal storage. I've added a few scripts for backing up and restoring. Features: - based on Tiny Core Linux 3.4 microcore

Re: [Dextrose] Problems compiling bluetooth module

2011-01-05 Thread Chris Ball
Hi, > The version of gcc might take part in computing the magic number. > > The idea is to prevent users from causing hard to diagnose bugs > by inadvertently loading modules that aren't 100% ABI compatible > with the running kernel. It might, but it doesn't -- see include/linux/v

Re: [Dextrose] Problems compiling bluetooth module

2011-01-05 Thread Bernie Innocenti
On Wed, 2011-01-05 at 14:43 -0600, Mikus Grinbergs wrote: > Each kernel has something I might call a "magic handle". [I do not know > how that value is constructed - but I suspect that vermagic is only > *part* of that value.] > > When a module needs to be dynamically loaded into the kernel, the

Re: Problems compiling bluetooth module

2011-01-05 Thread Mikus Grinbergs
Each kernel has something I might call a "magic handle". [I do not know how that value is constructed - but I suspect that vermagic is only *part* of that value.] When a module needs to be dynamically loaded into the kernel, the (my name) "magic handle" for the include libraries with which that m

Re: [Dextrose] Problems compiling bluetooth module

2011-01-05 Thread Bernie Innocenti
On Wed, 2011-01-05 at 17:20 -0200, Emiliano Pastorino wrote: > Anything suspicious in the output of dmesg/ > > kernel: [ 4892.710548] bluetooth: no symbol version for module_layout Hmm... can you verify that the stuff in .config of the kernel sources actually matches the stuff in /boot/

Re: [Dextrose] Problems compiling bluetooth module

2011-01-05 Thread Emiliano Pastorino
> > Anything suspicious in the output of dmesg/ > kernel: [ 4892.710548] bluetooth: no symbol version for module_layout > vermagic: 2.6.31.6 preempt mod_unload modversions GEODE 4KSTACKS > > > Do these things match your running kernel? > I'm running 2.6.31_xo1-20100701.1605.1.olpc.a8f1b26

Re: [Dextrose] Problems compiling bluetooth module

2011-01-05 Thread Bernie Innocenti
On Wed, 2011-01-05 at 16:12 -0200, Emiliano Pastorino wrote: > Then, when i execute "insmod net/bluetooth/bluetooth.ko", I get: > insmod: error inserting 'net/bluetooth/bluetooth.ko': -1 Invalid > module format Anything suspicious in the output of dmesg/ > vermagic: 2.6.31.6 preempt mod_u

Re: Problems compiling bluetooth module

2011-01-05 Thread Emiliano Pastorino
I've forgot to mention that I get this warning when compiling the modules: WARNING: Symbol version dump /home/root/rpmbuild/SOURCES/linux-2.6.31/Module.symvers is missing; modules will have no dependencies and modversions. On Wed, Jan 5, 2011 at 4:12 PM, Emiliano Pastorino < epastor...

Re: Problems compiling bluetooth module

2011-01-05 Thread Emiliano Pastorino
Hi, it's me again with new problems. I'm trying to compile the bluetooth modules again, but now I've new issues. When I try to insmod any module, I get the same error: insmod: error inserting 'net/bluetooth/bluetooth.ko': -1 Invalid module format I'm working on an XO-1 with a Dextrose based buil