ejecting a mounted CD (linux 2.2.10; vmware 1.02)

Weasel (palfrader@writeme.com)
Sun, 04 Jul 1999 01:49:23 +0200


Ok, this only happens iff vmware was at least once executed. I don't
know whether this comes from a bug in the kernel or in vmware's code.
This mail goes to linux-kernel@vger.rutgers.edu as well as vmware if I
finally find out their bug reporting address (web site is down right
now).

[1.] One line summary of the problem:
I could eject a mounted CD. The problem occurs iff vmware has been run
at least once.

[2.] Full description of the problem/report:
After running vmware it is possible to eject a mounted cdrom even if
there's read activity from the cd. What I know, usally mounted disks are
locked if the device allows this (CDROMs, ZIP, JAZ..). After ejecting
the CD I could normally access all files from the cd that where already
cached to memory, when cat-ing other files I got an 'Input/output
error'. after unmounting the device, this entire procedure could be
reproduced a convenient number of times. { [boot; run vmware; exit
vmware;] mount /cdrom; eject cdrom; do stuff in /cdrom; umount cdrom }

[3.] Keywords (i.e., modules, networking, kernel):
vmware; CDROM, eject lock

[4.] Kernel version (from /proc/version):
Linux version 2.2.10 (root@marvin) (gcc version 2.7.2.3) #1 Mon Jun 14
14:58:27 CEST 1999

[4a] vmware version (from vmware -version)
VMware for Linux protocol=6 build= build-205 product '1.0.2 build-205
'

[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)
N/A

[6.] A small shell script or example program which triggers the
problem (if possible)
N/A

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux marvin 2.2.10 #1 Mon Jun 14 14:58:27 CEST 1999 i686 unknown
Kernel modules 2.1.121
Gnu C 2.7.2.3
Binutils 2.9.1.0.19
Linux C Library 2.0.7
Dynamic linker ldd: version 1.9.10
Linux C++ Library 2.8.1
Procps 1.2.9
Mount 2.9g
Net-tools 2.01
Kbd 0.96
Sh-utils 1.16
Modules Loaded vmnet vmmon

[7.2.] Processor information (from /proc/cpuinfo):
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 400.914717
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx osfxsr
bogomips : 399.77

[7.3.] Module information (from /proc/modules):
vmnet 8652 3
vmmon 9868 0

[7.4.] SCSI information (from /proc/scsi/scsi)
[7.5] Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-32TS Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: TEAC Model: CD-R55S Rev: 1.0E
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: IOMEGA Model: ZIP 100 PLUS Rev: J.66
Type: Direct-Access ANSI SCSI revision: 02

Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):
N/A

[X.] Other notes, patches, fixes, workarounds:
reboot and do not run vmware.

regards and keep up the good work!

Peter Palfrader

PS: I know that ejecting a mounted disk is a pretty dumb idea. It was an
accident, really! ;)

-- 
Weasel                    http://www.cosy.sbg.ac.at/~ppalfrad/
main(i){putchar(354603184>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
--------------------------------------------------------------
     We have full klingon console support just in case.
                         -- Alan Cox on linux-kernel

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/