HI , this sounds like a Mac HD install issue .
Lets run though some basic repair checks , but firstly we need to get the CD ejected or at least get the tray open to insert the Mac OSX install DVD 1 the latest pone you have that matches your system .
Push and hold eject , on a USB keyboard while powering on the Mac .
Connect the keyboard directly to the Mac not via a hub etc.
Or use a USB mouse and hold the mouse button or left mouse button while powering on the Mac . Connect the Mouse directly to the Mac not via a hub etc.
Reboot the mac , and hold either the eject on the keyboard at least 6 seconds.
or the mouse button down while the machine powers on .
The disk should eject .
You need a USB keyboard :
Boot into Open Firmware and eject If you have a Mac that will not startup properly and has a stuck disc, try booting into Open Firmware by holding down Command, Option, O key and F key during startup. After booting into Open Firmware, type the command eject-cd.
Blue tooth does not kick in till the login window so bluetooth keyboards wont work.
Ok once ejected please read on .
Repair Mac HD , Check Permissions with the OSX Startup volume.
To check for disk errors and possibly fix issues with the Mac HD volume and other Partitions .
Please run a Mac HD drive repair ,
and Repair Permissions of the Mac HD startup volume .
1 Start from your Mac OS X Install disc: Insert the installation disc, then restart the computer while holding the C key.
2 When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu.
(In Mac OS X 10.4 or later, you must select your language first.)?
Important:- Do not click Continue in the first screen of the Installer.
If you do, you must restart from the disc again to access Disk Utility.
3 Click the First Aid tab.
4 Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5 Choose your Mac OS X volume.
6 Click Repair. Disk Utility checks and repairs the disk.
If errors are found please run the check twice .
Report any errors in displayed RED to me .
Tip:- Always start up your computer from an Install or Restore disc when using Disk Utility to verify or repair your startup volume.
**Perform Disk permission repairs while Booted to your Mac HD as normal**.
Please run repairs on all your Mac HD partitions and disks.
Choose in turn the drive name from the left hand list , and use repair .
Run repairs twice if RED errors where found , check to see if they are now cleared.
Using the Repair Privileges Utility
For Mac OS X 10.2 or later, open Disk Utility found in the Applications/Utilities folder.
Select your Mac OS X startup volume in the column on the left of the Disk Utility window, then click the First Aid tab.
Click the Repair Disk Permissions button.
Please wait while the Mac HD is checked.
If errors are found please run the check twice .
Report any errors displayed in RED to me .
Mac OS X incorporates a subsystem based on a UNIX-style operating system that uses permissions in the file system.
Every file and folder on your hard disk has an associated set of permissions that determines who can read, write to, or execute it.
Next up system maintenance:
Please try using ONYX to repair clean and check all OSX caches , font caches and other maintenance scripts .http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html
A multifunction utility for Mac OS X.
It allows you to verify the Startup Disk and the structure of its System files, to run misc tasks of system maintenance, to configure the hidden parameters of the Finder, Dock and of some of Apple’s own applications, to delete caches, to remove a certain number of files and folders that may become cumbersome and more. We can also check the SMART status of the HD with OnyX .
Also its best to get a full disk repair tool for future use :-
Drive genius may have prevent this problem as it seems your Mac HD had an error that needed to be fixed , Apple disk utilities is a basic application not intended for major disk error repairs or testing :-http://www.prosofteng.com/products/drive_genius.php?PHPSESSID=d0291636841b25cf082e211e2d6def53
or drive 10 for OSX depending on OSX version .
Now run some tests with your software and see if there's a difference ?
You can also try this more simple step to try to correct issues :-
Turn off the Mac .
Power on the Mac .
Hold shift on the keyboard using a USB keyboard , while powering on the Mac and booting , boot to safe mode.
Once booted to safe mode , restart and boot as normal .
Full details here :-http://support.apple.com/kb/ht1455
This may fix minor issues but it is best to run a Full Mac HD repair from the OSX DVD installer disk , use the OSX disk that goes with your current OSX install ..
Once the Mac HD is tested ok or repaired , you can go on to update the software , please let me know if there are issues ,and give full details. We may need to Archive and install Mac OSX if problems persist and check the Mac hardware is working correctly . And i will give details of how to do that keeping your user account intact if needed.
I hope this helps .