Messages in this thread Patch in this message | | | Date | Wed, 13 Jan 1999 22:48:49 +0100 | From | Jens Axboe <> | Subject | Re: Linux 2.2.0-pre6 bug -- error mounting CDROM |
| |
Erick Kinnee wrote: > >I can recreate the problem with running an AfterStep app to play cd's > > "ascd". The problem only manifested itself when I booted w/o any CDROM > > in the drive. Before that time, ascd had found an audio cd in the > > drive. > > Like I said, I get it when running cdparanoia. > > > The drive is otherwise functional.. Insert CD it plays.. insert data cd, > > it mounts. > > Same here, the drive works fine at all other times... Just doesn't want me to make that mp3. :)
Try this patch for cdparanoia. It will apply (at least) to versions alpha-7 to alpha-9.4
--- scan_devices.c~ Wed Jan 13 22:44:03 1999 +++ scan_devices.c Wed Jan 13 22:45:52 1999 @@ -167,7 +167,7 @@ /* Yay, ATAPI... */ /* Ping for CDROM-ness */ - fd=open(device,O_RDONLY); + fd=open(device,O_RDONLY|O_NONBLOCK); if(fd==-1){ idperror(messagedest,messages,"\t\tUnable to open %s",device); free(device); -- * 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/
| |