Problem with ana 3.6 Installation on solaris 10

Hi,
I'm going to install Cisco Ana 3.6.5 on Solaris 10 and this is my first experience.
here are the information about my installation:
OS: Solaris 10 64-bit
Oracle 10g 10.2.0.3
I have installed Oracle and now when i try to install ana gateway , i get this Error Message:
  - sheer doesnt exist, creating in /export/home/oracle/oracle/product/10.2.0/db_1/oradata/sheer_DATA.dbf table space...
         *** ERROR: Can not create table space /export/home/oracle/oracle/product/10.2.0/db_1/oradata/sheer_DATA.dbf. ABORTING. ***
could you please help me?
Thanks in advance

I've solved the problem by setting password for  scheme sheer to cisco !
  - Enter the Oracle sid: MCDB
  - Enter the Oracle admin username: system
  - Enter the Oracle admin password: ********
  - Enter the password for the scheme sheer: cisco
  - Enter the location of the data files: /export/home/oracle/product/db_10g/oradata
  - Enter the Oracle Listener port: 1521

Similar Messages

  • Problems with WAS 6.40 Installation on Oracle - Phase 11 of 34

    Hello,
    <b>Problems with WAS 6.40 Installation on Oracle (Phase 11 of 34)</b>
    with the installation of the Web Application server 6,40 SR1 on a Oracle server I get in phase 11 of 34 (Create Oracle Database) the following error-message:
    CJS-00084 - SQL statement or script failed. Diagnosis: Error message: ORA-12547: TNS:lost contact.
    error while loading shared library: libodm9.so : cannot open shared object file: No such file or dirctory.
    Best Reagrds,
    Ralf Steffens

    hi Ralf
    i've found one composite note for Oracle <a href="https://websmp203.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700001366932002">505630</a>
    hope this solves...
    <i><b>Symptom</b>
    ORA-12547: TNS:lost contact
    Brbackup, brarchive, brrestore or brconnect may terminate with errors similar to the following:
    BR301E SQL error -12547 at location BrDbConnect-1
    BR301E SQL error -12547 at location dbf_info_get-1
    Sapdba returns the following error, for example:
      SAPDBA: ORACLE error -12547 occurred while checking instance status!
    The R/3 work processes or R3trans return the following error at Connect:
      C  *** ERROR => CONNECT failed with sql error '12547'
    <b>Other terms</b>
    TNS-12547, TNS-00517
    <b>Reason and Prerequisites</b>
    As part of the Net8 Connect, a program such as the R/3 kernel, R3trans, svrmgrl, sqlplus or ODMA establishes a connection to the Oracle database. If the connection terminates due to problems at the server end, it can result in ORA-12547.
    Additional information for the error is often available in sqlnet.log. In many cases, other messages that are not reported by all tools precede ORA-12547. If ORA-12547 occurs when the ODMA accesses the old Oracle-Home during a database upgrade, for example, it may make sense to temporarily restart ORACLE_HOME on the old Oracle-Home for test purposes and then to execute sqlplus or svrmgrl.
    Even if sapdba or the BR tools terminate with an ORA-12547 when calling sqlplus or svrmgrl recursively, you should, for test purposes, call sqlplus or svrmgrl manually with the operating system user that was used.
    Hopefully, a more informative error message will appear in addition to ORA-12547, for example:
      ld.so.1: oracleC11: fatal: relocation error: file
               /oracle/C11/817_64/libx8.so: symbol ksunsga_:
               referenced symbol not found
    If you find accompanying error messages of this type, start a note search with the corresponding search terms since we are often aware of the problem and a solution may already be available. If you do not find any significant error messages or a suitable note, check the following possible causes for ORA-12547:
    1. UNIX: Incorrectly linked Oracle tools
    2. UNIX: Problems with XPG4 compliance and s-bit
    3. Too many requests to the listener at the same time
    4. HP-UX, Oracle 8.1: Missing OS patch
    5. Use of CRYPTO parameters in sqlnet.ora
    6. AIX: I/O Async is deactivated
    7. Resource problems
    8. The CONNECT_TIMEOUT_LISTENER parameter in listener.ora is too low
    9. Activated Oracle trace
    10. UNIX: Incorrect oracle executable authorization
    11. SOLARIS: LD_LIBRARY_PATH set when you call ODMA
    12. AIX: Problem with post/wait kernel enhancement
    13. UNIX: Problems with the libobk library
    14. SOLARIS: Incorrect search sequence in the path variable
    15. UNIX: Conflicts between 32-bit and 64-bit files
    <b>Solution</b>
    1. Relink the Oracle software as ora<sid> with
      cd $ORACLE_HOME/rdbms/lib
      make -f ins_rdbms.mk install
                  or
      relink all
    1. See Note 88884.
    2. If individual work processes terminate with ORA-12547 when you start an R/3 instance, See Note 131561.
    3. See Note 399610.
    4. You can set security parameters that begin with SQLNET.CRYPTO_ in sqlnet.ora as part of the Advanced Security Option. Oracle releases < 8.1.7 cannot process these parameters correctly and result in ORA-12547. In this case, delete these types of parameters from sqlnet.ora.
    5. If I/O is deactivated on AIX Async, the Net8 Connect fails with ORA-12547. In this case, activate I/O Async by using smitty.
    6. Insufficient resources such as available memory on the database server can cause ORA-12547. For more information, see 384839.
    7. In individual cases, it may make sense to increase the CONNECT_TIMEOUT_LISTENER parameter in listener.ora (for example, by 5 seconds, so from 10 to 15). Although a value of 10 seconds should usually be sufficient to establish a connection.
    8. Delete the log files written by the Oracle trace in accordance with Note 92537.
    9. Check to see whether the executable in $ORACLE_HOME/bin has the "rwsr-s--x" authorizations and the ora<sid> owner and correct this if necessary.
    10. If you call ODMA on SOLARIS as part of a database upgrade and if LD_LIBRARY_PATH is set explicitly (on the lib directory of the target release), calling the old Oracle software through ODMA may fail with ORA-12547. If you use the old ORACLE_HOME to list sqlplus or svrmgrl, you get the following error:
      ld.so.1: oracle<sid>: fatal: relocation error:
               file /oracle/<sid>/817_64/libx8.so: symbol ksunsga_:
               referenced symbol not found
      ORA-12547: TNS:lost contact
                   In this case, permanently delete LD_LIBRARY_PATH from the environment. This does not have any negative effects since the libraries are automatically found in the correct directories as of Oracle 8.1.
                   If problems occur with the post/wait extension on AIX, the following type of errors will be displayed:
      exec(): 0509-036 Cannot load program oracleC11 because of the
      following errors:
              0509-130 Symbol resolution failed for oracle because:
              0509-136   Symbol pw_post (number 2524) is not exported
                          from dependent module /unix.
              0509-136   Symbol pw_wait (number 2525) is not exported
                          from dependent module /unix.
              0509-136   Symbol pw_config (number 2526) is not exported
                          from dependent module /unix.
              0509-192 Examine .loader section symbols with the
                       'dump -Tv' command.
      ORA-12547: TNS:lost contact
    1. If the libobk library was created incorrectly, the following type of errors may occur:
      /oracle/C11/817_64/bin/oracle: /sbin/loader:
        Fatal Error: Cannot map library libobk.so
      /usr/lib/pa20_64/dld.sl: Unable to find library
        '/oracle/C11/lib64/libobk.sl
      exec(): 0509-036 Cannot load program oracleC11 because of the
              following errors:
      0509-150   Dependent module /oracle/C11/817_64/lib/libobk.a(shr.o)
                 could not be loaded.
      0509-152   Member shr.o is not found in archive
      ORA-12547: TNS:lost contact
                   Check to see whether libobk exists and, if it is a link, that it points to a valid object. Note 142635 contains more information about this. The libobk link may point to this if a libsbtsh8.* file exists in the Oracle library directory. If you are using a third-party Backint tool, contact the relevant supplier, since libobk often has to point to a backint-specific library.
    1. If an error such as
      ld.so.1: ./svrmgrl: fatal: libucb.so.1: open failed:
               No such file or directory
      ORA-12547: TNS:lost contact
                   occurs, the PATH has probably been set incorrectly. For more information, see Note 44361.
    1. If an error such as
      ld.so.1: oracle<sid>: fatal: <library> wrong ELF class: ELFCLASS64
      ORA-12547: TNS:lost contact
                  concerning "wrong ELF class" occurs, check whether the <library> mistakenly has a different bit size than the tool that was called. You can determine this using
      file <library>
      file <tool>
                   All the files involved must uniformly be either 32-bit or 64-bit.
    </i>
    Regards
    Arunkumar

  • Problem with SAPSERVER.CMD during installation, nothing happens

    In the process of installing in our test environment but I seem to have problems with the Oracle 9i installation. When i double click the file sapserver.cmd nothing happens.
    I have tried the workaround with renaming "symcjit.dll" and changing parameter JRE_MEMORY_OPTIONS=-nojit -ms16m -mx32m in oraparam.ini file.  Then rerun installation with command "install\win32\setup.exe -J-Dsun.java2d.noddraw=true".
    This time error message "<i>Could not initialize the Java virtual machine. Program will exit!</i>" occurred.
    Can anyone please help me how to fix the problem.  Thanks.

    I am also facing same problem--
    I have got IDES 4.7 CDs..
    I am trying to install Oracle RDBMS 9.2 NT thru first CD... when I am running SAPSERVER.CMD it does nothing except showing wait pointer for few seconds.
    it is actually creating three folders in TEMP folder images, jre, oui
    I have tried running SAPSERVER.CMD from command prompt also but there was no luck.
    When I tried to run SETUP.EXE there was same situation.
    Even i tried to run setup.exe from \NT\I386 directory on command prompt with following command ...
    SETUP.EXE -RESPONSEFILE E:\NT\I386\response\sapserver.rsp
    but nothing could help me out...
    I checked everywhere but could not find and LOG file which could explain me that what went wrong..
    this is an appeal to all are techies.. plz help me..
    I have tried it on two machines:
    1) p4 2.66 512 ram 80+40 gb HDD 2000 server with sp4 and ie6, JRE, .NET framework 2.0
    2) Dual core with 1 gb RAM 300 GB HDD 2003 Server with SP2 JRE, .NET framework 2.0
    There was exactly same situation on both the machines..
    Thank in advance

  • Trying to upgrade to 10.6 so my iPhone could synch...I'm getting this error message "Problem with this Windows (XP) Installer package.  A program required for this install to complete could not be run."  Any ideas?

    I had iTunes 10.2.1.1 but needed to upgrade to 10.6 so my iPhone could synch...I'm getting this error message "Problem with this Windows (XP) Installer package.  A program required for this install to complete could not be run."  Any ideas?

    This has been fixed.  Answer is that I needed to go to "Apple Software Update" and repair it.  (From my Control Panel).

  • Problems with Java 1.5_X installs help required.

    Hi All,
    Having problems with multiple machines with Java 1.5_X installs, the install ppears to complete successfully, and the version checking on the Java Website says that Java is installed however the checking of the Java Virtual Machine using the webpage on the Java site fails, ends up with a red cross in the right hand corner and opening the java console receive this list of messages:
    load: class testvm2/Main.class not found.
    java.lang.ClassNotFoundException: testvm2.Main.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Have tried uninstalling and reinstalling to no effect, have tried uninsalling and reinstalling IE to no effect. Please note the problem does not happen when I install 1.6 versions on the same machine but unfortunately I need to get 1.5 working on these machines.
    Any help is appreciated.

    This is silly. Just because you don't know Vuze doesn't mean there's no problem with this update. My friends are having the same issue, of course we are looking at possible problem from Vuze's part but we cannot really say this update has 100% nothing to do with Vuze's launch failure, can we?
    P.S. Since Vuze is not banned by law, it's still legal to use it. It's up to people if they want to use it for good or bad.
    dogquake

  • Problems with Cluster Ready Service installation (RAC) in Oracle 10g R1

    Hello
    I have got problems with this installation. I am starting Oracle user
    At the end of the installation I get a mesage when all Configuration Assistants are failed
    I have got 2 computers with Windows 2000 PRO, two networks (private and public)
    As a shared disk I use one external disk (with USB) attached to one computer.
    What to do here?
    please for a reply
    Martin
    PROT-1: Failed to initialize ocrconfig
    SCLS error 1 reading current privileges.
    Internal Error Information:
    Category: 1234
    Operation: scls_iddb_has_privgrp_by_name
    Location: NetLocalGrou
    Other: get local group failed
    Dep: 0
    Step 1: checking status of CRS cluster
    Step 2: configuring OCR repository
    ignoring upgrade failure of ocr(-1)
    failed to configure Oracle Cluster Registry with CLSCFG, ret 102
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\oracle\product\10.1.0\crs\oui\bin\ouica.bat.
    Launched configuration assistant 'Oracle Notification Server Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'D:\oracle\product\10.1.0\crs/bin/racgons.exe add_config migi:4948'
    Start output from spawned process:
    End output from spawned process.
    Configuration assistant "Oracle Notification Server Configuration Assistant" failed
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\oracle\product\10.1.0\crs\oui\bin\ouica.bat.
    Launched configuration assistant 'Oracle Private Interconnect Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'D:\oracle\product\10.1.0\crs/bin/oifcfg.exe setif -global "public"/10.0.0.0:cluster_interconnect "public"/192.168.1.0:public'
    Start output from spawned process:
    PRIF-12: failed to initialize cluster support services
    End output from spawned process.
    Configuration assistant "Oracle Private Interconnect Configuration Assistant" failed
    PRIF-12: failed to initialize cluster support services
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\oracle\product\10.1.0\crs\oui\bin\ouica.bat.
    Error:*** Alert: Some of the configuration assistants failed. However these are optional assistants, so they are not required for the correct configuration of your system. If you want to try to run those assistants again, select the failed assistants and click the 'Retry' button. ***
    User Selected: Yes/OK
    Starting to execute configuration assistants
    Launched configuration assistant 'Oracle Cluster Ready Services Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'D:\oracle\product\10.1.0\crs/install/crssetup.config.bat'

    Also you clusterware installation installs to an ORACLE_HOME.
    Oracle does only make a differentiation, if it has to be clear, that you got a clusterware home and a database home.
    Normally if a patch is referring to $ORACLE_HOME (and the patch can be used for clusterware & database), it just means the installation directory of the oracle software installed.
    Sebastian

  • Problem with perl Net::Telnet::Cisco  for Solaris 10 SPARC

    hi all,
    I have problem with installing this modules : Net::Telnet::Cisco,TermReadKey-2.30.tar.gz.
    I'm trying to install this packages Net-Telnet-Cisco-1.10.tar.gz, and the it notifies me that I need to install before the TermReadkey, I get it from www.CPAN.org -TermReadKey-2.30.tar.gz
    and look what I have when I run : "make test" or even "make install"
    cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" ReadKey.c
    sh: cc: not found
    *** Error code 1
    make: Fatal error: Command failed for target `ReadKey.o'
    Please can some one help me. it 's very urgent
    thank you in advance

    Vipul_Ramani wrote:
    only thing you are missing CC does not your current PATH
    ADD it again
    using export PATH=$PATH:/usr/ucb and try ... do it No, please don't. There is no compiler in /usr/ucb, and it is probably a very good idea to compile without /usr/ucb in your path. /usr/ucb/cc is only a wrapper to extend a very old SunOS compatibility environment onto an existing compiler.
    If you don't have the current Sun compiler suite on your machine (go ahead and download it, it's free), then you can use gcc by invoking "perlgcc" instead of "perl" on the module's makefile.
    Darren

  • Is Anyone Else Having Problems With Key Chains After Installation?

    My installation went ok but I'm having all kinds of problems with Key Chains now that I didn't before. In addition to them being corrupted, it won't let me save corrected names and passwords even when it asks for them.

    Is there a fix if you don't have your Key Chains folder from before the 10.6 installation? I keep having to re-type my MobileMe and student Gmail passwords in Mail, and if I check remember password in Key Chain, I keep having to re-type the password until I uncheck the box, but then that means I have re-type the password every time I send an email or put the computer to sleep.
    Also, Keychain Access's First Aid shows that there are no problems whatsoever. When I click on MobileMe in my System Preferences I get 8 or so consecutive errors stating "Keychain Error. There was a problem saving to your keychain. Try again or use Keychain Access to verify your keychain." When I look at my login within Keychain Access, it says my MobileMe keychain is restricted (even after entering my administrator password).

  • Fixing problems with the Microsoft Windows Installer Cleanup Utility

    Sorry for the long subject. I am having what appear to be common problems with my acrobat reader for which the only solution appears to be using the microsoft windows installer cleanup thing.
    I have acheived downloading the utility to my desktop but when I try to run it I get an error message as follows:
    Across the top of the message it says 'WINDOWS SCRIPT HOST' and in the box it says:
    Script: C:\DOCUMEN~1\Karen\LOCAL~1\Temp\IXP000.TMP\StartMsi.vbs
    Line: 1
    Char: 1
    Error: The specified module could not be found
    Code: 800700E
    Source: (Null)
    Does anyone have any clues as to where I can go from here as I am stuck with a program I can neither use or uninstall, and a reascue plan that doesn't want to cooperate either. And please treat me like a 2 yr old with the technical stuff. Thanks. :-)
    Karen

    Can you try to download it again, perhaps to the C:\ drive rather than the Desktop? Delete the Desktop download, then open Windows Explorer, and run the installer from the C:\ drive.
    P.S. do you have administrative privileges on your system?

  • Is there a problem with the Itunes Windows Installer Programme?

    The reason I ask is because I had a perfectly working Itunes programme on my external hard drive, from which I then deleted all the double ups of songs I had and then could not gain auto. updates of the dsongs I wished to add to itunes.
    It said to reinstall Itunes, which I tried to do and since this time the installation stops when installing the registry components and the following message appears -
    There is a problem with the Windows Installer Package. A programme required for this to install could not be run. Comntact your support personall or package provider.
    Can anyone help please?
    Thank you in advance for any help forwarded
    MrG
    P.S. - Not that well versed in computer speak, so laymans terms welcomed.

    This message often relates to a problem with Apple software update.
    Go to Add remove programs and find Apple Software update. Try repairing it.
    Select Change>>repair.
    That probably will not work
    Then try uninstalling any instance you find of Apple Software update. That probably will not work either.
    Download and install Microsoft Installer cleanup utility, there are instructions on the page as well as the download. Note that what you download is the installer not the program – you have to run it to install the program.
    http://support.microsoft.com/kb/290301/
    To run the program – All Programs>>Windows Install Cleanup
    Remove any instance you find of Apple software update with the cleanup utility.
    Download a fresh copy of the iTunes installer and save it on your desktop.
    http://www.apple.com/itunes/download/
    Restart your computer and try installing iTunes.

  • Problem with New HDD and installation of Qosmio Player

    Hi All,
    Hope someone can help, I have had my Qosmio for 2 1/2 years now and recently had a problem with the hard disk. I decided to replace the hard disk as this was the quickest solution. The problem I have now is that I cannot receive TV on media center. I was trying to install qosmio player on the HDD to see if it made any difference but when I run the recovery disk supplied the software tells me that there is not enough disk space!!. The laptop came with a 60G hard disk and the new HDD made by the same manufacturer is a 150GB, can anyone help me out with this one would be appreciated.
    Thanks
    ED.

    Qosimo F10.
    Sorry my previous entry was garbled. I upgraded the HDD to 120, could not get the Qosimo player to reload, same error, No space on HDD.
    I then upgraded to Vista and downloaded the new Vista Qosimo drivers, created the ISO image and booted from it. Still did not work.

  • Satellite Pro A120: I have problems with the graphics driver installation for W2k

    I have installed windows 2000 on an A120 the system is fully service packed and up to date before I even begin installing the required drivers I am unable to restart the system. Once I install the drivers as recommended I have problems with the graphics driver as it will not install because it requires a restart and then I am unable to install any new programs that require a restart as the driver has not installed correctly.
    The laptop is a A120 Pro, 1 week old and came with XP home, because of this toshiba will not offer me support as I have changed the O/S even though they obviously support 2000 on this laptop as they supply the drivers.
    Any ideas would be greatly appreciated.

    the reason the driver is not working is down to a problem with the windows 2000 not having the ability to reboot.
    When you select restart the system appears to power down then stays switched on. Now if I try to install software I get an error saying that the system needs to complete a restart to finish the install of the driver.
    The restart problem happens as soon as win2k is installed as although I have now shipped the laptop to the sales team I have another one which has just had a clean install of win2k without any drivers and the fault is present on this one.
    I am thinking it could be to do with power management but I'm not to sure as I have never come across this as I normally purchase machines which accept just about any O/S.

  • Problem with R3 4.6C Installation on RHEL4 x86_64

    Hello Experts,
    We currently have the 4.6C system on Solaris (64 Bit) and the plan is to migrate to RHEL4 x86_64. I am trying to do a vanilla install of 4.6C SR2 (4.6D EXT kernel) with Oracle 10.2.0.2 on the Linux box as the first step.
    I have gone through notes 946141 and 816145 and adapted the changes mentioned there. The installation has progressed smoothly until the database creation step.
    What I've completed so far:
    SAP Binaries extracted successfully
    Oracle Database Software installed successfully
    Oracle 10.2.0.2 Patchset installed successfully
    I then continue the installation with R3setup and it creates the database successfully BUT I've noticed that its creating an older version of the tablespace which causes my installation to fail at the ORADBUSR_IND_ORA phase.
    I have replaced the oradbusr.sql file from the one in note 573042. I have also confirmed that the DBSIZE.TPL and DDLORA.TPL in the installation directory are copied from the Export CD and have the latest tablespace names.
    The last couple of lines from the oradbusr.log are:
    .  Oracle Version:                     10.2.0.2.0
    .  Parametervalue os_authent_prefix:   OPS$
    .  Schema Id:                          R3
    .  Database User (Schema):             SAPR3
    .  SAP R/3 Administrator:              OPS$DW1ADM
    unable to assign default tablespace to user: SAPR3
    begin
    ERROR at line 1:
    ORA-00959: tablespace 'PSAPUSER1D' does not exist
    ORA-06512: at line 90
    The tablespaces created in the database so far are:
    SQL> select tablespace_name from dba_tablespaces;
    TABLESPACE_NAME
    SYSTEM
    PSAPUNDO
    SYSAUX
    PSAPTEMP
    PSAPR3
    PSAPR346C
    PSAPR3USR
    The last three tablespaces (PSAPR3*) are really old and do not exist in my current environment.
    Any ideas on how I could get over this problem? I could create the PSAPUSER1D manually but would prefer not to do it this way.
    Thanks,
    Cheng

    We currently have the 4.6C system on Solaris (64 Bit) and the plan is to migrate to RHEL4 x86_64. I am trying to do a vanilla install of 4.6C SR2 (4.6D EXT kernel) with Oracle 10.2.0.2 on the Linux box as the first step.
    To do a migration you need to export your source system using R3load and import that exported system (heterogeneous migration). You can´s use backup/restore method due to endianess differences and you need a certified migration consultant on-site to assist you in the migration (http://service.sap.com/osdbmigration).
    I have replaced the oradbusr.sql file from the one in note 573042. I have also confirmed that the DBSIZE.TPL and DDLORA.TPL in the installation directory are copied from the Export CD and have the latest tablespace names.
    This is really strange - it should use the one you copied to the installation directory. Can you check if it´s using the correct one? Not that R3setup is re-copying it from the installation CD again...
    Markus

  • Fix many web access problems with IFS 9.0.1 on Solaris (and other OS's)...

    When the installation is done according to the documentation,
    web access does not work because the scripts that add entries to
    the jserv.properties file add duplicate references to
    wrapper.env and wrapper.classpath. Look at the jserv.properties
    file below and look at the remarked-out (#) lines of the
    duplicate references. For example, look at the references to the
    wrapper.env=LD_LIBRARY_PATH
    Oracle, please note this bug so the web access problems are
    minimized when the product is intstalled.
    Thank you,
    William T.
    # Apache JServ Configuration
    File #
    ################################ W A R N I N G
    # Unlike normal Java properties, JServ configurations have some
    important
    # extensions:
    # 1) commas are used as token separators
    # 2) multiple definitions of the same key are concatenated in
    a
    # comma separated list.
    # Execution parameters
    # The Java Virtual Machine interpreter.
    # Syntax: wrapper.bin=[filename] (String)
    # Note: specify a full path if the interpreter is not visible in
    your path.
    wrapper.bin=/d3/Apache/jdk/bin/java
    # Arguments passed to Java interpreter (optional)
    # Syntax: wrapper.bin.parameters=[parameters] (String)
    # Default: NONE
    wrapper.bin.parameters=-Xms64m
    wrapper.bin.parameters=-Xmx128m
    # Apache JServ entry point class (should not be changed)
    # Syntax: wrapper.class=[classname] (String)
    # Default: "org.apache.jserv.JServ"
    # Arguments passed to main class after the properties filename
    (not used)
    # Syntax: wrapper.class.parameters=[parameters] (String)
    # Default: NONE
    # Note: currently not used
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32
    systems
    # Notes: if more than one line is supplied these will be
    concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will
    be
    # automatically evaluated to match your system
    requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be
    concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters.
    JVM must be
    # able to find JSDK and JServ classes and any utility
    classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon
    modification
    # MUST NOT be in this classpath or the classpath of the
    shell
    # you start the Apache from.
    wrapper.classpath=/d3/Apache/jdk/lib/tools.jar
    wrapper.classpath=/d3/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/d3/Apache/Jsdk/lib/jsdk.jar
    # An environment name with value passed to the JVM
    # Syntax: wrapper.env=[name]=[value] (String)
    # Default: NONE on Unix Systems
    # SystemDrive and SystemRoot with appropriate values on
    Win32 systems
    wrapper.env=PATH=/d3/bin
    # An environment name with value copied from caller to Java
    Virtual Machine
    # Syntax: wrapper.env.copy=[name] (String)
    # Default: NONE
    # Uncomment the following lines to set the default locale and
    NLS_LANG
    # setting based on the environment variables.
    # wrapper.env.copy=LANG
    # wrapper.env.copy=NLS_LANG
    # Copies all environment from caller to Java Virtual Machine
    # Syntax: wrapper.env.copyall=true (boolean)
    # Default: false
    # Protocol used for signal handling
    # Syntax: wrapper.protocol=[name] (String)
    # Default: ajpv12
    # General parameters
    # Set the default IP address or hostname Apache JServ binds (or
    listens) to.
    # If you have a machine with multiple IP addresses, this address
    # will be the one used. If you set the value to localhost, it
    # will be resolved to the IP address configured for the locahost
    # on your system (generally this is 127.0.0.1). This feature is
    so
    # that one can have multiple instances of Apache JServ listening
    on
    # the same port number, but different IP addresses on the same
    machine.
    # Use bindaddress=* only if you know exactly what you are doing
    here,
    # as it could let JServ wide open to the internet.
    # You must understand that JServ has to answer only to Apache,
    and should not
    # be reachable by nobody but mod_jserv. So localhost is usually a
    # good option. The second best choice would be an internal
    network address
    # (protected by a firewall) if JServ is running on another
    machine than Apache.
    # Ask your network admin.
    # "*" may be used on boxes where some of the clients get
    connected using
    # "localhost"and others using another IP addr.
    # Syntax: bindaddress=[ipaddress] or [localhost] or [*]
    # Default: localhost
    bindaddress=localhost
    # Set the port Apache JServ listens to.
    # Syntax: port=[1024,65535] (int)
    # Default: 8007
    port=8007
    # Servlet Zones parameters
    # List of servlet zones Apache JServ manages
    # Syntax: zones=[servlet zone],[servlet zone]... (Comma
    separated list of String)
    # Default: NONE
    zones=root
    # Configuration file for each servlet zone (one per servlet zone)
    # Syntax: [servlet zone name as on the zones list].properties=
    [full path to configFile]
    (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    root.properties=/d3/Apache/Jserv/etc/zone.properties
    # Thread Pool parameters
    # Enables or disables the use of the thread pool.
    # Syntax: pool=true (boolean)
    # Default: false
    # WARNING: the pool has not been extensively tested and may
    generate
    deadlocks.
    # For this reason, we advise against using this code in
    production environments.
    pool=false
    # Indicates the number of idle threads that the pool may contain.
    # Syntax: pool.capacity=(int)>0
    # Default: 10
    # NOTE: depending on your system load, this number should be low
    for contantly
    # loaded servers and should be increased depending on load
    bursts.
    pool.capacity=10
    # Indicates the pool controller that should be used to control
    the
    # level of the recycled threads.
    # Syntax: pool.controller=[full class of controller] (String)
    # Default: org.apache.java.recycle.DefaultController
    # NOTE: it is safe to leave this unchanged unless special
    recycle behavior
    # is needed. Look at the "org.apache.java.recycle" package
    javadocs for more
    # info on other pool controllers and their behavior.
    pool.controller=org.apache.java.recycle.DefaultController
    # Security parameters
    # Enable/disable the execution of org.apache.jserv.JServ as a
    servlet.
    # This is disabled by default because it may give informations
    that should
    # be restricted.
    # Note that the execution of Apache JServ as a servlet is
    filtered by the web
    # server modules by default so that both sides should be enabled
    to let this
    # service work.
    # This service is useful for installation and configuration
    since it gives
    # feedback about the exact configurations Apache JServ is using,
    but it should
    # be disabled when both installation and configuration processes
    are done.
    # Syntax: security.selfservlet=true (boolean)
    # Default: false
    # WARNING: disable this in a production environment since may
    give reserved
    # information to untrusted users.
    security.selfservlet=true
    # Set the maximum number of socket connections Apache JServ may
    handle
    # simultaneously. Make sure your operating environment has
    enough file
    # descriptors to allow this number.
    # Syntax: security.maxConnections=(int)>1
    # Default: 50
    security.maxConnections=50
    # Backlog setting for very fine performance tunning of JServ.
    # Unless you are familiar to sockets leave this value commented
    out.
    # security.backlog=5
    # List of IP addresses allowed to connect to Apache JServ. This
    is a first
    # security filtering to reject possibly unsecure connections and
    avoid the
    # overhead of connection authentication.
    # <warning>
    # (please don't use the following one unless you know what you
    are doing :
    # security.allowedAddresses=DISABLED
    # allows connections on JServ'port from entire internet.)
    # You do need only to allow YOUR Apache to talk to JServ.
    # </warning>
    # Default: 127.0.0.1
    # Syntax: security.allowedAddresses=[IP address],[IP Address]...
    (Comma
    separated list of IP addresses)
    #security.allowedAddresses=127.0.0.1
    # Enable/disable connection authentication.
    # NOTE: unauthenticated connections are a little faster since
    authentication
    # handshake is not performed at connection creation.
    # WARNING: authentication is disabled by default because we
    believe that
    # connection restriction from all IP addresses but localhost
    reduces your
    # time to get Apache JServ to run. If you allow other addresses
    to connect and
    # you don't trust it, you should enable authentication to
    prevent untrusted
    # execution of your servlets. Beware: if authentication is
    disabled and the
    # IP address is allowed, everyone on that machine can execute
    your servlets!
    # Syntax: security.authentication=[true,false] (boolean)
    # Default: true
    security.authentication=false
    # Authentication secret key.
    # The secret key is passed as a file that must be kept secure
    and must
    # be exactly the same of those used by clients to authenticate
    themselves.
    # Syntax: security.secretKey=[secret key path and filename]
    (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    #security.secretKey=./etc/jserv.secret.key
    # Length of the randomly generated challenge string (in bytes)
    used to
    # authenticate connections. 5 is the lowest possible choice to
    force a safe
    # level of security and reduce connection creation overhead.
    # Syntax: security.challengeSize=(int)>5
    # Default: 5
    #security.challengeSize=5
    # Logging parameters
    # Enable/disable Apache JServ logging.
    # WARNING: logging is a very expensive operation in terms of
    performance. You
    # should reduced the generated log to a minumum or even disable
    it if fast
    # execution is an issue. Note that if all log channels (see
    below) are
    # enabled, the log may become really big since each servlet
    request may
    # generate many Kb of log. Some log channels are mainly for
    debugging
    # purposes and should be disabled in a production environment.
    # Syntax: log=[true,false] (boolean)
    # Default: true
    log=true
    # Set the name of the trace/log file. To avoid possible
    confusion about
    # the location of this file, an absolute pathname is recommended.
    # This log file is different than the log file that is in the
    # jserv.conf file. This is the log file for the Java portion of
    Apache
    # JServ.
    # On Unix, this file must have write permissions by the owner of
    the JVM
    # process. In other words, if you are running Apache JServ in
    manual mode
    # and Apache is running as user nobody, then the file must have
    its
    # permissions set so that that user can write to it.
    # Syntax: log.file=[log path and filename] (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    log.file=/d3/Apache/Jserv/logs/jserv.log
    # Enable the timestamp before the log message
    # Syntax: log.timestamp=[true,false] (boolean)
    # Default: true
    log.timestamp=true
    # Use the given string as a data format
    # (see java.text.SimpleDateFormat for the list of options)
    # Syntax: log.dateFormat=(String)
    # Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
    log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
    # Since all the messages logged are processed by a thread
    running with
    # minimum priority, it's of vital importance that this thread
    gets a chance
    # to run once in a while. If it doesn't, the log queue overflow
    occurs,
    # usually resulting in the OutOfMemoryError.
    # To prevent this from happening, two parameters are used:
    log.queue.maxage
    # and log.queue.maxsize. The former defines the maximum time for
    the logged
    # message to stay in the queue, the latter defines maximum
    number of
    # messages in the queue.
    # If one of those conditions becomes true (age > maxage || size
    maxsize),# the log message stating that fact is generated and the log
    queue is
    # flushed in the separate thread.
    # If you ever see such a message, either your system doesn't
    live up to its
    # expectations or you have a runaway loop (probably, but not
    necessarily,
    # generating a lot of log messages).
    # WARNING: Default values are lousy, you probably want to tweak
    them and
    # report the results back to the development team.
    # Syntax: log.queue.maxage = [milliseconds]
    # Default: 5000
    log.queue.maxage = 5000
    # Syntax: log.queue.maxsize = [integer]
    # Default: 1000
    log.queue.maxsize = 1000
    # Enable/disable logging the channel name
    # Default: false
    # log.channel=false
    # Enable/disable channels, each logging different actions.
    # Syntax: log.channel.[channel name]=[true,false] (boolean)
    # Default: false
    # Info channel - quite a lot of informational messages
    # hopefully you don't need them under normal circumstances
    # log.channel.info=true
    # Servlets exception, i.e. exception caught during
    # servlet.service() processing are monitored here
    # you probably want to have this one switched on
    log.channel.servletException=true
    # JServ exception, caught internally in jserv
    # we suggest to leave it on
    log.channel.jservException=true
    # Warning channel, it catches all the important
    # messages that don't cause JServ to stop, leave it on
    log.channel.warning=true
    # Servlet log
    # All messages logged by servlets. Probably you want
    # this one to be switched on.
    log.channel.servletLog=true
    # Critical errors
    # Messages produced by critical events causing jserv to stop
    log.channel.critical=true
    # Debug channel
    # Only for internal debugging purposes
    # log.channel.debug=true
    #wrapper.classpath=/d3/ord/jlib/ordim.zip
    #wrapper.classpath=/d3/ord/jlib/ordhttp.zip
    # Oracle XSQL Servlet
    wrapper.classpath=/d3/lib/oraclexsql.jar
    # Oracle JDBC
    wrapper.classpath=/d3/jdbc/lib/classes12.zip
    # Oracle XML Parser V2 (with XSLT Engine)
    wrapper.classpath=/d3/lib/xmlparserv2.jar
    # Oracle XML SQL Components for Java
    wrapper.classpath=/d3/rdbms/jlib/xsu12.jar
    # XSQLConfig.xml File location
    wrapper.classpath=/d3/xdk/admin
    # Oracle BC4J
    wrapper.classpath=/d3/ord/jlib/ordim.zip
    wrapper.classpath=/d3/ord/jlib/ordvir.zip
    wrapper.classpath=/d3/ord/jlib/ordhttp.zip
    wrapper.classpath=/d3/BC4J/lib/jndi.jar
    wrapper.classpath=/d3/BC4J/lib/jbomt.zip
    wrapper.classpath=/d3/BC4J/lib/javax_ejb.zip
    wrapper.classpath=/d3/BC4J/lib/jdev-rt.jar
    wrapper.classpath=/d3/BC4J/lib/jbohtml.zip
    wrapper.classpath=/d3/BC4J/lib/jboremote.zip
    wrapper.classpath=/d3/BC4J/lib/jdev-cm.jar
    wrapper.classpath=/d3/BC4J/lib/jbodomorcl.zip
    wrapper.classpath=/d3/BC4J/lib/jboimdomains.zip
    wrapper.classpath=/d3/BC4J/lib/collections.jar
    wrapper.classpath=/d3/Apache/Apache/htdocs/onlineorders_html
    #wrapper.classpath=/d3/Apache/Apache/htdocs/OnlineOrders_html/Onl
    ineOrders.jar
    # The following classpath entries are necessary for EJBs to run
    in IAS or DB when
    present
    wrapper.classpath=/d3/lib/aurora_client.jar
    wrapper.classpath=/d3/lib/vbjorb.jar
    wrapper.classpath=/d3/lib/vbjapp.jar
    # Oracle Servlet
    wrapper.classpath=/d3/lib/servlet.jar
    # Oracle Java Server Pages
    wrapper.classpath=/d3/jsp/lib/ojsp.jar
    # Oracle Util
    wrapper.classpath=/d3/jsp/lib/ojsputil.jar
    # Oracle Java SQL
    wrapper.classpath=/d3/sqlj/lib/translator.zip
    # Oracle JDBC
    #wrapper.classpath=/d3/jdbc/lib/classes12.zip
    # SQLJ runtime
    wrapper.classpath=/d3/sqlj/lib/runtime12.zip
    # Oracle Messaging
    wrapper.classpath=/d3/rdbms/jlib/aqapi.jar
    wrapper.classpath=/d3/rdbms/jlib/jmscommon.jar
    # OJSP environment settings
    #wrapper.env=ORACLE_HOME=/d3
    # The next line should be modified to reflect the value of the
    SID for your
    webserver.
    #wrapper.env=ORACLE_SID=cmpdb
    #wrapper.env=LD_LIBRARY_PATH=/d3/lib
    ## Enable the flag below if you are using jdk 1.2.2_05a or above
    #wrapper.env=JAVA_COMPILER=NONE
    # Advanced Queuing - AQXML
    wrapper.classpath=/d3/rdbms/jlib/aqxml.jar
    #wrapper.classpath=/d3/rdbms/jlib/xsu12.jar
    #wrapper.classpath=/d3/lib/xmlparserv2.jar
    wrapper.classpath=/d3/lib/xschema.jar
    #wrapper.classpath=/d3/jlib/jndi.jar
    wrapper.classpath=/d3/jlib/jta.jar
    oemreporting.properties=/d3/Apache/Jserv/oemreporting/oemreportin
    g.properties
    zones = root, oemreporting
    wrapper.classpath=/d3/jlib/share-opt-1_1_9.zip
    wrapper.classpath=/d3/jlib/caboshare-opt-1_0_3.zip
    wrapper.classpath=/d3/jlib/marlin-opt-1_0_7.zip
    wrapper.classpath=/d3/jlib/tecate-opt-1_0_4.zip
    wrapper.classpath=/d3/jlib/ocelot-opt-1_0_2.zip
    wrapper.classpath=/d3/jlib/regexp.jar
    wrapper.classpath=/d3/jlib/sax2.jar
    #wrapper.classpath=/d3/jlib/servlet.jar
    wrapper.bin.parameters= -DORACLE_HOME=/d3
    #wrapper.env=LD_LIBRARY_PATH=/d3/lib32
    wrapper.env.copy=DISPLAY
    wrapper.bin.parameters=-DORACLE_HOME=/d3
    #wrapper.classpath=/d3/lib/vbjorb.jar
    #wrapper.classpath=/d3/lib/vbjapp.jar
    wrapper.classpath=/d3/classes/classesFromIDLVisi
    wrapper.classpath=/d3/jlib/swingall-1_1_1.jar
    wrapper.classpath=/d3/jlib/ewtcompat3_3_15.jar
    wrapper.classpath=/d3/jlib/ewt-3_3_18.jar
    wrapper.classpath=/d3/jlib/share-1_1_9.jar
    wrapper.classpath=/d3/jlib/help-3_2_9.jar
    wrapper.classpath=/d3/jlib/ice-5_06_3.jar
    wrapper.classpath=/d3/jdbc/lib/classes111.zip
    wrapper.classpath=/d3/classes
    wrapper.classpath=/d3/jlib/oembase-9_0_1.jar
    wrapper.classpath=/d3/jlib/oemtools-9_0_1.jar
    wrapper.classpath=/d3/jlib
    wrapper.classpath=/d3/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/d3/jlib/jssl-1_1.jar
    wrapper.classpath=/d3/jlib/netcfg.jar
    wrapper.classpath=/d3/jlib/dbui-2_1_2.jar
    #wrapper.classpath=/d3/lib/aurora_client.jar
    #wrapper.classpath=/d3/lib/xmlparserv2.jar
    wrapper.classpath=/d3/network/jlib/netmgrm.jar
    wrapper.classpath=/d3/network/jlib/netmgr.jar
    wrapper.classpath=/d3/network/tools
    wrapper.classpath=/d3/jlib/kodiak-1_2_1.jar
    wrapper.classpath=/d3/sysman/jlib/netchart360.jar
    wrapper.classpath=/d3/jlib/pfjbean.jar
    wrapper.env=SHLIB_PATH=/d3/lib32
    wrapper.env=LIBPATH=/d3/lib32
    wrapper.classpath=/d3/ultrasearch/lib/isearch_midtier.jar
    wrapper.classpath=/d3/ultrasearch/lib/isearch_query.jar
    wrapper.classpath=/d3/ultrasearch/lib/jgl3.1.0.jar
    wrapper.classpath=/d3/lib/mail.jar
    wrapper.classpath=/d3/lib/activation.jar
    wrapper.classpath=/d3/ultrasearch/jsp/admin/config
    # Additions for iFS
    ## DO NOT REMOVE OR ALTER THE FOLLOWING LINE ....
    # iFS true
    # Uncomment if you want to use the same Jserv as other
    applications
    wrapper.classpath=/d3/9ifs/custom_classes
    wrapper.classpath=/d3/9ifs/settings
    wrapper.classpath=/d3/9ifs/lib/adk.jar
    wrapper.classpath=/d3/9ifs/lib/email.jar
    wrapper.classpath=/d3/9ifs/lib/http.jar
    wrapper.classpath=/d3/9ifs/lib/release.jar
    wrapper.classpath=/d3/9ifs/lib/repos.jar
    wrapper.classpath=/d3/9ifs/lib/utils.jar
    wrapper.classpath=/d3/9ifs/lib/webui.jar
    wrapper.classpath=/d3/9ifs/lib/provider.jar
    wrapper.classpath=/d3/jlib/javax-ssl-1_2.jar
    wrapper.classpath=/d3/jlib/jssl-1_2.jar
    wrapper.env=ORACLE_HOME=/d3
    wrapper.env=ORACLE_SID=cmpdb
    wrapper.env=LD_LIBRARY_PATH=/d3/lib:/d3/ctx/lib:/d3/lib32
    wrapper.env=NLS_LANG=.US7ASCII
    ## Additions for the iFS zone
    # Uncomment if you want to use the same Jserv as other
    applications
    zones=ifs
    ifs.properties=/d3/Apache/Jserv/etc/ifs.properties
    # End iFS section

    About your home page; Manually set up Firefox with the window(s) and tab(s)
    the way you want them to be. Then;
    '''''Firefox Options > General > Homepage'''''.
    Press the button labeled ''''Use Current'''.'
    =====================================
    Open a new window or tab. In the address bar, type '''''about:config'''''.
    If a warning screen comes up, press the '''''Be Careful''''' button.
    This is where Firefox finds information it needs to run.
    At the top of the screen is a search bar. Enter '''''browser.newtab.url'''''
    and press enter. '''''browser.newtab.url'''''
    tells Firefox what to show when a new tab is opened.
    If you want, right click and select '''''Modify'''''. You can change the
    setting to;<BR><BR>about:home (Firefox default home page),<BR>
    about:newtab (shows the sites most visited),<BR>
    about:blank (a blank page),<BR>
    or you can enter any web page you want.<BR><BR>
    The same instructions are used for the new window setting, listed as
    '''''browser.startup.homepage'''''.

  • Problem with a DDI Device driver for Solaris 8 and 9 on a Sun-Blade-1500

    The problem has to do with dma allocated memory and the little-endian format.
    When I copy blocks bigger than 256 bytes to the dma memory, using a uiomove() or bcopy(), the data after the first 32 bytes is swapped around over 8 bytes.
    The bcopy from a driver (stack) buffer into the dma virtual memory has the same affect.
    So it has to do with the kernel dma allocated memory and the endianess.
    When I set the byte order to big-endian inside the ddi_device_acc_attr the data seems to be alright, also with bigger transfer sizes.
    My device however needs the little-endian format.
    I have the same the same device driver running without any errors on a Sun Blade-150 Solaris 8 for a long time now.
    Can somebody please advise me?
    Data example,
    test data: 0x00,0x01,0x02,?.
    64, 128 or 256 bytes blocks:
    000: 07 06 05 04 03 02 01 00 0F 0E 0D 0C 0B 0A 09 08
    016: 17 16 15 14 13 12 11 10 1F 1E 1D 1C 1B 1A 19 18
    032: 27 26 25 24 23 22 21 20 2F 2E 2D 2C 2B 2A 29 28
    048: 37 36 35 34 33 32 31 30 3F 3E 3D 3C 3B 3A 39 38
    064: 47 46 45 44 43 42 41 40 4F 4E 4D 4C 4B 4A 49 48
    080: 57 56 55 54 53 52 51 50 5F 5E 5D 5C 5B 5A 59 58
    096: 67 66 65 64 63 62 61 60 6F 6E 6D 6C 6B 6A 69 68
    112: 77 76 75 74 73 72 71 70 7F 7E 7D 7C 7B 7A 79 78
    512 or 1024 bytes blocks:
    000: 07 06 05 04 03 02 01 00 0F 0E 0D 0C 0B 0A 09 08
    016: 17 16 15 14 13 12 11 10 1F 1E 1D 1C 1B 1A 19 18
    032: 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F <----- ?
    048: 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F <----- ?
    064: 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F <----- ?
    080: 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F <----- ?
    096: 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F <----- ?
    112: 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F <----- ?
    Code example, how I allocate the DMA (kernel) memory:
    DDI_STRUCTURE_LE_ACC = Little Endian format
    DDI_STRUCTURE_BE_ACC = Big Endian format
    static struct ddi_device_acc_attr sse_dma_attr =
    DDI_DEVICE_ATTR_V0, /* The version number of this structure */
    DDI_STRUCTURE_LE_ACC, /* see above */
    DDI_STRICTORDER_ACC, /* How CPU will reference data, default */
    The dma definitions for allocating the DMA memory
    static ddi_dma_attr_t dmaattr= {
    DMA_ATTR_V0, /* version */
    0, /* starting address for DVMA */
    0xffffffff, /* end address for DVMA */
    0xffffffff, /* max transfer count in one cookie */
    0x1, /* address restrictive alignment, 1 = byte alignment */
    0x7, /* burst sizes */
    1, /* min number of byes */
    0x00ffffff, /* max number of bytes device can transmit/receive */
    0xffffffff, /* upper bound of the DMA engine's address */
    1,
    512,
    0, /* DDI_DMA_FORCE_PHYSICAL doesn't work */
    ddi_dma_alloc_handle()
    if((ret=ddi_dma_alloc_handle(xsp->dip,
    &dmaattr,
    DDI_DMA_SLEEP,
    NULL,
    dmahandle_out)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_dma_alloc_memory, "
    "ERROR ddi_dma_alloc_handle status = %d\n",
    ret);
    return(ret);
    if((ret=ddi_dma_mem_alloc(*dmahandle_out,
    (uint_t) size,
    dma_acc_attr,
    DDI_DMA_CONSISTENT,
    DDI_DMA_SLEEP,
    NULL,
    (caddr_t *)&raw_kern_addr,
    &real_len,
    dma_acc_handle_out)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
    "ERROR ddi_dma_mem_alloc status = %d\n",
    ret);
    ddi_dma_free_handle(dmahandle_out);
    return(ret);
    This will also init the PCI - IOMMU for
    address translation.
    if((ret=ddi_dma_addr_bind_handle(*dmahandle_out,
    NULL,
    (caddr_t)raw_kern_addr,
    real_len,
    DDI_DMA_RDWR | DDI_DMA_CONSISTENT,
    DDI_DMA_SLEEP,
    NULL,
    &dma_cookie,
    &count)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
    "ERROR ddi_dma_addr_bind_handle status = %d\n",
    ret);
    ddi_dma_mem_free(dma_acc_handle_out);
    ddi_dma_free_handle(dmahandle_out);
    return(ret);
    if((ret=ddi_dma_sync(*dmahandle_out,
    0,
    real_len,
    DDI_DMA_SYNC_FORDEV)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
    "ERROR ddi_dma_sync status = %d\n", ret);
    ddi_dma_unbind_handle(*dmahandle_out);
    ddi_dma_mem_free(dma_acc_handle_out);
    ddi_dma_free_handle(dmahandle_out);
    return(ret);

    I am having the similar problem identified in this thread.
    OS: Sun Solaris 10 01/06
    Hardware: Sun Blade 2500
    PCI Memory card.
    Problem: When driver moves more then 40 bytes via PIO from a PCI device memory card, the long words are swapped starting at 40 byte transfer size and greater.
    device memory description:
    static ddi_device_acc_attr_t sdram_access_attr =
    DDI_DEVICE_ATTR_V0, /* Boilerplate value */
    DDI_STRUCTURE_LE_ACC,
    DDI_STRICTORDER_ACC /* Don't reorder accesses */
    The user application does a read call, which goes to xxread. xxread calls physio( xxstrategy, bp, dev, B_READ, xxminphys, uio );
    In xxstrategy the transfer is done using
    ddi_mem_rep_get8(ucb->ucb_sdram_accHndl,
    (uint8_t*) kaddr,
    (uint8_t*) raddr,
    (size_t) bp->b_resid),
    (uint_t) DDI_DEV_AUTOINCR );
    PCI Device memory is loaded with incrementing address (8bit), 0,1,2... This is confirmed using a PCI Bus Analyzer.
    A read of 36 bytes or less returns:
    03 02 01 00 07 06 05 04 ...
    A read of 40 bytes returns:
    07 06 05 04 03 02 01 00 ...
    If I peek 1 byte at a time using ddi_get8(ucb->ucb_sdram_accHndl, ...) I get
    00 01 02 03 04 05 06 07
    Why are the long words swapped starting at 40 byte transfer size and greater?

Maybe you are looking for