T
2013-Mar-19 14:39 UTC
[Pkg-xen-devel] Bug#703430: Possible memory leak in qemu-dm when Xen USB Passthrough is used
Package: xen-hypervisor-4.1-amd64 Version: 4.1.4-2 This is related to Bug#699237: Huawei E220 does not work under Debian Wheezy Mainboard Gigabyte Z77X-D3H, 32GB RAM Xen dom0: Debian Wheezy 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux - affected 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux - affected Bus 001 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem Modem is redirected to HVM domU: Debian Squeeze 2.6.32-5-amd64 #1 SMP Mon Feb 25 00:26:11 UTC 2013 x86_64 GNU/Linux Modem works correctly for a few days then becomes unoperational and gammu-smsd generates lots of errors: Mon 2013/03/18 11:44:37 gammu-smsd[1802]: Starting phone communication... Mon 2013/03/18 11:46:03 gammu-smsd[1802]: Error at init connection: [..] (TIMEOUT[14]) Mon 2013/03/18 11:46:03 gammu-smsd[1802]: Already hit 250 errors During this state qemu-dm process grows and dom0 starts to swap. ps aux root 6081 4.7 76.1 4917256 3872708 ? SLl mar16 209:48 /usr/lib/xen-4.1/bin/qemu-dm -d 8 -domain-name sms -videoram 4 -nographic -vcpus 1 -vcpu_avail 0x1 -boot c -acpi -usb -usbdevice host:12d1:1003 -net nic,vlan=1,macaddr=00:16:3E:xx:xx:xx,model=e1000 -net tap,vlan=1,ifname=vif8.0-emu,bridge=br0 -M xenfv Normal domU state: root 8128 4.5 0.0 82052 3988 ? SLl 14:38 0:16 /usr/lib/xen-4.1/bin/qemu-dm -d 9 -domain-name sms -videoram 4 -nographic -vcpus 1 -vcpu_avail 0x1 -boot c -acpi -usb -usbdevice host:12d1:1003 -net nic,vlan=1,macaddr=00:16:3E:xx:xx:xx,model=e1000 -net tap,vlan=1,ifname=vif9.0-emu,bridge=br0 -M xenfv Resetting modem at dom0 side and adding again to domU makes it work but only reboot of DomU releases memory. Please let me know if You need more information. Best Regards, T