See search results...
http://www.google.com/search?source=ig&hl=en&rlz=&=&q=fedora+13+liborvisor&aq=f&aqi=&aql=&oq=&gs_rfai=CMazvzreKTL2kH4GOzQTw0syaBQAAAKoEBU_Q8_rd#sclient=psy&hl=en&q=fedora+13+starting+ksm+etc%2Frc5.d%2Fs84ksm+line+44+%2Fsys%2Fkernel%2Fmm%2Fksm%2Fmax_kernel_pages+no+such+file+or+directroy&aq=f&aqi=&aql=&oq=&gs_rfai=&psj=1&fp=66c068866a123d01
Bug 558281 – KSM init script error [/sys/kernel/mm/ksm/max_kernel_pages: No such file or directory
Gianluca Varisco 2010-01-24 12:14:04 EST
Description of problem: Starting ksm: /etc/rc5.d/S84ksm: line 44: /sys/kernel/mm/ksm/max_kernel_pages: No such file or directory [ OK ] Version-Release number of selected component (if applicable): qemu-common-0.12.1.2-3.fc13.x86_64 kernel-2.6.33-0.20.rc5.git0.fc13.x86_64 How reproducible: The message is displayed when the system boots up [ /var/log/boot.log ]. # ls /sys/kernel/mm/ksm/ full_scans pages_shared pages_sharing pages_to_scan pages_unshared pages_volatile run sleep_millisecs
Now that the pages are swappable in 2.6.33 kernels, max_kernel_pages is no longer necessary. The ksm init script has been modified to only change /sys/kernel/mm/ksm/max_kernel_pages if it already exists. This should work with both F12 and future rawhide kernels.
Bug is still present in FC13. From my /var/log/boot.log: ... Starting ksm: /etc/rc5.d/S84ksm: line 44: /sys/kernel/mm/ksm/max_kernel_pages: No such file or directory ... > The ksm init script has been modified to only change > /sys/kernel/mm/ksm/max_kernel_pages if it already exists. This apparently has not happened: - From /etc/init.d/ksm on FC13: ... start() { echo -n $"Starting $prog: " KSM_MAX_KERNEL_PAGES=${KSM_MAX_KERNEL_PAGES:-`default_max_kernel_pages`} echo $KSM_MAX_KERNEL_PAGES > /sys/kernel/mm/ksm/max_kernel_pages echo 1 > /sys/kernel/mm/ksm/run RETVAL=$? [ $RETVAL = 0 ] && success $"$prog startup" || failure $"$prog startup" echo } ... - Same in Fedora's git. Even master (f15) still carries the broken init script
I just updated from f12 to f13 (x86_64) and also see the message.
Me too, F13, package qemu-common.x86_64 version 2:0.12.5-1.fc13
I apologize for that, it seems the update got applied to F-12 and did not get applied upstream. This change has now been committed upstream, and will be present in the next qemu builds for all releases.
*** Bug 627425 has been marked as a duplicate of this bug. ***
Created attachment 446426 [details] This is patch for suppress error message
https://bugzilla.redhat.com/show_bug.cgi?id=558281
Don
No comments:
Post a Comment