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)

Similar Messages

  • Porting OCI Application from Solaris 2.6 to 8.0

    Hi everyone,
    I have a code written on solaris 2.6 platform with Oracle 8.1.7 version. Now recently my co. shifted to Solaris 2.8 i.e 8.0.
    Do I need to change any stuff in my application code or any changes to the oracle makefile.
    Can anybody helped me .........
    Thanks in advance
    Kshitij

    If the Oracle is supported on the new operating system, you don't have to make any changes to the application. All OCI apps are expected to run unchanged on supported platforms. They are extremely portable, assuming of course the application itself is.

  • Needed help in Installing Solaris 10 on sparc box from windows remotely

    Hi All,
    I have few Sun Ultra Sparc boxes. I m accessing them only through putty session(serail port) from my windows system.
    Now there is a need for me to install Solaris 10 in the sparc box. But the sparc box doesn't have any DVD drive. I have an external DVD drive.
    Can somebody help me out to install Solaris on the sparc box with the components I have.
    1) Windows system with putty
    2) External DVD drive
    3) Sun sparc box.
    Thanks for your help,
    T.R.Santhosh

    If you run into a problem that causes the machine not to boot, you can't interact with it via putty. You'd need a physical connection, usually either the keyboard and screen or a serial connection. I would always plan to be able to do so during an upgrade.
    If you have sufficient disk space, the easiest thing to do would be to copy over the DVD iso, then mount it up with lofi, and do a live upgrade.
    Windows doesn't read rockridge format disks. I would worry that having the windows machine read the ISO filesystem and send the files over would cause name issues. That's why getting the full ISO and mounting it locally on the Sparc is best. Fortunately, it doesn't require a physical drive.
    Darren

  • I have moved from a G5 Powermac to an Intel Mac Pro and am porting over Items from a Backup HDD. How can I access and use drawings and documents created on the PC computer on the Intel computer ?

    I have moved from a G5 Powermac to an Intel Mac Pro and selectively porting over items from a backup hard drive.
    How can I access and use documents and drawings created on the PC based computer ?

    Clarisworks, you need Appleworks, which will only work with Mac OS X10.6.8 or earlier.  See this tip if you must go newer.  Mac Pros with newer hardware configuration than July 20, 2011 can't use Mac OS X 10.6.8 or earlier without this tip and then it would be Mac OS X Server.  I'm not sure if the new black Mac Pro supports that configuration or not.
    iPhoto, there is an iPhoto for all versions of Mac OS X.
    iTunes, there is an iTunes for all versions of Mac OS X.  Note with iTunes versions 11 and later, which are needed for syncing with iOS 7 or or later, you will lose coverflow, if you liked that feature.  Sadly you can't run an older version of iTunes from within Mac OS X 10.9 or later.
    Sketchup: http://help.sketchup.com/en/article/60107 shows the versions that will work with intermediate Mac OS X versions, and this shows the latest version: http://help.sketchup.com/en/article/36208 be sure to click on the operating system you choose to use.
    GIF - Viewing GIFs Apple's Preview can do that.  Editing them, I like http://www.lemkesoft.com/ Graphicconverter.
    DMG is able to be opened by all versions of Mac OS X.  This are just "disk images" which store programs on a virtual disk that will open when double clicked.    Frequently you'll find the installer of the said program inside.  To find out if the program itself is compatible with 10.7 through 10.9, see http://www.roaringapps.com/
    Otherwise see the resources on:
    https://discussions.apple.com/docs/DOC-2455
    If you end up deciding to stick with Snow Leopard.

  • How to remove firefox 2 from solaris 10 sparc (Sun Blade 100)

    I need to remove firefox 2 from a Sun Blade 100 running Solaris 10 ( s10s_u4wos_12b sparc ).
    Mistakenly I installed firefox 3.6.14 unaware I had firefox 2 installed on the system.
    Currently, firefox 3.6.14 crashes constantly (completely unstable) and adjustments to PATH variable do not seem to hold.
    May I get help in removing both firefox 2 and firefox 3.6.14 and then a re-install of firefox 3.6.14?
    Location of firefox 2 is /usr/bin/firefox
    Location of firefox 3.6.14 is /opr/firefox
    In advance, thanks for the help.

    My guess is that you have already completed this upgrade, but in the event that you haven't I recommend that you use NFS to either mount a DVD from another server or else copy the OS DVD to a local drive on a server that has a DVD drive and then NFS mount the file system on the server you are trying to upgrade. I use NFS fairly often for upgrades and for patching. I have one server that has a file system that contains the source code from the installation DVD and another file system that contains the most current patch cluster.

  • Upgrade from Solaris 8 SPARC with Sun cluster 3.1u3 to Solaris 10 SPARC

    Dear All,
    We are planning an upgrade of the OS from Solaris 8 SPARC to Solaris 10 SPARC on a two-node active-standby clustered system.
    The current major software we have on the Solaris 8 system are:
    1: Sun Cluster 3.1u3
    2: Oracle 9i 9.2.0.8
    3: Veritas File System Vxfs v4.0
    4: Sun Solaris 8 2/04 SPARC
    Any pointers as to what sequence and how the upgrade should be done?
    Thanks in advance.
    Regards,
    Ray

    yes I know it can be quite complicated and complex, but Sun provided us with a detailed documentation, at least in our case Solaris 9 to 10 it was very helpful.
    You might get better help in the cluster forum http://forums.sun.com/forum.jspa?forumID=842
    -- Nick

  • Oracle migration from Solaris 64 sparc to Solaris x86-64

    Now that Solaris x86-64 is supported in Netweaver 2004s SR1, I was wondering about the migration path.
    Would this be a heterogeneous migration or a homogeneous migration.
    or to put it another way Export/import to migrate
    or backup/restore????
    No documents exist yet regarding this migration.

    Hello Guys
    Just wanted to ask you whether Migration of SAP system from Solaris SPARC to Solaris x86_64 is possible using the
    backup/restore method.
    I would be grateful if you could share your experience
    Regards
    Sarin

  • Re:  migrate our ERP database from Solaris Sparc 64 to Linux x86_

    hi ,
    We want to migrate our ERP database from Solaris Sparc 64 to Linux x86_64 .
    Please suggest some docs .
    Regards.

    I assume you are on R12 since you want to migrate the application tier node to Linux 64-bit (which is certified for the application tier node on R12 but not 11i), so please refer to the docs in this thread -- Re: Has anyone migrate/upgrade from R12.0.6 on Solaris to R12.1.3 on Linux?
    Thanks,
    Hussein

  • Accessing PCI-6528 from RT board (PCI-7041)

    Hello everyone,
    I would like to access &/or control my PCI-6528 board from my PCI-7041/6040E RT board. What possible methods are available for me to control the DIO on the the 6528? (I would like to avoid using the DIO on the 7041 daughter board if possible).
    thanks
    David

    Hi David,
    That's a great question.  It would be a logical conclusion that since the PCI-7041/6040E is in the PCI bus that it could offer Real-Time control to the other cards in the PCI bus.
    Unfortunately though, the PCI-7041/6040E
    can only offer Real-Time control for the one daughter board directly
    associated with it.  All of the other cards would require talking
    through the normal PCI bus and would lose any Real-Time capabilities.
    I hope this helps you better understand what's going on.
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Migrating drivers from Solaris 9 to Solaris 10 (sparc)

    I'm tasked to move some drivers from Solaris 9 to Solaris 10. Clearly, some elements of the interface have changed in this dot revision, as just installing the 2.9 drivers causes 2.10 to panic. I tried looking around the site for a guide to what changed in the driver interface. Can someone point me at a relevant document somewhere?

    I'm tasked to move some drivers from Solaris 9 to
    Solaris 10. Clearly, some elements of the interface
    have changed in this dot revision, as just installing
    the 2.9 drivers causes 2.10 to panic. I tried
    looking around the site for a guide to what changed
    in the driver interface. Can someone point me at a
    relevant document somewhere?Nothing should have changed in the driver / kernel interfaces.
    If the Solaris 9 driver uses only official / documented kernel
    interfaces the same driver binary should run without problem on
    Solaris 10.
    All bets are off if the Solaris 9 driver is using internal kernel
    data structures that are not part of the kernel / driver api.
    Such a driver could fail by just installing OS patches to the system.

  • Solaris Intel to Solaris SunSparc Portability

    Hi. Is anyone out there aware of any code portability issues for
    a software application that is written on Solaris Intel and subsequently
    deployed on a Solaris Sun Sparc workstation ?
    Does the code need to be tuned ?
    If needed, what is the effort required ?
    Thanks.
    Aran

    The source code is the same for both versions of Solaris. As long as
    your code doesn't make any ISA or endian assumptions, your port
    should be nothing more than a recompile.
    -- richard

  • 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.

  • 8i Database Solaris Intel Platform

    From where should I download 8i Database for Solaris Intel Platform, as there is no such link at OTN software download.
    TIA & regards
    Muhammad Siraj

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by bhrigu nagal ([email protected]):
    its available on the oracle site http://technet.oracle.com/software/products/oracle8i/software_index.htm <HR></BLOCKQUOTE>
    Thanks Bhrigu.
    I have checked this site and i also downloaded the version 8.1.7 for solaris. when i try to run the ./runInstaller file it gives me a error as "Syntax error on line number 1" and returns back to $prompt. I was told that this is the version only for Sun Sparc Solaris. There is no 8i version for Solaris 8 on intel platform.
    Is that right ??.. or do U have some more information on that. probably anybody has tried that or so ??..
    Thanks
    Sudesh.
    null

  • PCI Bursting on Solaris 10

    We recently ported our Xserver to Solaris 10 from Solaris 8. The code used for both OS's is the same, just built using different compilers on different OS's.
    When we run our Xserver on Solaris 8, the graphics card will do PCI bursting when doing memory writes. However, the newly compiled Xserver when running on the same hardware, but with Solaris 10, no longer does PCI bursts.
    We actually tried running the Solaris 8 build of our Xserver on Solaris 10 and found the same problem, which leads me to believe that it's not necessarily a problem with our code or the way we compiled the code. Is there a configuration setting that Solaris 10 needs that Solaris 8 did not need in order to enable PCI bursting? Is this a change in the way the driver should be written?
    I've scoured SunSolve for an answer to this, but haven't had much luck. Any help would be appreciated.
    Thanks,
    Kent

    Thanks for your answer.
    Now work. But before I need to change two times, because I don't know after the first time I change, stranously the network doesn't worked. The machine couldn't ping any machine :-!!!!!!
    After to put , cut and put again the entries in the files hosts, work !!!
    Many thanks again,
    Luz

  • Usb wireless adapter for solaris 10 on sparc platform

    Hi,
    First and foremost, I hope that this stands in the right place.
    I need to configure my Sun Fire V240 to connect to my wireless network (wifi).
    Just wondering do we have the list of usb wifi adapter (and driver) that can work in Solaris 10 on Sparc platform?
    Or, can I have the list of Solaris supported PCI wifi adapter and driver? It would be great if instruction included.
    Thanks in advance.

    Hi guys, I also had this situation and since I was not able to convert the package to a datastream, I downloaded it from http: //www. sunfreeware. com/mozilla .html
    They also provide some readme files that can be of help.
    Once you have the datastream package you can install using pkgadd utility.

Maybe you are looking for

  • Can I add a second hard drive on Qosmio X500-12Q?

    Hi, i'd like to know if its possible to add a second hard drive to the X500-12Q ? i suppose the space is available but i'd like to know if the connector is here & everything so i could just open the enclosure and plug it in. thanks

  • Can I order more than 1 greeting card at a time?

    How do I order multiple greeting cards in iPhoto?  I seem to only be able to order one at a time...

  • Internal/built in speakers suddenly missing?

    I was playing music through a pair of external speakers in my office and when I came home and tried to use my MacBook Pro's own speakers, they now don't work. In fact, they appear to be gone. In System Preferences, under Output, all that's listed is

  • USE OF CATS IN Negative time management scinario

    Hi Friends,                 I need your guidance on following points     1)    Is there any relevance of using CATS in negative time management.     2)  If we have to use CATS in negative time management what should be the time management status o or

  • Getting Apple to fix incorrect title in store

    There's a song title in the iTunes Store that's wrong (On "A Thing to Live With" by Fond of Tigers, the sixth track should be "Here You Are, Hated", not "Here Your Are, Hated"), but I don't know how to get Apple to fix it. I tried going into my purch