Avoided locked tray after failed burn_finish() because of busy drive

This commit is contained in:
Thomas Schmitt 2007-09-07 18:46:36 +00:00
parent bbcd635830
commit e1572dd9da
3 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.07.164532" #define Cdrskin_timestamP "2007.09.07.184631"

View File

@ -109,9 +109,10 @@ void burn_finish(void)
/* burn_wait_all(); */ /* burn_wait_all(); */
if (!burn_drives_are_clear(0)) { if (!burn_drives_are_clear(0)) {
libdax_msgs_submit(libdax_messenger, -1, 0x00020107, libdax_msgs_submit(libdax_messenger, -1, 0x00020107,
LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH, LIBDAX_MSGS_SEV_WARNING, LIBDAX_MSGS_PRIO_HIGH,
"Drive is busy on attempt to shut down library", 0, 0); "A drive is still busy on shutdown of library", 0, 0);
return; usleep(1000001);
burn_abort(4440, burn_abort_pacifier, abort_message_prefix);
} }
/* ts A60904 : ticket 62, contribution by elmom : name addon "_all" */ /* ts A60904 : ticket 62, contribution by elmom : name addon "_all" */

View File

@ -314,7 +314,7 @@ Range "scdbackup" : 0x00020000 to 0x0002ffff
0x00020104 (SORRY,HIGH) = NULL pointer caught 0x00020104 (SORRY,HIGH) = NULL pointer caught
0x00020105 (SORRY,HIGH) = Drive is already released 0x00020105 (SORRY,HIGH) = Drive is already released
0x00020106 (SORRY,HIGH) = Drive is busy on attempt to close 0x00020106 (SORRY,HIGH) = Drive is busy on attempt to close
0x00020107 (SORRY,HIGH) = Drive is busy on attempt to shut down library 0x00020107 (WARNING,HIGH) = A drive is still busy on shutdown of library
0x00020108 (SORRY,HIGH) = Drive is not grabbed on disc status inquiry 0x00020108 (SORRY,HIGH) = Drive is not grabbed on disc status inquiry
0x00020108 (FATAL,HIGH) = Could not allocate new drive object 0x00020108 (FATAL,HIGH) = Could not allocate new drive object
0x00020109 (FATAL,HIGH) = Library not running 0x00020109 (FATAL,HIGH) = Library not running