VirtualBox

Opened 9 years ago

Closed 6 years ago

#13575 closed defect (obsolete)

Cannot sync my phone or connect USB-stick

Reported by: Iechah7l Owned by:
Component: USB Version: VirtualBox 4.3.18
Keywords: USB 2.0 Cc:
Guest type: Windows Host type: Linux

Description

Debian GNU/Linux 7.7 (wheezy) 32-bit host and Windows 7 64-bit guest, same problem in Windows 8.1 64-bit and Windows XP 32-bit guest. When I connect USB-device like USB-stick or my phone I could allways acces USB stick from My Computer or sync my phone with Zune (Windows Phone sync software) no problem.

But when i upgraded to 4.3.16 from 4.3.14, guest immediately crashes or after few seconds. Never had any problems before. When I downgrade back to 4.3.14, it works again. And yes I remembered to upgrade Extension pack.

Here is something that I found in /var/log/messages after guest crash:

.......

.......

ct 18 22:35:50 qwerty kernel: usb 5-1.1: new high-speed USB device number 7 using ehci_hcd

Oct 18 22:35:53 qwerty kernel: usb 5-1.1: New USB device found, idVendor=045e, idProduct=04ec

Oct 18 22:35:53 qwerty kernel: usb 5-1.1: New USB device strings: Mfr=0, Product=8, SerialNumber=9

Oct 18 22:35:53 qwerty kernel: usb 5-1.1: Product: RM-823|NOKIA Lumia 900

Oct 18 22:35:53 qwerty kernel: usb 5-1.1: SerialNumber: 99461300-b56a-0801-
......

...........

...........

Oct 18 22:36:31 qwerty kernel: EhciFramer[16822]: segfault at 0 ip ab696369 sp a2806fa0 error 6 in VBoxDD.so[ab566000+27f000]

Oct 18 22:36:31 qwerty kernel: device eth1 left promiscuous mode

Oct 18 22:36:31 qwerty kernel: vboxnetflt: 9142 out of 236707 packets were not sent (directed to host)

Oct 18 22:36:42 qwerty kernel: usb 5-1.1: USB disconnect, device number 7

.....

.....

Change History (13)

comment:1 by RoRo, 9 years ago

I observed the same problems with VirtualBox 4.3.18 and 4.3.20 on a Debian wheezy 64bit host with Windows 7 (32bit) guest.

When trying to write to my Garmin Oregon 600 device via USB 2.0 from the guest system I always see a segfault in the host kernel log:

Nov 26 21:57:52 dinghy kernel: [2544151.202792] EhciFramer[32274]: segfault at 0 ip 00007fa3153b68ee sp 00007fa310937aa0 error 6 in VBoxDD.so[7fa315298000+264000]

and the guest ist terminated.

I noticed this problem with 4.3.18 and hoped that upgrading to 4.3.20 would help but the problem persisted.

Today I downgraded to 4.3.12 and now accessing the USB again works correct as always before.

Last edited 9 years ago by RoRo (previous) (diff)

comment:2 by Iechah7l, 9 years ago

I have sticked with 4.3.14 for now, tested 4.3.20, problem persists with 4.3.20 exactly same way. Did also some hardware testing to make sure it is not related to hardware (Memtest86, different cables, other USB flash drive etc). With 4.3.14 everything works perfectly.

comment:3 by vpodobaev, 9 years ago

Hello.

I have the same problem when I upgrade to 4.3.20 (Debian 7, amd64). The VirtialBox is crashing, when the guest system (linux) trying to access an usb flash. In syslog I've got the message:

Dec 19 13:26:44 podobaev kernel: [ 2124.723467] OhciFramer[6258]: segfault at 0 ip 00007f72ee1148ee sp 00007f72ec19c0e0 error 6 in VBoxDD.so[7f72edff6000+264000]

So, I am downgrading to 4.3.14.

If you need more information (logs, experiments), I am willing to help you.

Best regargs, Vladimir

comment:4 by Frank Mehnert, 9 years ago

Summary: USB 2.0 still broken in 4.3.16 and 4.3.18, cannot sync my phone or connect USB-stickCannot sync my phone or connect USB-stick

comment:5 by Iechah7l, 9 years ago

Tested 4.3.22-98236~Debian~wheezy, problem persists exactly same way. "...EhciFramer[26238]: segfault at..."

root@qwerty:~# tail -n 70 /var/log/messages |grep --invert-match 'Port SCAN'
Mar 1 21:43:29 qwerty kernel: ll header: ff:ff:ff:ff:ff:ff:08:00:27:30:29:76:08:00[[BR]] Mar 1 21:44:20 qwerty kernel: device eth1 left promiscuous mode
Mar 1 21:44:20 qwerty kernel: device eth1 entered promiscuous mode
Mar 1 21:44:24 qwerty kernel: usb 4-1.1: USB disconnect, device number 9
Mar 1 21:47:02 qwerty kernel: device eth1 left promiscuous mode
Mar 1 21:47:03 qwerty kernel: vboxnetflt: 276 out of 15198 packets were not sent (directed to host)
Mar 1 21:47:40 qwerty kernel: device eth1 entered promiscuous mode
Mar 1 21:48:33 qwerty kernel: usb 4-1.1: new high-speed USB device number 10 using ehci_hcd
Mar 1 21:48:35 qwerty kernel: usb 4-1.1: New USB device found, idVendor=045e, idProduct=04ec
Mar 1 21:48:35 qwerty kernel: usb 4-1.1: New USB device strings: Mfr=0, Product=8, SerialNumber=9
Mar 1 21:48:35 qwerty kernel: usb 4-1.1: Product: RM-823|NOKIA Lumia 900
Mar 1 21:48:35 qwerty kernel: usb 4-1.1: SerialNumber: 12345
Mar 1 21:49:45 qwerty kernel: EhciFramer[26238]: segfault at 0 ip aaee94a8 sp a210af00 error 6 in VBoxDD.so[aada6000+298000]
Mar 1 21:49:45 qwerty kernel: device eth1 left promiscuous mode
Mar 1 21:49:45 qwerty kernel: vboxnetflt: 798 out of 9831 packets were not sent (directed to host)
Mar 1 21:52:56 qwerty kernel: device eth1 entered promiscuous mode
Mar 1 21:53:11 qwerty kernel: usb 4-1.1: USB disconnect, device number 10
Mar 1 21:54:11 qwerty kernel: usb 4-1.1: new high-speed USB device number 11 using ehci_hcd
Mar 1 21:54:13 qwerty kernel: usb 4-1.1: New USB device found, idVendor=045e, idProduct=04ec
Mar 1 21:54:13 qwerty kernel: usb 4-1.1: New USB device strings: Mfr=0, Product=8, SerialNumber=9
Mar 1 21:54:13 qwerty kernel: usb 4-1.1: Product: RM-823|NOKIA Lumia 900
Mar 1 21:54:13 qwerty kernel: usb 4-1.1: SerialNumber: 12345
Mar 1 21:55:53 qwerty kernel: usb 4-1.1: reset high-speed USB device number 11 using ehci_hcd
Mar 1 21:58:43 qwerty kernel: usb 4-1.1: reset high-speed USB device number 11 using ehci_hcd
Mar 1 22:03:09 qwerty kernel: usb 4-1.1: reset high-speed USB device number 11 using ehci_hcd

comment:6 by Iechah7l, 9 years ago

root@qwerty:~# dpkg -i /home/laardi/qwerty-home-laardi-mydocuments/VirtualBox/virtualbox-4.3_4.3.14-95030~Debian~wheezy_i386.deb
dpkg: warning: downgrading virtualbox-4.3 from 4.3.22-98236~Debian~wheezy to 4.3.14-95030~Debian~wheezy
(Reading database ... 315498 files and directories currently installed.)
Preparing to replace virtualbox-4.3 4.3.22-98236~Debian~wheezy (using .../virtualbox-4.3_4.3.14-95030~Debian~wheezy_i386.deb) ...
Stopping VirtualBox kernel modules ...done.
Unpacking replacement virtualbox-4.3 ...
Setting up virtualbox-4.3 (4.3.14-95030~Debian~wheezy) ...
Installing new version of config file /etc/init.d/vboxdrv ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File: does not exist.

...done.

Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles' Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
root@qwerty:~#

After downgrade all OK:

/var/log/messages after successfull Lumia 900 sync

Mar 1 23:24:23 qwerty kernel: device eth1 entered promiscuous mode
Mar 1 23:26:58 qwerty kernel: usb 4-1.1: new high-speed USB device number 13 using ehci_hcd
Mar 1 23:27:00 qwerty kernel: usb 4-1.1: New USB device found, idVendor=045e, idProduct=04ec
Mar 1 23:27:00 qwerty kernel: usb 4-1.1: New USB device strings: Mfr=0, Product=8, SerialNumber=9
Mar 1 23:27:00 qwerty kernel: usb 4-1.1: Product: RM-823|NOKIA Lumia 900
Mar 1 23:27:00 qwerty kernel: usb 4-1.1: SerialNumber: 12345
Mar 1 23:28:07 qwerty kernel: usb 4-1.1: reset high-speed USB device number 13 using ehci_hcd
Mar 1 23:28:15 qwerty kernel: usb 4-1.1: USB disconnect, device number 13

comment:7 by Iechah7l, 9 years ago

Tested 4.3.26-98988~Debian~wheezy, problem persists exactly same way.

root@qwerty:~# tail -n 8 /var/log/messages
Mar 29 16:11:16 qwerty kernel: usb 4-1.1: new high-speed USB device number 27 using ehci_hcd
Mar 29 16:11:19 qwerty kernel: usb 4-1.1: New USB device found, idVendor=045e, idProduct=04ec
Mar 29 16:11:19 qwerty kernel: usb 4-1.1: New USB device strings: Mfr=0, Product=8, SerialNumber=9
Mar 29 16:11:19 qwerty kernel: usb 4-1.1: Product: RM-823|NOKIA Lumia 900
Mar 29 16:11:19 qwerty kernel: usb 4-1.1: SerialNumber: 1234567890
Mar 29 16:14:15 qwerty kernel: EhciFramer[30984]: segfault at 0 ip aaf45d79 sp a208ef90 error 6 in VBoxDD.so[aadfd000+29d000]
Mar 29 16:14:15 qwerty kernel: device eth1 left promiscuous mode
Mar 29 16:14:15 qwerty kernel: vboxnetflt: 2033 out of 3766 packets were not sent (directed to host)
root@qwerty:~#
root@qwerty:~#
root@qwerty:~# dpkg -l |grep virtualbox
ii virtualbox-4.3 4.3.26-98988~Debian~wheezy i386 Oracle VM VirtualBox
root@qwerty:~#

After downgrade again to 4.3.14-95030~Debian~wheezy all OK

comment:8 by marcocontenti, 9 years ago

Same thing happened to me with 4.3.26 on Ubuntu 12.04 host and Win8.1 guest, trying to debug a Windows Phone app on a Nokia Lumia 730 connected via USB 2.0 to the VM running Visual Studio 2013.
I could correctly register the phone as a debug device via USB, but as I pressed the Start on Device button to deploy the app to the phone, the VM disappeared without any message left on the VM log. I could see the following in the host dmesg:
EhciFramer[20938]: segfault at 0 ip 00007f948906520f sp 00007f9452003ab0 error 6 in VBoxDD.so[7f9488f3f000+26d000]
Downgrading to 4.3.14 fixed the issue.

Last edited 9 years ago by marcocontenti (previous) (diff)

comment:9 by EkriirkE, 9 years ago

Same issue here for the last couple(?) releases on Fedora 22 4.1.6-200.fc22.x86_64 host, x64 guest (Win7) when connecting an iPod the guest just disappears and is listed as Aborted. VBox is currently 4.3.30 in fedora 22. Additions are up-to-date, safemode makes no matter. The moment the ipod makes the "connected" sound the guest is gone.

dmesg states:

[159306.894635] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[159307.061732] usb 1-2: New USB device found, idVendor=05ac, idProduct=12aa
[159307.061735] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[159307.061737] usb 1-2: Product: iPod
[159307.061738] usb 1-2: Manufacturer: Apple Inc.
[159307.061739] usb 1-2: SerialNumber: x
[159307.062918] usb 1-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
[159307.062923] usb 1-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
[159307.098808] usb 1-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
[159307.098813] usb 1-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
[159307.193148] usb 1-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
[159307.193152] usb 1-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
[159307.461753] EhciFramer[2324]: segfault at 200000003 ip 00007f3f234fdb2a sp 00007f3f2010aca0 error 6 in VBoxEhciR3.so[7f3f234f8000+e000]

VBox log tail states:

00:09:23.017285 RTC: period=0x20 (32) 1024 Hz
00:09:23.032069 RTC: period=0x200 (512) 64 Hz
00:09:25.044939 VUSB: attached '00007feb9d43ea40[proxy 05ac:12aa]' to port 1
00:09:25.045184 EHCI: USB Operational
Last edited 9 years ago by Frank Mehnert (previous) (diff)

comment:10 by EkriirkE, 9 years ago

Update; if I disable USB2.0 (EHCI) in the VM settings/USB console, the guest stays alive but the devices do not function though they are detected and configured (In device manager they get a yellow hazzard symbol with error message "Device failed to start")

comment:11 by EkriirkE, 9 years ago

Last thing, if I leave EHCI enabled but use a USB 1.1 hub so full speed/EHCI is not utilised, the devices are recognised and usable, albeit at a fraction of full speed.

comment:12 by Juraj Lutter, 9 years ago

Same here:

Linux 2.6.39-400.264.1.el5uek

VBox 4.3.30 or 5.0.x, guest Windows 7 64bit, after connecting (accessing) external drive connected over USB:

Sep 9 23:17:38 srs kernel: VBoxHeadless[13225]: segfault at 0 ip 00007f36ebb8a063 sp 00007f36e8698cf0 error 6 in VBoxDD.so[7f36eba7c000+250000]

Guest additions matching VBox version (either 4.x or 5.x)

comment:13 by aeichner, 6 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent version of VirtualBox.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use