LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-30-2018, 07:59 PM   #1
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Rep: Reputation: 31
MySQL Install - fatal: hardware capability (CA_SUNW_HW_1) unsupported: 0x60


Just installed the Sun studio 12.5 libraries and MySQL package as per the MySQL 5.7 documentation (using the downloaded pkg.gz from the MySQL website). I got this as my error:

__________________________________________________________________________________

.......(leaving out installation report above this)......
/usr/sbin/myisampack <symbolic link>
/usr/sbin/mysqld <symbolic link>
/usr/sbin/mysqld_multi <symbolic link>
/usr/sbin/mysqld_safe <symbolic link>
/usr/sbin/safe_mysqld <symbolic link>
[ verifying class <none> ]
## Executing postinstall script.
ld.so.1: mysqld: fatal: bin/mysqld: hardware capability (CA_SUNW_HW_1) unsupported: 0x60 [ VIS2 VI]
/var/sadm/pkg/mysql/install/postinstall: line 89: 1413: Killed

Installation of <mysql> was successful.
root@superfast:~/shared# mysql
ld.so.1: mysql: fatal: /opt/mysql/mysql/bin/mysql: hardware capability (CA_SUNW_HW_1) unsupported: ]
Killed
root@superfast:~/shared#

__________________________________________________________________________________

This is on a Sun T2000 server with an 8 core T1. Is version 5.7 not compatible with this thing? What version will I need to go back to if it's not? What are my options here? Thanks.
 
Old 06-30-2018, 11:26 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
As both Sun and MySQL are Oracle products, have you contacted Oracle support?

Searching for “MySQL system requirements” yields pages that only list Solaris 11 (Update 3+) SPARC_64, x86_64 under Oracle systems.

It appears (to me) there is not a version available for the T2000, but I’d think Oracle support would provide the definitive answer.
 
Old 07-02-2018, 10:02 PM   #3
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by scasey View Post
As both Sun and MySQL are Oracle products, have you contacted Oracle support?

Searching for “MySQL system requirements” yields pages that only list Solaris 11 (Update 3+) SPARC_64, x86_64 under Oracle systems.

It appears (to me) there is not a version available for the T2000, but I’d think Oracle support would provide the definitive answer.
Wish I could but unfortunately I don't pay for support.. I'm just trying to use this thing for a database for programs im writing but its not working out well lol. Does oracle have any free support at all? Its not even only with trying to install this. I just tried using the c compiler from Sun Studio in /opt/developerstudio-125/bin/cc and got this error which is close to the same thing:

==================================================================================================== ================
root@superfast:/# /opt/dev*/bin/suncc
ld.so.1: cc: fatal: /opt/developerstudio12.5/bin/cc: hardware capability (CA_SUNW_HW_1) unsupported: 0x20 [ VIS ]
Killed
==================================================================================================== ================

So obviously something is wrong which is really weird..because 11.3 is compatible with a T2000 according to Oracle's HCL.
 
Old 07-03-2018, 07:27 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Beware that T2000 is EOSL (End of support life) since January 2015 and Solaris 11.4 (still beta) is dropping support for the UltraSPARC T4 and older, so that includes the T2000 (UltraSPARC T2).

Anyway, here is a hack I have found here about a similar issue found with a T1 and Studio 12.6 beta that might help you compiling.

Note that I didn't try it. Use at your own risk!

Quote:
The UltraSPARC T1 processor supports VIS well enough to let the Studio compiler run adequately, so I worked around the problem as follows:

$ cd OracleDeveloperStudio12.6Beta-solaris-sparc-bin
$ needsfix=$(find * -type f -exec file {} + | awk -F: '/, UltraSPARC3 Extensions Required \[.*VIS.*]/{print $1}')
$ for f in $needsfix; do /usr/bin/elfedit -e 'cap:hw1 -and -cmp vis' $f; done

This removes VIS from all the hardware capability descriptions in all the executables and libraries distributed with Studio 12.6 beta.

Obviously this is a hack and you'll want to do something more systematic, but it's enough to work around the immediate problem and let me build and run simple programs like GNU Coreutils, by compiling with 'cc -xtarget=native -g -xO2'. I suggest doing something like this before the final 12.6 comes out, to save a bit of work for people like me.
 
Old 07-03-2018, 11:40 PM   #5
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Thanks jillagre! My final solution ended up being to install Sun Studio 12.4 and then reverting to MySQL 5.6 (which does not require Sun Studio 12.5 libraries). I never saw this in the installation guide (which seems like a good place to put this), but in the release notes for Sun Studio 12.5 (link here: https://docs.oracle.com/cd/E60778_01...html#scrolltoc)

Quote:
Known Problems, Limitations, and Workarounds in This Release
UltraSPARC T1 Systems

Oracle Developer Studio 12.5 compilers will not execute on UltraSPARC T1 systems, including SPARC T1000 and SPARC T2000 systems. You will receive the following error if you try:

ld.so.1: cc: fatal: cc: hardware capability (CA_SUNW_HW_1) unsupported: 0x20
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unsupported Hardware jorran Red Hat 4 01-18-2012 04:35 PM
postfix/cleanup[3573]: fatal: unsupported dictionary type: mysql sajumurali Linux - Newbie 6 04-16-2010 01:24 PM
fatal errors on install - hardware problem preston87 Slackware - Installation 3 11-20-2005 09:21 AM
Graphics Install fails with a fatal media/hardware error rraghuram Fedora - Installation 4 08-10-2005 12:27 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration