Bug 70535

Summary: uname clueless
Product: [Retired] Red Hat Public Beta Reporter: Harald Hoyer <harald>
Component: sh-utilsAssignee: wdovlrrw <brosenkr>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: limbo   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-29 19:34:54 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:

Description Harald Hoyer 2002-08-02 10:05:12 UTC
$ uname -pi
unknown unknown

$ rpm -qf /bin/uname
sh-utils-2.0.12-2

I expected useful output for my athlon.

$ uname -a
Linux faro.stuttgart.redhat.com 2.4.18-7.81 #1 Fri Jul 26 12:57:30 EDT 2002 i686
unknown unknown GNU/Linux

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 908.156
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1800.42

Comment 1 Bernhard Rosenkraenzer 2002-08-29 19:34:46 UTC
uname uses the sysinfo() libc call to determine this implementation.
sysinfo() isn't implemented in glibc.

I've added a (somewhat Linux specific) workaround for -p -i in 2.0.12-3.


Comment 2 Jay Turner 2002-08-30 19:11:00 UTC
Fix confirmed with sh-utils-12.0.12-3.