Description of problem: Systemd's readahead reports low memory on 32bit machines with 6GB RAM Version-Release number of selected component (if applicable): systemd-26-2.fc15.i686 How reproducible: Always Steps to Reproduce: 1. boot a 32bit machine with enough RAM 2. dmesg | grep 'low memory' 3. Actual results: Jun 10 12:33:03 xanadu kernel: [ 9.429340] systemd-readahead-collect[452]: Disabling readahead collector due to low memory. Expected results: <nothing> Additional info: I guess a cast of some kind is needed in enough_ram(void) in readahead-common.c.
Thanks for the report. The code assert_se(sysinfo(&si) >= 0); return si.totalram > 127 * 1024*1024; fails to take into account that the sizes are given as multiples of mem_unit bytes -- man sysinfo
Patch: http://lists.freedesktop.org/archives/systemd-devel/2011-June/002590.html
http://cgit.freedesktop.org/systemd/commit/?id=597b99b09a007dfa8ddfce31c480765b0c7baa6a
systemd-26-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/systemd-26-3.fc15
Package systemd-26-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-26-3.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/systemd-26-3.fc15 then log in and leave karma (feedback).
systemd-26-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.