[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733902: marked as done (usbip: When using USB modem via usbip, IP traffic hangs system in seconds)



Your message dated Sat, 24 Apr 2021 12:12:34 -0700 (PDT)
with message-id <60846da2.1c69fb81.6d534.5258@mx.google.com>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #733902,
regarding usbip: When using USB modem via usbip, IP traffic hangs system in seconds
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
733902: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733902
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: