site  contact  subhomenews

Compiling 2.6.27.47

June 06, 2010 — BarryK
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/archive/blog2/201009/thinking-about-wary-puppy.html

I did actually have some "fun" with 2.6.27.x last year:
http://bkhome.org/archive/blog2/200908/262729----not-yet.html
http://bkhome.org/archive/blog2/200902/slack-woof-working.html

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.

Comments

2.6.27.47 works
Username: BarryK
I am pleased to report that the backported Squashfs4 works. Aufs works too. Username: 6 Jun 2010, 17:07
"01650"114.129.167.148'ext4 works"BarryK"The 2.6.27.47 kernel does support ext4, but it has to be mounted like this: [i]# tune2fs -E test_fs /dev/sdb3 # mount -t ext4dev /dev/sdb3 mntpt[/i] 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 ...". Username: 6 Jun 2010, 18:15
"01650"114.129.167.148'Rename ext4dev to ext4"BarryK"I ruminated over this last year: http://bkhome.org/archive/blog2/200908/kernel-section-mismatches.html 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. Username: 6 Jun 2010, 18:56
"01650"114.129.167.148'Recompiling 2.6.27.47"BarryK"I was able to complete the ext4dev-to-ext4 rename patch, now compiling the kernel... Username: 6 Jun 2010, 19:26
"01650"114.129.167.148'Re 2.6.27.47"BarryK"This topic continued here: http://bkhome.org/archive/blog2/201006/262747-our-new-retro-kernel.html Username: 7 Jun 2010, 9:45
"01650"114.129.167.148'Wifi"Dougal"Regarding the lack of the newer wifi drivers, I think the Linux Wireless folks maintain backwards-compatible patches for newer drivers."7 Jun 2010, 24:32"01650"79.181.37.144'Re wifi drivers"BarryK"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. Username: 8 Jun 2010, 9:19
"01650"114.129.167.148'2.6.27.x and ext4"BarryK"Oh, not so good. Greg has sent me this response: Question from me: [i]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.[/i] Greg's response: [i]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.[/i] ...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. Username: 9 Jun 2010, 8:39
"01650"114.129.167.148'Retro Wary"drongo"Retro Wary is an odd sounding name to me. Perhaps Wary Wary, Very Wary, Over Cautious? Or Circumspect?"9 Jun 2010, 13:58"01650"82.69.134.238'

Tags: quirky