Eowens2 and I are not using the same kernels (I think). However, we both use an OLPC modified 2.6.31 kernel patched for Aufs2 (I believe).tempestuous wrote:Without me having to read all 23 pages of this thread, can someone tell me exactly what kernel is under discussion here?mavrothal wrote:cs5535_gpio is included as a module by default in OLPC kernels
I see that eowens2 appears to be modifying the Puppy 4.31 kernel, and I know for a fact that the cs5535_gpio module is not included in Puppy 4.31 as standard.
But when you guys do recompile a kernel (whatever kernel version that might be) you should enable the cs5535_gpio module, and rebuild the snd-cs5535audio module at the same time.
THEN it might be worth loading the cs5535_gpio module at boot up ... because the (updated) snd-cs5535audio module may rely on it for OLPC-specific functions.
If the snd kernel module cannot be located, someone has made a major stuff-up ...mavrothal wrote:Code: Select all
modinfo: could not open kernel/sound/core/snd.ko: No such file or directory
and this is clearly not the same situation as exists for eowens2, because I see the snd module listed in eowens2's lsmod output.
In my case (with the version at hand) I have the entire kernel in initrd/lib/modules and all the aforementioned modules are loaded and present in lsmod output. However, depmode-FULL still complains that can not be found though the module is loaded and alsaconf proceeds normally and reports success.
As you may see in the (added) parenthesis in my previous post the full module path is needed for the modprobe to work.
If modules.dep is in the "kernel/driver/whaterver.ko" format it does not work. If it is in the "/lib/modules/kernel_ver/kernel/driver/whatever.ko" is OK ???
Edit: Crash course in (my) puppy-xo kernels.
Build a kernel.rpm in a Fedora 11 machine.
Install on the XO-1 running Fedora11. Check that everything works on the XO-1 running this kernel.
Modify the puppy initrd.gz by removing the lib/modules/puppy_kernel_ver and replace with the /lib/modules/puppy-xo-kernel_ver from the F11 running XO-1 .
Edit the modules.dep to include the full path (Required. Is this way in the original initrd too. When booted the /lib/modules/kern_ver/modules.dep has the "normal" format)
add "modprobe usb-libusual" in initrd/init (not needed if the full kernel is used in initrd)
Done.
To minimize sfs size and possible conflicts, remove from the puppy_variant.sfs
/lib/modules/puppy_kernel_ver/
/lib/modules/all-firmware/
/lib/firmware/* (and add usb8388.bin in it).
Edit /etc/modprobe.conf with the XO-1 F11 configuration (optional)
Delete unneeded video drivers (optional)
Repack the sfs.
Replace Puppy vmlinuz with the one from the puppy-xo kernel
Your XOpup is ready for testing