Merge lp:~rsalveti/jasper-initramfs/746137 into lp:jasper-initramfs

Proposed by Ricardo Salveti on 2011-04-11
Status: Merged
Merged at revision: 151
Proposed branch: lp:~rsalveti/jasper-initramfs/746137
Merge into: lp:jasper-initramfs
Diff against target: 45 lines (+22/-0)
3 files modified
debian/changelog (+7/-0)
scripts/local-bottom/jasper_setup (+3/-0)
sysctl/30-jasper-smsc-min-free-kbytes.conf (+12/-0)
To merge this branch: bzr merge lp:~rsalveti/jasper-initramfs/746137
Reviewer Review Type Date Requested Status
Oliver Grawert (community) 2011-04-11 Approve on 2011-04-11
Review via email: mp+57104@code.launchpad.net
To post a comment you must log in.
Oliver Grawert (ogra) wrote :

merged

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-04-07 17:34:57 +0000
3+++ debian/changelog 2011-04-11 03:39:27 +0000
4@@ -1,3 +1,10 @@
5+jasper-initramfs (0.54) UNRELEASED; urgency=low
6+
7+ * Workaround to increase kernel min_free_kbytes to avoid page allocation
8+ failures (LP: #746137)
9+
10+ -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Mon, 11 Apr 2011 00:31:33 -0300
11+
12 jasper-initramfs (0.53) natty; urgency=low
13
14 * fix typo
15
16=== modified file 'scripts/local-bottom/jasper_setup'
17--- scripts/local-bottom/jasper_setup 2011-04-07 17:34:31 +0000
18+++ scripts/local-bottom/jasper_setup 2011-04-11 03:39:27 +0000
19@@ -177,6 +177,9 @@
20 cp /root/usr/share/jasper-initramfs/sysctl/30-jasper-root-on-sd.conf /root/etc/sysctl.d/ >>$LOGFILE 2>&1
21 fi
22
23+# for bug 746137
24+cp /root/usr/share/jasper-initramfs/sysctl/30-jasper-smsc-min-free-kbytes.conf /root/etc/sysctl.d/ >>$LOGFILE 2>&1
25+
26 chroot /root /usr/share/jasper-initramfs/apt/enable_additional_repos.py >>$LOGFILE 2>&1
27
28 # move jasper.log to root filesystem
29
30=== added file 'sysctl/30-jasper-smsc-min-free-kbytes.conf'
31--- sysctl/30-jasper-smsc-min-free-kbytes.conf 1970-01-01 00:00:00 +0000
32+++ sysctl/30-jasper-smsc-min-free-kbytes.conf 2011-04-11 03:39:27 +0000
33@@ -0,0 +1,12 @@
34+# The driver smsc95xx, used by both Beagleboard XM and Pandaboard uses
35+# turbo mode by default, that enables multiple frames per Rx transaction,
36+# increasing performance but consuming more kernel memory.
37+# To avoid page allocation failures and smsc kevent drops we need to
38+# increase the minimum free system memory in the kernel to a higher value.
39+# If you're still having page allocation failures, try to increase this
40+# value to 12288 or even higher. You could also disable the driver's turbo
41+# mode, but decreasing the ethernet performance.
42+# If you encounter problems due to the settings please file a bug
43+# against the jasper-initramfs ubuntu package.
44+# For more details please check http://bugs.launchpad.net/bugs/746137
45+vm.min_free_kbytes = 8192

Subscribers

People subscribed via source and target branches