[Bug 1099793] Re: php 5.3.10 openssl_encrypt empty data
Thanks Robie! Is there any tutorial to build a deb package on Ubuntu? (or which command have You used to packaging?) I want to build my own php5 deb package if nothing happens till the end of week. :-) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1099793] Re: php 5.3.10 openssl_encrypt empty data
Thanks Robie! Is there any tutorial to build a deb package on Ubuntu? (or which command have You used to packaging?) I want to build my own php5 deb package if nothing happens till the end of week. :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1099793] [NEW] php 5.3.10 openssl_encrypt empty data
Public bug reported: $lsb_release -rd Description:Ubuntu 12.04.1 LTS Release:12.04 $apt-cache policy php5 php5: Telepítve: 5.3.10-1ubuntu3.4 Jelölt:5.3.10-1ubuntu3.4 Verziótáblázat: *** 5.3.10-1ubuntu3.4 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 100 /var/lib/dpkg/status 5.3.10-1ubuntu3 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages My libssl version: libssl1.0.0: Telepítve: 1.0.1-4ubuntu5.5 Jelölt:1.0.1-4ubuntu5.5 Verziótáblázat: *** 1.0.1-4ubuntu5.5 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.0.1-4ubuntu5.3 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 1.0.1-4ubuntu3 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages EXPECTED: If you run test.php (attached ) in command line or as Apache module the expected output is binary data smaller than 40byte. BUG: On my system it outputs 32kbyte, and contains memory dump, PHP source code, PHP variable values etc. It looks like similar to a buffer overrun/flow. I've downloaded PHP5.3.10 source code. Could the following cause it? php5-5.3.10/ext/openssl/openssl.c line 4716: if (data_len 0) { EVP_EncryptUpdate(cipher_ctx, outbuf, i, (unsigned char *)data, data_len); } If data IS nothing (empty), it does not call EVP_EncryptUpdate() function. ** Affects: php5 (Ubuntu) Importance: Undecided Status: New ** Attachment added: run: php test.php https://bugs.launchpad.net/bugs/1099793/+attachment/3483887/+files/test.php -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1099793] Re: php 5.3.10 openssl_encrypt empty data
Bad news: I am trying to complie PHP 5.3.10 on my 12.04 LTS but doesn't work. :-( $apt-get source php5 $cd php5-5.3.10 $./configure --with-openssl $make /bin/sh /tmp/php5-5.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/tmp/php5-5.3.10/ext/date/ -DPHP_ATOM_INC -I/tmp/php5-5.3.10/include -I/tmp/php5-5.3.10/main -I/tmp/php5-5.3.10 -I/tmp/php5-5.3.10/ext/date/lib -I/tmp/php5-5.3.10/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php5-5.3.10/ext/sqlite3/libsqlite -I/tmp/php5-5.3.10/TSRM -I/tmp/php5-5.3.10/Zend-I/usr/include -g -O2 -fvisibility=hidden -c /tmp/php5-5.3.10/ext/date/php_date.c -o ext/date/php_date.lo /tmp/php5-5.3.10/libtool: 481: /tmp/php5-5.3.10/libtool: CDPATH: not found libtool: Version mismatch error. This is libtool 2.4 Debian-2.4-2ubuntu1, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.4 Debian-2.4-2ubuntu1 libtool: and run autoconf again. make: *** [ext/date/php_date.lo] Error 63 I'm not familiar with libtool... Can anyone build (compile) PHP 5.3.10 source on Precise? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1099793] Re: php 5.3.10 openssl_encrypt empty data
I have successfully built PHP 5.4.10 (latest version from http://php.net) on 12.04. This PHP version is not affected by the bug. :-) Could anyone confirm the bug on stock ubuntu 12.04 system? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1099793] [NEW] php 5.3.10 openssl_encrypt empty data
Public bug reported: $lsb_release -rd Description:Ubuntu 12.04.1 LTS Release:12.04 $apt-cache policy php5 php5: Telepítve: 5.3.10-1ubuntu3.4 Jelölt:5.3.10-1ubuntu3.4 Verziótáblázat: *** 5.3.10-1ubuntu3.4 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 100 /var/lib/dpkg/status 5.3.10-1ubuntu3 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages My libssl version: libssl1.0.0: Telepítve: 1.0.1-4ubuntu5.5 Jelölt:1.0.1-4ubuntu5.5 Verziótáblázat: *** 1.0.1-4ubuntu5.5 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.0.1-4ubuntu5.3 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 1.0.1-4ubuntu3 0 500 http://hu.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages EXPECTED: If you run test.php (attached ) in command line or as Apache module the expected output is binary data smaller than 40byte. BUG: On my system it outputs 32kbyte, and contains memory dump, PHP source code, PHP variable values etc. It looks like similar to a buffer overrun/flow. I've downloaded PHP5.3.10 source code. Could the following cause it? php5-5.3.10/ext/openssl/openssl.c line 4716: if (data_len 0) { EVP_EncryptUpdate(cipher_ctx, outbuf, i, (unsigned char *)data, data_len); } If data IS nothing (empty), it does not call EVP_EncryptUpdate() function. ** Affects: php5 (Ubuntu) Importance: Undecided Status: New ** Attachment added: run: php test.php https://bugs.launchpad.net/bugs/1099793/+attachment/3483887/+files/test.php -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1099793] Re: php 5.3.10 openssl_encrypt empty data
Bad news: I am trying to complie PHP 5.3.10 on my 12.04 LTS but doesn't work. :-( $apt-get source php5 $cd php5-5.3.10 $./configure --with-openssl $make /bin/sh /tmp/php5-5.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/tmp/php5-5.3.10/ext/date/ -DPHP_ATOM_INC -I/tmp/php5-5.3.10/include -I/tmp/php5-5.3.10/main -I/tmp/php5-5.3.10 -I/tmp/php5-5.3.10/ext/date/lib -I/tmp/php5-5.3.10/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php5-5.3.10/ext/sqlite3/libsqlite -I/tmp/php5-5.3.10/TSRM -I/tmp/php5-5.3.10/Zend-I/usr/include -g -O2 -fvisibility=hidden -c /tmp/php5-5.3.10/ext/date/php_date.c -o ext/date/php_date.lo /tmp/php5-5.3.10/libtool: 481: /tmp/php5-5.3.10/libtool: CDPATH: not found libtool: Version mismatch error. This is libtool 2.4 Debian-2.4-2ubuntu1, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.4 Debian-2.4-2ubuntu1 libtool: and run autoconf again. make: *** [ext/date/php_date.lo] Error 63 I'm not familiar with libtool... Can anyone build (compile) PHP 5.3.10 source on Precise? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1099793] Re: php 5.3.10 openssl_encrypt empty data
I have successfully built PHP 5.4.10 (latest version from http://php.net) on 12.04. This PHP version is not affected by the bug. :-) Could anyone confirm the bug on stock ubuntu 12.04 system? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1099793 Title: php 5.3.10 openssl_encrypt empty data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Thanks Martin! Sorry my late answer, I was on holiday last week. :-) I've just tested the new 0.12.3+noroms-0ubuntu9.12 package. It works with my Mobile device. (ActiveSync and every other app can use it.) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/790145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Thanks Martin! Sorry my late answer, I was on holiday last week. :-) I've just tested the new 0.12.3+noroms-0ubuntu9.12 package. It works with my Mobile device. (ActiveSync and every other app can use it.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/790145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
I'm not familiar with bug statuses: What Fix Released means? Latest release (0.12.3+noroms-0ubuntu9.9) contains my bugfix or not? May I update my local qemu-kvm package to 0.12.3+noroms-0ubuntu9.9? (Lucid 10.04 LTS) thx -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/790145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Ok, I agree! I've created a step by step workaround process. Step 0. You encounter husb: ctrl buffer too small error message during kvm start. Step 1. Fix kvm bug in usb-linux.c source with this patch diff --git a/usb-linux.c b/usb-linux.c index ba8facf..122cdbf 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -113,7 +113,7 @@ struct ctrl_struct { uint16_t offset; uint8_t state; struct usb_ctrlrequest req; - uint8_t buffer[2048]; + uint8_t buffer[8192]; }; struct USBAutoFilter { Step 2. Build kvm from source. Step 3. If kvm GuestOS doesn't see your USB device: *uncheck* Enable advanced network functionality on (Start menu - Settings - Connections - USBtoPC) your USB device. (If this menu exists on your device) Step 4. Try to attach USB device to your GuestOS with similar command: kvm -m 1024 -k hu -usb --usbdevice host:045e:00ce GuestOS.img (lsusb command helps to figure out device ID) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Ok, I agree! I've created a step by step workaround process. Step 0. You encounter husb: ctrl buffer too small error message during kvm start. Step 1. Fix kvm bug in usb-linux.c source with this patch diff --git a/usb-linux.c b/usb-linux.c index ba8facf..122cdbf 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -113,7 +113,7 @@ struct ctrl_struct { uint16_t offset; uint8_t state; struct usb_ctrlrequest req; - uint8_t buffer[2048]; + uint8_t buffer[8192]; }; struct USBAutoFilter { Step 2. Build kvm from source. Step 3. If kvm GuestOS doesn't see your USB device: *uncheck* Enable advanced network functionality on (Start menu - Settings - Connections - USBtoPC) your USB device. (If this menu exists on your device) Step 4. Try to attach USB device to your GuestOS with similar command: kvm -m 1024 -k hu -usb --usbdevice host:045e:00ce GuestOS.img (lsusb command helps to figure out device ID) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
I've modified the source code and built deb package. Error message goes away, but for some other reason XP doesnt see PDA. dmesg: [85011.628047] usb 2-7: new full speed USB device using ohci_hcd and address 16 [85011.854203] usb 2-7: configuration #1 chosen from 1 choice [85012.087034] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85012.100755] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85012.153171] udev: renamed network interface eth1 to eth2 [85023.312024] eth2: no IPv6 routers present [85074.776006] eth2: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85076.512050] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85077.760991] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85077.774824] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85077.774918] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85087.128052] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85087.887995] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85087.902959] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85087.903304] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85099.604546] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85100.419995] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85100.434941] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85100.435038] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85103.324060] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85104.438991] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85104.453991] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85104.454092] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85105.156066] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85105.905993] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85105.919937] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85105.920039] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85415.007924] usb 2-7: USB disconnect, address 16 So the original bug is fixed with the patch above. :-) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Maybe something is wrong with my PDA? If I *uncheck* Enable advanced network functionality on WinMobile 6 (Start menu - Settings - Connections - USBtoPC) everything works well! This checkbox changes PDA connection mode from RNDIS to ttyUSB0 (serial). And then I can use Activesync! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
I've modified the source code and built deb package. Error message goes away, but for some other reason XP doesnt see PDA. dmesg: [85011.628047] usb 2-7: new full speed USB device using ohci_hcd and address 16 [85011.854203] usb 2-7: configuration #1 chosen from 1 choice [85012.087034] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85012.100755] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85012.153171] udev: renamed network interface eth1 to eth2 [85023.312024] eth2: no IPv6 routers present [85074.776006] eth2: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85076.512050] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85077.760991] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85077.774824] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85077.774918] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85087.128052] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85087.887995] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85087.902959] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85087.903304] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85099.604546] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85100.419995] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85100.434941] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85100.435038] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85103.324060] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85104.438991] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85104.453991] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85104.454092] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85105.156066] usb 2-7: reset full speed USB device using ohci_hcd and address 16 [85105.905993] rndis_host 2-7:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 [85105.919937] eth1: register 'rndis_host' at usb-:00:0b.0-7, RNDIS device, 80:00:60:0f:e8:00 [85105.920039] eth1: unregister 'rndis_host' usb-:00:0b.0-7, RNDIS device [85415.007924] usb 2-7: USB disconnect, address 16 So the original bug is fixed with the patch above. :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Maybe something is wrong with my PDA? If I *uncheck* Enable advanced network functionality on WinMobile 6 (Start menu - Settings - Connections - USBtoPC) everything works well! This checkbox changes PDA connection mode from RNDIS to ttyUSB0 (serial). And then I can use Activesync! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] [NEW] kvm husb: ctrl buffer too small
Public bug reported: Binary package hint: qemu-kvm I would like to connect my PDA to kvm virtual machine with the following command: kvm -m 1024 -k hu -usb --usbdevice host:2.4 VM.img It finds my USB device, but after throws: husb: 2 interfaces claimed for configuration 1 husb: grabbed usb device 2.4 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: ctrl buffer too small (4104 2048) VM starts but without USB device. :-( I've found similar problem on Redhat bugs, and they solved it with a patch. https://bugzilla.redhat.com/show_bug.cgi?id=672720 thx ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: kvm 1:84+dfsg-0ubuntu16+0.12.3+noroms+0ubuntu9.7 ProcVersionSignature: Ubuntu 2.6.32-30.59-generic 2.6.32.29+drm33.13 Uname: Linux 2.6.32-30-generic i686 Architecture: i386 Date: Mon May 30 11:56:40 2011 InstallationMedia: Ubuntu 10.04.1 LTS Lucid Lynx - Release i386 (20100816.1) KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UIDPID PPID CSZ RSS PSR STIME TTY TIME CMD Lsusb: Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard Bus 002 Device 002: ID 046d:c05f Logitech, Inc. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Dell Inc Dimension E521 ProcCmdLine: root=/dev/md1 ro quiet splash ProcEnviron: LANGUAGE=hu_HU:en PATH=(custom, user) LANG=hu_HU.utf8 SHELL=/bin/bash SourcePackage: qemu-kvm dmi.bios.date: 04/07/2007 dmi.bios.vendor: Dell Inc dmi.bios.version: 1.1.6 dmi.board.name: 0UW457 dmi.board.vendor: Dell Inc dmi.board.version: A03 dmi.chassis.type: 3 dmi.chassis.vendor: Dell Inc dmi.modalias: dmi:bvnDellInc:bvr1.1.6:bd04/07/2007:svnDellInc:pnDimensionE521:pvr:rvnDellInc:rn0UW457:rvrA03:cvnDellInc:ct3:cvr: dmi.product.name: Dimension E521 dmi.sys.vendor: Dell Inc ** Affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 lucid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
I've downloaded RH bugfix and latest Ubuntu source code. https://bugzilla.redhat.com/attachment.cgi?id=441018 https://launchpad.net/ubuntu/lucid/+source/qemu-kvm qemu-kvm_0.12.3+noroms.orig.tar.gz usb-linux.c source file is exactly the same, so this patch will fix the bug. :-) Tomorrow morning I'll test it. commit fd7a446f162768c044b3bf3844f7605eeef351af Author: Christian Krause c...@plauener.de Date: Sun Jan 24 17:34:52 2010 +0100 usb-linux: increase buffer for USB control requests The WLAN USB stick ZyXEL NWD271N (0586:3417) uses very large usb control transfers of more than 2048 bytes which won't fit into the buffer of the ctrl_struct. This results in an error message husb: ctrl buffer too small and a non-working device. Increasing the buffer size to 8192 seems to be a safe choice. Signed-off-by: Christian Krause c...@plauener.de Signed-off-by: Aurelien Jarno aurel...@aurel32.net diff --git a/usb-linux.c b/usb-linux.c index ba8facf..122cdbf 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -113,7 +113,7 @@ struct ctrl_struct { uint16_t offset; uint8_t state; struct usb_ctrlrequest req; -uint8_t buffer[2048]; +uint8_t buffer[8192]; }; struct USBAutoFilter { -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Sorry I misunderstood You! Yes in Natty (11.04) this bug is already fixed with the same patch above. :-) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 790145] [NEW] kvm husb: ctrl buffer too small
Public bug reported: Binary package hint: qemu-kvm I would like to connect my PDA to kvm virtual machine with the following command: kvm -m 1024 -k hu -usb --usbdevice host:2.4 VM.img It finds my USB device, but after throws: husb: 2 interfaces claimed for configuration 1 husb: grabbed usb device 2.4 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 2 interfaces claimed for configuration 1 husb: ctrl buffer too small (4104 2048) VM starts but without USB device. :-( I've found similar problem on Redhat bugs, and they solved it with a patch. https://bugzilla.redhat.com/show_bug.cgi?id=672720 thx ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: kvm 1:84+dfsg-0ubuntu16+0.12.3+noroms+0ubuntu9.7 ProcVersionSignature: Ubuntu 2.6.32-30.59-generic 2.6.32.29+drm33.13 Uname: Linux 2.6.32-30-generic i686 Architecture: i386 Date: Mon May 30 11:56:40 2011 InstallationMedia: Ubuntu 10.04.1 LTS Lucid Lynx - Release i386 (20100816.1) KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UIDPID PPID CSZ RSS PSR STIME TTY TIME CMD Lsusb: Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard Bus 002 Device 002: ID 046d:c05f Logitech, Inc. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Dell Inc Dimension E521 ProcCmdLine: root=/dev/md1 ro quiet splash ProcEnviron: LANGUAGE=hu_HU:en PATH=(custom, user) LANG=hu_HU.utf8 SHELL=/bin/bash SourcePackage: qemu-kvm dmi.bios.date: 04/07/2007 dmi.bios.vendor: Dell Inc dmi.bios.version: 1.1.6 dmi.board.name: 0UW457 dmi.board.vendor: Dell Inc dmi.board.version: A03 dmi.chassis.type: 3 dmi.chassis.vendor: Dell Inc dmi.modalias: dmi:bvnDellInc:bvr1.1.6:bd04/07/2007:svnDellInc:pnDimensionE521:pvr:rvnDellInc:rn0UW457:rvrA03:cvnDellInc:ct3:cvr: dmi.product.name: Dimension E521 dmi.sys.vendor: Dell Inc ** Affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
I've downloaded RH bugfix and latest Ubuntu source code. https://bugzilla.redhat.com/attachment.cgi?id=441018 https://launchpad.net/ubuntu/lucid/+source/qemu-kvm qemu-kvm_0.12.3+noroms.orig.tar.gz usb-linux.c source file is exactly the same, so this patch will fix the bug. :-) Tomorrow morning I'll test it. commit fd7a446f162768c044b3bf3844f7605eeef351af Author: Christian Krause c...@plauener.de Date: Sun Jan 24 17:34:52 2010 +0100 usb-linux: increase buffer for USB control requests The WLAN USB stick ZyXEL NWD271N (0586:3417) uses very large usb control transfers of more than 2048 bytes which won't fit into the buffer of the ctrl_struct. This results in an error message husb: ctrl buffer too small and a non-working device. Increasing the buffer size to 8192 seems to be a safe choice. Signed-off-by: Christian Krause c...@plauener.de Signed-off-by: Aurelien Jarno aurel...@aurel32.net diff --git a/usb-linux.c b/usb-linux.c index ba8facf..122cdbf 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -113,7 +113,7 @@ struct ctrl_struct { uint16_t offset; uint8_t state; struct usb_ctrlrequest req; -uint8_t buffer[2048]; +uint8_t buffer[8192]; }; struct USBAutoFilter { -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 790145] Re: kvm husb: ctrl buffer too small
Sorry I misunderstood You! Yes in Natty (11.04) this bug is already fixed with the same patch above. :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790145 Title: kvm husb: ctrl buffer too small -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77725] Re: No Driver for Attansic Gigabit Ethernet
Huang Xiong (from Attansic) emailed me the attached driver. This works with feisty 2.6.20-15 kernel. Please integrate it to the next release! I've tested it on Asus F5R notebook. A. ** Attachment added: Attansic L2 fast ethernet dirver for Linux (ATL2) http://librarian.launchpad.net/7382416/L2-linux-driver_new.rar -- No Driver for Attansic Gigabit Ethernet https://bugs.launchpad.net/bugs/77725 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77725] Re: No Driver for Attansic Gigabit Ethernet
Marcin: Have you tried to compile Attansic L2 kernel-module on Asus F5R laptop? With a minor hacking - INIT_WORK expected two arguments but got three in the original code - compilation works but after loading the module the kernel panics (it actually just dumps a lots of registers onto the screen and hangs). -- No Driver for Attansic Gigabit Ethernet https://bugs.launchpad.net/bugs/77725 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs