site  contact  subhomenews

2.6.27.29 -- not yet

August 09, 2009 — BarryK
I spent all day yesterday working on the 2.6.27.29 kernel.

I patched it with unionfs 2.5.2 and squashfs 3.3.

The kernel has the name 'ext4dev' for the ext4 filesystem, so you actually have to do this:
# mount -t ext4dev <device> <mount-point>
However, there have been many upgrades and ext4 in the '29' release should be stable.
I could not find a suitable patch to convert the name from 'ext4dev' to 'ext4', so I wrote a script that simply finds all occurrences of 'ext4dev' and 'EXT4DEV' and substitutes with 'ext4' and 'EXT4'.

The kernel works fine in my full-hd installation, so I went ahead to package it all up, make sfs and so on. I also compiled lots of 3rd-party modules. I also upgraded the ALSA drivers to version 1.0.20.

Darn... this morning I have tested a live-CD built with the 2.6.27.29 kernel, and the squashfs module crashes on loading.

So, I have to start again. Find a better squashfs patch first...

Note, I want to stay with squashfs 3.3. I'm not happy that the Puppy 4.x series should have two incompatible squashsfs systems (3.3 and 4.0). So, I was thinking if 2.6.27.29 performs well, I'll choose it as the "advanced" kernel.

Right now I have to do a hunt to locate a squashfs 3.3 patch that has been verified to work with the 2.6.27.x kernel.

Comments

Squashfs patches
Username: BarryK
Interesting, Michael Tokarev has backported squashfs 4.0 from 2.6.29 (and 2.6.30) to work on the 2.6.27 kernel: http://sourceforge.net/mailarchive/forum.php?thread_name=4A3BA1E5.8000109%40msgid.tls.msk.ru&forum_name=squashfs-devel And this guy 'hawk' has backported squashfs 4.0 from the 2.6.30 kernel: http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg186872.html Well, there doesn't seem to be a squashfs 3.3 patch available for the 2.6.27 kernel, but the 3.4 patch is available. If I want to be compatible with sfs files created for Puppy 4.21 and earlier, I could use the 3.4 driver but use the 3.3 mksquashfs, as the 3.4 driver will recognise and use sfs files created by the 3.3 mksquashfs. On the otherhand, if I use the 4.0 patch, then sfs files will be compatible with all later kernels and upcoming Puppy5 builds. Hmmm...

squashfs 4..x
Username: dogone
"I don't see any reason not to go with squashfs 4 so long as users are informed of the incompatibility and a suitable solution (conversion tool) is provided. The issue has to be addressed sooner or later. Perhaps a suitable "wizard" can be provided.

sfs 3 to 4
Username: BarryK
"It's easy enough to convert a sfs from 3.3 to 4.0. I think someone was working on a tool to do that on the forum?

advantages of squashfs 4.0?
Username: Jota
" What are the technical advantages squashfs 4.0 has over 3.3? Do they justify the move? And, if you choose 4.0, then why not use the later 2.6.30.x kernel? Since sfs's made for 4.12 and 4.21 will be able to run unmodified in 4.3, but maybe not in Puppy5, it seems more wise to do the change in squashfs only with Puppy5, unless the advantages justify the move.

squashfs 3-4 conversion
Username: Sit Heel Speak
"Barry wrote: ...It's easy enough to convert a sfs from 3.3 to 4.0. I think someone was working on a tool to do that on the forum? Mark Ulrich's squashfstools.pet? http://www.murga-linux.com/puppy/viewtopic.php?t=41678#299366

the save file is not squashfs
Username: disciple
"dogone - the save file is not a (read-only) squashfs filesystem image, it is a (writeable) ext2 or ext3 image. Squashfs incompatibilities are a problem for extra .sfs addons that people might use (often for large things like Openoffice or KDE). We have had a similar problem before, as the filesystem structure was different inside squashfiles for Puppy 1.x, although squashfiles were probably less prolific back then. But the really bad problem now is that we have two .isos of current puppy releases, with two different kernels, and we don't want everybody to have to make two copies of their squashfiles.

squashfs for 2.6.27.29
Username: BarryK
"I'm still trying. The official 3.4 patch gives an error when compiling the kernel. What annoys me is that I think I went through this before, and did find a patch that works with the 2.6.27.x kernel. Can't find it now though.

re: save file is not squashfs
Username: dogone
"Thanks disciple. I stand corrected. Live and learn. Faced with the challenge of creating, identifying and maintaining .sfs apps in both versions, devs are likely to stick with sfs 3.x for full compatibility. Perhaps the issue boils down to two questions: Do we want to *prevent* Puppy 4 series users from packaging apps in sfs v4? Do we want to *prevent* Puppy 5 series users from packaging apps in sfs v3? Yes to both might minimize the pain.

squashfs
Username: kirk
"Here's the one from the squashfs-lzma web site. The lzma stuff is separate patches. ftp://ftp.slax.org/source/slax/sqlzma/squashfs3.4.tar.gz

squashfs patch for 2.6.27.x
Username: gposil
"Barry, you have done the patch before, I use your 2.6.27.4 in dpup476 http://www.gposil.com/test/woof-alpha9/dpup/dpup476c-2.6.27.4/linux_kernel-2.6.27.4-dpup.tar.gz .

squashfs 3-4 conversion
Username: Sit Heel Speak
"Barry wrote: "What annoys me is that I think I went through this before, and did find a patch that works with the 2.6.27.x kernel. Can't find it now though." I believe you want this one, which MU and self successfully used on 2.6.27.2, it was on Ted Dog's site, late of fond memory: File name: squashfs-rc4-3.4-patch File size: 0.12MB Description tags: 2.6.27-rc4 squashfs 3.4 patch Download link: http://myfreefilehosting.com/f/a61f976b0b_0.12MB # md5sum squashfs-rc4-3.4-patch 6fb902049b4c3c1b0b2415945627e7d7 squashfs-rc4-3.4-patch

squashfs patches
Username: BarryK
"Sit Heel Speak, Thanks for that. However, I might give up. Yesterday I tried two more patches from Gentoo, both failed to compile. One of the Gentoo patches was for kernel 2.6.27.10, so I think something has changed in the 2.6.27.29 kernel that is causing the failure.

squashfs 3.4
Username: gposil
"I don't know if you've got this one Barry.... http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-bare-grsecurity/linux-2.6.27-squashfs.patch?r1=1.1&r2=1.2&f=u Just thought i'd see if you have


Tags: woof