Skip to contentSkip to conversation

axp question 'bout uname voodoo

DISCUSSION Oliver Falk 3 participants 4 messages Mar 19, 2007 – Mar 20, 2007

lore
Share & tools
lore
#0 lore raw

Hi!

We have a discussion on alpha mailinglist at the moment, because of uname -mpi.

AFAIK, uname -m should do some glibc call, which calls kernel, right?

However, I have two machines:

AS1000A:
[root@tyskie ~]# uname -mpi && cat /proc/cpuinfo | grep model alpha alpha alpha
cpu model : EV56

DS10:
[root@gosa ~]# uname -mpi && cat /proc/cpuinfo |grep model alpha alpha alpha
cpu model : EV67

Shouldn't uname rport alphaev67 and alphaev56? Maybe it's just a .config problem. Maybe the kernel needs to be compiled for the different sub-arches!?

Any help would be great.

Thx,
Oliver

#1 lore raw
Quoted 18 lines · Oliver Falk

Hi!

We have a discussion on alpha mailinglist at the moment, because of uname -mpi.

AFAIK, uname -m should do some glibc call, which calls kernel, right?

However, I have two machines:

AS1000A:
[root@tyskie ~]# uname -mpi && cat /proc/cpuinfo | grep model alpha alpha alpha
cpu model : EV56

DS10:
[root@gosa ~]# uname -mpi && cat /proc/cpuinfo |grep model alpha alpha alpha
cpu model : EV67

Quoted 4 lines

Shouldn't uname rport alphaev67 and alphaev56? Maybe it's just a .config problem. Maybe the kernel needs to be compiled for the different sub-arches!?

Any help would be great.

The kernel uname function at least does not have fields that report processor or hardware platform.

Eric

#2 lore raw

Hi Eric!

Quoted 1 line · Eric W. Biederman

Oliver Falk <[email protected]> writes:

[ ... ]

Quoted 2 lines

The kernel uname function at least does not have fields that report processor or hardware platform.

But on i386 it reports:
[oliver@pils ~]$ uname -mpi
i686 i686 i386

And I remember that it used to report alphaev67 or alphaev56...

-of

#3 lore raw
Quoted 4 lines · Oliver Falk

But on i386 it reports:
[oliver@pils ~]$ uname -mpi
i686 i686 i386

Reports this for me:

$ uname -mpi
i686 athlon i386
Quoted 1 line

And I remember that it used to report alphaev67 or alphaev56...

Jan