4096 byte sector Drives vs 512 byte Drives and Partition Map integrity

I have a late 2008 Mac Pro, and every so often, if I don't take the time to Defragment my startup drive, or go over it with Disk Warrior, my partition takes a dump. Normally its a invalid file count, invalid directory count, invalid volume structure, or some combination in between. I don't think its the drive or the mac itself (at work we have 200+ macs of various years and models that do this too) since it only happens to the startup drive (1TB-56% full) and I've had apple replace them 2 times now, along with a replacement machine and it still happens. I was wondering if the GUID would be happier on a new 4096 byte sector drive assuming the mac would even be able to use it. Buried deep in the developer site is a tec note that says Mac OS 10.4 and up are able to use the drive, but I haven't been able to find out if anyone outside of Western Digital has actually used them on a mac yet. No one at AppleCare seems to have an answer to my question, or can explain why my map fails regardless of drive.
http://developer.apple.com/mac/library/technotes/tn2006/tn2166.html

I've created a new topic with the same name in its proper location under Mac Pro (previous to 2009) rather than this one.

Similar Messages

  • Windows borked my external drive's partition map

    I have two partitions on my 1 TB external drive, a ~750 GB HFS+ partition full of huge files (games, iTunes, etc.) and a 150 GB NTFS partition for Steam games (derp TF2 derp). The hard drive was originally in GPT, but now is in MBR due to Windows being... unkind.
    While trying to create the NTFS partition, Windows 7's Disk Management asked me to convert the partition map to a "simple" partition scheme. I obliviously clicked OK and let it do its thing, then moved my Steam games over to the new NTFS partition and played TF2 for a few weeks. When I finally rebooted into OS X, I wondered why the two partitions weren't appearing on my desktop, and so I opened up Disk Utility, looked at my external HD's description and immediately started spewing out expletives. The disk reported as having one 1 TB "Windows_LDM" partition (Windows says otherwise, with the NTFS partition being recognized and the HFS+ not appearing anywhere) with MBR instead of GPT.
    Disk Warrior and Drive Genius both refuse to do anything, since it doesn't report an HFS/HFS+ partition. Disk Management in Windows won't let me change it back to GPT. Be there anything I CAN do?
    Here's the DU Command-I output of the HD:
    Name : WD
    Type : Disk
    Partition Map Scheme : Master Boot Record
    Disk Identifier : disk1
    Media Name : WD My Book Media
    Media Type : Generic
    Connection Bus : FireWire
    Connection ID : 40718345779727391
    Device Tree : IODeviceTree:/PCI0@0/PCIB@1E/FRWR@3/node@90a91ea80acc1f/sbp-2@c000
    Writable : Yes
    Ejectable : Yes
    Location : External
    Total Capacity : 1 TB (1,000,204,886,016 Bytes)
    S.M.A.R.T. Status : Not Supported
    Disk Number : 1
    Partition Number : 0
    And of the "partition":
    Name : disk1s1
    Type : Volume
    Disk Identifier : disk1s1
    Mount Point : Not mounted
    Connection Bus : FireWire
    Device Tree : IODeviceTree:/PCI0@0/PCIB@1E/FRWR@3/node@90a91ea80acc1f/sbp-2@c000
    Writable : Yes
    Capacity : 1 TB (1,000,203,836,928 Bytes)
    Owners Enabled : No
    Can Turn Owners Off : No
    Can Be Formatted : No
    Bootable : No
    Supports Journaling : No
    Journaled : No
    Disk Number : 1
    Partition Number : 1
    ...Help?

    You cannot convert the drive's partition map back to GPT without repartitioning the entire drive. I doubt you can change it even using a Windows or Linux partitioning tool. Even if you could the other partition is probably lost.

  • Portal Drive and MS Outlook Integration

    Hi,
    I have installed the SAP Portal Drive Client on my PC.
    It works pretty well. I have observed something that I have not been able to find information on in any documentation.
    When I start MS Outlook now (thick client) there is an additional option under the Tools menu in Outlook titled "Portal Drive Intellittach" which is greyed out (inactive).
    It appears as though some integration between SAP's Portal Drive and MS Outlook may be possible - does anyone have any information on this please?
    Cheers, Phil G.
    Message was edited by: Phil Gleadhill
    Update May 29th. I received the following information from SAP Germany Product Management for those interested...
    Ad 1. As Portal Drive basically is an enhanced WebDAV client and the official WebDAV protocol (www.webdav.org) doesn't support the exchange of metadata schema information there's currently no way for the client to detect that some properties are mandatory or even enforce the entry. That's why our member of the WebDAV working group already posted an RFC for the WebDAV protocol addressing this issue.
    Ad 2. The deactivated "Portal Drive Intellitach" command just hasn't been removed from the Outlook UI yet. It's meant to support the exchange of document links instead of document attachments. As this functionality is directly supported by KM, specific FlexUI commands and the context menu of Portal Drive ("Copy URL to clipboard") it's obsolete now.
    We also plan to enhance some features and add new functionality, but I can't give you any details right now as final decisions haven't been made. I hope this clarified some things concerning Portal Drive.
    Cheers, Phil G.

    Hi,
    For this you required transaction code scot , where you need to maintain IP address of outlook server.
    then mail to vendor automatically triggred also you need to open some port for the same of server.

  • Cannot Recognize Drive / Deleted Partition Mapping?

    So, I was moving partitions in VolumeWorks and accidentally ejected the Lacie Disk. Now whenever I try to use it i get this:
    [img]http://img141.imageshack.us/img141/4281/erroram9.jpg[/img]
    I clicked initialize once, but I closed DiskUtility and it never had time to do anything. I know this because I can still use DataRescue to get my files. The problem is, the files will not be named or organized correctly! On diskutility, it will NOT let me mount the the drive (although it still shows the icon on disk util) so I cannot repair it. Please help!
    Edit:
    Shoot, apparently initializing it removes the partition map :O. How can I get the partition structure back in place?
    Message was edited by: ParkerKuivila

    Hi! Diskwarrior under 10.4 is about the only app that "might" reconstruct the directory. Otherwise using the data recovery software you mentioned is your other possibility. Tom

  • How to low-level format entire drive, including partition map?

    Hi everyone,
    I have an OWC-supplied, 80 GB, ATA hard drive (OWC Neptune), which originally shipped in an external, FireWire 400 case. The drive stopped working; disassembly of the case led to the discovery of a burned trace on the Oxford bridge. While the bare drive itself has no manufacturer name, its label style and model number listed on the drive clearly show it to be a Maxtor 6Y080L0, 80 GB.
    Having removed the drive and installed it into a test Power Mac G4, the physical drive is recognized by Disk Utility (albeit with no partitions, mounted or otherwise). The drive emits "normal" power and spin-up sounds, with no clicking or other sounds that might normally indicate a failed drive. However, Disk Utility is unable to actually partition the drive—when attempted, the "Creating Partition" progress bar advances to about 1/8 of the way across, then moves no further (even if many hours are allowed to pass). Console reveals nothing as to what is stopping the format.
    Moving further, I attempted to blow away the partition map with pdisk, but encountered several read errors in the partition map itself. I even went so far as to attempt to "build" a partition map, one partition at a time, based on the settings I found on an identical drive that is functioning properly. Although this seemed semi-successful, attempting to write the partition table again resulted in a couple of errors.
    pdisk: Unable to write block 8 (Input/output error)
    pdisk: Unable to write block 9 (Input/output error)
    pdisk: Unable to write block 10 (Input/output error)
    pdisk: Unable to write block 11 (Input/output error)
    While it's entirely possible that the blown component on the FireWire bridge might have also taken out the drive, I'm not a big believer in coincidence and my thought is that the trace blew during an access of the partition map, corrupting it to the point that only a low-level format of that portion of the drive can potentially salvage it. There is no data on the hard drive I am worried about losing, but I'm not one to easily say "die" and so I'd like to be able to restore this drive to functionality, if at all possible.
    So after setting the table for you here, my questions are as follows:
    1. Is there any way to low-level format an entire drive that does not have a readable partition map? In essence, effectively returning the drive to something resembling an out-of-box, unformatted state? CLI is fine, and I'm even open to trying to throw the thing in a PC box, install Yellow Dog Linux so as to have GUI access to pdisk, etc.
    2. Does anyone have any other suggestions for me regarding this matter?
    Thanks much for the time,
    MBJ

    Thanks to all for the suggestions. I'm about to give up on it, although I will try the PowerMax software recommended by Michael Black.
    And The hatter: Don't let this burn you on Neptune drives—one of my client offices has been using about 20 of them for the past couple of years now, on a daily basis, for large-scale imaging projects, and the little drives have been real champs. We're even using them to dual-boot both Intel- and PPC-based systems, and they've just been outstanding. Methinks the component failure probably cascaded down to the drive, and while yes, it *****, such things happen in any batch of components and I'd buy another Neptune today if I had the need for yet another external.
    As for Matt Broughton: S.M.A.R.T. shows no problems when the drive is connected directly to the ATA bus. But then again, I've only run into a few drives that S.M.A.R.T. has ever reliably reported on—it's still a black art, to be sure. The WikiPedia article on S.M.A.R.T. goes into more detail about its pervasive flakiness.
    For now, the drive has begun to beep about once every 2 seconds at boot. This lasts for about 30 seconds, after which the drive continues to spin but no further beeping is heard. The drive no longer shows up in Disk Utility, even as an unmounted drive/volume. So, I'll probably try it in a PC w/PowerMax just to say that I did, but beyond that, it's probably ready for disassembly as an example drive.
    80 GB—sniffle…
    Thanks again to all for your suggestions!
    Take care,
    MBJ

  • Linux Drives and Partitions

    Dear All,
    I have to install Oracle on a Linux Box.
    This is My OS:
    *[root@orabackup ~]# cat /etc/redhat-release *
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    Physically I have 3 disks attach to this machine 143 GB each.
    I am not sure if there is any kind of mirroring or RAID in this machine.
    When I run
    *[root@orabackup ~]# df -h*
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    *256G* 172G 71G 71% /
    /dev/cciss/c0d0p1 99M 13M 82M 14% /boot
    tmpfs *4.0G* 2.1G 1.9G 52% /dev/shm
    When i run
    *[root@orabackup ~]# fdisk -l*
    Disk /dev/cciss/c0d0: *293.5 GB* , 293564211200 bytes
    255 heads, 63 sectors/track, 35690 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/cciss/c0d0p1 * 1 13 104391 83 Linux
    /dev/cciss/c0d0p2 14 35690 286575502+ 8e Linux LVM
    *[root@orabackup ~]# lvmdiskscan* I get
    /dev/ramdisk [       16.00 MB]
    /dev/root [      263.53 GB]
    /dev/ram [       16.00 MB]
    /dev/cciss/c0d0p1 [      101.94 MB]
    /dev/VolGroup00/LogVol01 [        9.75 GB]
    /dev/ram2 [       16.00 MB]
    /dev/cciss/c0d0p2 [      273.30 GB] LVM physical volume
    /dev/ram3 [       16.00 MB]
    /dev/ram4 [       16.00 MB]
    /dev/ram5 [       16.00 MB]
    /dev/ram6 [       16.00 MB]
    /dev/ram7 [       16.00 MB]
    /dev/ram8 [       16.00 MB]
    /dev/ram9 [       16.00 MB]
    /dev/ram10 [       16.00 MB]
    /dev/ram11 [       16.00 MB]
    /dev/ram12 [       16.00 MB]
    /dev/ram13 [       16.00 MB]
    /dev/ram14 [       16.00 MB]
    /dev/ram15 [       16.00 MB]
    3 disks
    16 partitions
    0 LVM physical volume whole disks
    Now total disk space shown in any of the command is not more than *293 GB* MAX. How can i find the other disk space? Like total physical disk are *143*3*
    How to check that the rest disk space is either not mount, or doesn't have any file system on it, or it is used in the raid or mirroring.
    I am very confused regarding this. Kindly help in details and If you require the result of any command please let me know.
    Thanks, Imran

    /dev/cciss is typical for HP Smart Array RAID controllers. You will need to enter the the controller setup at system start up and check your setup. There is usually a message printed how to enter the controller BIOS. Usable disk space after formatting a drive is generally lower than the capacity of the drive, usually the larger the partition, the higher the value that is "wasted".

  • BOOT DRIVE ADVICE for MAC PRO.   How Big and Partition Size

    So new new Mac Pro (Quad) arrives this week.
    I'm doing a drive just for BOOT and another drive (or drives) for data.
    The big question is, what size drive should I buy for just BOOT/OS/APPLICATIONS and how much of it should I partition. I want to install everything on the boot drive to be on the outside area of the disc and ignore the inside.... So, do I get a 300GB drive and partition 100GB to use as the boot partition and ignore the rest?
    Any advise would be helpful!
    Thanks!

    If you have Final Cut, X-Plane and such, you'll find even 150GB to be small. You want to have plenty of free space for burning DVD-DL, temp space for programs and files, and so that free space never gets too highly fragmented.
    A 200GB partition on a 640GB drive seems to be a good choice and it will still maintain 80MB/sec. Still use the rest as an alternate for your data (put it on a sparse disk image).
    10K Raptor 300GB (Amazon, $229) is a nice, fast boot drive if you really need it, though most 640GB drives are more than adequate for most people.
    If you plan to install Windows, I'd dedicate a drive just for that purpose and not use your boot drive. Not sure if "BOOT" meant just OS/Apps or more.

  • Why an I losing contact with Firewire drives and camera back?

    One of my computers suddenly won't connect to a Phase One digital back via firewire.
    Tried to plug in a external drive to check the port. No contact. (Tried various cables, etc.)
    Tried camera on another computer. No contact. Tried firewire drives that had been running before on this same computer, and now it won't read these drives.
    My PhaseOne dealer assures me that a digital back can't possible fry or disable a port. Still. there they are.
    Took one of these drives to yet another computer that connects fine with yet another drive, tried the problem drive, and there was no connection. When I checked About This Mac there was a spinning wheel, as though it were looking for something.
    Any thoughts, anyone? I don't want to test more drives if they are being damaged. And if they are, can they be recovered?
    Many thanks
    Sean Kernan

    Hi, John.
    1. I presume in Finder Preferences, in the General tab, you've selected "CDs, DVDs, and iPods" under "Show on desktop." Otherwise, FireWire drives won't display on the desktop, but they should still appear in the Finder's Sidebar.
    2. If you did not Eject the drive before you disconnected it or powered it off, its partition map may be corrupted. That could explain the symptoms you are seeing. Your FireWire-based digital camera back may be seen as a FireWire drive.
    Disconnecting a removable storage device — FireWire drive, USB drive, etc. — without first ejecting it can result in the drive's partition map being corrupted. Before disconnecting such a device, one must first Eject it by either:
    - Dragging its icon to the Trash.
    - Control-clicking the drive's icon and selecting Eject from its contextual menu.
    - In Disk Utility, selecting the device, then selecting Eject in the Disk Utility toolbar.
    If there's data on the drive you wish to recover, see my "Data Recovery" FAQ. Once you recover the data you want to save, if any, you will need to repartition and reformat the drive.
    3. Before you panic w.r.t. item 2 above, Here is some general troubleshooting advice w.r.t. FireWire devices that may help:(1) Review the AppleCare Knowledge Base document "What to do if your computer won't recognize a FireWire device".
    (2) If this problem occurred after installing a recent Mac OS X Update, and you are also unable to mount CDs, DVDs, or disk images perform the steps in this Mac OS X Hints article.
    (3) The following additional steps will often help resolve problems with FireWire devices, particularly hard drives:(a) Power-on the FireWire drive before starting up (booting) your Mac.
    (b) Reset PRAM and NVRAM.
    (c) Reset the PMU or SMU: Select the appropriate knowledge base item for your model of Mac from this KB search. Follow the instructions on resetting the PMU or SMU carefully!
    (d) Try a different FireWire port. James Wiebe, CEO of WiebeTech, has published FireWire Port Failures in Host Computers and Peripheral Devices, a white paper providing backgroud information and technical analysis concerning the causes of failure for FireWire ports. This may provide additional diagnostic information.
    (e) Check with the manufacturer of your FireWire drive or enclosure to see if any firware updates are available for such.(4) Hopefully, the partition map on the FireWire drive is not damaged. If it still refuses to mount, you may need to employ data recovery tools or services: see my "Data Recovery" FAQ.Note that some of the information above is from the "FireWire Problems" chapter of my book, Troubleshooting Mac® OS X.
    PS: You've not provided any info about the computer in question, i.e. Mac model, installed RAM, installed version of Mac OS X, etc. That's always important to include in a post, and I suggest you add it to your profile: click "My Settings" in the upper-right section of the sidebar on the right side of this page.
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • External HDD - 4096 bytes sector size support / change

    We have a number of Toshiba external hard drives which are pretty much redundant.
    The sector size, 4096 bytes, is not supported by Windows 2008 Server R2, Windows 7 or lower.
    Only in Server 2012 and Windows 8.
    When I say not supported, i mean not supported for backup.
    The 'system state' element of the backup will not work with this type of drive connected to the system.
    My question is this:
    Is there a way to workaround this?
    Western Digital provide a tool to format the drives with a different sector size which Windows 7 / 2008 R2 recognises and allows for a successful system state backup. The tool is WD Quick Format Tool. Is there a Toshiba equivalent?
    Thank you

    Well, since Vista (SP2) the 4k sector size is supported but early OS, Windows XP as well as Vista (SP1) supported only 512 byte sector size.
    It seems that in the past Toshiba provided an tool called Toshiba Alignment Tool for Advanced Format Hard Disk Drives (HDD) but this isnt available anymore as mentioned on this page
    http://toshiba.semicon-storage.com/us/product/storage-products/trends-technology/advanced-format.html

  • I have both the 250 gb high performance hard drive and a 1 ter byte hard drive.  What happens when the 250 gb hardrive is full?

    I have both the 250 gb high performance hard drive and a 1 ter byte hard drive.  What happens when the 250 gb hardrive is full? This on Imac desktop

    Never let a drive get more than 80% to 85% full.
    AND keep 50-100 GB of free space on a startup drive to allow proper function of virtual memory in all OS X versions from 10.5x to current versions.
    10.4x can get by with 20 GB of free space on the boot drive, but more is always better.
    I try and keep all boot drives between 50 and 60% of capacity.
    Beyond 60% and up to 90% capacity, seek times increase almost exponentially; performance suffers.

  • ORA-04031: unable to allocate 4096 bytes if shared memory

    Hello Gurus,
    Did anyone got this type of error before:
    ERROR:
    ORA-20414: Materialized View refresh failed - ORA-12008: error in materialized view refresh path
    ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","IDX_MIF_SITE","pacdHds_kkpaco","stP_kkpacd: kkpodPacdInit")
    Every sunday full refresh of the data warehouse is scheduled. This sunday it didn't complete and gave us the above error. This can be solved by increasing the shared pool memory size. But DBA doesnot want to increase it every sunday(This has been going on for 3 weeks now) and it's not feasible to increase like this everytime.
    We want to find the actual cause of it and fix?
    Does anyone know the solution or can throw some light on this issue?
    Thanks,
    Sanjay

    We want to find the actual cause of it and fix?The cause is simple - you have run out of memory assigned to the Shared Pool in the SGA.
    The root cause is more of an issue. The Shared Pool is mostly used for keeping the SQL statements and supporting information (such as cursor support). Each unique SQL statement requires it's own area in the shared pool, however identical statements can used the same (shared) area. Shared Pool is also used to store the 'current' data dictionary (table, view, etc.) information. And in some cases, it's also used for 'large' operations such as direct path insert block builds.
    Some of the possible reasons for running out of shared pool might include
    - it's simply undersized;
    - not enough SQL is actually shareable;
    - the large pool has not been allocated.
    That second one is frequent when the application builds up SQL statements by concatenating pieces, including literals (user input) and then executing the unique statement. This is a common technique by developers using .Net, Perl or having SQL Server background. (That mode of operation is very susceptible to SQL Injection.)
    You can get a lot more info from:
    - searching the forum;
    - looking in the docco (Concepts manual and Performance Tuning guide);
    - books, like Tom Kyte's "Expert One on One Oracle", "Effective Oracle By Design", and newer on apress.com

  • HTTP 414 Status code for POST messages greater than 4096 bytes.

    Hello,
    I am using Sun One 6.0 sp2 and Weblogic 6.1 sp3 for my application. All the requests
    are being sent to the Weblogic server using the NSAPI plug-in.
    For all POST messages with size greater than 4096 bytes, I am getting a HTTP Status
    Code 414.
    I have set the MaxPOSTSize to 10240 both on the Weblogic server side, but it still
    gives same error.
    Can someone please guide me as to how to enable processing of POST messages greater
    than 4096 bytes ?
    Thank You.
    Sanjay.

    Hi, I am trying to PUT to update contact info and I get following error:
    2015-01-16 11:00:17,970 INFO [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(97) | accessHttpsPut.url=https://secure.eloqua.com/API/REST/2.0//data/contact/7606838, text={"id":"7606838","accountName":"openIdStr001","emailAddress":"[email protected]","type":"Contact"}
    2015-01-16 11:00:18,931 ERROR [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(140) | ClientProtocolException
    org.apache.http.client.HttpResponseException: Request is malformed.
    Is there any idea?
    Thanks so much.
    Sincerely.

  • Seagate external drive: Partition map check failed because no slices were found

    I have a 3TB Seagate Expansion external backup drive connected to my Retina Macbook Pro via USB. The disk will not eject from a regular Finder window - it will only eject from Disk Utility. Backups seem to otherwise be running fine. I tried to verify/repair the disk in Disk Utility, and I got the following error: "Partition map check failed because no slices were found." I am able to verify/repair the partition without any problem, and no errors are found.
    I'm concerned about relying on a backup drive that may be heading south. Here is the output from diskutil info:
    diskutil info disk3
       Device Identifier:        disk3
       Device Node:              /dev/disk3
       Part of Whole:            disk3
       Device / Media Name:      Seagate Expansion Desk Media
       Volume Name:              Not applicable (no file system)
       Mounted:                  Not applicable (no file system)
       File System:              None
       Content (IOContent):      GUID_partition_scheme
       OS Can Be Installed:      No
       Media Type:               Generic
       Protocol:                 USB
       SMART Status:             Not Supported
       Total Size:               3.0 TB (3000592977920 Bytes) (exactly 5860533160 512-Byte-Units)
       Volume Free Space:        Not applicable (no file system)
       Device Block Size:        4096 Bytes
       Read-Only Media:          No
       Read-Only Volume:         Not applicable (no file system)
       Ejectable:                Yes
       Whole:                    Yes
       Internal:                 No
       OS 9 Drivers:             No
       Low Level Format:         Not supported

    @ Allan Eckert: Unfortunately, reformatting is out of the question, I have 5 years of work on this!
    @ Loner T: Yes, the firmware did successfully upgrade after router reboot and a bit of troubleshoot.
    Thanks for the quick replies. Keep 'em coming!

  • New style hard drives and Windows XP

    According to this article, new style hard drives will cause problems for XP due to sector size
    http://arstechnica.com/microsoft/news/2010/03/why-new-hard-disks-might-not-be-much-fun-for -xp-users.ars

    That is correct. However, WD being the first to use these large sectors, has included a utility to adress the problem with the LBA 63 sector, which is no longer adressable with the 4096 byte sectors. I have not yet seen reports on reliability and stability with this utility.

  • Communication between a driver and application.

    Communication between a driver and application.
    I am writing a driver for a PCI card. I have found very good examples of how the driver should be build.
    Where do I find the information about how the user mode application should be talking the driver.
    So If you have any idea that will help me, please let me know.

    Hi,Sir
    This for your reference.
    It will create pci adapter device node at /devices .
    You can use AP function call ioctl to Communicate with your device driver.
    static int
    xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd)
    int instance = ddi_get_instance(dip);
    switch (cmd) {
    case DDI_ATTACH:
    allocate a state structure and initialize it.
    map the device�s registers.
    add the device driver�s interrupt handler(s).
    initialize any mutexes and condition variables.
    create power manageable components.
    * Create the device�s minor node. Note that the node_type
    * argument is set to DDI_NT_TAPE.
    if (ddi_create_minor_node(dip, "minor_name", S_IFCHR,
    instance, DDI_NT_TAPE, 0) == DDI_FAILURE) {
    free resources allocated so far.
    /* Remove any previously allocated minor nodes */
    ddi_remove_minor_node(dip, NULL);
    return (DDI_FAILURE);
    * Create driver properties like "Size." Use "Size"
    * instead of "size" to ensure the property works
    * for large bytecounts.
    xsp->Size = size of device in bytes;
    maj_number = ddi_driver_major(dip);
    if (ddi_prop_update_int64(makedevice(maj_number, instance),
    dip, "Size", xsp->Size) != DDI_PROP_SUCCESS) {
    cmn_err(CE_CONT, "%s: cannot create Size property\n",
    ddi_get_name(dip));
    free resources allocated so far
    return (DDI_FAILURE);

Maybe you are looking for

  • Error 8, Communications error, usually unable to log in, all of the above.

    I am experiencing at least a couple of the problems mentioned in previous posts, and it is making communication much tougher. Formerly ichat 3 worked okay, but never great. When I was using a buffalo router on my comcast connection, I was able to get

  • Error while extracting data from a remote system

    Hi, I am facing problem while extracting data from a remote system. The connection is alright I can extract the table required from the remote system,but when I deploy it I get this error ORA-04052: error occurred when looking up remote object [email

  • Issue with Word 2010

    Hi Team, We are facing issue with Word 2010. User has created a document in Word 2007 and they inserted a symbol °C in Times New Roman and Areal. Please find below the text which has issue. 干燥温度:60℃ 温度:95℃, In the document, instead of ℃ it is showing

  • Trackpad not working correctly when plugged into AC power

    When i am running on battery, the trackpad is great--when plugged in, it is very flakey, not smooth, sometimes freezing up...all in all pretty frustrating! I have reset the power management unit, but it did not help. Comments? thanks in advance, Les

  • UITextfield disappears

    I have some UITableViewCells with some UITextFields inside. I am also using the code from UICatalog for the keyboard to not hide the UITextFields. The "Done" button on the kyeboard closes the keyboard. Now to my problem. First I enter some text in a