Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Misc
Reload this Page uname output
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Misc Any questions or Linux discussion that does not fit in any of the other technical areas.

Reply
 
Thread Tools Display Modes
Old 02-15-2005   #1 (permalink)
Just Joined!
 
Join Date: Dec 2004
Location: United Kingdom
Posts: 50
uname output

Hello,

I am trying to diagnose a problem / learn more. The issue that I am having
is with coreutils and the uname output.

Here is an extract of the problem

On Version A

address@bogus.example.com:~/build# /bin/uname -a
Linux poopey 2.6.10 #7 SMP Mon Dec 27 19:11:19 GMT 2004 i686 unknown
unknown GNU/Linux
address@bogus.example.com:~/build# /bin/uname --version
uname (coreutils) 5.2.1
Written by David MacKenzie.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@bogus.example.com:~/build#


As you can see on that version the processor and platform (-i and -p) show
unknown as the response.

However when I download the standard redhat rpm (rather than the version I
compiled from source) I get the following.

address@bogus.example.com:~/build# ./uname -a
Linux poopey 2.6.10 #7 SMP Mon Dec 27 19:11:19 GMT 2004 i686 i686 i386
GNU/Linux
address@bogus.example.com:~/build# ./uname --version
uname (coreutils) 4.5.3
Written by David MacKenzie.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


>As you can see from the second output I am gettin the -i and -p options
>printed. The only difference I can see initially is the version one is a
>redhat compiled binary and one is the source downloaded from the web.


address@bogus.example.com:~/build# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 1000.033
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 1974.27

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 1000.033
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 1998.84

address@bogus.example.com:~/build# cat /proc/version
Linux version 2.6.10 (address@bogus.example.com) (gcc version 3.3.4) #7 SMP Mon Dec 27
19:11:19 GMT 2004



I am trying to work out why this is the case and how I can work to resolve
the problem.

Any further information would be greatly appreciated.

Thanks
xtc1980 is offline   Reply With Quote
Old 02-18-2005   #2 (permalink)
Linux Enthusiast
 
Join Date: Dec 2004
Location: Rockin' in the USA!!!
Posts: 603
Send a message via Yahoo to smindinvern
The problem could be simply that it's an intel, I've never seen this feature work on an intel, and the problem in general is nothing to worry about; the only processor I've ever seen it print correct output on is my AMD running under gentoo
Code:
Linux eric 2.6.10-gentoo-r6 #13 Fri Feb 11 11:38:40 MST 2005 i686 AMD Athlon(TM) XP 2600+ AuthenticAMD GNU/Linux

The reason that the precompiled binary worked is most likely because it was compile for an i686, so that's what it prints. I really don't know the reason for this not working, but as I said, it is nothing to worry about
smindinvern is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 06:11 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0