Updating iPhone to iOS 4 in Vmware

While updating my iPhone 3GS to iOS 4, I encountered an error on iTunes saying that my iPhone could not be updated. My phone went into recovery mode after that. This is not the first time I’m doing restore and update with Vmware, so I’m pretty surprise why the update process failed.

A peek into dmesg shows the following –

[52420.444795] usb 2-2: usbfs: interface 2 claimed by ipheth while ‘vmware-vmx’ sets config #4
[52420.460159] usb 2-2: usbfs: process 9345 (vmware-vmx) did not claim interface 2 before use
[52420.460222] usb 2-2: usbfs: process 9345 (vmware-vmx) did not claim interface 2 before use

Linux is now capable of detecting the iPhone over USB natively and automatically via the iPhone for tethering and direct access to the underlying filesystem, so it’s hogging the USB port on the iPhone and denying Vmware of accessing it.

Anyway the solution is simple. Just run

# rmmod ipheth

#  dmesg

[52445.922401] usbcore: deregistering interface driver ipheth
[52445.964038] ipheth 2-2:4.2: Apple iPhone USB Ethernet now disconnected
[52491.228075] usb 2-2: reset high speed USB device using ehci_hcd and address 21
[52491.524073] usb 2-2: reset high speed USB device using ehci_hcd and address 21

Linux releases the iPhone. On Vmware, disconnect and connect the iPhone again.

Author: yibi

YiBi's numb :) YiBi writes about anything. Technology, Gossips, Rubbish YiBi's a half f%#k geek :P

Comments

  1. Very helpful, thanks! Had a similar problem with this driver:

    usbfs: interface 1 claimed by snd-usb-audio while ‘vmware-vmx’ sets config #4
    usbfs: process 15721 (vmware-vmx) did not claim interface 2 before use

    and solved it with

    rmmod snd-usb-audio

Optimization WordPress Plugins & Solutions by W3 EDGE