[mythtv-commits] Ticket #4126: Eject does not work if drive in IgnoreDevices for monitoring

MythTV mythtv at cvs.mythtv.org
Sat Nov 3 23:22:16 UTC 2007

#4126: Eject does not work if drive in IgnoreDevices for monitoring
 Reporter:  derliebegott at gmail.com  |       Owner:  ijr    
     Type:  defect                  |      Status:  new    
 Priority:  minor                   |   Milestone:  unknown
Component:  mythtv                  |     Version:  head   
 Severity:  medium                  |     Mlocked:  0      
 When I put a blank DVD in the drive, I got this in /var/log/messages:

 Nov  3 21:08:58 mythbox kernel: cdrom: This disc doesn't have any
 tracks I recognize!
 Nov  3 21:09:29 mythbox last message repeated 61 times
 Nov  3 21:10:30 mythbox last message repeated 122 times

 I disabled media monitoring, but I still got this message. A bug?

 I put /dev/cdrom,/dev/dvd,/dev/hdc (dvd and cdrom are symlinks to hdc) in
 the IgnoreDevices and the monitoring finally stopped. But eject media does
 not work is monitoring is disabled.

 And also ejecting DVD after burning it with MythArchive does not work when
 /dev/dvd is in the IgnoreDevices (MonitorDrives is disabled all the time
 (0)). I get this in mythburn.log:

 1916898 extents written (3743 MB)
 /dev/dvd: flushing cache
 /dev/dvd: updating RMA
 /dev/dvd: closing disc

 Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4657, in
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4462,
 in processJob
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2183,
 in BurnDVDISO
    r = ioctl(f,CDROM.CDROMEJECT, 0)
 IOError: [Errno 5] Input/output error

Ticket URL: <http://svn.mythtv.org/trac/ticket/4126>
MythTV <http://svn.mythtv.org/trac>

More information about the mythtv-commits mailing list