LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-13-2009, 04:04 PM   #106
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224

Quote:
Originally Posted by janhe View Post
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
 
Old 05-16-2009, 03:16 PM   #107
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Something like that, yes.
Thank you.

Quote:
Neither. You build the xz package using the -current build script.
If you mean use the xz build script from current and build the xz package from within 12.2, that makes sense.

Quote:
Not without patches to xarchiver. Feel free to file bug reports (feature enhancement) and CC me on them.
I asked more on behalf of the many Xfce users. Hopefully your response will encourage them to forward reports to you.
 
Old 05-19-2009, 10:17 PM   #108
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
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!

Shingoshi
 
Old 05-19-2009, 10:39 PM   #109
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Shingoshi View Post
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.
 
Old 05-20-2009, 02:47 AM   #110
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
I'm also a midnight commander user and very happy with the browsing support for .txz files (packages). Thank you David Somero!
 
Old 05-22-2009, 02:22 PM   #111
Grobsch
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: ImagineOS
Posts: 95

Rep: Reputation: 17
My Xarchiver does not recognize txz format, anyone has patches?
 
Old 05-22-2009, 02:34 PM   #112
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Grobsch View Post
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.
 
Old 05-22-2009, 03:39 PM   #113
Grobsch
Member
 
Registered: Dec 2004
Location: Brazil
Distribution: ImagineOS
Posts: 95

Rep: Reputation: 17
Quote:
Originally Posted by rworkman View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a compiled program in tgz format into an rpm package. xode Linux - Software 1 01-04-2008 12:54 PM
LXer: Linux Standard Base plans cross-format package API LXer Syndicated Linux News 0 01-17-2007 10:54 PM
apt package repositories/format question Michael_S Debian 2 12-05-2006 02:40 PM
Native package format wombat53 Slackware 8 06-13-2005 07:10 PM
Possible NEW package format Kocil Slackware 21 09-11-2004 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration