**** BEGIN LOGGING AT Sun Nov 25 02:59:56 2007 Nov 25 05:22:22 03osas * r7333 10optware/trunk/make/monit.mk: monit: 4.9 -> 4.10.1 Nov 25 17:20:59 hu Nov 25 17:21:28 hi, does anybody know how to let openwrt shutdown on pressing the powerbutton on my nslu2 Nov 25 17:35:31 03bzhou * r7334 10optware/trunk/ (Makefile make/softflowd.mk): softflowd: added & promoted Nov 25 20:07:29 03bzhou * r7335 10optware/trunk/ (2 files in 2 dirs): mssii-kernel: enabled CONFIG_MD_LINEAR, moved CONFIG_BLK_DEV_DM and CONFIG_DM_* to m Nov 25 20:18:45 Ok, I have console output from my NSLU2 going nuts. OOM-killer on a rampage. http://www.pastebin.ca/797155 Nov 25 20:19:30 This was untarring kernel sources to a local disk on a machine with 460MB swap space. The swap partition is on the same disk. Nov 25 20:20:18 The untar was part of an emerge (gentoo chroot) but nothing impactful other than the untar was happening at the time. Nov 25 20:21:19 joshin: You need a real operating system. Try PRIMOS or VMS :P :D Nov 25 20:22:10 I guess. One would think that untarring a file would not be beyond linux Nov 25 20:22:17 (Historical context: both minicomputer operating systems that battles on who had the better paging algorithms for virtual memory) ;) Nov 25 20:23:02 I remember VMS but barely. UC Santa Cruz started moving to BSD on the Vaxen the year I got there. Nov 25 20:23:03 I agree, but linux has largely given up on paging, and the swapping algorithms have moved steadily toward assuming unlimited memory. Nov 25 20:23:29 So should I don my asbestos underware and post to LKML? Nov 25 20:24:48 hehe! Does google not come up with any info on your kernel's tuning parameters? You know someone on LKML will flame you if you haven't. :( Nov 25 20:25:06 Crispy Critter Nov 25 20:26:35 Maybe someone needs to re-implement a proper paging algorithm for Linux. Swapping is a "killer" (bad pun!) on a small memory machine. Nov 25 20:26:43 I already have messed with the overcommit ratio/memory kernel tuning features. Nov 25 20:27:19 Ok, I'll don my asbestos underware and post. Maybe as noob@msn.net. :D Nov 25 20:27:57 joshin, make that n00b@aol.com Nov 25 20:28:53 Yeah, I was torn between aol and msn. :) Nov 25 21:36:24 Ok, looking for feedback on the e-mail I'm going to send to LKML. :) Nov 25 21:36:39 I have a Linksys NSLU2 running 2.6.21 (I can replicate the problem on 2.6.23 but it isn't fully supported on SlugOS). It is a armv5teb device with 32MB of RAM, 400+ MB swap on its 160GB USB2 root disk. The machine is used as a fileserver and to build packages for other ARM devices. It may be underpowered by today's standard but is a whole lot faster than my first Linux system (386sx20 with 4MB RAM) but the whole system with disk uses <8 watts Nov 25 21:36:39 and is silent. Nov 25 21:36:49 The problem comes when I try to untar a large file (in this case linux-2.6.23.tar.bz2). Regardless if I kill off every other process, eventually the oom-killer will show up and kill either the tar or the shell. I've tried every tuning option I and my buddy Google could find including (/proc/sys/vm/overcommit*). Nov 25 21:37:07 I go on to ask for help and provide logs and info. Nov 25 22:08:54 Let the flames begin: http://lkml.org/lkml/2007/11/25/87 Nov 25 23:03:48 03hugbug * r7336 10optware/trunk/make/libpar2.mk: libpar2: added Nov 25 23:15:39 joshin: the only thing I would have said differently is to not mention SlugOS, since it's irrelevant to this problem and will distract from the post. Nov 25 23:17:10 and if you can replicate with latest kernel, then you should have posted the dmesg of latest kernel and kernel message log of the error happening. Nov 25 23:18:04 03hugbug * r7337 10optware/trunk/make/nzbget.mk: nzbget: 0.2.3 -> 0.3.0 Nov 25 23:28:35 03hugbug * r7338 10optware/trunk/Makefile: libpar2 & nzbget: ready for testing Nov 26 00:58:59 rwhitby: I can do so in a followup. Nov 26 01:34:43 03bzhou * r7339 10optware/trunk/make/libsigc++.mk: libsigc++: 2.0.17 -> 2.0.18 Nov 26 01:48:59 03bzhou * r7340 10optware/trunk/make/libsigc++.mk: libsigc++: corrected staged pkgconfig/sigc++2.0.pc Nov 26 01:58:26 03bzhou * r7341 10optware/trunk/ (Makefile make/libpar2.mk platforms/packages-slugosbe.mk): libpar2: promoted with small improvement, except on slugosbe Nov 26 02:06:57 03bzhou * r7342 10optware/trunk/make/nzbget.mk: nzbget: small improvement Nov 26 02:07:54 03bzhou * r7343 10optware/trunk/platforms/packages-slugosbe.mk: nzbget: broken on slugosbe because of libpar2 **** ENDING LOGGING AT Mon Nov 26 02:59:57 2007