Bug 70535 - uname clueless
Summary: uname clueless
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: sh-utils
Version: limbo
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-02 10:05 UTC by Harald Hoyer
Modified: 2007-04-18 16:45 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-29 19:34:54 UTC
Embargoed:


Attachments (Terms of Use)

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.


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