Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9670 - app-admin/gentoo-stats doesn't understand Alpha processor info
Summary: app-admin/gentoo-stats doesn't understand Alpha processor info
Status: RESOLVED DUPLICATE of bug 30923
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Arun Bhanu (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-25 16:42 UTC by Will Woods (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gentoo-stats to support alpha (gentoo-stats,14.31 KB, text/plain)
2003-04-22 15:40 UTC, Aron Griffis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will Woods (RETIRED) gentoo-dev 2002-10-25 16:42:43 UTC
gentoo-stats doesn't understand Alpha /proc/cpuinfo. Here are some samples:  
  
From a Compaq XP1000 (667 MHz EV67 processor):  
amt103 root # cat /proc/cpuinfo  
cpu                     : Alpha  
cpu model               : EV67  
cpu variation           : 7  
cpu revision            : 0  
cpu serial number       :  
system type             : Tsunami  
system variation        : Monet  
system revision         : 0  
system serial number    : 4030DRSZ1045  
cycle frequency [Hz]    : 666666666  
timer frequency [Hz]    : 1024.00  
page size [bytes]       : 8192  
phys. address bits      : 44  
max. addr. space #      : 255  
BogoMIPS                : 1326.92  
kernel unaligned acc    : 0 (pc=0,va=0)  
user unaligned acc      : 14 (pc=120002a24,va=1200154bc)  
platform string         : COMPAQ Professional Workstation XP1000  
cpus detected           : 1  
  
From a Digital Personal Workstation 600a (aka Miata):  
root@amt102:~# cat /proc/cpuinfo 
cpu                     : Alpha 
cpu model               : EV56 
cpu variation           : 7 
cpu revision            : 0 
cpu serial number       : 
system type             : Miata 
system variation        : 0 
system revision         : 0 
system serial number    : 
cycle frequency [Hz]    : 600000000 
timer frequency [Hz]    : 1024.00 
page size [bytes]       : 8192 
phys. address bits      : 40 
max. addr. space #      : 127 
BogoMIPS                : 1183.84 
kernel unaligned acc    : 0 (pc=0,va=0) 
user unaligned acc      : 0 (pc=0,va=0) 
platform string         : Digital Personal WorkStation 600au 
cpus detected           : 1 
 
More available on request.
Comment 1 Maik Schreiber 2002-10-26 09:42:39 UTC
cpu                     : Alpha
cpu model               : EV5
cpu variation           : 7
cpu revision            : 0
cpu serial number       :
system type             : Alcor
system variation        : Alcor
system revision         : 0
system serial number    :
cycle frequency [Hz]    : 333333333
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 40
max. addr. space #      : 127
BogoMIPS                : 660.40
kernel unaligned acc    : 0 (pc=0,va=0)
user unaligned acc      : 0 (pc=0,va=0)
platform string         : Digital AlphaStation 600 5/333
cpus detected           : 1
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-04-22 15:40:03 UTC
Created attachment 11014 [details]
gentoo-stats to support alpha

I'm just attaching a whole new version instead of a patch because then it's
easier to see what's going on with a visual diff tool.	Note: It looks like a
lot of changes, but it's not really.  I split get_cpus into separate
subroutines depending on the platform type, creating get_cpus_x86,
get_cpus_ppc, and get_cpus_alpha.  In reality, the only *new* code is
get_cpus_alpha.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-04-22 15:43:33 UTC
Reassigning to codebear for absorption into new gentoo-stats.  Codebear, my attachment to this bug adds alpha support to the gentoo-stats client.  It's based on the Perl version 0.4 in the portage tree.  Assuming Python understands forward lookahead assertions, it should be fairly easily ported.  Let me know if there's any trouble...
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 13:10:19 UTC

*** This bug has been marked as a duplicate of 30923 ***