How to ccess other driver's kstat in kernel.

I am writing a kernel driver, which will be installed on top of a NIC driver. I am trying to access the NIC's kstat structure (or values) from my driver. I can't use functions kstat_lookup() and kstat_data_lookup(). They are for user applications.
I don't know how. I need help from your expertise to resolve this
Thank you very much in advance,
-Richard-

Hi there,
I don't know if this works - I haven't tried it yet - but have you tried talking to the the kstat driver from yours using the layered driver interface in s10 and issuing KSTAT_IOC_READ ioctls to it? See ldi_open_by_name. for a discussion about layered drivers.
Regards,
Ralph

Similar Messages

  • How to change default installation directory sapinst_instdir TO other drive

    Hi,
    I am installing ECC 6.0 and have enough space in my disk for data files.
    I have alloted 20GB in C: drive which also comprise of Operating System.sapinst_ instdir directory grows more than 10GB and due to lack of space installation fails. How can i change th default sapinst_instdir directiory from C drive to other drive. can i use any software to change partition? ( with OS windows server 2003)
    I have also encountered an error at import phase of first job and after changing *.TSK file the installation proceeds. will this cause any serious problem.
    regards,
    Anand

    Hello,
    I understand from ur post is u want to create the instalaltion logs on another directory instaed of C:\ drive....if so u can follow the procedure as describe below..
    create temp directory in any other drive called D:\ drive...
    go in to that temp drive.....
    and fire the executable from that temp directory.....if u r executable in e:\ drive then....
    d:\temp>e:\installer\insatall.exe
    the above command creates all logs one by one in temp dorectory of D:\ drive instaed of c:\ drive..
    Thanks

  • How to install apple mobile device support in other drives other than C drive, how to install apple mobile device support in other drives other than C drive

    how to install apple mobile device support in other drives other than C drive, how to install apple mobile device support in other drives other than C drive
    as my C drive is full ...

    Move some of the "crap" off the C drive.  Programs only install to the default OS drive.
    Or upgrade the computer to a larger hard drive.

  • How to install PC companion on other drive?? (My SSD on C: only have 5gb)

    Im using PC companion for Xperia ZL.
    How to install PC companion on other drive??  (My SSD on C: only have 5gb)
    PC companion v2.1 dont ask to install the soft on a drive! lol!
    Its standard any application setup, in the world, offer you a path or drive to choose to install.  Why Sony not add this in the setup?

    Not true - If a program needs to download files to perform certain tasks then it will only install to the C: drive so as in this case when you perform system updates or system repairs the firmware files are downloaded to the root ie: C: drive
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • How can i save the Visual script in other drive

    Hello
    I'm new in this Forum and i'm just started working on Oracle functional tool.
    In Oracle functional tool , i can't save the visual script in the different path ...
    For example:
    I have installed this suite in drive C: and all the scripts are saved with in it..But i want to save the script in other drive whereas E: drive ...........
    How can i do.....
    Regards
    Deepika

    hi
    you can store the scripts in one of the workspace available in OATS.
    you wont get a chance to create the work space in other drive then in which OATS is installed.
    but if you need to make a back up of scripts then simply copy and paste it wherever you want them,and whenever you need to run the script then copy it and paste to one of the workspace of OATS.
    hope will help you
    regards
    Umesh
    Edited by: USoni on May 15, 2009 3:41 AM

  • How to shift datafiles to other drive from installation drive.

    Hi,
    how can i shift my datafiles to other drive like d: , they have become very big.
    and i also want to take backup on other dirve like d:
    and oracle is installed on c:
    or provide me specific link where complet thinig is give.
    yours sincerly
    Edited by: 944768 on Dec 29, 2012 12:24 AM

    oracle 11g xe , windows 2008 server.
    in link the procedure is based on linux , if posible send me windows procedure.
    yours sincerely
    Edited by: 944768 on Dec 29, 2012 9:00 PM

  • How do I install driver for hp psc 2400 all in one series AND safe wsnmp32.dl​l Without a Disk?

    How do I install driver(s) for hp psc 2400 all in one series ( WIndows 7 laptop)   AND a safe version of wsnmp32.dll -- Without a Disk?    A tech took the driver off my laptop and I now have no printer/scanner.  Help!!
    Much thanks!

    Hello,
    I see that you're having an issue installing the software. I would suggest following this document, which will guide you through several steps on how to resolve the issue.

  • TM backup: can I use two drives to back up data on two other drives?

    Hi to all!
    I have with me a 1 TB/ Thunderbolt EHD [external hard drive], a Lacie 2 TB/FW, EHD, a Seagate 2 TB/ 2 USB, EHD, a Seagate 3 TB/ 2 USB, EHD and [to be purchased] a Seagate 2 TB/ 2 USB, EHD.
    I mainly use my Mac for making HD videos using FCPX.
    I am planning to use these drives in the following manner as indicated by the table below:
    Drive:
    a
    1 TB,
    Thunderbolt,
    Buffalo
    b
    2 TB/ FW
    LaCie
    c
    2 TB/ 2 usb
    Seagate
    d
    3 TB/ 2 usb
    Seagate
    e
    2 TB/ 2 usb
    Seagate backup
    [to be purchased]
    f
    500 GB, internal
    Macintosh HD
    Partitions
    1
    1
    1
    2
    1
    USAGE:
    editing videos, one
    active project at a time
    mainly for camera
    archives, music files,
    FCP events, projects
    and exported movies
    same as the LaCie,
    as a backup of data
    intend to have 2
    partitions of 1.5 TB each;
    one partition for personal
    data and the other partition
    to back up data on the
    Thunderbolt [current project]
    intend to use this for
    TM back up of my
    Mac's internal HD
    applications, documents etc.
    backed up by:
    one partition of 'd'
    by the 2 TB Seagate
    backup 'e'
    I would like to know whether I could do these things:
    Can I use the TM backup feature in this manner of using 2 separate drive/partition [e/d] to back up data on 2 other drives [f and a]?
    Further, I am manually copying files from 'b' drive to 'c' drive; without incurring further expense, can I ensure that whatever I write onto the LaCie [b] gets copied to the 'c' drive automatically?
    Any thoughts, suggestions and instructions in these matters are welcome.

    EXT. DRIVES:
    a
    1 TB
    Thunderbolt
    b
    2 TB/FW
    [LaCie]
    c
    2 TB/ USB
    [Seagate]
    d
    3 TB/USB
    [Seagate]
    e
    2 TB/USB
    [Seagate]
    USAGE:
    scratch disk
    [planning to have
    only one active
    project at a time]
    camera footage
    FCPX events, projects
    and completed movies
    Same as the LaCie,
    as it's backup
    To be used as TM
    backup for my Mac's
    internal and also to
    the scratch disk.
    Planning to have it in
    2 partitions: to have
    a 'secondary' copy of
    my Mac's IHD on one
    partition and to have
    personal 'net retrievable'
    data on the other partition.
    'MY
    OBSERVATIONS'
    my projects are usually
    less than 10 minutes
    and hence I trust that
    work would be fast and in
    case of drive failure, I
    would be losing only
    one project.
    I am importing camera footage
    primarily into this drive and
    being FW, data transfer is
    fast.
    Am manually copying
    files from the LaCie
    onto this.
    This drive is not a
    brand new one, but
    has been given to me
    by the company's
    agent as a replacement
    to my earlier 2 TB drive
    which had failed.Hope
    this also will not fail!
    Because of the 'uncertain'
    performance of the
    3 TB Seagate, I intend
    to have a copy of my
    Mac's IHD in one
    partition. I intend to place only
    such data upon the other
    partition that I will not be
    greatly affected should the
    drive fail.
    If you can analyse this plan and give your insight upon this matter, I will be immensely happy.
    Further, if this proposed use of the 3 TB Seagate is okay with you, I need to know how to remove the Thunderbolt from doing it's temporary role of TM backup and how to coronate the 3TB Seagate as its successor.
    FYI, I would be switching off TM from functioning whenever I am editing video; I would be switching it on only after a full editing session.
    Another question on my mind is this: do I need to partition the drive 'e' at all?
    Message was edited by: somanna

  • I was in a car collision and need proof of my location when I called 911. The Police Dept., refused to respond, since there were no injuries.   Now, I have a dispute with the other driver who is falsely stating accident happened at another intersection. I

    I was in a car collision and need proof of my location when I called 911. The Police Dept., refused to respond, since there were no injuries.
    Now, I have a dispute with the other driver who is falsely stating accident happened at another intersection. In addition of calling 911 twice, I also took pictures of damages. Unfortunately, I did not take pictures of the intersection signs.
    My AT&T carrier states that this info. can only be disclosed by a subpoena. My insurance carrier states that they will not subpoena this info., since it is a civil case only.
    The Police Department does not keep records of calls they do not attend to.
    How can I get this location  info. from my i phone device if at all possible?
    Thanks,
    Pecosa
    iPhone 4, iOS 6.0.1

    Johnathan Burger,
    I did take photos of the damages to car and license plates, but NOT the intersection signs.
    How do I get the GPS Data in the exit data of photos? Please advise.
    Thanks,
    Message was edited by: Pecosa
    Message was edited by: Pecosa

  • How come my hard drive is not showing up on the desktop?

    How come my hard drive is not showing up on the desktop?

    Those are preferences you speify from INSIDE The Finder:
    Finder > Preferences:

  • How to find the driver preogram of a smart form.

    Hi experts,
    I am developing a smart form for RFQ. There is a standard smartform that SAP has provided for this. But the problem is i dont know how to find the driver program of this smart form. The name of the smart form is /SMB40/MMRFQ_L.  it will be of great help if u can reply quickly. Thanks in advance.
    regards,
    venkat.

    1. Go to nace
    2. select application as EA
    3. click output type button and select output type as NEU
    4. double click on processing routines
    5. Application  - EA
        Output Types - NEU (RFQ)
      <b>  Smart Form Program  - /SMB40/FM06P</b>
        Smart Form               - /SMB40/MMRFQ_L
                                          /SMB40/MMRFQ_A
    if u want to directly see without going to nace
    1. in se11 give <b>view</b> name as <b>VN_TNAPR</b>
    2. execute it
    3. it will ask for o/p type and application give it
    4. then u can directly go to nace "display view processing routines" screen

  • Boot off Other Drives Problem

    Well I spent some time Playing with this today on my MacPro - and here are the observations I've come up with.
    Macintosh HD
    - Has OS X 10.6.3
    - "Powers Up / Boots" - AND "Restarts" fine.
    When System Preferences has this (above) drive selected, the computer Hard Powers, Boots, and restarts normally, and operates as it should.
    Macintosh HD 2
    - Has OS X 10.6.3
    When this drive is selected in the System Preferences, and you attempt to "Hard Power" the computer (From being Shut down), the Screen is just solid Grey. No Apple, No Spinning sprocket, Just Grey. It will remain like this, for as long as 10 to 15 minutes, but it will eventually boot.
    Hard powering, with this drive selected as the Startup volume, does NOT go into Verbose mode (At least for 4 minutes of holding Cmd+V - I'm NOT sitting here holding it for 15 minutes)
    Hard Powering, with this drive selected as the Startup volume, while holding Option, WILL immediately present the Startup Volume Choices, you can select it, and start up off this volume right away.
    Once booted into this Volume, everything operates as it should, the computer even WILL "Restart" with this volume continued to be selected, but if you ever "Shut down", you HAVE to hold Option, to get the Startup Selection, and select it, to startup, otherwise you're back to "Grey Matter"
    Troubleshooting
    - Both Drives are Same Manufacturer SATA drives in Bays 1 & 2
    - No Master / Slave pins present in either (Both shipped with the Computer)
    - Both Partition Schemes are GUID
    - Macintosh HD 2 (Problem Drive) has been reFormatted, with a Fresh install of OS X 10.6 and Updated with the 10.6.3 COMBO Updater
    - Macintosh HD 2 (Problem Drive) has been scanned, verified, permission repaired
    Further Testing
    - This occurs WITHOUT the presence of anything connected to the computer other then a display.
    - Added 3rd Drive. Partitioned GUID, Installed 10.6 - and this drive "Macintosh HD3" behaves the SAME way as Macintosh HD2 - this Syetem will ONLY "Had Power from Off", from "Macintosh HD" - BOTH other system drives, will result in this Grey Screen for 10 minutes, before booting.
    Further Troubleshooting
    - Reset SMU / NVRAM
    - Replaced RAM (16GB of replacement Ram with the original 4GB of Apple Ram that came with Machine)
    - As noted, Added a 3rd drive to the system, yielding same results of 2nd drive.
    I wish I COULD get this into Verbose mode, from a Hard Power Up, with one of these other drives selected, see what it's pausing on. Someone asked me if it's happening without the Digidesign Cards in the computer (The only outside Hardware), it doesn't "Seem related", and I really don't want to pull the HD3 out of it, until I've tried everything else.
    I remember this exact "Grey Screen Problem" happening in about 2005 or 2006 on my G5 HD2 PCIx System. We had it Dual boot, and all the engineers knew that when you "Powered up" this unit, you had to hold Option if you didn't want to wait 15 minutes. And thats how we powered up that system for years (They still do, it's still in operation)
    Summary
    I can hook up ANY OS installed Drive, and "RESTART" the computer off it - but can't "Power the system up from it", without holding Option down, for All Internal, and External Bootable drives, EXCLUDING my original System Drive, "Macintosh HD" - which will "Power Up" and immediately Boot the system, when it is selected.
    Any other ideas ?
    System... Harpertown 8 Core 2.8Ghz Machine
    Hardware Overview:
    Model Name: Mac Pro
    Model Identifier: MacPro3,1
    Processor Name: Quad-Core Intel Xeon
    Processor Speed: 2.8 GHz
    Number Of Processors: 2
    Total Number Of Cores: 8
    L2 Cache (per processor): 12 MB
    Memory: 14 GB
    Bus Speed: 1.6 GHz
    Boot ROM Version: MP31.006C.B05
    SMC Version (system): 1.25f4
    Serial Number (system):
    Hardware UUID: 6EED8ADD-7044-5DF8-B577-9B4AC4F9E955
    Message was edited by: *KingFish*

    Hey Kappy, thanks so much for your reply and ideas. Sadly this goes beyond "Just the 2 Drives", this computer behaves this way, with ANY other device set to Startup Volume in System Preferences, including FW, USB drives with OS X installations, other Intel Mac's in Target Disk Mode, or Installation CD's - which will ALL boot, and run THIS mac, selecting them in "Option Boot" - but not "POWER UP BOOT", when selected in System Preferences, in OS X. All of these other Volumes, devices and CD's will power up / Boot several OTHER Mac's with no problem - this problem seems to be isolated to this computer.
    As far as your ideas about these 2 drives exclusively go...
    *Re: 1.* When I decided to try a 3rd drive *in the system* as noted above in my troubleshooting, I not only selected a different manufacturer (Seagate), but I "Double checked" my Partitioning work / Formatting, making ABSOLUTE certain, to partition the drive GUID and format it Journaled / Extended. All drives are reporting identical "Status" in all of these departments in Disk Utility.
    *Re: 2.* The OS X Installer not only completed Successfully from the Retail OS X DVD, the COMBO 10.6.3 Update from Apple's Site ran successfully, the Disk with the installation Verifies, in Disk Utility, Permissions report "Repaired", the system "Restarts and Runs" flawlessly off this partition, simply will not "Start / Power Up" from this volume without the 10 minute "Grey Screen Wait" that I mention in the post.
    *Re: 3.* This was not cloned, it is a fresh Partition, Format, Instal & Update
    *Re: 4.* There are now 2 different drives, from 2 diff mfg's, one Brand new out of the box, exhibiting the same behavior as a completely different drive / installation of OS X - leading me to suspect that this is a "System ISsue"
    *Re: 5.* One Drive is a new Seagate, other drive is the WD that shipped w/ the Mac, reporting, reading, testing and verifying fine. - Oddly enough, the only drive NOT displaying this behavior, when selected as the Startup Disk, is a Western Digital.
    *Re: OP*
    Perhaps a clue, is my mention that this machine will exhibit this "10 minute Grey Screen", attempting to "Power up" from ANY OTHER volume, including FW and USB drives with OS X Installations, OS X Installation DVD's - when Selected in the System Preferences, as the Startup Volume, the computer is "Shut Down" - then "Powered up from Cold"
    All of these OS's will run, and operate, even "Restart" just fine, once they are selected by Holding Option, and selecting them.
    To repeat... when ANY of these OTHER volumes are specified in the System Preferences as the startup Volume, I can NOT get into Verbose mode, only 2 options
    1. Grey Screen for 10 minutes
    2. Hold Option and get a list of bootable devices.
    Message was edited by: *KingFish*

  • How Big a Backup Drive is Needed for a 500 GB Internal drive?

    I just bought a MacBook Pro (15 inch, mid 2012) with a stock 500 GB internal hard drive. I want to buy a USB 3.0 external drive for a Time Machine backup drive.
    Bearing in mind that I don't keep photos or any significant quantities of big visual media (movies, etc.) on my Macs, it will take several years to even fill my internal drive halfway.
    How large an external drive do I need for a backup? One vendor has suggested 1 TB, but I wanted to check with the community before purchasing.

    See Time Machine - Frequently Asked Question #1.
    You also might want to review the Time Machine Tutorial, and perhaps browse the rest of the FAQs.

  • How do I find how large my Hard Drive is? Please help!

    Recently been getting messages saying that my startup disk is full. And I'm thinking about getting a Time Capsule. But the thing is, I can't find out how big my hard drive is. I clicked the apple, then About this mac, and I could only find "Memory", which was only 1 GB. I know that can't be it, because my iTunes is over 90 GB. But I can't find the hard drive. Either I'm blind, or it's not there.
    Please help
    Thanks

    Click more info in the about this mac pop up. Then under Serial-ATA. This will give you the size.
    You can also click on your drive in finder and choose Get Info. This will also let you see the size.

  • Folders that I copy from my Macbook to my External Hard Disk does NOT appear on any other drive that I connect the Hard disk to (TV, PC, ... etc.)

    I'm facing a bit of a problem.
    Any folder I copy from my Macbook Pro to my External Hard Disk does NOT appear on any other device that I connect the Hard Disk to (TV, PC, etc).
    The Hard disk format is "MS-DOS (FAT)".
    The folders that are copied from Macbook appear when I connect the Hard Disk to my Macbook only, yet, the folders that I copy from a PC to the Hard Disk appear on Macbook, PC, and TV and are also available from editing from both Mac and PC.
    I was advised to install "Paragon" software and I did but I'm not sure how to use it to convert the folders on the hard drive to any format that can be read on other drives or devices (NTFS or otherwise).
    I'd appreciate some help. Thank you.

    Hi Simon.  How is it formatted, FAT or NTFS? 
    I only ask as OSX will only read NTFS partitions unless you install an App such as Paragon NTFS or Tuxera NTFS.

Maybe you are looking for

  • My plugins advise that Adobe Acrobat needs to be updated; however, when I try to update, I receive a message saying "already installed."

    I do not know what version I have, nor do I know how to find out. I do not understand any of the technical language used in the solutions already given for this problem. I try to update but it won't let me! I do restart Firefox but the red UPDATE NOW

  • 3310 JBOD Installation on V880

    Hi Everyone, hoping someone can shed some light on my situation here. I'm trying to setup a SA3310 Array as a JBOD on a SunFire V880. - i have installed the Ultra3 SCSI LVD card and installed the patch that came on the CD-ROM with the card. - i have

  • Call procedure with MS SQL from linked Oracle server

    I have a procedure on a remote server that I can call from SQL*PLUS set serveroutput on declare rez varchar2(99); msg varchar2(99); begin radar.test('AL25',rez,msg); dbms_output.put_line('Rez='||rez); dbms_output.put_line('Msg='||msg); end; it gives

  • Using weblogic.Admin utility with Weblogic 10.0

    I am trying to write a script which perform PING server to ensure weblogic servers are up before moving on to start another server (the script starts all managed and admin servers), i used to be able to PING server on weblogic 8.1 using weblogic.Admi

  • PA30 Create for Residence Status Infotype 0048

    Residence Status Infotype 0048 Using TCode PA30, I have entered infotype 0048 and clicked on create. I am unable to use the Create Icon without entering the Subtype. I am getting this message 'Residence Status (0048)' not permitted Message no. PG628