Ok, I've investigated a little, and found that sysinstall is stalled
at line 342 of src/release/sysinstall/devices.c rev 126.96.36.199.
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?
fd = open("/dev/acd0c", O_RDONLY);
close(fd); /* stalls here */
Makoto `MAR' Matsushita
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message