Bug 558281
Summary: | F13: KSM init script error [/sys/kernel/mm/ksm/max_kernel_pages: No such file or directory] | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gianluca Varisco <gvarisco> | ||||
Component: | qemu | Assignee: | Justin M. Forbes <jforbes> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | alexander.hunt2005, amit.shah, berrange, carlg, cb20777, chkr, dan, dwmw2, ehabkost, gcosta, itamar, james, jaswinder, jforbes, markmc, mick, nobody, quintela, rc040203, robatino, robert, rob+redhat, rs, virt-maint, xoxxyy | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-0.13.0-1.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 561907 (view as bug list) | Environment: | |||||
Last Closed: | 2011-03-19 10:28:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 514891, 561907 | ||||||
Attachments: |
|
Description
Gianluca Varisco
2010-01-24 17:14:04 UTC
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
yep, I'm seeing it on my f13 box too... 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
spice-0.6.0-1.fc14,spice-protocol-0.6.0-1.fc14,qemu-0.13.0-0.7.rc1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/spice-0.6.0-1.fc14,spice-protocol-0.6.0-1.fc14,qemu-0.13.0-0.7.rc1.fc14 spice-0.6.0-1.fc14, spice-protocol-0.6.0-1.fc14, qemu-0.13.0-0.7.rc1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update spice spice-protocol qemu'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/spice-0.6.0-1.fc14,spice-protocol-0.6.0-1.fc14,qemu-0.13.0-0.7.rc1.fc14 spice-0.6.0-1.fc14, spice-protocol-0.6.0-1.fc14, qemu-0.13.0-0.7.rc1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. Can we get an update for F-13 too, please? Please reopen. This bug still exists in Fedora 13. --- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Hi, What Rob Riggs said. Info: I Installed some fuse (filesystem in userspace) options yesterday which installed qemu-common-2:0.12.5.1.fc13.x86_64 as a dependency. My machine is now having this issue also (although other than the message being in the boot log, it doesn't seem to be causing any problems for me so far). I don't have any spice or spice-protocol files installed. Fedora 2.6.34.7-56.fc13.x86_64 Gnome 2.30.0 MacBook 2.1 br, alex Package qemu-0.13.0-1.fc13: * should fix your issue, * was pushed to the Fedora 13 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qemu-0.13.0-1.fc13' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/qemu-0.13.0-1.fc13 then log in and leave karma (feedback). qemu-0.13.0-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update qemu'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/qemu-0.13.0-1.fc13 qemu-0.13.0-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |