Fix for Error (-9838)
"DO NOT disconnect your phone. Intead, when you get the message saying it timed out, click ok. Then click on any other heading, Music for example, in your itunes. Then go back and click on your iPhone icon."
I did this and now my iphone is working
Macbook (Bought in May 2007), Mac OS X (10.5.4)