A question about sst sample driver

I have checked the Solaris 8 version of sst SCSI sample
driver. There is one thing I couldn't understand:
In the definition of sst_fill_cdb, sstprivp->priv_amt is used
as transfer length. This variable is set to bp->b_bcount -
pkt->pkt_resid in sst_make_cmd() when the pkt is allocated. But it is never updated during subsequent
partial DMA transfers. Is this a bug or some thing other than the driver is updating this variable ( unlikely since
this is private to the driver) ?
Any explanations are very appreciated.

Hi no1,
Do these devices have drivers that you have installed? Do they have a driver application programming interface (API) that you can access, probably through a C++ DLL? I assume you're using LabVIEW (since this is the board you posted to). If you're using LabVIEW and you do have DLLs for your cards, you can use the Call Library Function Node or the Shared Library Import Wizard (which creates wrapper VIs for your DLL calls).
Otherwise, you can use NI-VISA to communicate with your devices. Here is a tutorial how to configure a USB device using the VISA Driver Development Wizard (which would be analogous to Firewire), and here is an overview of VISA.
You would read the data from device A and then write that data to device B, using either the DLLs or VISA, depending on which route you choose. Unless the devices have specific functions to transfer data to each other in their API, you will have to transfer the data by reading and writing the data in LabVIEW. I hope this helps!
Regards,
Missy S.
Calibration Engineer
National Instruments

Similar Messages

  • Question about replacing hard drive

    Hey everyone. I had a question about replacing a hard drive for a 2012 midyear pro. I have replaced hard drives before on windows machines, but this is the first mac I have owned. It didn't come with a hard drive when I bought it, but I do have mavericks installed on a usb. As far as a new hard drive, will any 2.5 laptop hard drive work? I read it needs to be 9.5mm thick. Is that correct? As far as I am concerned, hardware is hardware and should be the same as replacing a hard drive on a dell laptop but wanted to see if apple has any weird restrictions.
    Also, is there anything I need to consider or be aware of when putting in a new hard drive? Or can I just hook up the hard drive and plug in the USB and install the software onto the hard drive. Thanks
    Excuse and ny ignorance as I am new to macs.

    scottrf8 wrote:
    As far as a new hard drive, will any 2.5 laptop hard drive work? I read it needs to be 9.5mm thick. Is that correct?
    Yes.  Any SATA drive will do with those specifications.
    Also, is there anything I need to consider or be aware of when putting in a new hard drive? Or can I just hook up the hard drive and plug in the USB and install the software onto the hard drive.
    Assuming that the installer is functioning correctly, install the HDD in the MBP and engage the installer.  You should come across a 4 option menu.  Select Disk Utility from it.  Open Disk Utility>Erase and format the HDD to Mac OS Extended (Journlaled).  One you finish that, you may install the OSX.
    Ciao.

  • Need help reinstalling Yosemite/Question about external hard drive

    I have an early MacBook Pro and I have to reinstall Yosemite because I've been getting nothing but spinning beach balls, slow loading, lag in type showing up, and wi-fi issues.  I took the laptop to the Genius Bar at the Apple store last week and they ran diagnostics on everything and all was perfectly OK.  No hardware issues, no memory issue and he said my laptop was very clean.  He saw the spinning beach ball many times while he was working on my laptop and suggested that I turn off File Vault as that could be causing the slowdown.  He said if that didn't work (it didn't) to buy an external hard drive (which I received today) and to back up everything through Time Machine then reinstall Yosemite.  I specifically bought an external HD that says "for Mac" and as soon as I connected it Time Machine opened and did the backup.
    Now these are my questions.  Are all my photos on iPhoto, and my Word for Mac documents backed up so that when I reinstall Yosemite, everything is going to be right where I left it?  Will I lose Word for Mac and have to reinstall it?  Isn't Word for Mac a one time use/install and will I have trouble and have to call Microsoft to input my authentication key in again and will they let me? I know silly questions but I'm really worried about losing stuff.
    Also step-by-step detailed instruction on how to reinstall Yosemite would really be appreciated.  Thank you!

    YoJoLo wrote:
    Are all my photos on iPhoto, and my Word for Mac documents backed up so that when I reinstall Yosemite, everything is going to be right where I left it? 
    If you have taken the backup using the Time machine then there is nothing to worry as all your photos from iPhotos and Word for mac documents are backup safely by your time machine.
    Only keep one thing in mind that the external HDD which you use for the time machine backup should have the capacity size of about 3-4 times that of your backup data size. Or else, the time machine external drive will start deleting the files if the external drive is about to be full.
    YoJoLo wrote:
    Will I lose Word for Mac and have to reinstall it?  Isn't Word for Mac a one time use/install and will I have trouble and have to call Microsoft to input my authentication key in again and will they let me?
    You absolutely don’t have to reinstall the Word for mac if its install in the first place because Time machine will backup the system installed files of your MS Word which you had installed.
    Word for mac is a one time install and you don’t have to call Microsoft for any authentication key after you have restored your Word backup files from the time machine drive. As I said before the time machine will backup your Word system installed files leaving you no chance to reinstall it again.
    YoJoLo wrote:
    Also step-by-step detailed instruction on how to reinstall Yosemite would really be appreciated.  Thank you!
    Here, Yosemite reinstall procedure......
    Important:    To reinstall OS X, you must be connected to the Internet. Make sure your power adapter is plugged in. Reinstall OS X using the built-in recovery disk.
    In the menu bar, choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command and R keys.
    Select Disk Utility, then click Continue.
    Select your startup disk on the left, then click the Erase tab.
    Choose Mac OS Extended (Journaled) from the Format menu, enter a name, then click Erase.
    Important:    Erasing the disk removes all the information from the disk. Be sure to back up the information you want to keep to an external device. 
    After the disk is erased, choose Disk Utility > Quit Disk Utility.
    Select Reinstall OS X, click Continue, then follow the onscreen instructions.
    Hope this helps.....

  • Thunderbolt / USB3 questions about external backup drives for my new MacBook Pro

    I have a new MacBook Pro retina 13". It has two USB3 and two Thunderbolt2 ports.
    Until now on my iMac I've kept two backups on two WD USB2 drives. I have never had any problems with any of my WD Passport drives. One for Time Machine and one for CCC (a complete bootable clone incrementally created at 3:30 am every day).
    I'd like to get new portable drives for my MBP for these backups going forward and have a few very basic questions, since this is the first time to have a device with a USB3 port, and the first time I even heard about Thunderbolt.
    If I get a USB3 drive and need to use it to restore things on my older iMac, which just has USB2, will it generally connect and run with USB2 at a slower speed? Or would I have to get a drive with both USB2 and USB3 ports?
    Is Thunderbolt just an Apple thing? Or is it a new standard widely used by peripherals now? I just never heard of it before. Is it faster than USB3?
    Is it common for drives to have both Thunderbolt and USB2 connections?
    Are there "hubs" for Thunderbolt like there are for USB? Considering the limited number of ports, I'm wondering the best way to connect 2 external drives. My iMac has 4 USB2 ports on the back, and I connect one drive separate to each of those ports, rather than going through a hub.
    Is USB3 like USB2 in that if you have even 1 USB2 device (e.g. my Logitech headset) connected to a USB3 hub it will slow down everything on that hub to USB2?
    Any recommendations for good, portable backup drives?
    Thanks,
    Doug

    Hi Doug,
    Lets see if we can address some of these:
    If I get a USB3 drive and need to use it to restore things on my older iMac, which just has USB2, will it generally connect and run with USB2 at a slower speed? Or would I have to get a drive with both USB2 and USB3 ports?
    USB3 is "backwards compatible" with USB2 so plugging a USB3 drive into a USB2 port should work, but at USB2 speeds.
    Is it common for drives to have both Thunderbolt and USB2 connections?
    Drives sold as Thunderbolt often (not always) have USB as well, drives sold as USB never (in my experience) have Thunderbolt connections.
    Are there "hubs" for Thunderbolt like there are for USB? Considering the limited number of ports, I'm wondering the best way to connect 2 external drives. My iMac has 4 USB2 ports on the back, and I connect one drive separate to each of those ports, rather than going through a hub.
    Yes there are (but don't expect them to be comparable in price to a USB hub) e.g. see here: http://www.belkin.com/uk/p/P-F4U055/
    Is Thunderbolt just an Apple thing? Or is it a new standard widely used by peripherals now? I just never heard of it before. Is it faster than USB3?
    I'ts an Apple technology (like firewire) and is far from widely used on peripherals.  There ARE Thunderbolt drives etc by companies such as LaCie, WD etc but they are still very expensive (3 or 4x the price of an equivalent sized USB drive).  For some this was a worthwhile expense since Thunderbolt is many times faster than USB2.  But the arrival of USB3 has, in my opinion, changed the landscape.  Yes, Thunderbolt is theoretically faster than USB3 (up to twice as fast) but benchmark tests have shown that in real world situations, the speed difference varies from no difference to Thunderbolt being 25 or 30% faster.  When you take into account that USB3 drives are more common than Thunderbolt and are only a little more expensive than USB2 drives at present, then it's a "no brainer" as far as I am concerned.
    Hope this helps.
    Jon

  • Question about swapping Hard-Drive​s/Creating Recovery Discs

    I have a laptop, Toshiba Satellite C655-S5082, with Windows 7 Home Premium 64-Bit OEM Operating System already installed on it so it did NOT come with an Installation or Recovery disc.
    My problem here is two-fold... First I would like to change the hardware on the PC by changing Hard-Drives from the one that came with the laptop to a large capacity one however since the laptop came with the Operating System already installed onto it I can not install it onto the new Hard-Drive (which for all further purposed we will call Hard-Drive B) now I thought that I could create the recovery discs using Toshiba's Recovery Media Center to create the 4 DVDs however I do not even know if this will help at all since Hard-Drive B does not have a recovery partition on it.
    This however is where my second problem comes into play, when I try to create the recovery discs using the Recovery Media Center I insert the DVD and begin the burning process, however about 75% of the way through the first disc the program slows down and a window pops up asking me if I would like to open the disc with Windows Explorer as if it has just recognized the disc again, I exit out of this and it comes up a few minutes later with an error code of 020150-20-0000000 and a message stating it can not read a file located within the ZZImages directory and then crashes, freezes and I have to end the process via the Task Manager then eject the disc via Windows Explorer 'My Computer' link.
    As you can see my problem is two fold so my questions to the Toshiba Support Team/Administration are...
    1. If I insert the new HDD into the laptop and begin using the recovery discs created via the Recovery Media Center will it be able to install the OS to that HDD and allow the OEM Product Key to be used to verify the OS?
    2. If I can do the above process how do I fix the Recovery Media Center application from crashing and effectively ruining my DVD's, so that I may create the proper recovery dics?
    3. If I can't do the above process due to the Recovery Partitions not being located on that new Hard Drive is there a way to copy and or transfer that Recovery Partition to the new Hard Drive so that the recovery discs do work?
    4. If neither of the above processes work will Toshiba be willing to send me a Windows 7 Home Premium 64-Bit OEM Installation disc via the mail or the .iso/.img file of the disc via e-mail so that I may burn them to a disc myself and install the OS onto the new Hard Drive?
    I do have the appropriate Product ID/Product Key for the OEM OS as well as the Serial Number of the specific laptop itself. Please get back to me as soon as possible. Thank you!

    Satellite C655-S5082 
    create the recovery discs ... comes up a few minutes later with an error code
    This sometimes occurs because of the media. Try using a disc from a different source.
    Follow the instructions in the section Creating recovery DVDs/media, which begins on p. 68 of the User's Guide.
       Satellite C640/C650 Series User’s Guide 
    I do not even know if this will help at all since Hard-Drive B does not have a recovery partition on it
    It doesn't make any difference what's on hard drive B. All of it will be replaced.
    For this, see the section Restoring from recovery DVDs/media, which begins on p. 71 of the User's Guide. You want to recover to "out-of-box state."
    After you have restored to the new hard disk, it will contain everything that the original had, including even all the recovery partitions. So you will even be able to burn recovery discs again from the new hard drive.
    ..the OEM Product Key
    The version of Windows which is restored (not installed) to the new hard drive is pre-activated. You won't need to fool around with the product key.
    ..will Toshiba be willing to send me a Windows 7 Home Premium 64-Bit OEM Installation disc
    If all else fails, you can always order recovery discs from Toshiba directly.
       Order Toshiba Recovery Media
    Your questions indicate that you do not understand the procedure above. If my explanation is insufficient, please feel free to ask for clarification.
    questions to the Toshiba Support Team/Administration
    One more thing. There are no Toshiba support folks here. We are all users just like you.
    -Jerry

  • Question about VacationRequest sample

    Hi
    Thank you for reading my post.
    I have looked at some of Oracle SOA suite sample and one of them is VacationRequest under bpel demos folder.
    What i can not understand is who's job is to develop the web pages that are show in the
    http://localhost/integration/worklistapp/TaskList ?
    a page like :
    http://i12.tinypic.com/33wus8x.jpg
    does SOA suite generate it or developer should hard code the web ui?
    maybe it is the prototype test page, but any comment about this page with its good menu and them will be helpfull.
    thanks

    The SOA suite comes with a built in task list like that, but you can also create pages with this information on your own accessing the information from BPEL.
    For further SOA Suite question use their forum at:
    SOA Suite

  • Question about the Intel driver for the IDE controller

    Greetings to all:
    Lenovo has recently published another driver for the IDE controller and I wonder how many of you that have a T60, T60p, T61 and T61p have been able to actually install it.
    My controller device is:
    Intel(R) 82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller - 27C4,
    both in XP-SP3 as in Vista SP1, 32bits versions ( see bellow details of my T60p, which has 2 hard drives)
    Interestingly enough the driver on each is v:7.0.0.1020 (2005/05/23) for XP and v:6.0.6001.1800 (2006/06/21) for Vista-B. They are working well as far as I see, but now and several times before, I have tried to update them but they do not install. The message is that I have already the  best driver. I noticed that the label of the controller is not quite exactly spell out in the instruction text file or the .inf, and the one that comes close, is that of the so call ICH7-M family.
    Why is this? There are at least 7 versions discussed in the history.  It it perhaps because the one for the ICH7-M family is always the same? System update does not install them either.
    Forgive my curiosity but why bother publishing if they can not be installed? Or perhaps somebody has. This is not logical.
    Cheers.
    Rolando E Creagh, MD. FACS. USA. T61p, 64608WU, Dual Core Centrino 2.6 GHz, T9500, 8GB RAM, Intel TurboMem 4GB (working). HDD 0: 1.0TB 7.4K rpm AF w/ W-7 Ultimate SP1 64b (2nd clean install). HDD 1: 0.5TB 10K rpm w/ W-7 Ultimate SP1 64b (cloned). HDD 2:1TB 7.4K rpm AF w/W-7 SP1 64b (1rst clean install). HDD 3:250GB, Vista-B-SP2 clean install, HDD 4:100GB, XP-SP3, factory install. HDD 5:1.5TB, 5K rpm, AF, DATA. 2504-10U Mini-Dock
    Solved!
    Go to Solution.

    For those who think I can not follow directions.
    First, the driver for the Intel IDE device in a T60p is obviously from Intel. But there are two ways to get it fulfilled.
    Lenovo publish the Intel drivers with perhaps there own twists, refinements and in the absence of clear contrary information, that they are perhaps more fine tuned to the machine. It uses the following inf files to have them install: iaahci.inf and iastor.inf. They are revised whenever Lenovo fell is necessary and eventually published.
    I must assume they are in use if you have a Vista system originally installed by Lenovo and that is why those inf are the ones you find in the updates.
    Mi T60p was purchased 2 years ago with XP-Pro, just before the release of Vista, with the understanding of a free upgrade to Vista-B shall be send when finally released. An Indeed they keep their word and send me a Lenovo branded full version of MS Vista-Business, some 4 months latter (not an image). Rather than upgrade XP-Pro and to avoid the time in limbo and work interruption of the Vista less desirable over XP, I did a successful clean install into a new hard drive, followed by a Lenovo system update, which changed many drivers and installed programs, etc. But as you might imagine, the Intel IDE-SATA driver installed is the one provided by MS (v:6.0.6001.1800 of 2006/06/21), (which uses a different installation file mshdc.inf) and, until proven otherwise, I must assume more generic, since it is for any and all machines, following the standard of the hard drive SATA type.
    Talking to Lenovo support for nearly 1 1/2 hours last week, was at least not good for my blood pressure, while attempting to explain the issue and refuting a collections of nonsense from the support tech. Eventually a supervisor assure me that the driver was the same and that it has not change for a long time, as it is the same even for XP. Well, why bother with updates if that is the case? But I see that there are others IDE drivers species for animals such as Dell, or HP, etc. Thus you must accept that there is a strong case for a Lenovo modified Intel driver and thus the updates. Tech support could not answer such question, nor they were able to install version 8.6.0.1007 (date 2008/12/04) of the driver.
    I fell the machine is working well, but have nothing to compare with (MS Experience Index 4.3). And as usually happened, sometimes you do not appreciate how sick you are, until you get cure. The question remains about the driver been generic and sufficient or specific and optimal.
    Cheers and happy holidays.
    Rolando E Creagh, MD. FACS. USA. T61p, 64608WU, Dual Core Centrino 2.6 GHz, T9500, 8GB RAM, Intel TurboMem 4GB (working). HDD 0: 1.0TB 7.4K rpm AF w/ W-7 Ultimate SP1 64b (2nd clean install). HDD 1: 0.5TB 10K rpm w/ W-7 Ultimate SP1 64b (cloned). HDD 2:1TB 7.4K rpm AF w/W-7 SP1 64b (1rst clean install). HDD 3:250GB, Vista-B-SP2 clean install, HDD 4:100GB, XP-SP3, factory install. HDD 5:1.5TB, 5K rpm, AF, DATA. 2504-10U Mini-Dock

  • A question about using 1394 driver

    Hello to the community people,
    I have a device (A) that sends some data to my computer via a firewire port. And there is another device(B) that is connected to another firewire port of the computer. I want to listen device A and send all data received from device A to device B, the same data without any manipulating. Is there any way to do it(Read bytes from firewire and write to another firewire)? If yes, introduce its tutorial documents, please. (Note that I don't want to do  video streaming)
    Another question is how to define a virtual 1394 driver in a computer? for example, I will save all data, and after a while, I will transfer all data in a buffer and the computer should suppose that this buffer is the the information that firewire device is sending to the computer.

    Hi no1,
    Do these devices have drivers that you have installed? Do they have a driver application programming interface (API) that you can access, probably through a C++ DLL? I assume you're using LabVIEW (since this is the board you posted to). If you're using LabVIEW and you do have DLLs for your cards, you can use the Call Library Function Node or the Shared Library Import Wizard (which creates wrapper VIs for your DLL calls).
    Otherwise, you can use NI-VISA to communicate with your devices. Here is a tutorial how to configure a USB device using the VISA Driver Development Wizard (which would be analogous to Firewire), and here is an overview of VISA.
    You would read the data from device A and then write that data to device B, using either the DLLs or VISA, depending on which route you choose. Unless the devices have specific functions to transfer data to each other in their API, you will have to transfer the data by reading and writing the data in LabVIEW. I hope this helps!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments

  • Qosmio G30 - Question about the Raid driver

    Do i actually need this driver to use RAID? If its set in BIOS, what does the driver actually do? apart from give you health stats?
    Cheers

    Yes, you need the RAID driver.
    I think The Qosmio G30 was designed with the RAID feature like some G20 units.
    Without this RAID driver you will be not able to install the OS because the OS setup cannot recognize the HDD.
    The RAID uses two options:
    RAID-0 (Striping): two HDDs are used as one big drive, if one HDD fails all data is lost
    RAID-1 (Mirroring): both HDDs contain the same data, if one drive fails data is not lost
    I think you could check this posting and additionally use the forum advanced search for more results about RAID.
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=14349&messageID=52359
    In the user manual you will also find many info about RAID

  • Question about swapping hard drives...

    Hi there,
    I recently swapped the harddrive out from my old macbook pro 17" (post 2009 model) into a brand new macbook pro 13". I wanted to see if the OS would still run, and it did. My question is, do I have to perform a re-install of the OS or can I just use as-is? And if I do, if I backup via time machine, does that create an exact version of the backed up user account?

    As long as each hard drive involved in the swap has a version of OS X installed that is current for the hardware, then the swap should work OK. However, if the new machine requires a later version of OS X or a version with a different build, then the swap will not work properly for the newer machine using the older hard drive.
    TM will backup any and all drives included. Everything is backed up except what you specifically add to the TM exclude list. TM DOES NOT create a bootable backup nor permanent storage - files deleted from the source will eventually be deleted from the TM backup drive.

  • X-Raid question about adding more drives

    Hi Guys.
    I am running an X Server (10.3.8 dual 2GHZ PPC G5)with an X-Raid attached. Right now it is only half full with a RAID5 volume that is my main file server.
    My question is can i add three 500GB drives into the empty slots of my X-Raid and congiure them as another RAID5 volume without killing my current drives setup on the X-Raid?
    Thanks for any help.

    You can do it hot. The 3 drives you insert will not affect the exiting RAID set in any way whatsoever. The Xserve RAID supports up to 3 RAID sets per RAID controller (each controller handles one "half" of the array -- so 7 drives). What you're doing is very common.
    The only thing I say is that you need to be sure you replace the 3 unused "blanks" and don't accidentally eject one of the drives that's already part of a RAID set. This should be pretty obvious as the "live" drives have blue and green lights, and the blanks have none, but other than that, it's a cakewalk.

  • Basic questions about cloning a drive

    I'm planning on installing a new Seagate 300GB SATA internal drive and have two basic questions:
    1. Is it advisable to make the new drive my boot drive? Presumably the new drive will be faster than the original Maxtor SATA 160GB, right? (I'm not able to find the Maxtor's specs, as System Profiler causes a spinning beachball).
    2. Why do so many people recommend using Carbon Copy Cloner or other software for cloning the contents of an old boot drive to the new drive? Can't I simply copy the files (via "drag and drop") to the new drive and bless the new drive as the startup drive using the Startup Disk system preference?
    Power Mac G5 Dual 2.5   Mac OS X (10.4.2)  

    1. The new drive MAY be faster, depends on which drive you're buying. I think most of the Seagates have an 8mb cache. Which your original Maxtor also more than likely has. Chances are you won't notice any speed boost.
    2. Drag and drop won't work. Cloning is the way to go to insure that everything get's copied to the new drive. I recommend Carbon Copy Cloner or SuperDuper. Both can be tried without buying, but both are worth the $$.
    If I were you I'd install the new drive in the open drive bay, clone the old one over to it, set it as the startup drive in system prefs, and finally once you're certain that everything is working, format the old drive. It doesn't matter which drive bay your startup drive is in.
    Dual 2.0, 4 GB, 2x160 GB , SuperDrive, 9800 SE, 20 Aluminum - 15 1.5 PB,   Mac OS X (10.4.4)  

  • Urgent question about 7200 rpm drive

    Ok I had a Hitachi 7k100 that I decided to swap for a momentus 7200.1. I am sitting here just getting ready to install it and I read the post about the black macbook getting so hot after this drive is installed.
    I know the hitachi runs fine but does anyone have a 7200.1 installed, that can still use this laptop on their lap? Also has anyone goteen some HD temps off this drive while in use in a Macbook?
    According to another thread there is a possibility that momentus drives use more wattage than they claim? I am going to hold off on opening the package for my drive until I hear what others experience with this drive has been.
    Kalel

    Hi Kalel,
    Similar position to you as I have a 7200.1 Momentus 100Gb sealed still awaiting it's new home. I'm starting to think maybe the Hitachi is a better bet based on this thread... http://discussions.apple.com/thread.jspa?threadID=497936&tstart=0
    In that thread I've asked around for other MacBook users experience with 7200RPM HD with interesting answers thrown back... I presume that has made you rethink the Momentus?
    I getting quite confused because I thought the Hitachi was quieter than the Seagate? Isn't it better for you to hold onto your Hitachi unless someone else could wave the flag for the Momentus proper? I can't give more weight to this until I'll try it on my one... hopefully in a few days.
    Alex

  • A Cautionary Tale + Question about ibook hard drive

    I made the switch to Mac almost two years ago; I love my ibook G4, but I wish I had purchased AppleCare. Now I've got an odd HD problem and I'm wondering if anyone else has had something similar happen.
    Right now the HD is OK; obviously, I'm using it to post this message. But fairly often I will get the whirly, the computer will absolutely freeze (no F9, no option-command-escape, nothing). Guess what makes it better? Tilting the entire computer up at about a 30 degree angle! Everything goes back to normal--the HD kicks back into place, the whirly goes away, and my computer is fine--until I place the computer on a level surface again.
    I have a theory as to why this is happening, and I'm wondering whether it's correct. Stupidly, I have in the past carried my ibook around while it's open. Recently I heard an odd groaning sound coming from the HD while doing so. I bet that I scratched the HD somehow or loosened it in some way that it only works when it's tilted in a certain direction. Do I need to replace the HD? I'm on level ground right now, and, knock on wood, everything's OK.
    Any similar experiences out there, or responses to my theory? Thank you.
    iBook G4 800   Mac OS X (10.3.9)  

    Andrew, if you're booted from a Mac OS X 10.3.x (Panther) install disk, you should be able to open the Disk Utility from the Installer menu without actually installing Mac OS X. What does the Disk Utility tell you about your iBook's hard drive? Is the S.M.A.R.T. status failing? Are you able to "repair disk" and/or "repair disk permissions" on the hard drive? Have you run the Apple Hardware Test CD? Although it does seem to sound like a hard drive hardware issue, before you go about replacing the hard drive, it might be a good idea to go through these troubleshooting steps to eliminate things like a bad logic board first. What if you go about the cost and time to replace the hard drive but it's actually the ATA controller on the logic board that's the problem?
    -Doug

  • Question about Pagecontrol sample app

    Hi,
    I've been looking at some sample apps to help with a beginners project that I'm doing. There is a Apple sample app for PageControl.
    The app delegate contains this code (I hope I'm OK to include this here, please tell if not)
    // replace the placeholder if necessary
    MyViewController *controller = [viewControllers objectAtIndex:page];
    if ((NSNull *)controller == [NSNull null]) {
    controller = [[MyViewController alloc] initWithPageNumber:page];
    [viewControllers replaceObjectAtIndex:page withObject:controller];
    [controller release];
    // add the controller's view to the scroll view
    if (nil == controller.view.superview) {
    CGRect frame = scrollView.frame;
    frame.origin.x = frame.size.width * page;
    frame.origin.y = 0;
    controller.view.frame = frame;
    [scrollView addSubview:controller.view];
    I've highlighted two lines and my question is: how can controller be used when it has already been released in the previous section?
    I'm very new to this and I thought that releaseing an object meant that you could no longer get to it?
    Many Thanks in advance
    Ziximo
    Message was edited by: Ziximo

    Objects aren't deallocated until their retain count goes to zero. When the controller is alloced its retain count is one. When the controller is added to the array its retain count is incremented to two. It's then released to reduce the count to one. Assuming the controller isn't retained by any other object, it will be dealloced when it's removed from (and thus released by) the array. - Ray

Maybe you are looking for

  • Creating a bitmap copy of a TextFlow object without the caret [cursor]

    Hey all I'm currently working on creating a bitmap copy of a TextFlow object and I am looking at hiding the caret. What would be the best way forward, using the focusmanager to 'unfocus' the TextFlow object, or is there some more direct approach avai

  • Apple TV is not for sports enthusiasts?

    Looking into Apple TV, I am assuming it is only for downloads in shows and movies. Are there options, other than hitting the sports bar, to see a game on apple TV?

  • Error in  Sql plus Logging

    [oracle@localhost ~]$ set oracle_sid=oraclee [oracle@localhost ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Thu Nov 5 09:35:30 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. Error 1: SQL> connect sys as sysdba Enter pa

  • How to get the tag name into javascript

    Hi, Is there any way to get the tag name into java script when user clicks on. For eg: if i use netui:anchor tag, how can I pass the tag id to the javascript when user clicks on the link using onClick attribute. This tag id needs to be evaluated at r

  • Mac Plus keyboard cable

    For a Mac Plus keyboard cable, can I substitute a phone cable or is the Mac jack wiring specialized?