atom feed11 messages in org.freebsd.freebsd-stableRE: VMware 3.1.1 for Windows and Free...
FromSent OnAttachments
Makoto MatsushitaMay 29, 2002 8:20 am 
alan...@t-motion.netMay 29, 2002 8:28 am 
Bosko MilekicMay 29, 2002 8:36 am 
Ian DowseMay 29, 2002 8:47 am 
Bosko MilekicMay 29, 2002 9:00 am 
Makoto MatsushitaMay 29, 2002 9:18 am 
Makoto MatsushitaMay 29, 2002 5:35 pm 
Makoto MatsushitaMay 29, 2002 5:43 pm 
Makoto MatsushitaMay 29, 2002 6:27 pm 
alan...@t-motion.netMay 30, 2002 2:47 am 
Makoto MatsushitaMay 30, 2002 11:58 am 
Subject:RE: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2
From:alan...@t-motion.net (alan@t-motion.net)
Date:May 30, 2002 2:47:54 am
List:org.freebsd.freebsd-stable

I just tried using the CDROM on my laptop with vmware 3.1.1 and 4-stable. It's a very recent cvsup/build, about 1 week old.

I was able to mount the CDROM just fine and access the files. However, the umount /cdrom command hung. I shutdown the system and it said '/dev/acd0c: device busy'

Alan Edmonds

-----Original Message----- From: Makoto Matsushita [mailto:matu@jp.FreeBSD.org] Sent: 30 May 2002 02:28 To: sta@FreeBSD.ORG Subject: Re: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2

Ok, I've investigated a little, and found that sysinstall is stalled at line 342 of src/release/sysinstall/devices.c rev 1.117.2.16.

In function deviceTry(), sysinstall try to open(2) /dev/acd0c: at first, there is no device file, it should be failed. sysinstall next try to make a device file /dev/acd0c with 117:0 by mknod(2). After that, sysinstall try to open(2) /dev/acd0c again. It successes, and return with file descriptor.

However, when sysinstall close(2) the file descriptor last opened, sysinstall stalled. It seems that close(2) syscall doesn't return.

Note that this behavior is occured both CD-ROM drive has a disc or not.

It would be a problem of 4-stable kernel, and VMware. Anybody runs recent (read: Apr/2002 or later) 4-stable on VMware? Your virtual ATAPI CD-ROM works fine for you?

Or, is there something wrong with following code?

main() { int fd; fd = open("/dev/acd0c", O_RDONLY); close(fd); /* stalls here */ }

-- - Makoto `MAR' Matsushita