Some Mac OS X v10.6 computers may experience a kernel panic when connecting to an iPhone 3G with Internet tethering via USB enabled.
Update to the latest version of iTunes.
If you continue to encounter this issue with your iPhone 3G, use Bluetooth instead of USB.