Search My Blog

Sunday, September 12, 2010

fedora 13 starting ksm etc/rc5.d/s84ksm line 44 /sys/kernel/mm/ksm/max_kernel_pages no such file or directroy - Google Search

fedora 13 starting ksm etc/rc5.d/s84ksm line 44 /sys/kernel/mm/ksm/max_kernel_pages no such file or directroy

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

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
[reply] [-] Comment 1 2010-02-04 11:39:58 EST
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.
[reply] [-] Comment 2 2010-08-25 06:28:03 EDT
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
[reply] [-] Comment 3 2010-08-25 16:28:17 EDT
yep, I'm seeing it on my f13 box too...
[reply] [-] Comment 4 2010-08-29 03:19:44 EDT
I just updated from f12 to f13 (x86_64) and also see the message.
[reply] [-] Comment 5 2010-08-30 01:35:32 EDT
Me too, F13, package qemu-common.x86_64 version 2:0.12.5-1.fc13
[reply] [-] Comment 6 2010-09-02 12:24:04 EDT
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.
[reply] [-] Comment 7 2010-09-02 12:40:03 EDT
*** Bug 627425 has been marked as a duplicate of this bug. ***
[reply] [-] Comment 8 2010-09-10 00:34:13 EDT
Created attachment 446426 [details] This is patch for suppress error message
Go there...
https://bugzilla.redhat.com/show_bug.cgi?id=558281

Don

No comments: