Compiling 2.6.27.47

Curiosity has got the better of me, want to see if I can get this to work...

I discussed the possibility of using the 2.6.27.x kernel with Wary:
http://bkhome.org/blog/?viewDetailed=01647

I did actually have some "fun" with 2.6.27.x last year:
http://bkhome.org/blog/?viewDetailed=00966
http://bkhome.org/blog/?viewDetailed=00559

I applied a Squashfs4 patch that I got from here:
http://old.nabble.com/Backport-of-squashfs-2.6.29%2B-(squashfs-4.0)-to-kernel-2.6.27-td24336687.html

I got Aufs2 out of version control a couple of days ago. The 2.6.27.x kernel is the earliest supported, and it patched and compiled ok -- but the final 'depmod' reported a missing symbol.

After consulting with R J Okijama, the main Aufs guy, I found out how to export that symbol. Right now, it's compiling again.


Posted on 6 Jun 2010, 12:26


Comments:

Posted on 6 Jun 2010, 17:07 by BarryK
2.6.27.47 works
I am pleased to report that the backported Squashfs4 works. Aufs works too.



Posted on 6 Jun 2010, 18:15 by BarryK
ext4 works
The 2.6.27.47 kernel does support ext4, but it has to be mounted like this:

# tune2fs -E test_fs /dev/sdb3
# mount -t ext4dev /dev/sdb3 mntpt


As explained here:
http://www.slax.org/forum.php?action=view&parentID=40460

I wonder how stable/reliable ext4 support is? There have been lots of ext4 patches from 2.6.27 to 2.6.27.47.

It is a bit messy, 'probepart' identifies /dev/sdb3 as 'ext4', 'mount' identifies it as 'ext4dev'.

...I guess that I could put workarounds into the Puppy scripts. Is there any way to define that "ext4" and "ext4dev" are aliases? Ideally it would be better to use "mount -t ext4 ...".



Posted on 6 Jun 2010, 18:56 by BarryK
Rename ext4dev to ext4
I ruminated over this last year:
http://bkhome.org/blog/?viewDetailed=00965

Fedora has a patch to rename ext4dev to ext4, from here:
http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=03010a3350301baac2154fa66de925ae2981b7e3

It doesn't apply cleanly, so I'll see if I can apply the broken parts manually.



Posted on 6 Jun 2010, 19:26 by BarryK
Recompiling 2.6.27.47
I was able to complete the ext4dev-to-ext4 rename patch, now compiling the kernel...



Posted on 7 Jun 2010, 9:45 by BarryK
Re 2.6.27.47
This topic continued here:
http://bkhome.org/blog/?viewDetailed=01651



Posted on 7 Jun 2010, 24:32 by Dougal
Wifi
Regarding the lack of the newer wifi drivers, I think the Linux Wireless folks maintain backwards-compatible patches for newer drivers.


Posted on 8 Jun 2010, 9:19 by BarryK
Re wifi drivers
Yeah, once I have fully tested this kernel and found it to be a go-er, a good choice for our long-term retro Puppy, then I'll invite developers to compile more drivers for it, and I'll put them in.



Posted on 9 Jun 2010, 8:39 by BarryK
2.6.27.x and ext4
Oh, not so good. Greg has sent me this response:

Question from me:
I was wondering about the patch that I have used to rename ext4dev to ext4. This patch is from Fedora. Given that there have been many fixes to ext4 since the first 2.6.27, I take it that ext4 is now perfectly usable in 2.6.27.47.

Greg's response:
I wouldn't use ext4 in the .27 kernel tree, not at all. Nor would I recommend renaming it to give others the impression that it works properly and is safe to use. Please don't do that without first consulting with the ext4 developers.

There's been a number of ext4 patches for .27, but in the end, the ext4 developers recommend everyone move to the .32 kernel if they really want to use ext4 as they are not going to support anyone using .27.


...so, I might not settle on the 2.6.27.x kernel as Wary's long-term retro kernel. It's a fascinating experiment though, and I still do want Wary to be able to build with this kernel -- a Retro-Wary could still be offered with this kernel.



Posted on 9 Jun 2010, 13:58 by drongo
Retro Wary
Retro Wary is an odd sounding name to me. Perhaps Wary Wary, Very Wary, Over Cautious? Or Circumspect?