About kernel property for disk drv

hi all:
i try to understand the dirvers for the harddisk,but i can't find these three property's position,they are:
"queue", "flow_control" and "disk". they are referenced in the file cmdk.c, be invoked by the attach.
but these three property name can't be found in cmdk.conf . that's why? and where are they stored ?
thank you.
the code is:
cmdk_create_obj(dev_info_t devi, struct cmdk dkp)
     struct scsi_device *devp;
     opaque_t     queobjp = NULL;
     opaque_t     flcobjp = NULL;
     char          que_keyvalp[OBJNAMELEN];
     int          que_keylen;
     char          flc_keyvalp[OBJNAMELEN];
     int          flc_keylen;
     char          dsk_keyvalp[OBJNAMELEN];
     int          dsk_keylen;
     que_keylen = sizeof (que_keyvalp);
     if (ddi_prop_op(DDI_DEV_T_NONE, devi, PROP_LEN_AND_VAL_BUF,
     DDI_PROP_CANSLEEP, "queue", que_keyvalp, &que_keylen) !=
     DDI_PROP_SUCCESS) {
          cmn_err(CE_WARN, "cmdk_create_obj: queue property undefined");
          return (DDI_FAILURE);
     que_keyvalp[que_keylen] = (char)0;
     flc_keylen = sizeof (flc_keyvalp);
     if (ddi_prop_op(DDI_DEV_T_NONE, devi, PROP_LEN_AND_VAL_BUF,
     DDI_PROP_CANSLEEP, "flow_control", flc_keyvalp, &flc_keylen) !=
     DDI_PROP_SUCCESS) {
          cmn_err(CE_WARN,
          "cmdk_create_obj: flow-control property undefined");
          return (DDI_FAILURE);
     flc_keyvalp[flc_keylen] = (char)0;
     dsk_keylen = sizeof (dsk_keyvalp);
     if (ddi_prop_op(DDI_DEV_T_NONE, devi, PROP_LEN_AND_VAL_BUF,
     DDI_PROP_CANSLEEP, "disk", dsk_keyvalp, &dsk_keylen) !=
     DDI_PROP_SUCCESS) {
          cmn_err(CE_WARN,
          "cmdk_create_obj: target disk property undefined");
          return (DDI_FAILURE);
     dsk_keyvalp[dsk_keylen] = (char)0;
     if ((objmgr_load_obj(que_keyvalp) != DDI_SUCCESS) ||
     !(queobjp = objmgr_create_obj(que_keyvalp))) {
          cmn_err(CE_WARN,
          "cmdk_create_obj: ERROR creating queue method %s\n",
          que_keyvalp);
          return (DDI_FAILURE);
     if ((objmgr_load_obj(flc_keyvalp) != DDI_SUCCESS) ||
     !(flcobjp = objmgr_create_obj(flc_keyvalp))) {
          QUE_FREE(queobjp);
          (void) objmgr_destroy_obj(que_keyvalp);
          cmn_err(CE_WARN,
          "cmdk_create_obj: ERROR creating flow control %s\n",
          flc_keyvalp);
          return (DDI_FAILURE);
     if ((objmgr_load_obj(dsk_keyvalp) != DDI_SUCCESS) ||
     !(dkp->dk_tgobjp = objmgr_create_obj(dsk_keyvalp))) {
          QUE_FREE(queobjp);
          (void) objmgr_destroy_obj(que_keyvalp);
          FLC_FREE(flcobjp);
          (void) objmgr_destroy_obj(flc_keyvalp);
          cmn_err(CE_WARN,
          "cmdk_create_obj: ERROR creating target disk %s\n",
          dsk_keyvalp);
          return (DDI_FAILURE);
     devp = ddi_get_driver_private(devi);
     TGDK_INIT(CMDK_TGOBJP(dkp), devp, flcobjp, queobjp, &cmdk_bbh_obj,
     NULL);
     return (DDI_SUCCESS);
}

I did almost the same thing yesterday, following a slightly different path: configured the kernel (vanilla3.8-rc7 ) with make localyesconfig, then i reverted back to modules the parts that made more sense if modularized (like the usb stuff).
It worked w/o major problems, the UUID thing is already present on the 3.8-rc7 kernel, and i even enabled it, but I haven't experimented if it works for now I'm booting via the classical device names (/dev/sdX)
Last edited by The Solutor (2013-02-12 17:16:46)

Similar Messages

  • AC-00401: Driver file missing for disk: 1 in the location:/StageR12/oraDB/D

    Hi all
    I was trying to install Multi-node E-Business Suite installation R12.1.1 on OEL5.4 using Rapid Install
    DB Server - Initilized rapid install as super user
    Sucessfully Passed all the Pre-Install checks and when begining the installation, stuck in the "Install Oracle Applications -Step 1 0f 3 begining unzip phase"
    Checked the log files and complaining about a missing driver db102.drv
    dbInstall.log
    promptUserForDiskPath Oracle Applications Rapid Install - RDBMS & Disk number = 1
    Path Obtained by Instantiate File: /StageR12/oraDB/Disk1 & Disk number = 1
    AC-00401: Driver file missing for disk: 1 in the location:/StageR12/oraDB/Disk1/dbts/driver/db102.drv
    Please advise...
    Thanks
    Kalesh Krishnan

    Hi,
    Path Obtained by Instantiate File: /StageR12/oraDB/Disk1 & Disk number = 1
    AC-00401: Driver file missing for disk: 1 in the location:/StageR12/oraDB/Disk1/dbts/driver/db102.drvLooks like the stage area directory is corrupted, please run md5sum to verify the integrity of the stage area directory -- See (Note: 802195.1 - for R12.1.1 Rapid Install Media) for details.
    Regards,
    Hussein

  • SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi,
    I appollogize if this post is off topic. I have problem wiht publish WebApp MVC.
    I have website (MVC) with one Web reference. Build and run in VS working. But when I tried to publish to disk I get error:
    SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    I have VS2013 Profesional with all updates and Windows 8.1.
    If I remove web reference then publishing working. Where can be a problem? Thanks.

    @Marek Bober,
    Thanks for sharing the solution back to here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to enable "On Exit" property for a Quiz Question?

    Maybe there is a better way of doing this, but I'm making a quick jeopardy game using Captivate 8, and I'm simply trying to get the board buttons/shapes to disappear after they have been clicked. I was using advanced actions where the first action would take you to the question and the second action would hide the shape that is acting as a button. Doing so I am finding that it works for the first one, and then only intermittently for the rest. Most of them will simply hide and do nothing, even though I've confirmed all advanced actions are correct and backward movement is possible.
    So what I was trying to do was separate the actions. Have the actions on the board simply jump to the quiz slide and then let the quiz slide "on exit" simply hide the button as the user returns to the board. Then I notice the "On Exit" property for the quiz slide is not usable. How do I enable this?
    By the way, I am not using the jeopardy interaction because I'm making a more custom looking board with some extra scoring features which are working well.

    Have written 4 posts about shared actions. And certainly for processes where you need duplicate actions a lot, like for your game, in CP8 shared actions allow you to have variables and literals as parameters. Here are the post links:
    Dare to Share - part 1 - Captivate blog
    Dare to Share - part 2 - Captivate blog
    Parameters in Shared Actions - Captivate 7 vs. 8 - Captivate blog
    Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog
    And this dashboard was created almost exclusively with shared actions:
    Captivate 8 - First Adventures - Captivate blog

  • Directory Damage, what can be used for Disk Repair and Virus Detection?

    Hi,
    My eMac is acting up. Yesterday I started getting these messages that I needed to restart my computer (message was in a brown box window with an icon of a start up button in background).
    I did the disk repair using Start up CD and it came back with "invalid key......." or something like that, and when I tried to repair it, it tried to repair the B-Tree's but then said it could not repair the problem.
    I have Diskwarrior 3.03 Build 39, on a CD and on my FW Ext HD, which has a clone of my Mac HD.
    Diskwarrior could not produce a graph of Mac HD because the directory was damaged. When I did a rebuild it hung on step 9 comparing directories, said there was 7 million + tests. ( I let it hang on step 9 for 15 hrs. to see if maybe it was just taking a long time due to corrupt directory). I finally clicked on Skip and got to the report page. I could do a preview, but the replace button is greyed out. When I was comparing the sizes of each folder, in both preview and original, I got a can not calculate error message on a few of them. The size of Mac HD in preview compared to the one in Original was different by 4 gbs. A week ago I repaired the Mac HD and did a Diskwarrior directory repair on all my HD's.
    Before I do any reformatting of HD or other drastic measures, I was wondering what is safe to use for disk repair and virus detection. I know there is Norton System Works 3.0, Norton AntiVirus and TechTool, are these the only ones? Are these safe to use? Are there any other programs that can repair directory damage?
    Thank you in advance,
    Deb
    eMac 2005 1.42GHz Combo Drive 256MB Tiger 10.4 75GB   Mac OS X (10.4)   Western Digital (WD) 160GB FW Ext & WD 320gb Media FW Ext, Creative Speakers

    The long-standing rule of thimb has been that if Disk Warrior can't repair a mungled disk directory, then you're looking at reformatting or replacing the hard drive. Since this is a week-old hard drive, I'd suspect the replacement hard drive is itself bad. It might save you grief in the long run to contact the vendor who sold you the drive and inquire about their warrenty. You might want to first run the file system check utility fsck as described in Using Disk Utility and fsck
    Directory repair and antivirus protection are different critters. Norton AV is mostly safe (if you don't mind it's track record of false positives) and is used by the IT department at the lab where I work. Norton SystemWorks, AKA Disk Doctor Kervorkian, is most assuredly NOT safe. For every poster reporting something nice about it, you'll find at least 2 dozen cursing it. It has a known track record of detecting problems no other utility finds and of "repairing" drives such that nothing can then read or repair the drive short of low-level reformatting (and occasionally even that fails).
    Tech Tool Pro 4 has a good reputation, as does Drive Genius. Tiger OS X 10.4.2 and later include a version of Disk Utility that can for the first time also make effective B-tree and keys out of order and overlapped extent repairs. Still, my personal gut feeling is that if Disk Warrior is choking on the hard drive, you're looking at reformatring while zeros the drive (zeroing should detect and map out bad physical secotrs).
    You can also refer to Disk First Aid: What to do when it finds an error and to Handling "overlapped extent allocation" errors reported by Disk Utility or fsck

  • Java startup property for Adobe document services

    Hi guyz, since a while i'm facing a random issue when i generate pdf. All the configuration has been done, but when look at in configtool i see a missing parameter:
    -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine. services.ts.jts.ots.PortableInterceptor.JTSInitializer
    Because it's in the recommendation parameter guide i guess it should be in, but someone can tell what those parameter deals about ?

    Hi,
    Yes, this service is mandatory if you want to use Adobe document service. It should be set for all server nodes in the config tool.  This is Java startup property for Adobe document services. Without this parameter adobe service will not start as a result you will not be able to open adobe documents.
    Thanks
    Sunny

  • What is the "Count" property for Servlet in Console?

    Wondering what the "Count" property for Servlet means in the Console. Is it instances
    or current uses? In other words, if the number is >1 does this mean that the Servlet
    implements the single-threaded model?
    Thanks,
    -Daniel

    btw one of the nice things about java is if you can't find the answer
    in the API or you are not sure what the API is saying you can always
    look at the source for the class your are looking at. the source files
    are in a file called src.zip or src.jar depending on the version.
    anyway just to make sure i understood i looked at the properties method
    in question.
    public String getProperty(String key) {
         Object oval = super.get(key);
         String sval = (oval instanceof String) ? (String)oval : null;
         return ((sval == null) && (defaults != null)) ? defaults.getProperty(key) : sval;
        public String getProperty(String key, String defaultValue) {
         String val = getProperty(key);
         return (val == null) ? defaultValue : val;

  • [SOLVED] Kernel panic for an unknown reason

    [Solved] Steps done to solve it:
    0. Panic because I couldn't play starcraft2 (this step is sooo important! ;)
    1. Updated my mirrorlist.
    2. Forced a refresh on the package list from the new mirrorlist. "pacman -Syy"
    3. Downgraded the kernel.
    4. Deleted the latest kernel package from the pacman cache.
    5. Updated the system. (pacman -Syu)
    6. Thanked lilsirecho for helping out!
    7. Profit
    Hi all
    I just did a "pacman -Syu" this afternoon and after that I'm getting kernel panics for unknown reasons.
    edit: I had kernel 3.0.4 befure syu and I have kernel 3.0.7 now. I tried downgrading wine and the kernel with no success.
    It first happened when I tried to run StarCraft2 with wine. I even created a post looking for help because of that.
    Later on I tested another game, just in case, and it crashed too.
    Looks like a wine problem, right? Or even a graphics driver problem.
    That's what I thought too. But then I tried to update with "yaourt -Syu --aur" and in the first package compression it freezed once again. And it does fail everytime I try to update with yaourt during the compression phase.
    What do this situations have in common?
    My opinion is that they all require a lot of resources. StarCraft 2 puts my PC at 100% almost all the time. The other game is pretty old, but it freezed during an "environment loading" phase, right when the map was loading. The compression phase of yaourt also consumes a lot of resources.
    This is my view of this problem, but I could be completely wrong.
    What I need is help finding what is the real source of this kernel panics. I don't know where to look for the logs or the error reports when a kernel panic occurs.
    I hope someone can help me trace the problem somehow. I think I'm lost
    ty in advance.
    cheers!
    Last edited by fatum (2011-11-10 23:16:10)

    lilsirecho wrote:
    Possibly caused by a mirror download.
    Perhaps you need to revert kernel and insure you have the latest mirrorlist and then syu again.
    When I saw your response I thought: "Why should that be true? I downgraded the kernel with no success. Doesn't make much sense".
    But then I did what you said:
    Downgraded the kernel back to 3.0.4.
    Moved the latest mirrorlist.pacnew I had to be the mirrorlist in use.
    Then did a "pacman -Syyu".
    And, miraculously, it works fine now.
    How in the world did you know that could be the reason? It would have been the last possibility I would have thought about, no doubt about that
    Thank you very much lilsirecho. Your post really helped me.
    Not gonna mark this as SOLVED yet. Yesterday I marked my other thread as solved too soon and I regretted my decision.
    I will leave a 1week time-frame to be 100% sure that it is fixed, just in case.

  • Putting files on iPod after enabling for disk use.  How to?

    I enabled my Nano for disk use, but don't know how to put files on it. An answer on how to ut files onto the iPod after it is enable to be a hard drive would be great.
    Thanks,
    Martin

    Hi Martin,
    I am not sure about how to put files with a PC, but with a Mac, I believe I can help. To put files on your iPod, your iPod should appear in Finder as a external disk drive. All you need to do is to drag the file into the iPod icon, as you would with an external hard drive. Syncing your Contacts (Address Book) or Calendar (iCal) is a little different. To sync Contacts and Calendar with your computer, Knowledge Base Document #301374 for Mac OS X and Knowledge Base Document #302270 for Windows. I had a hard time with syncing contacts and calendar with windows, because there are two different links.
    Jon
    G4 1.33Ghz iBook, G4 iMac 1Ghz, G3 500Mhz iBook, Macintosh 128K, eMate...   Mac OS X (10.4.5)   Airport EX, Moto Razr, iLife '06, SmartDisk 160Gb, Apple BT Mouse, Sight..

  • About OCR and Vote Disk size

    Hallo,
    I have a simple question about OCR and Vote Disk in a 10g/11g RAC setup:
    official documentation speaks about sizing OCR and Vote Disk about 280 MB, but do they mean each OCR and Vote disk LUN ?
    In other words, for 2 OCR and 3 Vote disk I need 280*5 MB ( in multiple o single LUN)
    Is it so?
    thx in advance

    ottocolori wrote:
    Hallo,
    I have a simple question about OCR and Vote Disk in a 10g/11g RAC setup:
    official documentation speaks about sizing OCR and Vote Disk about 280 MB, but do they mean each OCR and Vote disk LUN ?
    In other words, for 2 OCR and 3 Vote disk I need 280*5 MB ( in multiple o single LUN)
    Is it so?
    thx in advanceYes. Also see Re: Reduce size of OCR file

  • Business One 8.8 what is the DI property for Business Partner Active filed

    I cannot find the property for the Active ( and Inactive) field
    for the Business Partner for DI
    The item I am talkign abouts is in the bottom lefthand corner of General Tab of Business Partner
    for active the item number is  10002044
    for Inactive it is 10002045
    I need to set values for these using DI.
    Does anyone know what this property is ( or do you know if it is supported with 8.8 )
    I am on 8.8 Australian version SP00 PL12 planning to go PL14 soon.
    Thanks very much.

    Hello
    Use the Frozen property to set the BP to Inactive, and you may use the FrozenFrom/FrozenTo dates to specify a date range. Please Note, the date cannot be cleared via DI API (there is no possibility to set it to NULL):
    Regards
    János

  • Want to know about existing card_readers for linux

    hello,
    I have SCM card which has linux kernel driver but i dont have any GUI frontend software. I want to know is there any existing GUI for reading and writing this card. Also can java card framwork help me to write it and how much time it will take?
    regards,
    card_coder

    I am talking about card http://www.scmmicro.com/security/SCR335.html
    That is a card reader (also called CAD - card acceptance device), not a card.
    and want to know is there any card reader/writer application
    is available in Java or not?For which smart card? There are memory cards, java cards, EMV card, GSM SIM cards, USIM cards...
    Every smart card uses other commands for communication and therefore you need a different application for reading/writing them.
    i have card and its
    kernel module driver but dont know how can i
    read/write to that card. its pc/scYou have a kernel module for the card reader, right? It allows to use the card reader by the PC/SC interface. But you still didn't told us what smart card you have...
    Jan

  • About Kernel Upgrade

    Hi to all ........
    This is about Kernel upgrade ...
    We are working SAP4.6C, Oracle 9.2.0.5, Windows 2003 Server. Our Kernel release is 46D with  Support Package Level - 1674. I know we are way behind the Latest kernel Level.
    Can anyone plzz let me know
    1) If i perform Kernel Upgrade in what way it will effect my system?
    2)Will it effect the Modules as well i mean reports.Everyday functioning of Fi/CO, HR .SD..so on.
    3) which files i need to download to perform the upgrade?
    Waiting for ur replies....
    Regards

    Hi Mohammed,
    1) If i perform Kernel Upgrade in what way it will effect my system?
    Kernel where SAP executables resides. If something goes wrong then you may not be able to start SAP instance.
    2)Will it effect the Modules as well i mean reports.Everyday functioning of Fi/CO, HR .SD..so on.
    NO. It wont affect any functionality of any fuctional module.
    3) which files i need to download to perform the upgrade?
    Goto http://service.sap.com/swdc
    Select Support Packages and Patches --> Archive --> SAP Application Components --> SAP R/3 --> SAP R/3 4.6C --> Entry by Component
    From here you can download required kernel based on your OS and DB. Dont forget to download "Database independent" kernel files.
    Hope this will help.
    -Pinkle

  • Why is TM telling me backup is too large for disk?

    Since upgrading to SL, I get this error message when I attempt to run TM back ups:
    _+"This back up is too large for the backup disc. The backup requires 123.28gb but only 66.44gb are available."+_
    My HD is currently holding 174gb of used space. The LaCie backup drive is 250gb and there is nothing else on this disk.
    I thought the culprit might be some movie files i recently imported. I deleted all of those files from all TM backups but that didn't work. Then I tried to erase the backup drive and start over using Disk Utility. That didn't work either. I read on another post to dump the plist and restart the computer, then redesignate the backup drive. Still didn't work.
    Any suggestions out there on what is happening and how to fix?

    Jaydon wrote:
    Not sure how i would tell if it's "scratch" or not.
    Sorry, that's a common term for a "working" disk/partition/folder that is temporary and not to be saved.
    Sorry for the fire drill. I thought a 250gb drive would logically be enough for 175gb worth of data.
    Yes, Apple doesn't make that very clear.
    I'll definitely look into a larger drive. Any recs on reliable brand?
    Most any drive will work with Macs, and Time Machine.
    If you think you ever might want to put a "bootable clone" on it, be sure it's a bootable drive. Most Intel Macs can boot from F/W or USB. But some Western Digitals won't boot a Mac. Their list of which ones should and +should not+ boot: http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/stdadp.php?pfaqid=1787. But note the disclaimer that they don't support it +*at all.+*.
    In addition, many of them have a built-in sleep mode that cannot be disabled, and sometimes interferes with Time Machine backups: http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/stdadp.php?pfaqid=1376
    Depending on what ports you have, FireWire 800 is by far the fastest; FireWire 400 next, and USB slowest (F/W 400 and USB 2.0 are rated about the same for short bursts, but F/W is faster for sustained transfers. Also, your Mac's CPU has to do more of the work with USB, so actual throughput is usually less).
    Many folks think USB is less reliable than FireWire. If you do get USB, be sure to connect it to a port on your Mac, not a keyboard (that may be only USB 1.0). Try to avoid hubs, too.
    If you're using USB, it's usually best to get a drive with it's own power supply, as taking power from your Mac can be a marginal proposition. Portable FireWire drives without separate power supplies don't seem to have this problem.
    Take any advice for or against particular makes or models with a grain of salt: all makers (of just about anything) can have a "run" of bad components, or a relatively few early failures. Plus, by the time any really good trends are noted, the model has probably been revised or replaced anyway!
    Marking solved....thanks again
    Great, and thanks for the star!

  • I've read that Promise Pegasus2 series does not sell replacement parts. I'm buying the new MacPro but am concerned about spending $2K for storage that may break and cannot be fixed. What are others buying for storage for the new MacPro?

    I've read that Promise Pegasus2 R6 thunderbolt 2 series does not sell replacement parts (no replacement parts for any of the Pegasus line). I'm buying the new MacPro but am concerned about spending $2K for storage (12tb version) that may break and cannot be fixed (am told that one must purchase a new unit if a part breaks). What are others buying for storage for the new MacPro? Thanks so much for your help.
    Discussion about this issue at MacWorld.com:  http://www.macworld.com/article/2082783/first-look-promises-pegasus2-r6-thunderb olt-2-raid-array.html

    I've used the original Pegasus R6 units for a couple of years now and have been very pleased with them.  On the two occasions I've had to call on their technical sujpport, I've found them readily available, knowledgeable, and very helpful.  In one case it involved the reset of a unit after a power failure at an inopportune time; in the other case it was a question about upgrading disk drives to higher capacities (1 Gb gto 4 Gb).  I was pleased to learn that their tech support people were in California and as good if not better than upper-tier AppleCare reps. The hardware itself has functioned flawlessly so far.

Maybe you are looking for

  • AVOID Subpartition(list) to be created when Splitting Main Partition(range)

    I have created a table structure as below: CREATE TABLE TEST_SUBPARTITIONS_1 RECORD_ID INTEGER NOT NULL, SUB_ID VARCHAR2(100), COBDATE DATE, DESC VARCHAR2(2000) PARTITION BY RANGE (COBDATE) SUBPARTITION BY list(SUB_ID) PARTITION INITIAL_PARTITION VAL

  • How to get the usage of SSRS reports in project server 2010

    Hi Can any body tell me how to get the usage of the SSRS reports in Project Server 2010. Thanks Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

  • BDC- material master

    Hi all, I have a set of data where few materials belong to some views and others belong to other views and sevaral sets like this. how can i handle them. is BDC the best solution? or any other ways? tx, kiran

  • Mail rule or script

    I´m using Mail and OrganizePro on my Mac. I would like to add a script working like if I move an email to a specific folder it should automatic create a task in OrganizePro related to the email. Any ideas how this can be done ? It is possible to crea

  • I was unable to restore or update my IPad 2

    From that came the iOS 8 wanted to update my iPad 2 via WIFi however I came out an error which could not be updated. When trying to download via itunes software update and upgrade process I went back out again erro, however as I was in the process of