Bug 244060
| Summary: | irqbalance initscript miscalculates CPUCOUNT | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Bryn M. Reeves <bmr> | ||||
| Component: | kernel-utils | Assignee: | Jarod Wilson <jarod> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.5 | CC: | tao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHBA-2007-0763 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-11-15 16:00: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: | |||||||
| Attachments: |
|
||||||
Created attachment 156888 [details]
add a line anchor to the CPUCOUNT regex
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. 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 the 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/RHBA-2007-0763.html |
Description of problem: irqbalance.init calculates CPUCOUNT by doing: local CPUCOUNT=`grep processor /proc/cpuinfo | wc -l` This breaks on for e.g. Pentium Ms which have: model name : Intel(R) Pentium(R) M processor 1600MHz Version-Release number of selected component (if applicable): kernel-utils-2.4-13.1.99 How reproducible: 100% on affected CPU models Steps to Reproduce: 1. Start irqbalance on a uniprocessor e.g. Pentium M system Actual results: irqbalance does not exit with the message "Can't balance irqs on a uniprocessor system: " Expected results: irqbalance exits with the message "Can't balance irqs on a uniprocessor system: " Additional info: Any processor that has the string "processor" in the CPU ID field is affected.