wary511_update-1, plus more

I reported just before releasing Wary 5.1.1.53 that I had to revert insertion of rerwin's wary511_update-1.pet in Woof, as it broke the sound on my laptop. I have now found out why the sound was broken and have fixed it, and completed integration of rerwin's PET into Woof.

The original blog report on wary511_update-1:
http://bkhome.org/blog/?viewDetailed=02261

Blog reports on partial re-implementation:
http://bkhome.org/blog/?viewDetailed=02269
http://bkhome.org/blog/?viewDetailed=02270

By implementing the PET step by step I was able to find out what broke my sound. It was the agrsm.tar.gz firmware tarball, which has a new "sleep 2" in the installation script. This delayed the creation of /etc/modprobe.d/modem_agrsm.conf which has some blacklist entries for sound modules. Consequently it appears that one or more of these sound modules was loading, which upset the sound. Note though, this problem was only on first boot and would have gone away on subsequent boots.

I have now fully integrated rerwin's PET into Woof.

Extreme timing bug
See point 3 in rerwin's second post on this forum page:
http://murga-linux.com/puppy/viewtopic.php?t=65028&start=150

Rerwin has a DGC USB modem for which the kernel generates several "add" uevents for loading the same module, in rapid succession, and this is an extreme stress test. My /sbin/pup_event_backend_modprobe was not quite up to it, and failed to load the dgcusbdcp.ko module.

I have implemented a fix for this, in /sbin/pup_event_backend_modprobe. Rerwin sent a pm that he will get back to me soon, after trying it.


Posted on 9 May 2011, 17:17


Comments:

Posted on 10 May 2011, 20:50 by Iguleder
Kernel build script
Barry - 2.6.32.40 was released today and has the DMA fix from Arch integrated, among other things.

I'm working on a generic build script for 2.6.32.x kernels at the moment - it downloads the latest kernel sources, the latest Aufs for it, patches Aufs, patches the kernel and produces a directory with all sources and both the headers and actual kernel packages.

It has a nice feature that patches the kernel (using sed) to make it appear as 2.6.32, so the modem drivers, etc' can be compiled just once, for the first kernel built this way.

Could be very useful for Wary, because of all the modem drivers and the LTS nature of its kernel.

I'll upload it to the forum once it's full working.


Posted on 10 May 2011, 21:30 by BarryK
Re kernel build
Iguleder,
It will be very nice to have it automated!!!

It is good, the guy who is maintaining 2.6.32.x is keeping up his enthusiasm and updating regularly.



Posted on 10 May 2011, 21:32 by BarryK
Re kernel build
There is one downside to upgrading the kernel, we also have to recompile the nVidia (and maybe ATI) video modules. If that could be automated also, then heaven!



Posted on 10 May 2011, 22:04 by Iguleder
Nope!
Nope - if the driver is built against a kernel built this way, it will be present in lib/modules/2.6.32, which means it should work against any 2.6.32.x built using the script.

It's kind of impossible to automate the nVidia installer, because you need to reboot and use a save file to catch the files it installs, but there's no need to do that if all 2.6.32.x kernels are "compatible" :)

I'm building a Lupu 5.2.5 with 2.6.39.40 at the moment. The script looks good, added a build log and the patching works well.


Posted on 11 May 2011, 2:46 by Iguleder
It's ready
The script is ready, you can find it here and a the whole output here, except kernel_sources-2.6.32-40-lts.sfs, which is too big for me to upload.

Writing this from Conservative Lucid Puppy 5.2.5 (lupc-525.iso) :)


Posted on 12 May 2011, 9:50 by BarryK
Module loading fixed
Rerwin has confirmed that my fix in /sbin/pup_event_backend_modprobe has fixed the problem he had of a DGC modem module not loading.
More very good news.