Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-23 Thread Martin Michlmayr
* Emanuele Rocca [EMAIL PROTECTED] [2006-11-23 00:57]:
 Probably it's worth changing the partman-auto recipes only for the
 potentially affected systems.

I think all systems are potentially affected, but I can add a new
recipe for arm/ixp4xx if that's preferred.  Which version of the patch
should I apply?  One changing 64 MB minimum swap to 96 MB on all
systems or one that only does it on arm/ixp4xx?
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-23 Thread Holger Wansing
On Thu, 23 Nov 2006 10:03:26 +0100 Martin Michlmayr [EMAIL PROTECTED] wrote:
 * Emanuele Rocca [EMAIL PROTECTED] [2006-11-23 00:57]:
  Probably it's worth changing the partman-auto recipes only for the
  potentially affected systems.
 
 I think all systems are potentially affected, but I can add a new

Does it make a difference, that the drive to partition is on an
usb stick? (In other words: does creating filesystem on an
usb stick consum more ram than creating on ide hard disc?)

I have an Toshiba laptop with 32MB, on which d-i runs in
low memory mode, and I have no problems to create ext2 filesystem
of 4 GB on ide hard disc (64MB swap is created, too).

Ahh, or is the difference, that I create ext2, not ext3?
(ext3 is not available in low memory mode here)



Holger

-- 


Created with Sylpheed 2.0.4
under Debian GNU/LINUX 3.1 Sarge
Registered LinuxUser #311290
Spam filtering by bogofilter.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-23 Thread Martin Michlmayr
* Holger Wansing [EMAIL PROTECTED] [2006-11-23 12:18]:
 Does it make a difference, that the drive to partition is on an
 usb stick? (In other words: does creating filesystem on an
 usb stick consum more ram than creating on ide hard disc?)

No, it has been reproduced in qemu too.

 I have an Toshiba laptop with 32MB, on which d-i runs in
 low memory mode, and I have no problems to create ext2 filesystem
 of 4 GB on ide hard disc (64MB swap is created, too).

You have a 4 GB disk, not a 1 GB disk.  That's the difference.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-23 Thread Frans Pop
On Thursday 23 November 2006 10:03, Martin Michlmayr wrote:
 I think all systems are potentially affected, but I can add a new
 recipe for arm/ixp4xx if that's preferred.  Which version of the patch
 should I apply?  One changing 64 MB minimum swap to 96 MB on all
 systems or one that only does it on arm/ixp4xx?

I don't see any problem with making the change globally. It should not 
have any effect anyway except when using really small target media.


pgpIC3em2AXlm.pgp
Description: PGP signature


Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-23 Thread Emanuele Rocca
Hello Holger,

* Holger Wansing [EMAIL PROTECTED], [2006-11-23 12:18 +0100]:
  Ahh, or is the difference, that I create ext2, not ext3?

Yeah, another difference is that I created an ext3 fs, and ssh died
during the journal creation. 

  (ext3 is not available in low memory mode here)

You should be able to choose the udeb for ext3 in the screen that allows
to select which components of the installer you want to use.

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-23 Thread Martin Michlmayr
* Frans Pop [EMAIL PROTECTED] [2006-11-23 12:33]:
  recipe for arm/ixp4xx if that's preferred.  Which version of the patch
  should I apply?  One changing 64 MB minimum swap to 96 MB on all
  systems or one that only does it on arm/ixp4xx?
 I don't see any problem with making the change globally. It should not
 have any effect anyway except when using really small target media.

I've commited to this CVS now.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-22 Thread Martin Michlmayr
* Emanuele Rocca [EMAIL PROTECTED] [2006-11-22 00:37]:
  Have you check it 96mb isn't enough? I think it should work and if yes
  would be better since we won't increase the requirement too much.
 
 It seems that the problem is not the size of the swap area itself, but
 rather the choice taken by the guided partitioning.
...
 And the creation of an ext3 fs on /dev/sda1 fails due to ssh going out
 of memory.

But it works if swap on /dev/sda5 is larger?

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-22 Thread Emanuele Rocca
Hello Martin,

* Martin Michlmayr [EMAIL PROTECTED], [2006-11-22 11:04 +0100]:
  * Emanuele Rocca [EMAIL PROTECTED] [2006-11-22 00:37]:
   And the creation of an ext3 fs on /dev/sda1 fails due to ssh going out
   of memory.
  
  But it works if swap on /dev/sda5 is larger?

I've tried this morning with a bigger sda5, but without luck.

fdisk -l /dev/sda:
/dev/sda111  112 899608+83  Linux Native
/dev/sda2  112  112  124  96390  5  DOS Extended
/dev/sda5  113  113  124  96358+82  Linux Swap

/var/log/syslog:
Nov 22 09:58:01 kernel: Free swap  = 90140kB
Nov 22 09:58:01 kernel: Total swap = 96348kB
Nov 22 09:58:01 kernel: Free swap:90140kB
Nov 22 09:58:01 kernel: 8192 pages of RAM
Nov 22 09:58:01 kernel: 429 free pages
Nov 22 09:58:01 kernel: 681 reserved pages
Nov 22 09:58:01 kernel: 1229 slab pages
Nov 22 09:58:01 kernel: 664 pages shared
Nov 22 09:58:01 kernel: 1552 pages swap cached
Nov 22 09:58:01 kernel: Out of Memory: Kill process 4024 (sshd) score 96 and 
children.
Nov 22 09:58:01 kernel: Out of memory: Killed process 4049 (sshd).

There was another terminal open with a tail -f on /var/log/syslog, which
could be an explaination of the failure, given that it was indeed using
some resources.

I'll further investigate this issue tonight.

Other systems affected besides the nslu2?

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-22 Thread Martin Michlmayr
* Emanuele Rocca [EMAIL PROTECTED] [2006-11-22 14:20]:
 Other systems affected besides the nslu2?

I assume it's a generic problem but there are few supported systems
that have 32 MB RAM and on which people use a 1 GB stick.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: d-i runs out of RAM on 32 MB machine with 1 GB hard drive

2006-11-22 Thread Emanuele Rocca
Hello Martin,

* Martin Michlmayr [EMAIL PROTECTED], [2006-11-22 16:01 +0100]:
  * Emanuele Rocca [EMAIL PROTECTED] [2006-11-22 14:20]:
   Other systems affected besides the nslu2?
  
  I assume it's a generic problem but there are few supported systems
  that have 32 MB RAM and on which people use a 1 GB stick.

I've tried under qemu, with a 1GB disk image and 32MB RAM, and the fs
creation was successful. I've not completed the installation, though.

Probably it's worth changing the partman-auto recipes only for the
potentially affected systems.

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]