Ah, now I see. It's basically a ascd "bug". Try this little patch
against ascd-0.7. Probably also works with earlier versions,
plat_linux.c doesn't look like it's been touched in years.
--- plat_linux.c~ Wed Jan 13 01:32:41 1999
+++ plat_linux.c Wed Jan 13 01:36:43 1999
@@ -338,7 +338,7 @@
if (fcntl(fd, F_SETLK, &fl) < 0)
exit(0);
- if (open(cd_device, 0) >= 0)
+ if (open(cd_device, O_RDONLY | O_NONBLOCK) >= 0)
{
brk(&end);
pause();
@@ -435,7 +435,7 @@
if (d->fd >= 0) /* Device already open? */
return (0);
- d->fd = open(cd_device, 0);
+ d->fd = open(cd_device, O_RDONLY | O_NONBLOCK);
if (d->fd < 0)
{
if (errno == EACCES)
> The drive is otherwise functional.. Insert CD it plays.. insert data cd,
> it mounts.
And now we should probably move this discussion out of linux-kernel,
since it isn't that on-topic anymore.
-- * Jens Axboe <axboe@image.dk> * Linux CD-ROM Maintainer * "The only thing that interferes with my * learning is my education." -- A. Einstein- 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/