From owner-freebsd-stable Thu May 30 2:52:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail1.telekom.de (mail1.telekom.de [62.225.183.235]) by hub.freebsd.org (Postfix) with ESMTP id D2D3837B400 for ; Thu, 30 May 2002 02:52:38 -0700 (PDT) Received: from g8pbt.blf01.telekom.de by G8SBV.dmz.telekom.de with ESMTP; Thu, 30 May 2002 11:51:35 +0200 Received: by G8PBT.blf01.telekom.de with Internet Mail Service (5.5.2653.19) id ; Thu, 30 May 2002 11:52:36 +0200 Message-Id: <5D90F2332B50D411BE8A00209412104C03850978@QHS63> From: alan.edmonds@t-motion.net To: matusita@jp.FreeBSD.org, stable@FreeBSD.ORG Subject: RE: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2 Date: Thu, 30 May 2002 11:48:16 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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:matusita@jp.FreeBSD.org] Sent: 30 May 2002 02:28 To: stable@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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message