[mythtv-users] Still no luck with .21-fixes + juju firewire

Eric Sharkey eric at lisaneric.org
Tue Nov 17 02:45:50 UTC 2009


Before making the change to .22 I wanted to get up to a later kernel
to get what hopefully is a more tested base to be running on, but I'm
still having trouble getting mythtv's firewire support to work
properly with the latest kernels with the new firewire stack and I
don't know why.

At the moment I'm back on the old stack with a hand compiled 2.6.26.5,
which was the latest at the time I installed the current motherboard.
With this kernel, I can tune to channel 128 or 132 or one of the other
non-clear QAM channels and mythbackend automatically switches to
firewire and starts showing those channels.  If I reboot with 2.6.31
with the newer juju firewire stack, it mostly stops working.

I can see /dev/fw0 and /dev/fw1.  With the default udev rules one is
group root and the other is group video, both have 660 permissions.
I've tried chgrping them to both be group video just to be safe but it
doesn't seem to help.  The backend log shows something like this:

2009-11-16 20:59:41.462 TVRec(4): Changing from None to WatchingLiveTV
2009-11-16 20:59:41.469 TVRec(4): HW Tuner: 4->4
2009-11-16 20:59:42.977 SetLastChannel(132): cleared: yes
2009-11-16 20:59:44.782 AutoExpire: CalcParams(): Max required Free
Space: 42.0 GB w/freq: 15 min
2009-11-16 20:59:44.805 Scheduled 1657 items in 54.6 = 37.41 match + 17.16 place
2009-11-16 20:59:44.808 Seem to be woken up by USER
2009-11-16 20:59:44.806 MainServer::HandleAnnounce Playback
2009-11-16 20:59:44.786 LFireDev(001AADFFFE47916E): Buffered packets
2000 (8000 KB)
2009-11-16 20:59:44.828 adding: eddie as a client (events: 0)
2009-11-16 20:59:44.837 MainServer::HandleAnnounce FileTransfer
2009-11-16 20:59:44.838 adding: eddie as a remote file transfer
2009-11-16 20:59:46.541 Finished recording SpongeBob SquarePants
"Sleepy Time": channel 3132
2009-11-16 20:59:47.557 Finished recording SpongeBob SquarePants
"Sleepy Time": channel 3132
2009-11-16 20:59:47.570 AutoExpire: CalcParams(): Max required Free
Space: 42.0 GB w/freq: 15 min
2009-11-16 20:59:47.579 LFireDev(001AADFFFE47916E): Buffered packets
2000 (8000 KB)
2009-11-16 20:59:47.594 LFireDev(001AADFFFE47916E), Warning: No Input
in 50 msec...
2009-11-16 20:59:47.631 Using runtime prefix = /usr
2009-11-16 20:59:47.635 Empty LocalHostName.
2009-11-16 20:59:47.639 Using localhost value of mythtered
2009-11-16 20:59:47.647 New DB connection, total: 1
2009-11-16 20:59:47.654 Connected to database 'mythconverg' at host: localhost
2009-11-16 20:59:47.661 Closing DB connection named 'DBManager0'
2009-11-16 20:59:47.662 Connected to database 'mythconverg' at host: localhost
2009-11-16 20:59:47.664 New DB connection, total: 2
2009-11-16 20:59:47.668 Connected to database 'mythconverg' at host: localhost
2009-11-16 20:59:47.670 Current Schema Version: 1214
2009-11-16 20:59:47.674 Preview Error: Previewer file
'/var/lib/mythtv/3132_20091116205943.mpg' is not valid.
2009-11-16 20:59:47.676 Preview Error: Run() file not local:
'/var/lib/mythtv/3132_20091116205943.mpg'
2009-11-16 20:59:47.703 Preview Error: Preview process not ok.

fileinfo(/var/lib/mythtv/3132_20091116205943.mpg.png) exists: 0
readable: 0 size: 0
2009-11-16 20:59:51.342
RingBuf(/var/lib/mythtv/3132_20091116205943.mpg): Invalid file (fd -1)
when opening '/var/lib/mythtv/3132_20091116205943.mpg'.

If I reboot back to 2.6.26.5 it starts working again.

Whatever it is that's broken with my configuration with 2.6.31 isn't
completely broken as I did very briefly have it working.  I changed
channels to 128 and actually got something badly distorted for a few
seconds and then a good picture and audio.  A few channel changes
later and I was unable to reproduce it.

So, I'm not sure where to go from here.

Should I go to .22 and hope for the best or should I try to get .21 to
have a stable configuration on the new firewire stack?  Does .22 even
still support the old stack?

Thanks,

Eric Sharkey


More information about the mythtv-users mailing list