Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 501475

Summary: [RHEL5.4 Xen]: "Weight assignment" messages printed to the serial console
Product: Red Hat Enterprise Linux 5 Reporter: Chris Lalancette <clalance>
Component: kernel-xenAssignee: Justin M. Forbes <jforbes>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: dzickus, mgahagan, syeghiay, xen-maint
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 08:58:24 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:
Attachments:
Description Flags
Printk removal patch none

Description Chris Lalancette 2009-05-19 11:37:01 UTC
Description of problem:
The hardvirt patches that went into the 5.4 beta kernel are causing a new message to be printed to the console every time a domain is started:

(XEN) Weight assignment 2 - w 1 h_virt 0
(XEN) Weight assignment 2 - w 1 h_virt 0

The solution is simple; just remove that printk() from common/sched_credit.c, since they don't really serve a hugely useful purpose.

Comment 1 Justin M. Forbes 2009-05-20 21:56:03 UTC
Created attachment 344884 [details]
Printk removal patch

Patch attached to remove the unnecessary printk.

Comment 3 Don Zickus 2009-05-28 18:08:04 UTC
in kernel-2.6.18-151.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Please do NOT transition this bugzilla state to VERIFIED until our QE team
has sent specific instructions indicating when to do so.  However feel free
to provide a comment indicating that this fix has been verified.

Comment 6 errata-xmlrpc 2009-09-02 08:58:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1243.html