Solaris 8 on chroot in Solaris 10
I've copied all nessesary Sol8 system files to machine with Sol10. After executing "chroot /home/chroot/sol8 /bin/bash" almost everything is OK except running programs which need the "libthread.so.1" library (for example java). These programs cause error: "_sys_thread_create() failed, errno = 22".
bash-3.00#uname -a
SunOS xxxx 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-480R
bash-3.00# mount -F proc proc /home/chroot/sol8/proc
bash-3.00# mount -F fd /dev/fd /home/chroot/sol8/dev/fd
bash-3.00# chroot /home/chroot/sol8 /bin/bash
bash-2.05b#
bash-2.05b# ldd /usr/bin/java
libthread.so.1=>/usr/j2re1.4.1/bin/../../../lib/sparcv9/libthread.so.1
libdl.so.1 =>/usr/j2re1.4.1/bin/../../../lib/sparcv9/libdl.so.1
libc.so.1 =>/usr/j2re1.4.1/bin/../../../lib/sparcv9/libc.so.1
/usr/platform/SUNW,Sun-Fire-480R/lib/sparcv9/libc_psr.so.1
bash-2.05b# /usr/bin/java
_sys_thread_create() failed, errno = 22
The "libthread.so.1" file is dated on 19th may 06 (patch no. 108993-57)
Other machine with native Sol8 does not have such problem.
Can anyone explain me what the "errno=22" mean ?
Best regards.
Tom
[1240 byte] By [
TomCP] at [2007-11-26 8:36:53]

# 4
> So, is there any alternative way to run Solaris 8 on
> machine with Solaris 10 installed?
Solaris 10 is an upgrade from Solaris 8. In theory, 10 should be backwards compatible with 8.
What are you trying to run on 8 that doesn't run on 10? Or is there something else you're trying yo do?
alan
# 6
We a lot of machines with Solaris 8 at our customer which cannot be upgraded in near future (for some security reasons). I've decided to install Solaris 10 on our development server (V480) but we have to produce binaries (aplications and libraries) which will be running in "clean" Sol8 environment.
The best solution would be to prepare Sol8 temporary environment on our server till then the customer will upgrade own machines to Sol10.
In reference to "Dynamic System Domains" option:
We are using Sun-Fire V480 server not Sunfire 6800 - is that option applicable to such servers (V480) ?
TomCP at 2007-7-6 22:08:26 >

# 7
Apologies.
I could have sworn there was a mention of a SF6800 in there some place.
Then again, I glance through a number of different forum web sites,
not just the Sun forums.
I know there is a thread out there, somewhere,
where someone is trying this exact same thing on a Sunfire,
and have the exact same failure.