Userspaces 32-bit and 64-bit on Solaris Ultra Sparc

Userspaces 32-bit and 64-bit on Solaris Ultra Sparc

Post by Solaris G » Sat, 18 Jan 2003 20:47:10



Hi guys,

Thanks for your feedback on the performance
issue.

I wanted to know two things about userspaces.

1) How does one know which userspace one is working
on from the $ prompt.

2) Can we run a 64-bit application on a 32-bit
userspace with 64-bit Kernel?

Might be trivial for you guys but it would
really help me out.

Thanks.
ASG

 
 
 

Userspaces 32-bit and 64-bit on Solaris Ultra Sparc

Post by Jimm » Sat, 18 Jan 2003 21:27:00



> I wanted to know two things about userspaces.

> 1) How does one know which userspace one is working
> on from the $ prompt.

> 2) Can we run a 64-bit application on a 32-bit
> userspace with 64-bit Kernel?

A system running with a 32-bit kernel can only run
32-bit applications.

The 64-bit kernel can run 32 or 64 bit applications.

use 'isalist' to get a list of supported
instruction set architectures.  If you can
see sparcv9, then you're running a 64-bit
kernel

-Jimmo

 
 
 

Userspaces 32-bit and 64-bit on Solaris Ultra Sparc

Post by Tony Walton - Sun EMEA Knowledge Management Organisatio » Sun, 19 Jan 2003 00:24:12



> Hi guys,

> Thanks for your feedback on the performance
> issue.

> I wanted to know two things about userspaces.

What would a "userspace" be?

Quote:

> 1) How does one know which userspace one is working
> on from the $ prompt.

Assuming you mean "kernel architecture", the isainfo -kv command will
tell you.

Quote:

> 2) Can we run a 64-bit application on a 32-bit
> userspace with 64-bit Kernel?

I don't understand the question. A 64 bit kernel will run 64 or 32 bit
applications, a 32 bit kernel will run 32 bit applications only. However
without knowing what you mean by a "userspace" I don't know whether this
answers your question.

--
Tony

 
 
 

1. Sparc problem: userspace 32 bit, kernel 64 bit

Hello,

I have a kernel module and a user tool that interacts with it. Someone
wants to run this on a sparc and it's not working. Turns out the sparc
has a 32 bit userspace and 64 bit kernel.
The userspace/kernel interaction is done with a "struct info" (and
getsockopt/setsockopt). When I print the size of this struct info I
get 28 for userspace and 40 in the kernel! Ofcourse sh*t happens then.
How to solve this? Is there a compiler option for the userspace
program?
Or do I have to go work with annoying "#ifdef" stuff in my header file
that is used by both kernel and userspace. And if yes, can you say
how?

cheers,
Bart

2. I/O Redirection quest. Summary

3. Why is my 32 bit executable faster than 64 bit build on ultra sparc.

4. RH and MetroX

5. 64-bit Solaris 7: wasn't Solaris 2.6 also 32-bit?

6. NNTP via dialup link

7. Upgrading from 32-Bit Sparc-Kernel to 64-Bit sparcv9-Kernel??

8. more on 2.4.19pre... & swsusp

9. Performance Issues on Sun Solaris 64-bit vs. 32-bit

10. Solaris 2.x :- How to tell if & configure 64-bit vs 32-bit

11. Performance Issues on Sun Solaris 64-bit vs. 32-bit

12. How Can we tell Solaris OS is running 32-bit or 64-bit?

13. Solaris 8 32-bit to 64-bit upgrade?