Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Alexander Eremin
Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode correctly (32 or 64 bit). Why not be use SI_ARCHITECTURE_K instead of SI_ARCHITECTURE for -p flag (-m?) in uname code? After changing this I tested uname on usual 32bit PC and on my Toshiba A300 laptop, which cpu

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Martin Bochnig
On Mon, Apr 27, 2009 at 1:18 PM, Alexander Eremin ere...@milax.org wrote: Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode correctly (32 or 64 bit). Why not be use SI_ARCHITECTURE_K instead of  SI_ARCHITECTURE for -p flag (-m?) in uname code? After changing

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Alan Coopersmith
Alexander Eremin wrote: Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode correctly (32 or 64 bit). It's not supposed to: -mPrints the machine hardware name (class). Use of this option is discouraged. Use

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Martin Bochnig
On Mon, Apr 27, 2009 at 5:45 PM, Alan Coopersmith alan.coopersm...@sun.com wrote: Alexander Eremin wrote: Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode correctly (32 or 64 bit). It's not supposed to:     -m                Prints the machine hardware name

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Martin Bochnig
On Mon, Apr 27, 2009 at 6:53 PM, Martin Bochnig mar...@martux.org wrote: On Mon, Apr 27, 2009 at 5:45 PM, Alan Coopersmith alan.coopersm...@sun.com wrote: Alexander Eremin wrote: Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode correctly (32 or 64 bit).

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Alan Coopersmith
Martin Bochnig wrote: Even on 2009.06_b111: mar...@opensolaris:~$ uname -m i86pc mar...@opensolaris:~$ uname -p i386 mar...@opensolaris:~$ uname -a SunOS opensolaris 5.11 snv_111 i86pc i386 i86pc Solaris mar...@opensolaris:~$ arch -k i86pc mar...@opensolaris:~$ isainfo -k amd64 ---

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Alexander Eremin
Alexander Eremin wrote: Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode correctly (32 or 64 bit). It's not supposed to: -mPrints the machine hardware name (class). Use of this option is discouraged. Use uname -p instead.

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Martin Bochnig
On Mon, Apr 27, 2009 at 7:26 PM, Alan Coopersmith alan.coopersm...@sun.com wrote: Martin Bochnig wrote: Even on 2009.06_b111: mar...@opensolaris:~$ uname -m i86pc mar...@opensolaris:~$ uname -p i386 mar...@opensolaris:~$ uname -a SunOS opensolaris 5.11 snv_111 i86pc i386 i86pc Solaris

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Octave Orgeron
From: Alexander Eremin ere...@milax.org To: opensolaris-discuss@opensolaris.org Sent: Monday, April 27, 2009 11:35:26 AM Subject: Re: [osol-discuss] uname -a ... 32bit vs 64bit Alexander Eremin wrote: Hi, I see now it's a bug 2820 Uname -m does not report Operating System's mode

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread James Carlson
Octave Orgeron writes: Now putting all that info into uname would just complicate life for everyone and break all sorts of stuff. As such, uname is for very high-level info and isainfo is for detailed. Exactly. Putting detailed processor information into uname is not only unnecessary, but

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-27 Thread Dennis Clarke
Octave Orgeron writes: Now putting all that info into uname would just complicate life for everyone and break all sorts of stuff. As such, uname is for very high-level info and isainfo is for detailed. Exactly. Putting detailed processor information into uname is not only unnecessary, but

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-07 Thread UNIX admin
style type=text/css P { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px } /style div id=jive-html-wrapper-div div dir=ltrfont face=Tahoma color=#00 size=2When I run quot;uname -aquot; it says:/font/div div dir=ltrfont face=tahoma size=2SunOS hostname 5.10 Generic_137138-09 i86pc i386

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-07 Thread Casper . Dik
Also: I personally don't understand why Sun made that design decision back in 1997/98 to treat a booted 32bit kernel and booted 64bit kernel as the same platform, and hence to identify it with the same uname() field values. In this case I prefer how linux handles it. Why? In that time you

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-07 Thread UNIX admin
Also: I personally don't understand why Sun made that design decision back in 1997/98 to treat a booted 32bit kernel and booted 64bit kernel as the same platform, and hence to identify it with the same uname() field values. In this case I prefer how linux handles it. Why? It makes perfect

[osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Edward Ned Harvey
When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit. And I've also seen it say 32bit when you're 32bit. But now it says nothing, so I'm left confused. How can I know if my system is 64bit or 32bit

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Shawn Walker
Edward Ned Harvey wrote: When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit. And I've also seen it say 32bit when you're 32bit. But now it says nothing, so I'm left confused. How can I know if

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Ignacio Marambio Catán
On Mon, Apr 6, 2009 at 3:05 PM, Edward Ned Harvey sola...@nedharvey.com wrote: When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit.  And I've also seen it say 32bit when you're 32bit.  But now it

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Casper . Dik
When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit. And I've also seen it say 32bi t when you're 32bit. But now it says nothing, so I'm left confused. How can I know if my system is 64bit or

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Robert Thurlow
Edward Ned Harvey wrote: How can I know if my system is 64bit or 32bit anymore? The best way is probably 'isainfo': kootenay[19]% isainfo amd64 i386 kootenay[22]% isainfo -v 64-bit amd64 applications sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Cyril Plisko
On Mon, Apr 6, 2009 at 9:05 PM, Edward Ned Harvey sola...@nedharvey.com wrote: When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit.  And I've also seen it say 32bit when you're 32bit.  But now it

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Edward Ned Harvey
Thank you. That's perfect. From: Shawn Walker [swal...@opensolaris.org] Sent: Monday, April 06, 2009 2:08 PM To: Edward Ned Harvey Cc: opensolaris-discuss@opensolaris.org Subject: Re: [osol-discuss] uname -a ... 32bit vs 64bit Edward Ned Harvey wrote

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Alan Coopersmith
Edward Ned Harvey wrote: When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit. And I've also seen it say 32bit when you're 32bit. But now it says nothing, so I'm left confused. Solaris uname

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Milan Cermak
Hi Ed, isainfo tool might help you. $ isainfo amd64 i386 $ isainfo -v 64-bit amd64 applications ahf sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu 32-bit i386 applications ahf sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Joerg Schilling
Edward Ned Harvey sola...@nedharvey.com wrote: When I run uname -a it says: SunOS hostname 5.10 Generic_137138-09 i86pc i386 i86pc In the past, I've seen the system say x86_64 when you're 64bit. And I've also seen it say 32bit when you're 32bit. But now it says nothing, so I'm left

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Edward Ned Harvey
In the past, I've seen the system say x86_64 when you're 64bit. And I've also seen it say 32bit when you're 32bit. But now it says nothing, so I'm left confused. So you have not been on Solaris in the past. I was confused by the bootup kernel messages. The kernel message when you boot

Re: [osol-discuss] uname -a ... 32bit vs 64bit

2009-04-06 Thread Martin Bochnig
On Tue, Apr 7, 2009 at 2:54 AM, Edward Ned Harvey sola...@nedharvey.com wrote: I was confused by the bootup kernel messages.  The kernel message when you boot from DVD says 32bit.  The kernel message booting from hard drive (I think) says x86_64.  Both messages I see regularly, and look similar