Subject: vmware cdrom (and other) problems
To: None <current-users@netbsd.org>
From: Tracy Di Marco White <gendalia@iastate.edu>
List: current-users
Date: 02/25/2002 02:51:35
I'm trying to use vmware on a current machine compiled from source updated
February 17th, 2002.  It works fine until I connect the CDROM drive, and
then I have problems.  (fine in this case is a few second pauses every
so often, but mostly usable.)  The problem is that with the CDROM connected,
 about every 2.5 seconds, the vmware process hangs for 2.45 seconds.  This
makes it difficult to use, and installing software from CDROM impressively
fun.

Is there anything I can do to make this usable with the CDROM drive?  I've
used another machine to build my vmware images in the past, but right now
vmware causes that machine to panic, uvm_fault, fatal page fault in
supervisor mode, so using it is out of the question (cvs updated Feb 24th).

Choice bits from vmware's log:

Feb 25 02:26:18: VMX86: version='unreleased' build='$Name: build-1142 $' option=Release2.0.4
Feb 25 02:26:18: UNAME Linux toybox 2.4.18 #13 SMP Thu Feb 14 13:13:13 EST 2002 i386

Feb 25 02:26:18: ATAPI_CDROM: cdrom.modeSenseInterval=8

Feb 25 02:27:04: VIDE: (0x1F0) OUTB Cmd of 0xA1 for non-existent drive 1
Feb 25 02:27:05: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:27:05: ATAPI_CDROM: Mode Sense Packet 0x5A 0x0 0x1B 0x0 0x0 0x0 0x0 0x0 0x14 0x0 0x0 0x0
Feb 25 02:27:05: ATAPI_CDROM: Mode Sense for Unsupported Page 0x1B
Feb 25 02:27:05: VIDE: (0x1F0) Not supporting Feature request: 0x2
Feb 25 02:27:08: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:27:08: ATAPI_CDROM: Mode Sense Packet 0x5A 0x8 0x2A 0x0 0x0 0x0 0x0 0x0 0x20 0x0 0x0 0x0
Feb 25 02:27:08: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:27:08: ATAPI_CDROM: Mode Sense Packet 0x5A 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x14 0x0 0x0 0x0
Feb 25 02:27:08: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:27:08: ATAPI_CDROM: Mode Sense Packet 0x5A 0x8 0x2A 0x0 0x0 0x0 0x0 0x0 0x20 0x0 0x0 0x0
Feb 25 02:27:14: Updating generation for /home/gendalia/vmware/win2000-vdisk.bak/win2000.dsk from 2692927368 to 1853329569
Feb 25 02:27:20: SVGA_AccelRep: Initialize command
Feb 25 02:27:20: Initializing SVGA driver: sharedPPN=0 sharedAddr=f7216000
Feb 25 02:27:20: SVGA_AccelRep: Initialize command
Feb 25 02:27:20: Initializing SVGA driver: sharedPPN=319b sharedAddr=f7226000
Feb 25 02:27:43: DISK/CDROM timeout of 11.345 seconds (ok)
Feb 25 02:27:55: MKS lock got type None
Feb 25 02:28:12: DISK/CDROM timeout of 4.596 seconds (ok)
Feb 25 02:28:46: DISK/CDROM timeout of 5.615 seconds (ok)
Feb 25 02:28:48: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:28:48: ATAPI_CDROM: Mode Sense Packet 0x5A 0x8 0x2A 0x0 0x0 0x0 0x0 0x0 0x20 0x0 0x0 0x0
Feb 25 02:28:48: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:28:48: ATAPI_CDROM: Mode Sense Packet 0x5A 0x8 0x2A 0x0 0x0 0x0 0x0 0x0 0x20 0x0 0x0 0x0
Feb 25 02:28:48: ATAPI_CDROM: Mode Sense (Almost) Completely Emulated.
Feb 25 02:28:48: ATAPI_CDROM: Mode Sense Packet 0x5A 0x8 0x2A 0x0 0x0 0x0 0x0 0x0 0x20 0x0 0x0 0x0
Feb 25 02:29:10: DISK/CDROM timeout of 2.415 seconds (ok)
Feb 25 02:29:13: DISK/CDROM timeout of 2.426 seconds (ok)
Feb 25 02:29:16: DISK/CDROM timeout of 2.361 seconds (ok)
Feb 25 02:29:19: DISK/CDROM timeout of 2.339 seconds (ok)
Feb 25 02:29:21: DISK/CDROM timeout of 2.413 seconds (ok)
Feb 25 02:29:24: DISK/CDROM timeout of 2.390 seconds (ok)
Feb 25 02:29:27: DISK/CDROM timeout of 2.341 seconds (ok)
Feb 25 02:29:31: DISK/CDROM timeout of 2.380 seconds (ok)
Feb 25 02:29:33: DISK/CDROM timeout of 2.418 seconds (ok)
Feb 25 02:29:36: DISK/CDROM timeout of 2.376 seconds (ok)
Feb 25 02:29:39: DISK/CDROM timeout of 2.413 seconds (ok)
<and so on>

possibly pertinent dmesg information
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-C2402, X900007020, 1009> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)

Tracy J. Di Marco White
Project Vincent Systems Manager
gendalia@iastate.edu