Pmap use in solaris 10

Hi All
I did a pmap -S <pid> and in the output, I have among other things
dev: <major#>,<minor#> ino:<#> in the mapping file column
What does this mean and how do I find the device and/or the file defined by the inode number.
I would very much appreciate your help;

Hi mAbrante
Thanks for the reply. I do not know what those dev maj# and minor# are.
I am doing a find / with -inum. I find that it lists some files. Does this mean that all these are of the given inode? I will try and download lsof.
Thanks once again
With Regards

Similar Messages

  • Need guidance on using ddi_regs_map_setup solaris system call

    Hi all,
    Am a beginner in using Sun Solaris.
    I am working on porting our source code from linux to solaris.
    In Linux we are using inb/outb to read/write to keyboard data port(0x60) .
    I know that there is an equivalent system call for inb/outb in solaris. But in man page(of sun os) it is mentioned that inb/ outb are obsolete. It was mentioned that we can use ddi_get8/ddi_put8 functions respectively.
    ddi_get8 call requires ddi_acc_handle_t as a parameter which we can get it from ddi_regs_map_setup system call.
    Syntax for this call is:
    int ddi_regs_map_setup(dev_info_t *dip, uint_t rnumber,
    caddr_t *addrp, offset_t offset, offset_t len,
    ddi_device_acc_attr_t accattrp, ddi_acc_handle_t handlep);
    Please let me know where does the 0x60 port number fits in the above system call and what does these parameters rnumber, offset, len corresponds to ?

    Hi,
    The Fault_PC 0x13575e8 tells you exactly where you
    die. I assume you have used this in mdb on
    the core file to find you are dying in the ddi_get8 call?
    Are you checking return value of ddi_regs_map_setup?
    Are you sure the register you are accessing is in register set 1?
    Are there other places prior to the panic where
    the ddi_get/ddi_put routines work correctly? A bus error
    here generally means the location you are trying to access
    does not exist on the device. (It could also be alignment,
    but not with ddi_get8). The address
    looks like 1fe.02001400, which looks like a possibly
    valid address in I/O space.
    I would print the value of wc->ioaddr to make sure
    it is a valid virtual address.
    Hi,
    I'm in the middle of porting a device driver for a
    PCI card from linux to solaris (it's wcfxo from
    zaptel - part of asterisk).
    >
    WARNING: [AFT1] Bus Error on System Bus in privileged
    mode from CPU0 Data access at TL=0, errID
    0x0000000b.985ccf88
    AFSR 0x00000000.84000000<PRIV,BERR> AFAR
    AFAR 0x000001fe.02001400
    AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00
    0x00 Fault_PC 0x13575e8
    UDBH 0x0000 UDBH.ESYND 0x00 UDBL 0x0000
    0000 UDBL.ESYND 0x00
    panic[cpu0]/thread=2a10007dd40: [AFT1] errID
    0x0000000b.985ccf88 BERR Error(s)
    See previous message(s) for detailsThe actual code which seems to cause the panic is:
    #define inb(a)          ddi_get8(wc->devhandle, a)
    ints = inb(wc->ioaddr + WC_INTSTAT);where there initialisation includes:
    static struct ddi_device_acc_attr dev_attr = {
    DDI_DEVICE_ATTR_V0,
    DDI_STRUCTURE_LE_ACC,
    DDI_STRICTORDER_ACC
    ddi_regs_map_setup(wc->dip, 1, &wc->ioaddr, 0, 255,
    &dev_attr,
    &dev_attr, &wc->devhandle);I've tested the same card in a linux x86 box, and it
    works fine, so I'm happy it's not a hardware
    problem.
    Any suggestions on what might be causing this?
    Thanks,
    Simon

  • Upgrade agent using agentDownload.solaris -u

    Hello,
    Has anyone being able to upgrade the OEM agent from version 10.2.0.1.0 to 10.2.0.2.0
    using agentDownload.solaris script and the -u option?
    OMS version is 10.2.0.1.0
    The command I ran was
    ./agentDownload.solaris -b $AGENT_HOME -o $OLD_AGENT_HOME -u
    ./agentDownload.solaris -b /opt/oracle/10Agent -o /opt/oracle/10Agent -u
    Then it fails at
    Initializing Java Virtual Machine from /tmp/OraInstall2007-05-28_09-47-38PM/jre/1.4.2/bin/java. Please wait...
    Completed with Status=255
    I have used the agentDownload script to install 10.2.0.1.0 in the past.

    You need to apply the 10202 agent patch on 10202 agent oh
    -u option use if u want to upgrade 10.1.0.X-->10.2.0.X

  • Re: Oracle Solaris Cluster 3.3 using Oracle Solaris 09/10 on virtualbox

    Dear All,
    I am trying to build a solaris cluster 3.3 on virtualbox using Oracle Solaris 09/10. My host OS is Ubuntu 10.10. But, when i try to add the second node, it is not able to find the node1 says "unable to connect to node1". Can anyone help me build this cluster.
    my laptop is hp probook 4420s and has i3 processor and 2gb ram, wherein i have assigned 750mb ram to both Oracle Solaris 09/10 OS. Moreover, the first node is successfully attached. Both the virtual machines can ssh succesfully and link based ipmp is setup on both the virtual machines. Please help me regarding this as i am new to clustering.

    As Nik said, this could be a problem with the setup of the private interconnects. This could also be caused by the fact that the necessary ports on the nodes are closed - due to secure by default.
    There is an old blog entry on blogs.sun.com by Thorsten Frueauf that explains how to open the ports and/or start the necessary services. I think it is also documented now as part of the normal installation manuals.

  • How to know last command used in solaris

    Dear Friends,
    We have a Solaris 8 server. Someone changed ownership of files. Is there any way to find out who logged in the server & changed ownership ? ?
    last command is not giving much information . Since /var/adm/lastlog is in binary format I am not able to read it's contents.
    Requesting to help me out.
    Regards,
    Tejas J Raval

    You can also check the history of a particular user. By instance, if it use bash, check this file :
    ~/.bash_historyand check his :
    ~/bash_loginand :
    ~/.bashrcbecause he has perhaps some special feature, like to set his history in an other file by instance.

  • How to STARTUP multiple Oracle Databases, using sqlplus (SOLARIS)

    Hi guys,
    I am pretty new at solaris and oracle, right now i have oracle 11gr2 installed in my Solaris 10 machine.
    I managed to create 2 databases with 2 different ORACLE_SID, (e.g. A & B)
    my question is, is it possible to have both of this Databases mounted and opened??
    here is the step i have done so far:
    - go to /ORACLE_HOME/bin
    - I started my one and only LISTENER - ./lsnrctl start LISTENER
    - ORACLE_SID=A
    - ./sqlplus / as sysdba
    - SQL>STARTUP
    Everything went well, until i set another ORACLE_SID (in another terminal) to ORACLE_SID=B, and when i tried to start it up using SQLPLUS, i get this "Segmentation Fault - core dumped".
    It seems like i start the 2nd database wrongly, is there proper way to do this?
    i need the 2 databases (SID A & SID B) to be running concurrently.
    thanks

    Hi guys,
    I am pretty new at solaris and oracle, right now i have oracle 11gr2 installed in my Solaris 10 machine.
    I managed to create 2 databases with 2 different ORACLE_SID, (e.g. A & B)
    my question is, is it possible to have both of this Databases mounted and opened??
    here is the step i have done so far:
    - go to /ORACLE_HOME/bin
    - I started my one and only LISTENER - ./lsnrctl start LISTENER
    - ORACLE_SID=A
    - ./sqlplus / as sysdba
    - SQL>STARTUP
    Everything went well, until i set another ORACLE_SID (in another terminal) to ORACLE_SID=B, and when i tried to start it up using SQLPLUS, i get this "Segmentation Fault - core dumped".
    It seems like i start the 2nd database wrongly, is there proper way to do this?
    i need the 2 databases (SID A & SID B) to be running concurrently.
    thanks

  • Deal-breakers for real use of Solaris 11 Express

    I run Solaris 10 U9 for my home 12TB NAS box - based on Supermicro H8SSL-i2 motherboard (ServerWorks HT1000 Chipset and Dual-port Broadcom BCM5704C) and their 8-port SATA2 PCI-X card (AOC-SAT2-MV8). It's a great (but aging) platform and a rock solid OS with the unbeatable ZFS volume manager/filesystem.
    However, despite my willingness to run Solaris 11 Express in this role, I can't because of these deal-breakers:
    1) Lack of a full-featured installer that allows me to lay out or preserve existing partitions the way I want. Making /var a separate file system is a must. Ideally, I'd be able to run multiple versions of Solaris on the same box by customizing grub, and use my ZPOOLs on either Solaris 10 or 11 Express while I learn the new OS.
    2) Lack of support for the Broadcom BCM5704C dual-port gigabit NIC (and others), which work wonderfully under Solaris 10, but are badly broken under Solaris 11 Express. I know I could disable the on-board Broadcom NICs and go buy an Intel card - but why the need for this? Won't there be a fix for Broadcom NICs?
    3) Lack of support for modern, generic, server-class motherboards and PCI-e multi-port SATA/SAS cards. I wonder about the future for Solaris without support for modern, affordable x64 server hardware.
    Maybe I'm missing the point and Solaris 11 Express is only intended to be run as a virtual machine under VBox or VMware. But it would sure be nice to be able to run it on my real hardware - even if it is just a small hobbyist rig. Any suggestions?
    Regards,
    Mike

    In Solaris 11, you get a separate /var by default. If you update from Solaris 11 Express to Solaris 11, this transition doesn't happen automatically. If you decide to tackle it on your own, you need to be sure that it is done in a way that beadm, pkg, and other consumers of libbe will handle properly. I would recommend something along the lines of the following. This is untested and may break your system - prove it out somewhere unimportant first.
    Do the work in a new boot environment so you reduce the likelihood that you will break things in an unrecoverable way.
    # beadm create sepvar
    # beadm mount sepvar /mntFigure out the name of the root dataset of the new boot environment, then create a var dataset as a child of that.
    # rootds=$(zfs list -H -o name /mnt)
    # zfs create -o mountpoint=/var -o canmount=noauto $rootds/varMount this new /var and migrate data
    # mkdir /tmp/newvar
    # zfs mount -o mountpoint=/tmp/newvar $rootds/var
    # cd /mnt/var
    # mv $(ls -A) /tmp/newvarUnmount, remount
    # umount /tmp/newvar
    # beadm unmount sepvar
    # beadm mount sepvar /mntAt this point /mnt/var should be a separate dataset than /mnt. The contents of /mnt/var should look just like the contents of /var, aside from transient data that has changed while you were doing this. Assuming that is the case, you should be ready to activate and boot the new boot environment.
    # beadm activate sepvar
    # beadm unmount sepvar
    # init 6

  • Net-SNMP 5.0.9 used in Solaris 10 sma

    We are using AgentX protocol in an application sub-agent
    According to Net-SNMP change log, AgentX protocol support was experimental up to release 5.0.7 but going to the following link:
    http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/demon/index.html
    "The AgentX support in net-snmp versions prior to 5.1 is beta level quality. Although many people have used it successfully, we strongly recommend AgentX sub-agent developers use 5.1.2 or higher."
    Why is the Net-SNMP version so low in the Solaris 10 sma build? Cureent version is 5.3.0.1

    Hello.
    I would also like to know how to upgrade the version of net-snmp that the System Management Agent uses so that I can monitor servers with more than one CPU.
    Any guidance much appreciated.
    Thanks

  • Alter number of CPU's used by Solaris

    Regarding a performance test being done on some databases running on Solaris 10, I'd like to alter the number of CPUs being used by the system. Currently there is 4 CPUs available and all are used, but I'd like that only 2 of them are to be used. (Physically removing the CPUs is not an option:))
    Is this possible, and if so: how?
    Thanks in advance :)

    You can offline 2 of the 4 CPUs.
    Check out psradm(1M).
    Hope this helps.

  • Using Intel Solaris 8 with 2 monitors

    We are developping an application under Solaris 8 Intel that will use 2 monitors. We have learn that Matrox and Colorgraphics provide twin head boards that, when driven by a XiGraphics driver, will manage the 2 monitors.
    Did anyone have this experience? How did it work out? Any suggestion?
    Thanks for the help!

    I have those setting and I still don't know how to have the video playback in one PC display and the look controls in another.
    I can move the entire Sg program to either monitor fine, but when I unlock, say the waveform monitor, it is not visible when I drag it into the other monitor.
    I have dual HD HDMI PC monitors: 1920 x 1080
    My settings:
    Dual Display Output: Enable
    Widow size
    Left: 1920
    Top: 0
    Width: 1920
    Height: 1080

  • To run OHS at port 80 using solaris role based access control

    Hi.
    I already know & have done setuid root to ohs/bin/.apachectl to allow ohs to listen to port 80. Now on a new OFM 11.1.1.4 install, I want to use Solaris Role Based Access Control (RBAC) instead. Is it possible? RBAC does work as I can run a home built apache2 httpd at port 80 withOUT suid root.
    On Solaris 10, I enabled oracle uid to run process below port 1024 using RBAC
    /etc/user_attr:
    oracle::::type=normal;defaultpriv=basic,net_privaddr
    Change OHS httpd.conf Listen from port 8888 to port 80.
    However, opmnctl startproc process-type=OHS
    failed as below with nothing showing in the diag logs:
    opmnctl startproc: starting opmn managed processes...
    ================================================================================
    opmn id=truffle:6701
    0 of 1 processes started.
    ias-instance id=asinst_1
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    ohs1/OHS/OHS/
    Error
    --> Process (index=1,uid=187636255,pid=25563)
    failed to start a managed process after the maximum retry limit
    Thx,
    Ken

    Just to add my two cents here.
    The commando used on Solaris to assign the right privilege to bind TCP ports < 1024 is:
    # usermod -K defaultpriv=basic,*net_privaddr* <your_user_name>
    Restart the opmnctl daemond.
    After that OHS/Apache user can bind to lower TCP ports.
    Regards.
    Edited by: Tuelho on Oct 9, 2012 6:05 AM

  • Setup Cluster using Solaris Container data service

    We have a two-node cluster that we would like to use to create either a zone cluster or use the Solaris Container data service that would create a scalable (or multiple master) data service of two zones, one on each node. We have an app running in the zone, CiscoWorks, that has a local database of jobs that are scheduled to run to configure Cisco switches. I was curious how we setup the storage. If each zone is running on local disks, how do the zones stay in sync and the database updated with job information? Would I setup a device group of the disks where the zones will reside on each node? Can I use SAN as the local disk so the zones can be replicated to a Disaster Recovery location?
    Thanks for any help,
    Chuck

    Chuck,
    Sadly, I think I'm going to make your implementation decisions a lot more complicated because there are three ways you can use zones within Solaris Cluster.
    1. Create a failover zone using the HA Solaris Container Data Service. Here the zone root moves between the cluster nodes as the zone fails over.
    2. Create static zones between with resource groups can migrate. Each zone root is local the the physical node. However, the configuration of the zones can be subtly different.
    3. Create a virtual cluster using static zones within which resource groups can migrate. Each zone root is local the the physical node. However, the configuration of the zones are forced to be the same.
    Note also, that a ZFS zpool can only be mounted on one node or zone at anyone time, although it can be mounted read/write in one zone and read-only in other zones on the same node (IIRC).
    I would be inclined to put your database into an HA configuration, i.e. one that runs on one node at any one time. I would then constrain that in a zone cluster that is bound to a project with restricted resources, i.e. CPUs and memory. Any other tiers of the application, could then be placed either in the global zone (main cluster) or placed in another zone cluster and equally constrained.
    I don't know if that's any help. I can recommend a good book on the subject <shameless plug "Oracle Solaris Cluster Essentials"/>. The example chapters should be of help.
    Regards,
    Tim
    ---

  • Using Solaris 8 drivers under Solaris 10?

    I have a Mylex AcceleRAID 352 SCSI RAID controller card I would like to use under Solaris 10/11. It has drivers for Solaris 8 and is reported to work unofficially under Solaris 9.
    What are the chances this will function reliably under Solaris 10/11? Has the driver format changed appreciably? Can anyone comment on using older drivers in newer versions of Solaris?
    Many thanks for any advice, comments, or tips.
    Regards,
    Andrew

    <i>should I try the big monitor with the 13w3 connector</i>
    Yes, this is the primary output.
    Attach the monitor to the 13W3 output and change the <b>output-device</b> to the integrated video.
    Michael

  • Error compiling certain uses of std::tuple in Solaris Studio 12.4 beta July refresh

    Whilst attempting to compile Boost 1.54 using the Solaris Studio 12.4 beta July refresh with -std=c++11 I get an error building libs/regex/src/cregex.cpp that looks like it might be due to a problem with the compiler.  (clang++ on Mac OS X and g++ on Linux can certainly build the same file without problems - I can post more details about them if you think this is a problem in the Boost code rather than the compiler.)
    The error from Solaris Studio is:
    Error: Could not find a match for std::_Tuple_impl<0, int&&>::_Tuple_impl(std::tuple<int&&>, int) needed in std::tuple<int&&>::tuple<int, void>(int&&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: While instantiating "std::tuple<int&&>::tuple<int, void>(int&&)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: Instantiated from std::forward_as_tuple<int>(int&&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 485:     Where: Instantiated from non-template code.
    1 Error(s) detected.
    To reproduce this you can download the pre-processed source code from http://pastebin.com/jtsx1k79 and paste it into a file called cregex.pre.cpp.  Then run:
    CC -std=c++11 -mt -m64 -c -o cregex.o cregex.pre.cpp
    to get the error I saw.
    In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

    This looks very much like a recent bug with std::map introduced with the change to g++ 4.8 headers in July Beta:
      19159587 C++11: errors on a simple <map> usage
    It has been reported on forums - +d flag can cause C++ compilation failure in 12.4 beta refresh
    This bug will be fixed in a final release.
    Unfortunately there is no workaround for this problem.
    regards,
      Fedor.

  • Is it possible to use CC 5.7 to compile for Solaris 6/7 platforms?

    Hello,
    we are currently upgrading to the new CC 5.7 from CC5.2 (Forte Update 1). One advantage we notice is the new, simplified licensing scheme, and hence the possibility to get rid of the license server installations. However, we still have to support our product on Solaris 7 (and possibly, though unlikely, Solaris 6).
    Because CC 5.7 only installs on Solaris 8, the question is whether it would be possible to cross-compile for those older platforms (e.g. via -xarch). (And use our Solaris 7 installations only for testing, not compile-purposes anymore.)
    Your help is greatly appreciated!
    Many thanks,
    Andreas

    Programs built on Solaris 8 usually will not run on Solaris 2.6 or 7, no matter what compiler you use. Sun Studio 9 (C++ 5.7) supports only Solaris 8, 9, and 10.
    You need to build your applications on the lowest version of Solaris that they are intended to be run on. Maybe you could build on Solaris 7 using FD6u1, and again on Solaris 8 using Studio 10 for customers using Solaris 8 and later.

Maybe you are looking for

  • Bug Report: #SQLERRM_TEXT# in Process Error Message

    According to the Online Help for "Process Error Message" #SQLERRM_TEXT# should be replaced by "Text of error message without the error number". But it isn't. Patrick My APEX Blog: http://inside-apex.blogspot.com The ApexLib Framework: http://apexlib.

  • Does iCloud save my data more than once when i back it up?

    I only have about 75 contacts and 165 pictures, which is the only thing I have on iCloud and the only thing I want to have saved. My iCloud keeps telling me that my storage is full but theres barley anything in it? It's a 5GB but still it shouldn't b

  • Certificate error on only one of two identical systems?

    I recently installed two COMPLETELY identical Ubuntu 12.04 systems, PC01 and PC02. The browser is latest version of Mozilla Firefox. When visiting https://www.komplett.dk/k/signin.aspx with PC01, the connection is secure and everything is OK, no erro

  • PDF Action configuration window is not opening

    Hi , I am working on xMII 12.0.In the Logic editor PDF Action blocks when i click on configuration , window is not opening.But the Link editor is opening.It is only for PDF action blocks.can any one tell me the solution for this. Thanks&Regards Guru.

  • PPC to Intel 10.5 migration

    So, I have a G4 running 10.5 server. I want to move it to a intel machine. What is the best way to migrate at 10.5 > 10.5 server, but going from PPC to Intel. Thanks,Scott