[mythtv] [mythtv-commits] mythtv commit: r15344 by nigel

Nigel Pearson nigel at ind.tansu.com.au
Mon Jan 7 02:22:21 UTC 2008


> mount: can't find /dev/hdc in /etc/fstab or /etc/mtab
> 2008-01-06 13:34:18.006 Failed to mount /dev/hdc.
> 2008-01-06 13:34:18.007 Media status changed... (MEDIATYPE_DATA,
> MEDIASTAT_OPEN -> MEDIASTAT_NOTMOUNTED)
> 2008-01-06 13:34:18.521 Media status changed... (MEDIATYPE_DATA,
> MEDIASTAT_NOTMOUNTED -> MEDIASTAT_OPEN)


I have tried on two Linux machines,
but haven't been able to reproduce that yet.

Output is unusual in that it thinks there is
a data disk in there, but the tray is open?


1) What revision was that?

2) Logs from startup may help.
Here is what I get with a non-plugin setup with data disk:

2008-01-07 11:03:18.258 Mediamonitor: Adding /dev/cdrom
2008-01-07 11:03:18.263 MediaMonitorUnix::GetCDROMBlockDevices()  
returning hdd
2008-01-07 11:03:18.273 MediamonitorUnix::AddDevice() -- Not adding '/ 
dev/hdd', it appears to be a duplicate.
2008-01-07 11:03:18.279 Starting media monitor.
2008-01-07 11:03:18.283 /dev/cdrom Disk OK, type = MEDIATYPE_UNKNOWN
2008-01-07 11:03:18.284 /dev/cdrom Current status MEDIASTAT_UNKNOWN
2008-01-07 11:03:18.284 Found a data disk
2008-01-07 11:03:18.287 CD/DVD '/cdrom' contained none of
                         /VIDEO_TS, /.TOC.plist, /vcd or /svcd
2008-01-07 11:03:18.287 Searching CD statistically - file by file!
2008-01-07 11:03:18.291 Media status changed... (MEDIATYPE_DATA,  
MEDIASTAT_NOTMOUNTED -> MEDIASTAT_MOUNTED)
2008-01-07 11:03:18.797 /dev/cdrom Disk OK, type = MEDIATYPE_DATA
2008-01-07 11:03:19.300 /dev/cdrom Disk OK, type = MEDIATYPE_DATA
2008-01-07 11:03:19.803 /dev/cdrom Disk OK, type = MEDIATYPE_DATA



and a seperate run with the tray open, before inserting the disk:

2008-01-07 11:07:53.375 Mediamonitor: Adding /dev/cdrom
2008-01-07 11:07:53.382 MediaMonitorUnix::GetCDROMBlockDevices()  
returning hdd
2008-01-07 11:07:53.389 MediamonitorUnix::AddDevice() -- Not adding '/ 
dev/hdd', it appears to be a duplicate.
2008-01-07 11:07:53.393 Starting media monitor.
2008-01-07 11:07:53.403 /dev/cdrom Tray open
2008-01-07 11:07:53.405 MythMediaDevice::isMounted() - mount '/cdrom'  
not found.
                  Device name/type | Current mountpoint
                  -----------------+-------------------
                            rootfs | /
                         /dev/sda1 | /
                              none | /proc
                              none | /sys
                         /dev/sda1 | /dev/.static/dev
                             tmpfs | /dev
                         /dev/sda3 | /myth
                             usbfs | /proc/bus/usb
                             tmpfs | /dev/shm
                  =================+===================
2008-01-07 11:07:53.915 /dev/cdrom Tray open
...
2008-01-07 11:08:08.500 /dev/cdrom Disk OK, type = MEDIATYPE_UNKNOWN
2008-01-07 11:08:08.502 /dev/cdrom Current status MEDIASTAT_OPEN
2008-01-07 11:08:08.503 Found a data disk
2008-01-07 11:08:08.605 MythMediaDevice::isMounted() - mount '/cdrom'  
not found.
                  Device name/type | Current mountpoint
                  -----------------+-------------------
                            rootfs | /
                         /dev/sda1 | /
                              none | /proc
                              none | /sys
                         /dev/sda1 | /dev/.static/dev
                             tmpfs | /dev
                         /dev/sda3 | /myth
                             usbfs | /proc/bus/usb
                             tmpfs | /dev/shm
                  =================+===================
2008-01-07 11:08:08.608 MythMediaDevice::isMounted() - mount '/cdrom'  
not found.
                  Device name/type | Current mountpoint
                  -----------------+-------------------
                            rootfs | /
                         /dev/sda1 | /
                              none | /proc
                              none | /sys
                         /dev/sda1 | /dev/.static/dev
                             tmpfs | /dev
                         /dev/sda3 | /myth
                             usbfs | /proc/bus/usb
                             tmpfs | /dev/shm
                  =================+===================
2008-01-07 11:08:08.609 Executing '/usr/bin/pmount /dev/cdrom'
2008-01-07 11:08:08.891 CD/DVD '/cdrom' contained none of
                         /VIDEO_TS, /.TOC.plist, /vcd or /svcd
2008-01-07 11:08:08.891 Searching CD statistically - file by file!
2008-01-07 11:08:08.906 Detected MediaType MEDIATYPE_DATA
2008-01-07 11:08:08.911 Media status changed... (MEDIATYPE_DATA,  
MEDIASTAT_NOTMOUNTED -> MEDIASTAT_MOUNTED)
2008-01-07 11:08:09.414 /dev/cdrom Disk OK, type = MEDIATYPE_DATA

--
Nigel Pearson, nigel at ind.tansu.com.au|"Gentlemen,
Telstra Net. Eng., Sydney, Australia | you can't fight in here-
Office: 9202 3900    Fax:  9261 3912 |   this is the war room!"
Mobile: 0408 664435  Home: 9792 6998 |     Dr Strangelove


More information about the mythtv-dev mailing list