Subject: Re: vmware periodic freeze
To: Christian Groessler <cpg@aladdin.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 07/13/2001 23:44:34
On Fri, Jul 13, 2001 at 11:05:13PM +0200, Christian Groessler wrote:
> Hi,
> 
> I currenty try using vmware on -current (from begin of this week). I
> managed to setup a NT 4 client.
> 
> While this same client (config file and image file) works fine on
> Linux, on NetBSD there is a small quirk (but very annoying).
> 
> About every 3 seconds the vmware machine freezes for about 3
> seconds.
> While this happens one of the vmware processes is in a function
> "xscmd".
> Here's the ps axl line:
> 
>    0 363  360   0  -6 -19  3092   1992 xscmd    D<L  ?? 0:00.13
>    /emul/linux/usr/local/bin/vmware -q notesnt/vm-nt.cfg
> 
> I cannot find this xscmd function, a nm /netbsd | grep xscmd reveils
> nothing.

This is in the scsipi code. Your process is waiting for a SCSI or ATAPI
command to complete.

Do you have a CD or ZIP drive ? Does vmware try to use it ?
I suspect it is try to access CD or ZIP (maybe just a Test Unit Ready) and
as the drive is empty the command takes some time to complete.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--