64-bit compilation problem on Solaris/Intel: 7th argument not initialized

I have a problem when compiling a program on a 64-bit Solaris Intel server. The problem is that when calling a function, if the 7th or next arguments are long arguments and I pass uncasted small integers values to it, the first 32-bit of my values are uninitialized.
I have isolated the problem in the following source code.
#include <stdio.h>
#include <strings.h>
void fnc1(a,b,c,d,e,f,g,h)
long a,b,c,d,e,f,g,h;
printf("%ld,%ld,%ld,%ld,%ld,%ld,%ld,%ld\n", a,b,c,d,e,f,g,h);
void main()
fnc1(0x10101010deadbeef,0x20202020deadbeef,
     0x30303030deadbeef,0x40404040deadbeef,
     0x50505050deadbeef,0x60606060deadbeef,
     0x70707070deadbeef,0x80808080deadbeef);
fnc1(1,2,3,4,5,6,7,8);
}I compile it using the following command:
cc src1.c -g $* -m64 -o prog1.exeWhen I run the resulting .exe, I get the following result:
1157442768875667183,2314885534015405807,3472328299155144431,4629771064294883055,5787213829434621679,6944656594574360303,8102099359714098927,-9187201948855714065
1,2,3,4,5,6,8102099355978170375,-9187201952591642616The problem is that the first 32 bits of my 7th and 8th arguments are not initialized when the function is called.
I know that in the following cases, I do not have the problem:
- if I cast the arguments;
- on other platforms (AIX, SunOs/Sparc, HPUX) or if I compile in 32-bit;
- if I use optimization (-xO1 to -xO5) ;
- if I prototype my function at the beginning of my source (void fnc1(long a,long b,long c,long d,long e,long f,long g,long h););
I have over 1,000,000 lines of existing code to support. I am afraid using optimization would have other impacts and for now, I cast the arguments as problems are reported. Would there be a better way to handle this? By using a compiler switch?
Thanks in advance.

Tom.Truscott wrote:
clamage45 wrote:
But if you are passing to an ellipsis, you either cast actual arguments to the type the function expects, or the function extracts the default promoted type. Such code always works ...Yes, and developers should attempt to accomplish just that. Alas this is very difficult to ensure, particularly given the lack of a run-time type checking mechanism.In theory, proper use of the ellipsis function would be documented, and programmers would read and follow the documentation. In practice, some programmers don't read the instructions, or forget them, or someone ill-advisedly changes the way the function works so that existing calls stop working. Variable-argument functions are a fragile mechanism. (I program almost exclusively in C++, which has combinations of features such that variable-argument functions are rarely, if ever, needed.)
Can one even assume that the value of the NULL macro is correct? Never, because the C standard allows a variety of definitions for NULL, and implementations vary. Passing NULL to an ellipsis is a recipe for failure. Don't do it.
>
Suppose you have function FI with an ellipsis that expects to get int arguments, and another FL that expects to get long arguments. When you port the code to a 64-bit environment, function FL fails. If you use the -signext option, function FI will fail.Ah, but for us FL never fails, since the compilers always widen the arguments. I fail to see the circumstance in which widening would cause FI to fail, could you please give a more specific example?
void FI(int count, ...)
    va_list va;
    va_start(va, count);
    int t;
    while( --count >= 0) {
       t = va_arg(va, int);
       do_something(t);
}Function FI expects to extract 32-bit int arguments. If compiled with -signext, the calling function will pass 64-bit arguments. Perhaps the -signext option also causes the 32-bit extraction to be changed to a 64-bit extraction. I have no personal experience with the option, and I'm not in a position where I can experiment right now.

Similar Messages

  • 64-bit compiling: problem in Solaris 2.8 workshop 6 update 2

    Hi,
    I have a probleme compiling 64bit application. Each time I try to link the object-files I get an error:
    ld: fatal: ......./file sgm_register.o: wrong ELF class: ELFCLASS64
    I need to compile it in 64bit-mode because of ability to read files with sizes greater 2GB.
    The system is able to run 64bit applications:
    $ isainfo -v
    64-bit sparcv9 applications
    32-bit sparc applications
    Used compiler-options are
    cc -Kpic -xarch=v9
    OP: Solaris 8
    cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-06 2002/03/11
    It would be nice if someone can help me solving the problem!
    Many thanks,
    Matthias

    You may be mixing 32-bit and 64-bit object files. Did you
    compile all the files with -xarch=v9 and are you linking
    with -xarch=v9?

  • Solaris intel (x86) DCA not saving when rebooted.

    I'm working with a Panasonic CF-71 toughbook laptop. I have loaded the 2.6 Solaris intel OS and the Xig PCMCIA patch. I have been successful in getting a 3Com 3C589D card to work, but only if I enter into DCA at boot time and delete the PnP ISA PCMCIA device at port 3e2-3e3 and then add a ISA PCMCIA device at port 3e2-3e3. Unfortunately this must be done every time the system is rebooted. Does any one know of a way to do this delete/add using the /etc/system file? Any help is much appreciated.
    Matt . . .

    Hi
    I have download Solaris 9 x86 and Cd1 at boot time gives the same error as you mentioned. I am using my Toshiba Satellite A60. I have check the HDL list and its not listed there. Does it mean I can not install Solaris 9 x86 on this box. When I boot I get the same error which is mentioned above.
    For more information I never installed Solaris in past and have no idea which Disk space /partition to be created it talks about in Install Guide.
    Can some please clarify and do let me know where am I going wrong and how to fix it.
    Thanks in Advance
    Owais

  • Compilation problem in solaris 10

    Hi,
    Iam using solaris 10 SUNW,UltraAX-i2. Iam trying to compile tripwire binaries tw_ASR_1.3.1_SRC. Iam using gcc 3.3.2, later I installed the libiconv package.
    on reading the documentation from sunfreeware i modified the file mkheaders.conf putting the line SHELL=/bin/sh in the directory
    usr/local/lib/gcc-lib/sparc-sun-solaris10/3.3.2/install-tools
    The PATH and LD_LIBRAY_PATH are like this
    # echo $PATH
    /usr/local/bin:/etc:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/bin:/sbin/:/usr/sb
    in:/usr/man:/usr/include/
    # echo $LD_LIBRARY_PATH
    /usr/local/lib:/usr/X/lib:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib:/etc/lib:/usr/d
    t/lib
    Once I changed the configuration changes in the tripwire source. Iam trying to compile make & make install. The output of the make is like this
    # make
    (cd util; make CC=gcc CFLAGS="-O" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
    ### Ignore warnings about shift count negative/too large on line 36
    gcc -O -ldl byteorder.c -o byteorder
    byteorder.c: In function `main':
    byteorder.c:36: warning: left shift count >= width of type
    byteorder.c:25: warning: return type of `main' is not `int'
    (./byteorder; cat ./ntohl.h) > ../include/byteorder.h
    gcc -O -ldl types.c -o types
    types.c: In function `main':
    types.c:29: warning: return type of `main' is not `int'
    /bin/sh ./types.sh "gcc -E" > ../include/inode.h
    (cd src; make CC=gcc CFLAGS="-O" LIBS="" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
    YACC="yacc" LEX="lex" all)
    /bin/sh help.sh help.txt > help.c
    gcc -O -c config.parse.c
    gcc -O -c main.c
    main.c:704:2: warning: no newline at end of file
    gcc -O -c list.c
    gcc -O -c ignorevec.c
    gcc -O -c dbase.build.c
    gcc -O -c utils.c
    gcc -O -c preen.c
    gcc -O -c preen.interp.c
    gcc -O -c preen.report.c
    gcc -O -c nullsig.c
    gcc -O -c config.prim.c
    gcc -O -c dbase.update.c
    lex config.pre.l
    mv lex.yy.c config.lex.c
    yacc config.pre.y
    sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c
    rm y.tab.c
    gcc -O -c config.pre.c
    gcc -O -c help.c
    (cd ../sigs/md5; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md5.c
    gcc -O -I. -I.. -c md5wrapper.c
    (cd ../sigs/snefru; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c snefru.c
    (cd ../sigs/crc32; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c crc32.c
    (cd ../sigs/crc; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c crc.c
    (cd ../sigs/md4; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md4.c
    gcc -O -I. -I.. -c md4wrapper.c
    (cd ../sigs/md2; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md2wrapper.c
    gcc -O -I. -I.. -c md2.c
    (cd ../sigs/sha; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c sha.c
    gcc -O -I. -I.. -c shawrapper.c
    (cd ../sigs/haval; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c haval.c
    gcc -O -I. -I.. -c havalwrapper.c
    gcc -O -ldl -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o
    utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.upd
    ate.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/s
    nefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs
    /md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o .
    ./sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
    gcc -O -ldl -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sig
    s/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../s
    igs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.
    o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
    nullsig.o utils.o
    I think it is not showing any problem. But when I try to make install it is throwing some
    error like this. It was unable to find theinsta;; directory under /usr/local/bin. Manually I created the directory to test, it is throwing an error saying that bad file number.
    Can any one help me what could be the reason for this.
    # make install
    (cd util; make CC=gcc CFLAGS="-O" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
    (cd src; make CC=gcc CFLAGS="-O" LIBS="" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
    YACC="yacc" LEX="lex" all)
    /usr/local/bin/install -d /usr/local/bin
    sh: /usr/local/bin/install: not found
    *** Error code 1
    make: Fatal error: Command failed for target `install'
    Sanjeev

    This forum is about using Sun Studio. Your question is about tripwire, which is not a Sun product, and gcc, which is not Sun Studio. I suggest you take your question to a tripwire forum. Check the location where you got tripwire for a support forum.

  • Problem with SOLARIS INTEL SOFTWARE 2

    I can't install software from the second CD of intel software. When I use WebStart, it says that
    /usr/bin/bzcat is not present so pkgadd can't work and if I try to install with Admintool, it cannot find
    /usr/bin/bzcat too.
    Any suggestion ???

    Just to let you know you are not allone: We have a similar problem here. I have no idea what they mean with the file: itmpt-x86-XXX-itu.dd
    Its just not there. Did you solve the problem in the meanwhile?
    Greetings Andreas

  • When trying to compile forms in solaris machine, frmcmp.sh not found error

    Hi
    I want to compile my forms using frmcmp.sh in a solaris machine
    When I try to execute
    /u15/10gAs/bin/frmcmp.sh /u15/10gAs/forms/form1.fmb user/pass@database
    it throws me error that frmcmp.sh is not found
    it is searching in the whatever path set in ORACLE_HOME
    could you please tell me what should I do now?
    regards

    The following is just a SAMPLE and you may not need all of them and you will have to modify the paths to match your system.
    ########## Oracle Variables ##########
    echo " Welcome to oracle";
    ORACLE_BASE=/u01/app/oracle
    ORACLE_OWNER=oracle; export ORACLE_OWNER
    ORACLE_TERM=xterm; export ORACLE_TERM
    ORACLE_HOME=/u01/app/oracle/product/9.2.0.1.0
    ORACLE_SID=ORTD
    LD_PRELOAD=$HOME/libcwait.so
    export DISPLAY=172.28.66.39:0.0
    PATH=$PATH:$ORACLE_HOME/bin
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    export CLASSPATH
    LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
    THREADS_FLAG=native; export THREADS_FLAG
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_PRELOAD
    ########## End of Oracle variables ##########I recommend you dig through the installation manual for the version of Oracle you have installed and setup your profile settings based on your installation. If you still need help after that, you might want to post your question in the Database Installation forum. Once you have your environment setup, you should be able to compile your form(s).
    Hope this helps,
    Craig
    If a response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Apr 27, 2010 8:11 AM
    Edited by: CraigB on Apr 27, 2010 8:14 AM

  • Is it Possible to install oracle 9i  32 bit on Sun Solaris Intel Edition

    Dear OTN Members ,
    It is possible to install ORACLE 9I Sun SPARC Solaris (32 Bit) on
    Sun Solaris Intel Editon 2.8 . Please inform me on
    email :-
    [email protected]
    [email protected]
    Thanking You
    Piyush Patel
    - Server name :- pi.com
    - Filename
    - Date/Time
    - Browser + Version : Netscape 4.7
    - O/S + Version : Sun Solaris Intel Edition 2.8

    857211 wrote:
    I just need some advice on installing oracle 11gWhat part/product of "oracle 11g" exactly?
    Installation Guides should be clear enough, if read. Also read Release Notes for additional support/unsupport info.
    http://docs.oracle.com/cd/E11882_01/install.112/e24186/reqs.htm#CHDHGGFE
    http://docs.oracle.com/cd/E11882_01/install.112/e24187/pre_install.htm
    However the Installation Guide for Database Client adds:
    "Note: Oracle provides 32-bit (Windows x86) and 64-bit (Windows x64) versions of Oracle Database Client. _Oracle certifies 32-bit Oracle Database Client on Windows x64_." (underline added)

  • 64-bit, 32-bit Porting - Problem with file locking

    Hi,
    OS: Solaris 8
    I am trying to port the existing 32-bit code to 64-bit. I am facing the following problem.
    The executable works fine with 32-bit compilation, but fails with the 64-bit compilation. I am trying to lock a file, but it is failing with the errno = 9 [Bad file descriptor]
    I have included the code. I would appreciate if some one can help me to solve this.
    Many Thanks and Regards,
    Srini
    Please find below the compilation flags i used.
    32-bit compilation:
    cc -KPIC -Xa -mt -o coreflck coreflck.c
    When i run the exe then the result is:
    $coreflck
    Done!!!!
    64-bit compilation:
    cc -KPIC -Xa -mt -xarch=v9 -o coreflck coreflck.c
    When i run the exe then the result is:
    $ coreflck
    Error Occurred while locking errno:9
    Done!!!!
    Please find below the code (coreflck.c)
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <fcntl.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include <sys/errno.h>
    #include <malloc.h>
    extern int errno;
    int lock(
    int fd,
    int cmd,
    struct flock *lcks
    int op = 0;
    int sts;
    do {
    sts = fcntl (fd, cmd, lcks);
    } while (sts == -1 && errno == EINTR);
    return sts;
    int main ()
    struct flock lock_struct;
    int mode, junk = 0;
    FILE *fp;
    fp = fopen("/krb5/tmp/cc/krb5cc_1024", "rb");
    memset( &lock_struct, 0, sizeof( lock_struct ));
    lock_struct.l_type = F_WRLCK;
    lock_struct.l_whence = SEEK_SET;
    do {
    mode = fcntl (fileno( fp ), F_GETFL, junk);
    } while (mode == -1 && errno == EINTR);
    if (mode == -1 )
    printf("Error Occurred errno:%d\n",errno);
    else { 
    /* If the file's mode is read-only then we
    try for a shared lock; Otherwise, we
    try for an exclusive lock. */
    if( mode == O_RDONLY )
    lock_struct.l_type = F_RDLCK;
    if( lock( fileno( fp ), F_SETLKW, &lock_struct ) == -1 )
    printf("Error Occurred while locking errno:%d\n", errno);
         printf("Done!!!!\r\n");

    I found the solution
    I changed the line
    if( mode == O_RDONLY )
    to
    if( (mode & O_ACCMODE) == O_RDONLY )
    Since, if we use
    F_GETFL
    Get the file status flags and file access modes, defined in <fcntl.h>, for the file description associated with fildes. The file access modes can be extracted from the return value using the mask O_ACCMODE, which is defined in <fcntl.h>. File status flags and file access modes are associated with the file description and do not affect other file descriptors that refer to the same file with different open file descriptions.
    Cheers,
    Srini

  • 64-Bit PHP on x86-Solaris 11.1

    Hi all,
    we have just set-up a x86-Solaris 11.1 based workgroup server which will be mainly used for web-based applications (like ownCloud, Moodle or openAtrium) at our university institute. As some of the members of our workgroup produce media (i.e. full HD videos), we have to deal with files larger than 2 GB. While it isn't any problem for Solaris' Apache to handle these file sizes, some PHP applications have quite big problems to work with files >2 GB correctly as long as the underlying PHP is a 32 bit binary.
    I wouldn't have expected that an Enterprise system like Solaris 11.1 still comes with 32 bit applications as the Solaris kernel itself is using the 64 bit mode on x86_64 for quite some time now. Nevertheless, as I really like Solaris' features especially for stable and large storage solutions, I want to stick with Solaris and will have to find a solution for the mentioned problem...
    Recompiling PHP from the sources as a 64 bit application is not a problem. I also assume that I would also have to recompile Apache2 as a 64 bit application to get compatibility to the apache module of 64 bit PHP.
    My question is: Is there any "gold standard" to accomplish this? Of course, I can recompile all parts that I need by myself, completely independently from the packaging system, and put them to "/usr/local/..." or to "/opt/local/...". I am, however, not sure if this is the best way. Perhaps there are already packages I could install and I don't know about. I can't imagine that I am the first user who experiences that problem. Would it make sense to switch to an alternative package repository like OpenCSW? What I also thought about, was the following way to proceed: I'm going to take the source packages from Oracle and then compile Apache and PHP (and most probably also MySQL) with the option for 64 bit according to the instructions in the sources. So I can also build new packages which I can deploy into the zones where I need them in.
    Is there any better way which I might have overlooked, yet?
    Thank you in advance for any help!
    Kind regards,
    Steffen

    I also assume that I would also have to recompile Apache2 as a 64 bit application to get compatibility to the apache module of 64 bit PHP. In S11.1 Apache is already 64-bit aware:
    ls -l /usr/apache2/2.2/bin/amd64
    total 4277
    -r-xr-xr-x 1 root bin 89584 Jan 12 20:47 ab
    -r-xr-xr-x 1 root bin 3649 Jul 19 2012 apachectl
    -r-xr-xr-x 1 root bin 22657 Jul 19 2012 apxs
    -r-xr-xr-x 1 root bin 16424 Jan 12 20:47 checkgid
    -r-xr-xr-x 1 root bin 8925 Jul 19 2012 dbmmanage
    -r-xr-xr-x 1 root bin 1348 Jan 12 20:47 envvars
    -r-xr-xr-x 1 root bin 1081 Jan 12 20:47 envvars-std
    -r-xr-xr-x 1 root bin 36728 Jan 12 20:47 htcacheclean
    -r-xr-xr-x 1 root bin 27232 Jan 12 20:47 htdbm
    -r-xr-xr-x 1 root bin 21616 Jan 12 20:47 htdigest
    -r-xr-xr-x 1 root bin 26432 Jan 12 20:47 htpasswd
    -r-xr-xr-x 1 root bin 841064 Jan 12 20:47 httpd
    -r-xr-xr-x 1 root bin 859224 Jan 12 20:47 httpd.worker
    -r-xr-xr-x 1 root bin 21576 Jan 12 20:47 httxt2dbm
    -r-xr-xr-x 1 root bin 17376 Jan 12 20:47 logresolve
    -r-xr-xr-x 1 root bin 21464 Jan 12 20:47 rotatelogs
    -r-x------ 1 root bin 21712 Jan 12 20:47 suexec.disabled
    The problem is that 64-bit PHP isn't bundled.
    You can try to rise an SR on that topic.
    It seems that it would be easier to integrate large file support only in 32-bit PHP instead.
    Any 32-bit application that is compiled with large file support (-D_LARGEFILE_SOURCE and
    -D_FILE_OFFSET_BITS=64) will work with > 2GB files.
    I think that SR could be realized relatively faster than integrating stable 64-bit PHP.
    Regards,
    Serghei

  • Oracle 8i for solaris(intel based machine) software download

    hi sir,
    i wnat oracle 8i software on intel(solaris) platform, i am not abel to find out in oraclr site, plz give me replay , where can i get
    regds
    jani
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    This is what you have available in OTN.
    Oracle8i Enterprise Edition Downloads
    Note: Oracle9i, Oracle's newest database, can be downloaded here.
    Linux
    Oracle8i Enterprise Edition Release 3 (8.1.7.0.1) for Linux (Intel), with OPS
    Windows
    Oracle8i Enterprise/Standard Edition Release 3 (8.1.7) for Windows 2000/NT
    Solaris
    Oracle8i Enterprise Edition Release 3 (8.1.7) for Sun SPARC Solaris (64 and 32 bit)
    UNIX
    Oracle8i Enterprise Edition Release 3 (8.1.7) for AIX-Based systems (64 and 32 bit)
    Oracle8i Enterprise Edition (64-bit) Release 3 (8.1.7) for HP 9000 Series HP-UX
    Oracle8i Enterprise Edition Release 3 (8.1.7) for Compaq Tru64 UNIX
    http://otn.oracle.com/software/products/oracle8i/index.html
    Joel Pérez

  • Problem with solaris install/boot

    I recently had to use solaris at work and liked it. So thought of getting it on intel box at home to learn it. I have never worked on a unix based OS before. When I installed the OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem i had to reinstall OS, installation went fine and but when i reboot i get this errror.
    cannot find mis/krtld
    boot error loading interpreter(misc/krtld)
    elf32 read error
    load error read of "platform/i86pc/kernel/unix failed.
    boot path /pci@0,0/pci-ide@1f,1/ide0/cmdk@0,0:a
    i have been trying to reinstall with many option like formatting with windows fdisk, linux installer everything as I saw somehwre that disk needs low level format.
    I have googled but could not find any reason.
    When I try to format disk using windows this is the information gatherd
    Partition1 (solarisboot) 12 MB
    partition2 unknown 152610
    Hardware
    pentium4 2.4 GHZ
    1Gb DDR memor
    Intel Original mother board.
    140 Gb hard disk
    Installation
    install type 3 (tried all options)
    entire disk for boot and solaris
    accepted almost all parameters.
    downloaded again , burned a DVD still same.
    Any help will be highly apreciated, as I have been trying out everything I could find, also I really want to learn to use solaris

    Weird; it wouldn't be so hard installing/running Solaris 10 on your hardware.
    If you haven't tried Solaris 11 (Solaris Express) yet, I would suggest you to download the latest Solaris Express bits from http://www.sun.com/software/solaris/solaris-express/get.jsp.
    Hope the following hints are useful, for a smooth installation:
    Choose:
    * Solaris Interactive installation in the initial screen.
    * Networked in Network Connectivity screen
    * Use DHCP
    * No to IPv6 & Kerberos, if running Solaris 10 is the only priority
    * None to Name Service (assuming the machine is not in corporate network)
    * CD/DVD to "Specify Media"
    * Default Install to "Select type of install"
    * No to "Do you need to override the system's default NFS version 4 domain name?"
    Note:
    Once the installation from CD1 is complete, system boots up from the hard disk; and it may appear that it is not going to ask for CD2. Just be patient, and wait for it to ask you about CD2.
    Relevant resources:<ol><li>http://docs.sun.com/app/docs/doc/817-0544/6mgbagb1b?a=view (instructions)
    <li>http://shots.osdir.com/slideshows/slideshow.php?release=279&slide=1 (screen shots)</ol>Good Luck!
    http://technopark02.blogspot.com

  • Gcc problems on Solaris 10 X86

    I'm using Solaris 10 x86 and gcc from /usr/sfw/bin and have come across a couple of problems:
    which gcc
    /usr/sfw/bin/gcc
    gcc -v
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
    Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure prefix=/usr/sfw with-as=/usr/sfw/bin/gas with-gnu-as with-ld=/usr/ccs/bin/ld without-gnu-ld enable-languages=c,c++ --enable-shared
    Thread model: posix
    gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
    Problem 1
    cat ll.cc
    #include <signal.h>
    int CS;
    gcc -c ll.cc
    ll.cc:2: error: expected unqualified-id before numeric constant
    ll.cc:2: error: expected `,' or `;' before numeric constant
    CS is defined in the file /usr/include/sys/regset.h as:
    #define CS 15
    I've changed the code to use MYCS instead and this gets around the problem. Does anyone have a more elegant solution to the problem?
    Problem 2
    In a g++ compilation I have a file that includes cpp_type_traits.h.
    The compilation fails with:
    /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/bits/cpp_type_traits.h:69: error: expected unqualified-id before "namespace"
    The relevant line in cpp_type_traits.h is:
    namespace __gnu_internal
    Knowing rather little about g++ I've been Googling for an hour but not found anyone else with the same problem.
    Many Thanks
    Andy

    I'm not fully sure what might cause your problems since I'm not a programmer myself. However, I do wonder if the gcc version located in /opt/sfw/bin may do you some good. When all other options fair I'd recommend getting the Studio 11 package and just use the cc compiler provided by Sun themselves. Its free anyway.

  • Problems with Solaris 11 11/11

    Hi,
    I need your help because I have problems with Solaris 11 11/11 installed in a Dell Latitude E4310.
    Here, there are the problems:
    1- No it power off with shutdown or init 5 or init 0 only work well the reboot.
    2- It can not connect to the wifi with wpa, no receive ip by dhcp, the driver of the card is "iwp"
    Thanks.
    Jorge
    Edited by: jdangelo on Nov 16, 2011 1:49 PM
    Edited by: jdangelo on Nov 17, 2011 2:51 PM

    Here is the info of my laptop;
    Manufacture name:Dell Inc.
    Manufacture model:Latitude E4310
    64 Bit:True
    OS version:SunOS solaris 5.11 11.0 i86pc i386 i86pc
    CPU Type:Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
    CPU Number:1
    Number Of Cores Per Processor:2
    Number Of Threads Per Processor:4
    Bios/Firmware Maker:Dell Inc. Version:A05 Release Date:11/20/2010
    prtconf -pv:
    System Configuration: Oracle Corporation i86pc
    Memory size: 3958 Megabytes
    System Peripherals (PROM Nodes):
    Node 0x000001
    bios-boot-device: '80'
    stdout: 00000000
    name: 'i86pc'
    Node 0x000002
    existing: 00c21000.00000000.02bc6001.00000000
    name: 'ramdisk'
    Node 0x000003
    acpi-namespace: '\_SB_.PCI0'
    compatible: 'pciex_root_complex'
    device_type: 'pciex'
    reg: 00000000.00000000.00000000.00000000.00000000
    #size-cells: 00000002
    #address-cells: 00000003
    name: 'pci'
    Node 0x000004
    reg: 00000000.00000000.00000000.00000000.00000000
    compatible: 'pci8086,44.1028.410.2' + 'pci8086,44.1028.410' + 'pci1028,410' + 'pci8086,44.2' + 'pci8086,44' + 'pciclass,060000' + 'pciclass,0600'
    model: 'Host bridge'
    power-consumption: 00000001.00000001
    fast-back-to-back:
    devsel-speed: 00000000
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '0'
    class-code: 00060000
    revision-id: 00000002
    vendor-id: 00008086
    device-id: 00000044
    name: 'pci1028,410'
    Node 0x000005
    acpi-namespace: '\_SB_.PCI0.VID_'
    assigned-addresses: 83001010.00000000.f0000000.00000000.00400000.c3001018.00000000.e0000000.00000000.10000000.81001020.00000000.000060b0.00000000.00000008.a1001000.00000000.000003b0.00000000.0000000c.a1001000.00000000.000003c0.00000000.00000020.a2001000.00000000.000a0000.00000000.00020000
    reg: 00001000.00000000.00000000.00000000.00000000.03001010.00000000.00000000.00000000.00400000.43001018.00000000.00000000.00000000.10000000.01001020.00000000.00000000.00000000.00000008.a1001000.00000000.000003b0.00000000.0000000c.a1001000.00000000.000003c0.00000000.00000020.a2001000.00000000.000a0000.00000000.00020000
    compatible: 'pci8086,46.1028.410.2' + 'pci8086,46.1028.410' + 'pci1028,410' + 'pci8086,46.2' + 'pci8086,46' + 'pciclass,030000' + 'pciclass,0300'
    model: 'VGA compatible controller'
    power-consumption: 00000001.00000001
    fast-back-to-back:
    devsel-speed: 00000000
    interrupts: 00000001
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    device_type: 'display'
    unit-address: '2'
    class-code: 00030000
    revision-id: 00000002
    vendor-id: 00008086
    device-id: 00000046
    name: 'display'
    Node 0x000006
    acpi-namespace: '\_SB_.PCI0.GLAN'
    assigned-addresses: 8200c810.00000000.f5400000.00000000.00020000.8200c814.00000000.f5480000.00000000.00001000.8100c818.00000000.00006040.00000000.00000020
    reg: 0000c800.00000000.00000000.00000000.00000000.0200c810.00000000.00000000.00000000.00020000.0200c814.00000000.00000000.00000000.00001000.0100c818.00000000.00000000.00000000.00000020
    compatible: 'pci8086,10ea.1028.410.5' + 'pci8086,10ea.1028.410' + 'pci1028,410' + 'pci8086,10ea.5' + 'pci8086,10ea' + 'pciclass,020000' + 'pciclass,0200'
    model: 'Ethernet controller'
    power-consumption: 00000001.00000001
    devsel-speed: 00000000
    interrupts: 00000001
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '19'
    class-code: 00020000
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 000010ea
    name: 'pci1028,410'
    Node 0x000007
    acpi-namespace: '\_SB_.PCI0.EHC2'
    assigned-addresses: 8200d010.00000000.f5470000.00000000.00000400
    reg: 0000d000.00000000.00000000.00000000.00000000.0200d010.00000000.00000000.00000000.00000400
    compatible: 'pci8086,3b3c.1028.410.5' + 'pci8086,3b3c.1028.410' + 'pci1028,410' + 'pci8086,3b3c.5' + 'pci8086,3b3c' + 'pciclass,0c0320' + 'pciclass,0c03'
    model: 'Universal Serial Bus EHCI compliant'
    power-consumption: 00000001.00000001
    fast-back-to-back:
    devsel-speed: 00000001
    interrupts: 00000001
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1a'
    class-code: 000c0320
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b3c
    name: 'pci1028,410'
    Node 0x000008
    acpi-namespace: '\_SB_.PCI0.HDEF'
    assigned-addresses: 8300d810.00000000.f5460000.00000000.00004000
    reg: 0000d800.00000000.00000000.00000000.00000000.0300d810.00000000.00000000.00000000.00004000
    compatible: 'pciex8086,3b57.1028.410.5' + 'pciex8086,3b57.1028.410' + 'pciex8086,3b57.5' + 'pciex8086,3b57' + 'pciexclass,040300' + 'pciexclass,0403' + 'pci8086,3b57.1028.410.5' + 'pci8086,3b57.1028.410' + 'pci1028,410' + 'pci8086,3b57.5' + 'pci8086,3b57' + 'pciclass,040300' + 'pciclass,0403'
    model: 'Mixed Mode device'
    power-consumption: 00000001.00000001
    devsel-speed: 00000000
    interrupts: 00000001
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1b'
    class-code: 00040300
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b57
    name: 'pci1028,410'
    Node 0x000009
    acpi-namespace: '\_SB_.PCI0.RP01'
    slot-names: 00000001.746f6c53.00003333
    reg: 0000e000.00000000.00000000.00000000.00000000
    compatible: 'pciex8086,3b42.5' + 'pciex8086,3b42' + 'pciexclass,060400' + 'pciexclass,0604' + 'pci8086,3b42.5' + 'pci8086,3b42' + 'pciclass,060400' + 'pciclass,0604'
    model: 'PCI-PCI bridge'
    ranges: 81000000.00000000.00005000.81000000.00000000.00005000.00000000.00001000.82000000.00000000.f4000000.82000000.00000000.f4000000.00000000.01400000
    bus-range: 00000001.00000001
    #size-cells: 00000002
    #address-cells: 00000003
    device_type: 'pciex'
    power-consumption: 00000001.00000001
    physical-slot#: 00000000
    devsel-speed: 00000000
    interrupts: 00000001
    unit-address: '1c'
    class-code: 00060400
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b42
    hotplug-capable:
    pci-hotplug-type: 00000001
    name: 'pci8086,3b42'
    Node 0x00000a
    acpi-namespace: '\_SB_.PCI0.RP02'
    slot-names: 00000001.746f6c53.00003433
    reg: 0000e100.00000000.00000000.00000000.00000000
    compatible: 'pciex8086,3b44.5' + 'pciex8086,3b44' + 'pciexclass,060400' + 'pciexclass,0604' + 'pci8086,3b44.5' + 'pci8086,3b44' + 'pciclass,060400' + 'pciclass,0604'
    model: 'PCI-PCI bridge'
    ranges: 81000000.00000000.00004000.81000000.00000000.00004000.00000000.00001000.82000000.00000000.f2c00000.82000000.00000000.f2c00000.00000000.01400000
    bus-range: 00000002.00000002
    #size-cells: 00000002
    #address-cells: 00000003
    device_type: 'pciex'
    power-consumption: 00000001.00000001
    physical-slot#: 00000001
    devsel-speed: 00000000
    interrupts: 00000002
    unit-address: '1c,1'
    class-code: 00060400
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b44
    hotplug-capable:
    pci-hotplug-type: 00000001
    name: 'pci8086,3b44'
    Node 0x000013
    acpi-namespace: '\_SB_.PCI0.RP02.PXSX'
    assigned-addresses: 83020010.00000000.f2c00000.00000000.00002000
    reg: 00020000.00000000.00000000.00000000.00000000.03020010.00000000.00000000.00000000.00002000
    compatible: 'pciex8086,422c.8086.1321.35' + 'pciex8086,422c.8086.1321' + 'pciex8086,422c.35' + 'pciex8086,422c' + 'pciexclass,028000' + 'pciexclass,0280' + 'pci8086,422c.8086.1321.35' + 'pci8086,422c.8086.1321' + 'pci8086,1321' + 'pci8086,422c.35' + 'pci8086,422c' + 'pciclass,028000' + 'pciclass,0280'
    model: 'Network controller'
    power-consumption: 00000001.00000001
    devsel-speed: 00000000
    interrupts: 00000001
    subsystem-vendor-id: 00008086
    subsystem-id: 00001321
    unit-address: '0'
    class-code: 00028000
    revision-id: 00000035
    vendor-id: 00008086
    device-id: 0000422c
    name: 'pci8086,1321'
    Node 0x00000b
    acpi-namespace: '\_SB_.PCI0.RP03'
    slot-names: 00000001.746f6c53.00000038
    reg: 0000e200.00000000.00000000.00000000.00000000
    compatible: 'pciex8086,3b46.5' + 'pciex8086,3b46' + 'pciexclass,060400' + 'pciexclass,0604' + 'pci8086,3b46.5' + 'pci8086,3b46' + 'pciclass,060400' + 'pciclass,0604'
    model: 'PCI-PCI bridge'
    ranges: 81000000.00000000.00003000.81000000.00000000.00003000.00000000.00001000.82000000.00000000.f1800000.82000000.00000000.f1800000.00000000.01400000
    bus-range: 00000003.00000003
    #size-cells: 00000002
    #address-cells: 00000003
    device_type: 'pciex'
    power-consumption: 00000001.00000001
    physical-slot#: 00000002
    devsel-speed: 00000000
    interrupts: 00000003
    unit-address: '1c,2'
    class-code: 00060400
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b46
    hotplug-capable:
    pci-hotplug-type: 00000001
    name: 'pci8086,3b46'
    Node 0x000014
    acpi-namespace: '\_SB_.PCI0.RP03.PXSX'
    assigned-addresses: 82030010.00000000.f1830000.00000000.00000100
    reg: 00030000.00000000.00000000.00000000.00000000.02030010.00000000.00000000.00000000.00000100
    compatible: 'pciex1180,e822.1028.410.1' + 'pciex1180,e822.1028.410' + 'pciex1180,e822.1' + 'pciex1180,e822' + 'pciexclass,080500' + 'pciexclass,0805' + 'pci1180,e822.1028.410.1' + 'pci1180,e822.1028.410' + 'pci1028,410' + 'pci1180,e822.1' + 'pci1180,e822' + 'pciclass,080500' + 'pciclass,0805'
    model: 'SD Host controller'
    power-consumption: 00000001.00000001
    devsel-speed: 00000000
    interrupts: 00000001
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '0'
    class-code: 00080500
    revision-id: 00000001
    vendor-id: 00001180
    device-id: 0000e822
    name: 'pci1028,410'
    Node 0x00000c
    acpi-namespace: '\_SB_.PCI0.RP04'
    slot-names: 00000001.746f6c53.00000039
    reg: 0000e300.00000000.00000000.00000000.00000000
    compatible: 'pciex8086,3b48.5' + 'pciex8086,3b48' + 'pciexclass,060400' + 'pciexclass,0604' + 'pci8086,3b48.5' + 'pci8086,3b48' + 'pciclass,060400' + 'pciclass,0604'
    model: 'PCI-PCI bridge'
    ranges: 81000000.00000000.00002000.81000000.00000000.00002000.00000000.00001000.82000000.00000000.f0400000.82000000.00000000.f0400000.00000000.01400000
    bus-range: 00000004.00000009
    #size-cells: 00000002
    #address-cells: 00000003
    device_type: 'pciex'
    power-consumption: 00000001.00000001
    physical-slot#: 00000003
    devsel-speed: 00000000
    interrupts: 00000004
    unit-address: '1c,3'
    class-code: 00060400
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b48
    hotplug-capable:
    pci-hotplug-type: 00000001
    name: 'pci8086,3b48'
    Node 0x00000d
    acpi-namespace: '\_SB_.PCI0.EHCI'
    assigned-addresses: 8200e810.00000000.f5450000.00000000.00000400
    reg: 0000e800.00000000.00000000.00000000.00000000.0200e810.00000000.00000000.00000000.00000400
    compatible: 'pci8086,3b34.1028.410.5' + 'pci8086,3b34.1028.410' + 'pci1028,410' + 'pci8086,3b34.5' + 'pci8086,3b34' + 'pciclass,0c0320' + 'pciclass,0c03'
    model: 'Universal Serial Bus EHCI compliant'
    power-consumption: 00000001.00000001
    fast-back-to-back:
    devsel-speed: 00000001
    interrupts: 00000001
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1d'
    class-code: 000c0320
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b34
    name: 'pci1028,410'
    Node 0x00000e
    acpi-namespace: '\_SB_.PCI0.P0P1'
    slot-names: 0000002f.746f6c53.6c530031.0032746f.746f6c53.6c530033.0034746f.746f6c53.00000032
    reg: 0000f000.00000000.00000000.00000000.00000000
    compatible: 'pci8086,2448.a5' + 'pci8086,2448' + 'pciclass,060401' + 'pciclass,0604'
    model: 'Subtractive Decode PCI-PCI bridge'
    bus-range: 0000000a.0000000a
    #size-cells: 00000002
    #address-cells: 00000003
    device_type: 'pci'
    power-consumption: 00000001.00000001
    devsel-speed: 00000000
    unit-address: '1e'
    class-code: 00060401
    revision-id: 000000a5
    vendor-id: 00008086
    device-id: 00002448
    name: 'pci8086,2448'
    Node 0x00000f
    #size-cells: 00000001
    #address-cells: 00000002
    ranges: 00000001.00000000.81000000.00000000.00000000.00000022.00000001.00000024.81000000.00000000.00000024.00000002.00000001.00000028.81000000.00000000.00000028.00000002.00000001.0000002c.81000000.00000000.0000002c.00000006.00000001.00000034.81000000.00000000.00000034.00000002.00000001.00000038.81000000.00000000.00000038.00000002.00000001.0000003c.81000000.00000000.0000003c.00000002.00000001.00000040.81000000.00000000.00000040.00000004.00000001.0000004e.81000000.00000000.0000004e.00000006.00000001.00000060.81000000.00000000.00000060.00000002.00000001.00000063.81000000.00000000.00000063.00000003.00000001.00000067.81000000.00000000.00000067.00000001.00000001.00000070.81000000.00000000.00000070.00000008.00000001.00000070.81000000.00000000.00000070.00000001.00000001.00000080.81000000.00000000.00000080.00000022.00000001.000000a4.81000000.00000000.000000a4.00000002.00000001.000000a8.81000000.00000000.000000a8.00000002.00000001.000000ac.81000000.00000000.000000ac.00000002.00000001.000000b0.81000000.00000000.000000b0.00000006.00000001.000000b8.81000000.00000000.000000b8.00000002.00000001.000000bc.81000000.00000000.000000bc.00000002.00000001.000000c0.81000000.00000000.000000c0.00000020.00000001.000000f0.81000000.00000000.000000f0.00000001.00000001.00000400.81000000.00000000.00000400.00000080.00000001.000004d0.81000000.00000000.000004d0.00000002.00000001.00000500.81000000.00000000.00000500.00000080.00000001.00000680.81000000.00000000.00000680.00000020.00000001.00000930.81000000.00000000.00000930.00000001.00000001.00000934.81000000.00000000.00000934.00000001.00000001.00000cf8.81000000.00000000.00000cf8.00000008.00000001.00001000.81000000.00000000.00001000.00000014.00000001.0000164e.81000000.00000000.0000164e.00000002.00000001.0000ffff.81000000.00000000.0000ffff.00000001.00000000.f54c0000.82000000.00000000.f54c0000.00001000.00000000.f8000000.82000000.00000000.f8000000.04000000.00000000.fed00000.82000000.00000000.fed00000.00000400.00000000.fed10000.82000000.00000000.fed10000.00004000.00000000.fed18000.82000000.00000000.fed18000.00002000.00000000.fed1c000.82000000.00000000.fed1c000.00024000.00000000.fed45000.82000000.00000000.fed45000.0004b000.00000000.fee00000.82000000.00000000.fee00000.00100000.00000000.ff000000.82000000.00000000.ff000000.01000000.00000000.ff000000.82000000.00000000.ff000000.01000000
    acpi-namespace: '\_SB_.PCI0.LPCB'
    device_type: 'isa'
    reg: 0000f800.00000000.00000000.00000000.00000000
    compatible: 'pci8086,3b0f.1028.410.5' + 'pci8086,3b0f.1028.410' + 'pci1028,410' + 'pci8086,3b0f.5' + 'pci8086,3b0f' + 'pciclass,060100' + 'pciclass,0601'
    model: 'ISA bridge'
    power-consumption: 00000001.00000001
    devsel-speed: 00000001
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1f'
    class-code: 00060100
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b0f
    name: 'isa'
    Node 0x00001c
    unit-address: '1,60'
    interrupts: 00000001.0000000c
    reg: 00000001.00000060.00000001.00000001.00000064.00000001
    name: 'i8042'
    Node 0x00001d
    compatible: 'pnpPNP,303'
    device-type: 'keyboard'
    interrupts: 00000001.0000000c
    reg: 00000000
    acpi-namespace: '\_SB_.PCI0.LPCB.PS2K'
    model: 'System keyboard'
    name: 'keyboard'
    Node 0x00001e
    compatible: 'pnpPNP,f03'
    device-type: 'mouse'
    reg: 00000001
    interrupts: 0000000c
    acpi-namespace: '\_SB_.PCI0.LPCB.PS2M'
    model: 'PS/2 Port for PS/2-style Mice'
    name: 'mouse'
    Node 0x00001f
    interrupts: 00000004
    reg: 00000001.000003f8.00000008
    model: 'Standard serial port'
    compatible: 'PNP0500'
    name: 'asy'
    Node 0x000010
    acpi-namespace: '\_SB_.PCI0.SAT0'
    assigned-addresses: 8100fa10.00000000.00006090.00000000.00000008.8100fa14.00000000.00006080.00000000.00000004.8100fa18.00000000.00006070.00000000.00000008.8100fa1c.00000000.00006060.00000000.00000004.8100fa20.00000000.00006020.00000000.00000020.8200fa24.00000000.f5440000.00000000.00000800
    reg: 0000fa00.00000000.00000000.00000000.00000000.0100fa10.00000000.00000000.00000000.00000008.0100fa14.00000000.00000000.00000000.00000004.0100fa18.00000000.00000000.00000000.00000008.0100fa1c.00000000.00000000.00000000.00000004.0100fa20.00000000.00000000.00000000.00000020.0200fa24.00000000.00000000.00000000.00000800
    compatible: 'pci8086,3b2f.1028.410.5' + 'pci8086,3b2f.1028.410' + 'pci1028,410' + 'pci8086,3b2f.5' + 'pci8086,3b2f' + 'pciclass,010601' + 'pciclass,0106'
    model: 'SATA AHCI 1.0 Interface'
    power-consumption: 00000001.00000001
    66mhz-capable:
    fast-back-to-back:
    devsel-speed: 00000001
    interrupts: 00000003
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1f,2'
    class-code: 00010601
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b2f
    name: 'pci1028,410'
    Node 0x000011
    acpi-namespace: '\_SB_.PCI0.SBUS'
    assigned-addresses: 8300fb10.00000000.f5430000.00000000.00000100.8100fb20.00000000.00006000.00000000.00000020
    reg: 0000fb00.00000000.00000000.00000000.00000000.0300fb10.00000000.00000000.00000000.00000100.0100fb20.00000000.00000000.00000000.00000020
    compatible: 'pci8086,3b30.1028.410.5' + 'pci8086,3b30.1028.410' + 'pci1028,410' + 'pci8086,3b30.5' + 'pci8086,3b30' + 'pciclass,0c0500' + 'pciclass,0c05'
    model: 'SMBus (System Management Bus)'
    power-consumption: 00000001.00000001
    fast-back-to-back:
    devsel-speed: 00000001
    interrupts: 00000003
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1f,3'
    class-code: 000c0500
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b30
    name: 'pci1028,410'
    Node 0x000012
    assigned-addresses: 8300fe10.00000000.f5420000.00000000.00001000
    reg: 0000fe00.00000000.00000000.00000000.00000000.0300fe10.00000000.00000000.00000000.00001000
    compatible: 'pci8086,3b32.1028.410.5' + 'pci8086,3b32.1028.410' + 'pci1028,410' + 'pci8086,3b32.5' + 'pci8086,3b32' + 'pciclass,118000' + 'pciclass,1180'
    model: 'DSP/DAP controllers'
    power-consumption: 00000001.00000001
    devsel-speed: 00000000
    interrupts: 00000003
    max-latency: 00000000
    min-grant: 00000000
    subsystem-vendor-id: 00001028
    subsystem-id: 00000410
    unit-address: '1f,6'
    class-code: 00118000
    revision-id: 00000005
    vendor-id: 00008086
    device-id: 00003b32
    name: 'pci1028,410'
    Node 0x000015
    device_type: 'acpirootnex'
    compatible: 'SOLA0001' + 'acpirootnex' + 'SOLA0002' + 'acpivirtnex'
    acpi-namespace: '\'
    name: 'fw'
    Node 0x000016
    unit-address: '1'
    compatible: 'SOLA0004' + 'acpicpu' + 'cpu'
    apic-id: 00000000
    acpi-processor-id: 00000001
    acpi-namespace: '\_PR_.CPU0'
    device_type: 'acpicpu'
    name: 'cpu'
    Node 0x000017
    unit-address: '2'
    compatible: 'SOLA0004' + 'acpicpu' + 'cpu'
    apic-id: 00000004
    acpi-processor-id: 00000002
    acpi-namespace: '\_PR_.CPU1'
    device_type: 'acpicpu'
    name: 'cpu'
    Node 0x000018
    unit-address: '3'
    compatible: 'SOLA0004' + 'acpicpu' + 'cpu'
    apic-id: 00000001
    acpi-processor-id: 00000003
    acpi-namespace: '\_PR_.CPU2'
    device_type: 'acpicpu'
    name: 'cpu'
    Node 0x000019
    unit-address: '4'
    compatible: 'SOLA0004' + 'acpicpu' + 'cpu'
    apic-id: 00000005
    acpi-processor-id: 00000004
    acpi-namespace: '\_PR_.CPU3'
    device_type: 'acpicpu'
    name: 'cpu'
    Node 0x00001a
    unit-address: '0'
    compatible: 'acpidevice' + 'SOLA0002' + 'acpivirtnex'
    acpi-namespace: '\_SB_'
    device_type: 'acpidevice'
    name: 'sb'
    Node 0x00001b
    io-space: 00000000.00000020.00000020.00000002.00000024.00000002.00000028.00000002.0000002c.00000002.0000002e.00000002.00000030.00000002.00000034.00000002.00000038.00000002.0000003c.00000002.00000040.00000004.0000004e.00000002.00000050.00000004.00000060.00000001.00000061.00000001.00000063.00000001.00000064.00000001.00000065.00000001.00000067.00000001.00000070.00000008.00000070.00000001.00000080.00000001.00000081.00000011.00000092.00000001.00000093.0000000d.000000a0.00000002.000000a4.00000002.000000a8.00000002.000000ac.00000002.000000b0.00000002.000000b2.00000002.000000b4.00000002.000000b8.00000002.000000bc.00000002.000000c0.00000020.000000f0.00000001.00000400.00000080.000004d0.00000002.00000500.00000080.00000680.00000020.00000930.00000001.00000934.00000001.00000cf8.00000008.00001000.00000004.00001004.00000010.0000164e.00000002.0000ffff.00000001
    device-memory: f54c0000.00001000.f8000000.04000000.fed00000.00000400.fed10000.00004000.fed18000.00001000.fed19000.00001000.fed1c000.00004000.fed20000.00020000.fed45000.0004b000.fee00000.00100000.ff000000.01000000.ff000000.01000000
    dma-channels: 00000004
    interrupts: 00000000.00000001.00000002.00000008.0000000c.0000000d
    name: 'used-resources'
    prtdiag:
    System Configuration: Dell Inc. Latitude E4310
    BIOS Configuration: Dell Inc. A05 11/20/2010
    ==== Processor Sockets ====================================
    Version Location Tag
    Intel(R) Core(TM) i5 CPU M 560 @ 2.67GH CPU 1
    ==== Memory Device Sockets ================================
    Type Status Set Device Locator Bank Locator
    Unknown in use 0 DIMM_A BANK 0
    unknown empty 0 DIMM_B BANK 2
    ==== On-Board Devices =====================================
    "Intel GM45 Graphics"
    NETWORK_NAME_STRING
    ==== Upgradeable Slots ====================================
    ID Status Type Description
    0 available PCI Express x16 J5C1
    1 available PCI Express J6C2
    2 in use PCI Express J6D2
    3 in use PCI Express J7C1
    4 available PCI Express J7D2
    System Information:
    Manufacturer:Dell Inc.
    Product:Latitude E4310
    BIOS Information:
    Vendor:Dell Inc.
    Version:A05
    Release Date:11/20/2010
    BIOS Revision: BIOS Revision:4.6
    Firmware Revision:
    MotherBoard Information:
    Product:0D8H24
    Manufacturer:Dell Inc.
    Version:A00
    Onboard Devices:[Video,Disabled]"Intel GM45 Graphics"
    CPU Information:
    Processor 0:
    Processor Socket Type:CPU 1
    Processor Manufacturer:Intel
    Current Voltage:0.0V
    External Clock:533MHZ
    Max Speed:4000MHZ
    Current Speed:2666MHZ
    Memory Information:
    Physical Memory: 4G (4G)
    Maximum Memory Support: 4096G
    Memory Subsystem 0:
    Array Used Function:System memory
    Memory Error Correction Supported:None
    Maximum Array Capacity:8G
    Number of Memory Devices:2
    Memory Device 0:
    Memory Device Locator:DIMM_A
    Total Width:64
    Data Width:64
    Installed Size:4096M
    Memory Device Type:Unknown
    Speed:1067MHZ
    Memory Device 1:
    [Not Installed]

  • Running 16-bit COFF binaries on Solaris 8

    I've got some old 16-bit COFF binaries that are currently running on a UnixWare SVR4 2.03
    system. I want to get these programs running on Solaris 8. Can it be done?
    I've tried basic stuff like simply running them, and using gobjcopy to convert them to ELF,
    with no luck.
    If it can be done, what does it take?
    Thanks!
    Ruf

    I see the same problem on Solaris Nevada build 55 - /usr/sfw/bin/gdb
    cannot debug 64-bit programs. Here is a log file (I use GDB/MI interface,
    but the same problem exists in CLI as well):
    fasolt% g++ -m64 -g -o e1170905-gnu-solaris-x64-m64-gdb6.3.50 E1170905.cc
    fasolt% gdb nw interpreter=mi
    ~"GNU gdb 6.3.50_2004-11-23-cvs\n"
    ~"Copyright 2004 Free Software Foundation, Inc.\n"
    ~"GDB is free software, covered by the GNU General Public License, and you are\n"
    ~"welcome to change it and/or distribute copies of it under certain conditions.\n"
    ~"Type \"show copying\" to see the conditions.\n"
    ~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
    ~"This GDB was configured as \"i386-pc-solaris2.11\"."
    ~"\n"
    (gdb)
    212-file-exec-and-symbols e1170905-gnu-solaris-x64-m64-gdb6.3.50
    212^done
    (gdb)
    0-break-insert -t main
    0^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x0000000000401109",func="main",file="E1170905.cc",line="43",times="0"}
    (gdb)
    -exec-run
    ^running
    (gdb)
    ~"procfs:4284 -- process not stopped.\n"
    &"procfs: ...giving up...\n"
    ^error,msg="procfs: ...giving up..."
    (gdb)
    I tried GNU compiler ("/usr/sfw/bin/g++ -m64") and Sun Studio 12
    compiler ("CC -m64") - in both cases the behavior is the same.
    What is the proper category/subcategory to file this bug?
    Thanks,
    Nik

  • Porting PCI board from Solaris Intel to Sparc

    Our own PCI board which has been working on Solaris(8) Intel for years does not seem to be recognized by Solaris(8) for Sparc. At the prom level a show-devs shows the device ie: pci1234,5678 but booting with 'boot -rswv' does not. Two questions:
    1. Is the process of scanning hardward and making entries in the /devices directory documented anywhere that I might access?
    2. What might be different between Solaris-Intel and Solaris-Sparc when dealing with PCI devices?
    The platform for our testing is an AXE-300 3 slot PCI Ultra Sparc.
    Thanks in advance
    [email protected]
    (781)-482-1215

    The 'prtconf -pv' command does show the presence of our board
    pretty much matching what is displayed when running prtconf on
    the Intel system with the exception that the Intel results under the
    'compatible:' header shows a series of 32 bit hex values while the
    Sparc output for 'compatible:' shows "'pci1234,5678' +
    'pciclass,ff0000'".
    Furthermore running:
    truss -f -a add_drv -v -m '* 0666 root bin' -i '"pci1234,5678"' pixgen
    seems to show the point of failure occurring in 'devfsadm -v -i pixgen'
    as follows: (note I've cleaned up the output a bit for readability).
    open("/devices/pseudo/devinfo@0:devinfo", O_RDONLY) = 5
    ioctl(5, 0xDF81, 0xFFBEF8F8) Err#6 ENXIO
    close(5)
    devfsadm then returns an exit code=11 and reports that the driver
    was 'successfully added ... but failed to attach'.
    I added a number of trace statements to each entry point in the
    driver using the cmn_err function and compiled for Intel and Sparc
    and verified that the driver continued to work on Intel and indeed
    showed each routine being entered but I never got even one line
    of output on the Sparc. That presents a couple of questions.
    1. I'm using an old compiler: Sun's CC workshop Compiler 4.2 30
    Oct 1996 on both platforms. The Sparc platform is a sun4m (ss-10).
    Is it possible that this old compiler is not generating proper code for
    the sun4u platform? The compiler and linker switches are:
    cc -xstrconst -DKERNEL -DDEBUG -DPIXGENDEBUG=255 -c driver.c
    ld -r -m -o pixgen driver.o
    pkgadd installs the driver as /usr/kernel/drv/pixgen
    2. The driver installation using pkgadd places the following line in
    /etc/devlink.tab: 'type=io;minor=pixgen0 pixgen'. Is this
    possibly an issue?
    Any help/insight would be much appreciated.
    Thanks
    Charlie Jack [email protected]
    (781)-482-1215 (East Coast)

Maybe you are looking for

  • I have been given 5 new iPhone 6 phones and none of them can hold a charge and the latest one cannot charge at all

    When I bought my iPhone 6, the phone was great, but now the phone has given me many problems. I’ve gone to the Apple Store 5 times already with the same problem and every time they just give me a new phone.  My first problem was that the phone stoppe

  • I can´t update my devices apple from company

    I install manually iTunes to my corporate computer last month, and works perfect, syncronize, update and all fine and 100%. So this week in my company distribute the iTunes automatically.... and the sttop this possibility, I don´t how do this, when I

  • Limiting No of Users

    Hi, In my web application project , i want to limit no of users accessing my application. there is a configuration page for inputting this value. i can keep an application Context variable and keep increase its value while user login. and decrease th

  • HT5085 Itunes Radio (in music)

    Hi, I am living in Georgia (not the U.S.) but, as I changed my old Apple ID and Password and registered in Bahamas, the Itunes radio disappeared form my phone is it normal? Please help!

  • NFC - E6 - How to?

    Does E6 have NFC capabilities? If Yes how to use it to pair and transfer data with other NFC phones? I read somewhere that C7 has got its NFC enabled by the Anna update. My friend has one and I am looking forward to trying this out. -BBN. Solved! Go