SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So it seems slackware-current only supports systems with 256 MB of RAM or more for now.
The workaround I posted above will worked with my system that has 128 MB of RAM, but it probably won't work on a system with 64 MB.
Then again, Alien_Bob reported success with a standard install on a 64 MB RAM system... Anyone who wants to guess what causes the difference?
You have to load the huge.s kernel with 64mb of RAM. The default kernel runs out of memory before even booting. I tried boot the huge.s kernel with 128MB of ram just to see. Did not work either.
It is impossible for it to work with less than 65MiB * 3. The source code of xz limits the memory used to this amount in hardware.c
Code:
if (mem == 0)
mem = UINT64_C(16) * 1024 * 1024;
// Use at maximum of 90 % of RAM when encoding and 33 % when decoding.
memlimit_encoder = mem - mem / 10;
memlimit_decoder = mem / 3;
So with 64MB of ram, xz can only use 21MB of RAM. As you and I saw, xz wants at some instances, at lest 65MiB. The installer finishes without error, but you are left with an incomplete system.
It's easy to patch xz just not sure where the sweet spot is. I patched xz for mem * 2, which allowed installpkg to work with 64MB of ram. Slowly, but hey it worked
Well, I'm certainly happy now that PatV has added xz|lzma support to mc. Since I use mc pretty much as my shell, it's nice now that I can browse packages that I've created using src2pkg with the xz compression. I'm also able to browse the man pages which I've compressed with lzma also. But now, I will look at using xz for that instead. I'm guessing Lasse Collin may have had something to do with this. So whoever was responsible, thank you!
Well, I'm certainly happy now that PatV has added xz|lzma support to mc. Since I use mc pretty much as my shell, it's nice now that I can browse packages that I've created using src2pkg with the xz compression. I'm also able to browse the man pages which I've compressed with lzma also. But now, I will look at using xz for that instead. I'm guessing Lasse Collin may have had something to do with this. So whoever was responsible, thank you!
From the ChangeLog:
Quote:
ap/mc-20090514_git-i486-1.txz: Switched to a GIT repo version with support for
xz/lzma related formats, and better UTF8 support.
Thanks to David Somero for getting the initial xz patches submitted upstream.
My Xarchiver does not recognize txz format, anyone has patches?
File a bug against xarchiver in xfce's bugzilla. Feel free to tell them to forward any questions about the format to me; in fact, CC me on the bug report -- rw at rlworkman.net is my xfce bugzilla email.
File a bug against xarchiver in xfce's bugzilla. Feel free to tell them to forward any questions about the format to me; in fact, CC me on the bug report -- rw at rlworkman.net is my xfce bugzilla email.
I thought it was a missing feature in Xarchiver and not a bug... Looking at Xarchiver source I see the support of old lzma format (tlz), I'm trying to change this or add txz (XZ) without any luck so far.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.