[mythtv] [mythtv-users] F8 errors when running SVN console

Mitch Gore mitchell.gore at gmail.com
Sun Dec 9 20:18:26 UTC 2007


On Dec 9, 2007 10:46 AM, Mitch Gore <mitchell.gore at gmail.com> wrote:

> I have never worked on issues like this but I will try editing the
> source and recompiling and then report my findings.
>
> thx
> mitchell
>
> On 12/9/07, David George <david at thegeorges.us> wrote:
> > On 12/08/2007 10:56 PM, Mitch Gore wrote:
> > > Hi,
> > >
> > > I just upgraded my box to Fedora 8.  After importing all my
> > > settings/DB and rebuilding SVN I have one issue....
> > >
> > >
> > > When started mythfrontend this is spewed to the console.
> > >
> > > 2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
> > > devpts:
> > >                         eno: No such file or directory (2)
> > > 2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
> > > tmpfs:
> > >                         eno: No such file or directory (2)
> > > 2007-12-08 21:53: 20.795 MythMediaDevice, Error:  readlink() failed
> > > for /dev/sdb1:
> > >                         eno: Invalid argument (22)
> > > 2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
> > > /dev/sdc3:
> > >                         eno: Invalid argument (22)
> > > 2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
> > > none:
> > >                         eno: No such file or directory (2)
> > > 2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
> > > sunrpc:
> > >                         eno: No such file or directory (2)
> > > 2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
> > > /etc/auto.misc:
> > >                         eno: Invalid argument (22)
> > > 2007-12-08 21:53: 20.796 MythMediaDevice, Error:  readlink() failed
> > > for -hosts:
> > >                         eno: No such file or directory (2)
> > > 2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
> > > rootfs:
> > >                         eno: No such file or directory (2)
> > > 2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
> > > /dev/root:
> > >                         eno: Invalid argument (22)
> > > 2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
> > > /dev:
> > >                         eno: Invalid argument (22)
> > >
> > >
> > > Constant scrolling of this.  What is this?  how do i get rid of it?
> > > FE still works but junk to the console is never a *good* thing.
> >
> > I haven't tried it myself, but just looking at what the patch changed I
> > would edit the mythtv/libs/libmyth/mythmedia.cpp file and add the
> > following code before the VERBOSE in the if (len < 0) condition after
> > the readlink:
> >
> > if (errno != 2 && errno != 22)
> >
> > So the section would now look like:
> >
> > ssize_t len = readlink(DeviceName.local8Bit(), lpath, PATH_MAX);
> > if (len < 0)
> > {
> >   if (errno != ENOENT && errno != EINVAL)
> >     VERBOSE(VB_IMPORTANT, LOC_ERR + "readlink() failed: " + ENO);
> >   continue;
> > }
> >
> > I would imagine ENOENT and EINVAL could be normal returns if it is
> > checking directories that don't exist or are the wrong type.
> >
> > Copying to the dev list as it is related to SVN.
> >
> > --
> > David
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
>


That stopped IT!

Now here is what i see in the log:

2007-12-09 14:05:07.247 MythMusic adding CD-Writer: 1,0,0 -- DVD+RW ND-1100A

2007-12-09 14:05:07.292 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.202:5060 NAT address 192.168.0.202
SIP: Cannot register; proxy, username or password not set
2007-12-09 14:05:07.371 Starting media monitor.
2007-12-09 14:05:07.387 MythThemedMenuPrivate: Unknown tag image in
background
2007-12-09 14:05:07.389 Failed to mount /dev/sdd.
2007-12-09 14:05:07.391 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:07.425 Failed to mount /dev/sde.
2007-12-09 14:05:07.428 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:07.454 Failed to mount /dev/sdf.
2007-12-09 14:05:07.456 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:07.480 Failed to mount /dev/sdg.
2007-12-09 14:05:07.483 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:23.286 XMLParse::LoadTheme using
/usr/local/share/mythtv/themes/blootube-wide/ui.xml
2007-12-09 14:05:23.585 Connecting to backend server:
192.168.0.202:6543(try 1 of 5)
2007-12-09 14:05:23.586 Using protocol version 36


It only appears once so i can live with it.  But we may want to fix it sothe
console is 'pretty'.

For referance here is my /proc/mounts (where i believe it is reading the
values....

[myth at mythtv ~]$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,relatime,data=ordered 0 0
/dev /dev tmpfs rw,relatime 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
/proc/bus/usb /proc/bus/usb usbfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime 0 0
tmpfs /dev/shm tmpfs rw,relatime 0 0
/dev/sdb1 /video2 ext3 rw,relatime,data=ordered 0 0
/dev/sdc3 /video ext3 rw,relatime,data=ordered 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
/etc/auto.misc /misc autofs
rw,relatime,fd=6,pgrp=2028,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs
rw,relatime,fd=12,pgrp=2028,timeout=300,minproto=5,maxproto=5,indirect 0 0



Thank You,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20071209/a11d7411/attachment.htm 


More information about the mythtv-dev mailing list