2.6.27.29 -- not yet

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.


Posted on 9 Aug 2009, 8:24


Comments:

Posted on 9 Aug 2009, 9:44 by BarryK
Squashfs patches
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...



Posted on 9 Aug 2009, 9:58 by dogone
squashfs 4..x
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.



Posted on 9 Aug 2009, 10:07 by BarryK
sfs 3 to 4
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?



Posted on 9 Aug 2009, 10:27 by Jota
advantages of squashfs 4.0?

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.



Posted on 9 Aug 2009, 10:56 by dogone
squashfs compatiblity
No matter when the move to squashfs 4 is implemented, we face the scenario of a user up-converting his one and only pup_save file and then deciding to switch back to an older Puppy. Whichever Puppy release embraces squashfs 4, it ought to avoid this problem by backing up the user's pup_save file prior to conversion. And if possible, a means of regressing a pup_save or *.sfs to the 3.x format ought to be provided.


Posted on 9 Aug 2009, 14:12 by Sit Heel Speak
squashfs 3-4 conversion
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


Posted on 9 Aug 2009, 16:11 by disciple
the save file is not squashfs
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.


Posted on 9 Aug 2009, 16:16 by zigbert
off topic



Posted on 9 Aug 2009, 19:02 by BarryK
squashfs for 2.6.27.29
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.



Posted on 9 Aug 2009, 23:02 by dogone
re: save file is not squashfs
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.


Posted on 10 Aug 2009, 8:29 by kirk
squashfs
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


Posted on 10 Aug 2009, 9:03 by gposil
squashfs patch for 2.6.27.x
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

.


Posted on 10 Aug 2009, 9:43 by Sit Heel Speak
squashfs 3-4 conversion
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


Posted on 10 Aug 2009, 9:47 by Sit Heel Speak
squash-3.4 2.6.27.n patch
Agghhhh, the above message should have this title.


Posted on 10 Aug 2009, 12:17 by BarryK
squashfs patches
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.



Posted on 11 Aug 2009, 14:14 by gposil
squashfs 3.4
I don't know if you've got this one Barry....

target=_blank>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