GNU bug report logs - #15757
"unknown" for uname -p related

Previous Next

Package: coreutils;

Reported by: Jeffrin Jose <ahiliation <at> yahoo.co.in>

Date: Wed, 30 Oct 2013 17:40:02 UTC

Severity: normal

Merged with 13001, 21098

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Jeffrin Jose <ahiliation <at> yahoo.co.in>
Cc: 15757 <at> debbugs.gnu.org
Subject: bug#15757: "unknown" for uname -p  related
Date: Wed, 30 Oct 2013 22:13:18 +0100
forcemerge 15757 13001
thanks

On 10/30/2013 06:21 PM, Jeffrin Jose wrote:
> hello ,
> 
> ------------cut-x-here---------
> $uname -p
> unknown
> $uname -m
> x86_64
> $uname -a
> Linux debian 3.11-1-amd64 #1 SMP Debian 3.11.5-1 (2013-10-17) x86_64 GNU/Linux
> $
> ---------cut-x-here----------
> 
> i will attach the output of cpuid command.
> http://www.ka9q.net/code/cpuid/
> 
> I think it is not a bug to show "unknown" for -p
> my processor is AMD A-Series
> 
> is possible to make "unknown" to the correct processor type.
> 
> Thanks.
> /Jeffrin.

Thanks for the report.
This one has already been discussed:
  http://bugs.gnu.org/13001

There are several patches maintained in various distributions
for retrieving the processor type from /proc/cpuinfo (but not
for Debian obviously), e.g.

Fedora:
http://pkgs.fedoraproject.org/cgit/coreutils.git/tree/coreutils-8.2-uname-processortype.patch

Gentoo:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/coreutils/8.21/003_all_coreutils-gentoo-uname.patch?revision=1.1

openSUSE:
https://build.opensuse.org/package/view_file/Base:System/coreutils/coreutils-sysinfo.patch?expand=1

Unfortunately we didn't come to a conclusion yet on how
to maintain this in upstream coreutils.

Have a nice day,
Berny




This bug report was last modified 10 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.