Peter Schow wrote:
> On Fri, Jul 11, 2008 at 04:29:27PM -0400, Paul Gress wrote:
>   
>> Hi all,
>>
>> I have snv93 installed on my laptop and having trouble installing some 
>> additional software.  The software has an install script that uses the 
>> command "uname -p" to determine if sparc of i386.  Well on my laptop 
>> this command returns nothing, as in blank output.  Does anybody know 
>> where this information is stored or accessed or how ti fix this 
>> problem.  Because of this I cannot install the software.  I also cannot 
>> edit the install script as there is to much binary data.
>>     
>
> Well, as a messy workaround to get your software installed, you could 
> perhaps create a little script called "uname" that returns the correct 
> value for "-p", put it in a directory, and put that directory ahead 
> of /bin in your $PATH.  This will work if the installation script doesn't
> fully qualify the uname path.
>
> But I'm surprised that you're getting a blank value.  What kind of
> x64 laptop is this?
>
> What do these commands say?
>
>    /bin/uname -a
>    isainfo -v
>    /usr/sbin/smbios -t 4
>
> It's definitely a bug if "uname -p" returns a blank value.
>    
>
>   
Thanks for your response.  As always, Ive been struggling with this 
problem for some time, basically I noticed it a snv86 and to make a long 
story short, as soon as you post a question you discover the answer 
yourself.

Basically I needed to change the hostid, so I created a script and put 
it in /etc/rc2.d/S05*****.  It appears Solaris Express gets confused 
(where Solaris 10 doesn't) and basis some of its operations derived from 
a hostid derived from the mac address.  My hostid shows up as I want it 
but uname -p will show blank.  When I removed the S05**** script, uname 
-p worked correctly.  Maybe I need to start is sooner using the 
services, but I haven't yet figured it out yet.

Paul
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to