Bug 61305 - rhn_register prints deranged information
rhn_register prints deranged information
Product: Red Hat Linux
Classification: Retired
Component: rhn_register (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2002-03-16 16:03 EST by Alan Cox
Modified: 2015-01-07 18:55 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-14 05:35:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Screenshot (68.46 KB, image/jpeg)
2002-03-16 16:04 EST, Alan Cox
no flags Details

  None (edit)
Description Alan Cox 2002-03-16 16:03:49 EST
I'll attach a screenshot but apparently I have a -2MHz processor ?
Comment 1 Alan Cox 2002-03-16 16:04:42 EST
Created attachment 48728 [details]
Comment 2 Adrian Likins 2002-03-17 17:55:45 EST
whats /proc/cpuinfo look like?

Sounds like it's not populating a "cpu mhz" at all
Comment 3 Adrian Likins 2002-03-17 18:25:00 EST
yup, must be it. All 116 WinChip register show as -2. 

any other way to get the mhz of these chips? (or any chips
that dont set X86_FEATURE_TSC from what I can tell...)
Comment 4 Alan Cox 2002-03-17 20:02:03 EST
It does indeed have no TSC support.

For non TSC capable chips you need to know the magic divider per chip (or
not display strange things like -3)

For the IDT winchip series its bogomips/2

Comment 5 Adrian Likins 2002-03-18 05:09:22 EST
I'll kluge up the display to just show "undetectable" or something for the
approriate cases.

Are there docs any docs anywhere on what the proper per chip magic is? Already
to handle alpha/ia64/sparc/s390 differently, adding winchip/cyrix/k5/etc isnt
too much of
a stretch.
Comment 6 Alan Cox 2002-03-18 06:46:56 EST
If the table I has is still correct, then for non TSC

Winchip: bogomips/2 nearest 25/33MHz
i486: bogomips * 2 nearest 25/33Mhz
AMD 5x86 without tsc, bogomips *2 nearest 25/33Mhz
Cyrix 486SLC  bogoips * 3 , nearest 25/33Mhz
Nexgen: bogomips * 4/3, nearest 25/33Mhz

Note You need to log in before you can comment on or make changes to this bug.