Kernel 2.6.27 and squashfs 3.4 patch problem [solved]

Using applications, configuring, problems
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#81 Post by MU »

I think I'll release one under a different name, with this new Kernel.
So that the work from the last weeks is not completely lost.
My focus however will be, to support smaller changes or addons for Puppy itself, as such a big project like Muppy would require full time support.
This is just possible, if you have a company, that pays the time.

I cannot promise yet, when I'll upload that version, it might take two weeks or so.
But it is seems to work fine so far, so maybe a week.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#82 Post by Béèm »

OK Mark, there is no hurry for me.
Prend d'abord du repos.
Bernard
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#83 Post by wow »

Hello everyone,

I compiled kernel 2.6.27.5 with aufs, squashfs-lzma, unionfs (unionfs-2.5_for_2.6.27-rc6.diff.gz) in puppy-4.1.1 (full) everything works fine in the installed system. Then I made an ISO but it hangs after "setting up the layered fs" with both aufs or unionfs. Is anyone testing this kernel?
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#84 Post by technosaurus »

wow wrote:Hello everyone,

I compiled kernel 2.6.27.5 with aufs, squashfs-lzma, unionfs (unionfs-2.5_for_2.6.27-rc6.diff.gz) ...
You shouldn't need the unionfs patch any more as it is already supported

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#85 Post by wow »

This problem has been reported in Slax's forum and other distros forums and bugtrackers.
You shouldn't need the unionfs patch any more as it is already supported
I haven't found any reference to unionfs in k2.6.27.5's source code. Well, I'll try again without it and with other unionfs patches for 2.6.27.x maybe, I supose that the initrd.gz/init file must be edited too.

I've also tried 2.6.27.4, but squashfs crashes as soon as "mount" tries to mount a .sfs file.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#86 Post by amigo »

The config options for unionfs are under 'stackable file systems' in the standard kernel.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#87 Post by MU »

you need to replace the modules in initrd.gz with those, that you compiled yourself.
You also need to adjust the path
/lib/modules/2.6.xxx

And rename accordingly the files in /etc/modules/ to match the kernelversion.
I described the required steps above, if you need more help (e.g. how to uncompress initrd.gz), let me know.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#88 Post by wow »

@amigo: Ok amigo I'll check that ASAP.

@MU: I've done it manually too the first time.

Oh, forgot to say that I'm using puppy-unleashed to build a new initrd.gz, pup_411.sfs and all other files.

I've learned too much from all the people involved in this post and Kirk's instructions to install a new kernel with a frugal install. Thank you very much.

I want to upgrade the OS installed in my USB Flash Drive (puppy-2.17.1 lzma) to the latest Puppy with some changes (kernel: SMP, default nls=utf8, codepage=850, more joysticks drivers and ForceFeedback enabled, UBI, arch=i686, etc; Desktop Environment: the latest LXDE; Xorg-7.4 with MPX and Input Redirection; Compiz Fusion with Input Redirection and protobuff; udev; hal; dbus; the latest GTK+) and maybe that multi .sfs loading.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#89 Post by Béèm »

@wow ( a little off track)
Do you still work on gnome?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#90 Post by wow »

@Béèm: Are you asking for an improved SFS? No, 'cause I don't have the time nor the knowledge to do it better, sorry. But I'm still using it with puppy-396 (reason: SMP)
You shouldn't need the unionfs patch any more as it is already supported
The config options for unionfs are under 'stackable file systems' in the standard kernel.
Nope, there is no unionfs in
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.5.tar.bz2 (2008-11-07 18:07 UTC)

Now back to the story, I compiled the same version than MU, 2.6.27. This time without the unionfs and lzma(for squashfs) patches, it takes 20 minutes with an AMD Athlon 64 X2 4400, I edited the initrd.gz>init file to use aufs by default, made a new pup_411.sfs and boot it. It is working now. I'll try to compile 2.6.27.5 again with the same steps described by MU.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#91 Post by Béèm »

@wow, thank you for the straight answer.
I had to stop using gnome due to a strange error.
I'll post about it in the appropriate thread hoping that someone could find a solution.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

Solved

#92 Post by wow »

wow wrote:I compiled kernel 2.6.27.5 with aufs, squashfs-lzma, unionfs (unionfs-2.5_for_2.6.27-rc6.diff.gz) in puppy-4.1.1 (full) everything works fine in the installed system. Then I made an ISO but it hangs after "setting up the layered fs" with both aufs or unionfs. Is anyone testing this kernel?
I recompiled the kernel (2.6.27.5) without unionfs patch, this time everything is working (installed system/booting from CD). Now some details:

- aufs: from MU's 2.6.27_410.sfs>usr/src/patches
- squashfs 3.3: http://www.squashfs-lzma.org/dl/squashfs3.3.tar.gz
- lzma-457: from http://www.squashfs-lzma.org/dl/lzma457.tar.bz2
- squashfs-lzma-3.3: http://www.squashfs-lzma.org/dl/sqlzma3.3-457-2.tar.bz2
- Instructions to apply SquashFS-LZMA patches: http://forum.openwrt.org/viewtopic.php?pid=68981#p68981
- http://puptrix.org/sources/kernel-2.6.2 ... 6.19.patch
- http://puptrix.org/sources/kernel-2.6.2 ... cess.patch
Patching 2.6.26-rc4 with SquashFS-LZMA
Patching a kernel newer than 2.6.24.3 presents a problem, because there are only patches up to this version as of the time of writing. 2.6.25 and later need you to manually patch the kernel. I will outline this process here. When SquashFS-LZMA gets ported to the newer kernel by the author, this section will be obsoleted.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

Yankeeboy
Posts: 5
Joined: Mon 03 Nov 2008, 09:18

Gosh, what a mess

#93 Post by Yankeeboy »

I have no idea how to compile the latest kernel at this point.

I was thinking somebody who has done it successfully really owes it the Puppy community to share the knowledge

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#94 Post by Aung »

Hey MU
When I open up your .config the first thing that greets me is, # CONFIG_64BIT is not set, and I saved up for an amd x2 64 cpu.
As a pensioned off spanner monkey, I havent got a clue as to recompileing a kernel. I'll put new rings and bearings and (if you do Tempestuous turbo 'enable Tickless System, High Resolution Timer Support, Realtime Preemptible Kernel, and high Timer frequency.') will nip up the pinion preload on 'ya V Woobble if you build me a 64 bit Puppy. (or just a 64 .config file so I can 'ave a go me self) Aung

michaelyahu
Posts: 2
Joined: Thu 04 Dec 2008, 21:38

#95 Post by michaelyahu »

so... anyone wanna package this up into an iso so someone can download it, and not search all over hades looking for the way to compile this thing?

I tried the chain of links from the first post, they end up terminating to "failed to change directory"

michaelyahu
Posts: 2
Joined: Thu 04 Dec 2008, 21:38

Re: Solved

#96 Post by michaelyahu »

wow wrote:
wow wrote:I compiled kernel 2.6.27.5 with aufs, squashfs-lzma, unionfs (unionfs-2.5_for_2.6.27-rc6.diff.gz) in puppy-4.1.1 (full) everything works fine in the installed system. Then I made an ISO but it hangs after "setting up the layered fs" with both aufs or unionfs. Is anyone testing this kernel?
I recompiled the kernel (2.6.27.5) without unionfs patch, this time everything is working (installed system/booting from CD). Now some details:

- aufs: from MU's 2.6.27_410.sfs>usr/src/patches
- squashfs 3.3: http://www.squashfs-lzma.org/dl/squashfs3.3.tar.gz
- lzma-457: from http://www.squashfs-lzma.org/dl/lzma457.tar.bz2
- squashfs-lzma-3.3: http://www.squashfs-lzma.org/dl/sqlzma3.3-457-2.tar.bz2
- Instructions to apply SquashFS-LZMA patches: http://forum.openwrt.org/viewtopic.php?pid=68981#p68981
- http://puptrix.org/sources/kernel-2.6.2 ... 6.19.patch
- http://puptrix.org/sources/kernel-2.6.2 ... cess.patch
Patching 2.6.26-rc4 with SquashFS-LZMA
Patching a kernel newer than 2.6.24.3 presents a problem, because there are only patches up to this version as of the time of writing. 2.6.25 and later need you to manually patch the kernel. I will outline this process here. When SquashFS-LZMA gets ported to the newer kernel by the author, this section will be obsoleted.

All the links to your uploaded content on the ftp are dead.

Please supply a puppy 2.6.27 iso so that I can run it on my asus m70vm-x1 without problems with the atheros wifi.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#97 Post by MU »

I released so many versions and updates, that I currently don't see, which is the correct one here on my computer.
The files on the ftp-server were lost during a hardware upgrade from the company where I worked, but they did not restore them yet.
I no longer have access to that server.

I plan to look at building a new kernel (the latest 2.6.27) again this month from scratch, and upload a new iso to my own server.

If someone still has the latest iso plus development.sfs (or a selfbuilt newer Kernel), and it works fine, then please upload it here:
http://murga-linux.com/puppy/viewtopic. ... 9398#99398

Then send me a PM, so that I can move it to the public downloadarea on that server.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#98 Post by wow »

@michaelyahu: Oops, all urls to MU's isos and sfs are dead. An iso? well, my kernel is for i686 and newer microprocessors, supports SMP and doesn't have those extra drivers included in Puppy (unionfs, r8101, acx-mac80211, gspcav, etc). So might not work for you. However I can upload this kernel in puppy-unleashed format.

EDIT:
Uploaded linux-2.6.27.5_wow-i686.tar.bz2; initrd-2.6.27.5_wow.gz and linux-2.6.27.5_wow.txt. Waiting for MU's confirmation.

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#99 Post by wow »

linux kernel 2.6.27.5 i686 for puppy unleashed:
i646 kernel, SMP, Hyperthreading, more joystick drivers, ForceFeedback, 99 loop devices,
vfat partitions use UTF-8 by default, initrd.gz supports up to 40 SFSs, squashfs-LZMA

[linux-2.6.27.5_wow-i686.tar.bz2]:
kernel in puppy-unleashed format, extract to puppy-unleashed/kernels/

[initrd-2.6.27.5_wow.gz]:
rename to initrd.gz, use this file instead the one made by puppy-unleashed or this kernel won't boot. Reason: missing modules (nls_utf8, nls_cp850, unionfs)

Thank you Mu for kindly host the files.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#100 Post by MU »

Raffy uploaded again the Puppy 4.1 with Kernel 2.6.27 for a frugal installation.
Thanks Raffy!

The "second version" is named .627, the "third" version is named .628.

http://puppyisos.org/isos/2008-07-to-12 ... 1-k2.6.27/
Password:
http://murga-linux.com/puppy/viewtopic.php?t=28930

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply