Opened 15 years ago

Closed 14 years ago

#6435 closed defect (fixed)

Incorrect media detection

Reported by: peter@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Nigel)

I'm running with mythbuntu plus deb packages available at http://www.avenard.org/media/Ubuntu_Repository/Ubuntu_Repository.html

I have on my box a card reader which supports several memory stick types.

I've I enable "use new media" in the frontend configuration, I get errors on starting the frontend "Failed to mount device: /dev/sde" ... but I don't have any media inserted.

It looks like myth belives the card reader has media present when it hasn't.

On stdout I see :-

2009-04-07 21:53:27.489 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2009-04-07 21:53:27.490 Using protocol version 40
2009-04-07 21:53:27.504 No theme dir: /home/plord/.mythtv/themes/blootube-wide
mount: can't find /dev/sdb in /etc/fstab or /etc/mtab
2009-04-07 21:53:27.584 Failed to mount /dev/sdb.
2009-04-07 21:53:27.587 Found a handler
mount: can't find /dev/sdc in /etc/fstab or /etc/mtab
2009-04-07 21:53:27.626 Failed to mount /dev/sdc.
2009-04-07 21:53:27.628 Found a handler
mount: can't find /dev/sdd in /etc/fstab or /etc/mtab
2009-04-07 21:53:27.650 Failed to mount /dev/sdd.
2009-04-07 21:53:27.652 Found a handler
mount: can't find /dev/sde in /etc/fstab or /etc/mtab
2009-04-07 21:53:27.673 Failed to mount /dev/sde.
2009-04-07 21:53:27.676 Found a handler
2009-04-07 21:53:34.350 XMLParse::LoadTheme using /usr/share/mythtv/themes/blootube-wide/gallery-ui.xml
mount: can't find /dev/sde in /etc/fstab or /etc/mtab
2009-04-07 21:53:34.434 Failed to mount /dev/sde.

Attachments (3)

myth_config.png (255.8 KB) - added by peter@… 15 years ago.
Configuration screen
myth_startup.png (197.2 KB) - added by peter@… 15 years ago.
Startup screen
log (44.5 KB) - added by Nigel 15 years ago.
Peter's log, reformatted

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by peter@…

Attachment: myth_config.png added

Configuration screen

Changed 15 years ago by peter@…

Attachment: myth_startup.png added

Startup screen

comment:1 Changed 15 years ago by Dibblah

Status: newinfoneeded_new

Can you please try to reproduce this issue with unmodified Myth packages?

comment:2 Changed 15 years ago by Nigel

Description: modified (diff)
Status: infoneeded_newnew

OK. Other users have had similar problems: http://www.gossamer-threads.com/lists/mythtv/dev/293227?search_string=system%20flash%20drive%20and%20mythgallery;#293227 so I guess further debugging is needed. 1) Can you please provide mythfrontend -v media output. 2) What does udevinfo -q all -rp /block/sdb thru sde reveal? 3) What about udevinfo -q all -rp /block/sdb/sdb1 4) What version of hotplug/udev. 5)Does this card reader ever mount drives properly on MythBuntu?? 6) In that situation, what are the mountpoints, what does the mounting, et c.

Changed 15 years ago by Nigel

Attachment: log added

Peter's log, reformatted

comment:3 Changed 15 years ago by Nigel

Peter included a log 5 months ago, but it was hard to read. I have included it as a text file with anonymised dates (in case anyone wants to diff with their -v media log).
It seems that CheckMountable() and FindPartitions() need to exclude some askect of this device, or the udev config, on this system. Without the actual hardware to test with, or a lot of patience on an owner's part, I just can't work out what is happening.

comment:4 Changed 14 years ago by stuartm

Status: newinfoneeded_new

Is this still an issue with 0.23 RC2?

comment:5 Changed 14 years ago by robertm

Resolution: fixed
Status: infoneeded_newclosed

No response.

Note: See TracTickets for help on using tickets.