--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: usbip: When using USB modem via usbip, IP traffic hangs system in seconds
- From: Boris <etisatisanimatis@gmail.com>
- Date: Thu, 02 Jan 2014 04:32:23 +0600
- Message-id: <20140101223223.2725.90120.reportbug@mgdln.local>
Package: usbip
Version: 1.1.1+3.2.17-1
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
I made a firewall&proxy in a virtual machine, using usbip to pass USB CDMA modem into it without connecting to the host PC.
The host system is Debian wheezy, the guest system is wheezy installed from scratch (I also tried jessie and sid with the same result) and the virtulization is virtualbox. The modem is quite rare and is being shipped under different names, so i'd better use its vid:pid, it's 1edf:6004.
So, the guest has 3 interfaces, eth0 for the host, eth1 for the clients and ppp0 for the internet via usbip-attached modem (connected via TCP port 3240 on eth0, of course).
When the client machine connects to the internet through a proxy (squid), the system seems fine but hangs after like hours.
But when I set up ip forwarding and masquerading from eth1 to ppp0 and use it heavily like downloading http video streams from a client, the system hangs up in seconds.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I tried to look through the logs but haven't found anything particular. I tried to change iptables' rules and ipv4.ip_forward to switch forwarding on and off due to the state of the ppp connection, but that didn't help. I tried to upgrade the whole system to a newer version but the problem persists. I wrote a script to check every second whever the virtual modem is attached, but "usbip list -l" reports the device stays ok till the very crash.
* What was the outcome of this action?
The guest system just hangs up with no traces.
* What outcome did you expect instead?
I do not expect the USB device to crash the whole (guest) system. On a host machine, this modem works fine for months. I try to write a workaround for a network, ppp, usb or other failure, but can do nothing with the total hangup.
I would not like to use the standart virtualbox USB passthrough because somehow it makes my modem work too slow, even with PUEL additions.
I also don't want to load the host machine with all the firewall rules and scripts and apps which I want to run in a dedicated sandbox, niether to split them between the host machine and some other/virtual machine, making most of the connections one hop more complicated.
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages usbip depends on:
ii libc6 2.13-38
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libsysfs2 2.1.0+repack-2
ii libwrap0 7.6.q-24
ii usbutils 1:005-3
usbip recommends no packages.
usbip suggests no packages.
-- no debconf information
--- End Message ---