Re: KVM crashes when using certain USB device

2009-07-21 Thread G
On Tue, Jul 21, 2009 at 1:23 AM, Jim Parisj...@jtan.com wrote: G wrote: And thanks for your help and suggestions so far, btw. Here's a patch to try.  I'm not familiar with the code, but it looks like this buffer might be too small versus the packet lengths that you're seeing, and similar

Re: KVM crashes when using certain USB device

2009-07-21 Thread Jim Paris
G wrote: On Tue, Jul 21, 2009 at 1:23 AM, Jim Parisj...@jtan.com wrote: Here's a patch to try.  I'm not familiar with the code, but it looks like this buffer might be too small versus the packet lengths that you're seeing, and similar definitions in hw/usb-uhci.c. -jim diff -urN

Re: KVM crashes when using certain USB device

2009-07-20 Thread Erik Rull
Hi there, try to switch to USB 1.1 - not the best way but this helped my Windows XP running and doing things like printing, formatting USB keys or using a Dongle (Aladin, I think, it's also HASP) USB 2.0 was not really working well with KVM :-( Best regards, Erik G wrote: On Thu, Jul 16,

Re: KVM crashes when using certain USB device

2009-07-20 Thread Jim Paris
G wrote: I'm not too familiar with valgrind output, I have only used it on smaller programs I've written myself, so I don't know what to think of the messages (and amount of messages; valgrind told me to use --error-limit=no). I do get a bit nervous from all the complaints about uninitialized

Re: KVM crashes when using certain USB device

2009-07-16 Thread Jim Paris
Hi G, I've continued my attempts to get the HASP dongle working, but with no success: ... Good idea. The results from three test runs after that change are in the attached files. The third was done while also dumping the USB bus, and the output from that dump is also attached. The gdb

Re: KVM crashes when using certain USB device

2009-07-06 Thread G
On Sat, Jul 4, 2009 at 12:01 PM, Gtjmad...@gmail.com wrote: On Fri, Jul 3, 2009 at 6:18 PM, Jim Parisj...@jtan.com wrote: G wrote: Hello again, I've continued my attempts to get the HASP dongle working, but with no success: [snip] Anyone got any ideas what I might try out to find the

Re: KVM crashes when using certain USB device

2009-07-04 Thread G
On Fri, Jul 3, 2009 at 6:18 PM, Jim Parisj...@jtan.com wrote: G wrote: Hello again, I've continued my attempts to get the HASP dongle working, but with no success: Downloaded kvm-72.tar.gz through kvm-87.tar.gz to find out when the problem first appear, as kvm-72 is working.

Re: KVM crashes when using certain USB device

2009-07-03 Thread G
Hello again, I've continued my attempts to get the HASP dongle working, but with no success: Downloaded kvm-72.tar.gz through kvm-87.tar.gz to find out when the problem first appear, as kvm-72 is working. Unfortunately, kvm-72 through kvm-82 fails to compile on my Debian system with kernel

Re: KVM crashes when using certain USB device

2009-07-03 Thread Jim Paris
G wrote: Hello again, I've continued my attempts to get the HASP dongle working, but with no success: Downloaded kvm-72.tar.gz through kvm-87.tar.gz to find out when the problem first appear, as kvm-72 is working. Unfortunately, kvm-72 through kvm-82 fails to compile on my Debian system

KVM crashes when using certain USB device

2009-07-02 Thread G
Hello, As the subject says, kvm crashes for me, when I'm trying to use an Aladdin HASP USB dongle. Short background: for over a year I have used kvm to run a Windows XP Professional 32bit SP2 install with the EnCase software package, which requires an Aladdin HASP USB dongle. The last working