Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 685651 Details for
Bug 903075
reading hardware memory information failed for 3.X kernels
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
small fix which solved my problem
hardware_memory_fix.diff (text/plain), 516 bytes, created by
Peter Hudec
on 2013-01-23 05:13:26 UTC
(
hide
)
Description:
small fix which solved my problem
Filename:
MIME Type:
Creator:
Peter Hudec
Created:
2013-01-23 05:13:26 UTC
Size:
516 bytes
patch
obsolete
>diff --git a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py b/clien >index 42b4423..a01c981 100644 >--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py >+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py >@@ -342,6 +342,8 @@ def read_memory(): > return read_memory_2_6() > if kernel[:3] == "2.4": > return read_memory_2_4() >+ # in case of the 3.X kernel >+ return read_memory_2_6() > > def read_memory_2_4(): > if not os.access("/proc/meminfo", os.R_OK):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 903075
: 685651