From owner-freebsd-stable Wed May 29 18:28:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 2687337B404 for ; Wed, 29 May 2002 18:28:22 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g4U1SLv85707 for ; Thu, 30 May 2002 10:28:21 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20020529113651.A74576@unixdaemons.com> References: <20020530002054D.matusita@jp.FreeBSD.org> <20020530002054D.matusita@jp.FreeBSD.org> <20020529113651.A74576@unixdaemons.com> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 29 From: Makoto Matsushita To: stable@FreeBSD.ORG Subject: Re: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2 Date: Thu, 30 May 2002 10:28:19 +0900 Message-Id: <20020530102819K.matusita@jp.FreeBSD.org> 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 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