トラブルシューティング


※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

うまく録画出来ない時のトラブルシューティング

このページは、毎回スクロールしなくても済むように、新しい記事は上に書くようにお願い致します。(管理人)


確認したリビジョン: 0.26fixes (2014-05初旬取得)

Active EIT scanの際にSEGV(segmentation fault)でmythbackendが強制終了させられる現象が出ていました.
発生頻度は日に数回.
mythbackendを起動させて放置しておくと時々起きる,というぐらいの頻度です.
gdbで現象発生を捕まえることができたので,そのログを下に貼ります.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff91ffb700 (LWP 5774)]
MPEGDescriptor (tag=tag@entry=0, len=300, data=data@entry=0x0, this=this@entry=0x7fff91ffa0e0) at mpeg/>mpegdescriptors.h:222
222 else if (DescriptorTag() != tag)
Missing separate debuginfos, use: debuginfo-install alsa-lib-1.0.27.2-2.fc20.x86_64 dbus-libs-1.6.12-8.fc20.x86_64
(shared libraryの羅列なので略) 
(gdb) bt
#0
MPEGDescriptor (tag=tag@entry=0, len=300, data=data@entry=0x0, this=this@entry=0x7fff91ffa0e0) at mpeg/mpegdescriptors.h:222
#1
DVBDescriptor::DVBDescriptor (this=this@entry=0x7fff91ffa0e0, data=data@entry=0x0, dvbkind=dvbkind@entry=kKindISDB, tag=tag@entry=0, len=300) at mpeg/dvbdescriptors.h:44
#2
0x00007ffff64ccad1 in parse_dvb_event_descriptors (list=std::vector of length 3, capacity 3 = {...}, fix=<optimized out>, fix@entry=1, languagePreferences=..., title=..., subtitle=..., description=..., dvbkind=dvbkind@entry=kKindISDB) at eithelper.cpp:291
#3
0x00007ffff64d0c15 in EITHelper::AddEIT (this=0x7fffac00b600, eit=eit@entry=0x7fff91ffa510) at eithelper.cpp:385
#4
0x00007ffff61e3c1a in DVBStreamData::HandleTables (this=0x7fffac1187a0, pid=<optimized out>, psip=...) at mpeg/dvbstreamdata.cpp:377
#5
0x00007ffff61c66ec in MPEGStreamData::HandleTSTables (this=0x7fffac1188a8, tspacket=0x88763c) at mpeg/mpegstreamdata.cpp:996
#6
0x00007ffff61cc626 in MPEGStreamData::ProcessTSPacket (this=0x7fffac1188a8, tspacket=...) at mpeg/mpegstreamdata.cpp:1081
#7
0x00007ffff61c2047 in MPEGStreamData::ProcessData (this=0x7fffac1188a8, buffer=0x87fd10 "G\001\021\025\276`\016?\274\024:\230\373\264\260\202\333\035B\017Z\276\071\021\262R?:\v\027\327O\251J&?\231\bV\260\245", len=48128) at mpeg/mpegstreamdata.cpp:1024
#8
0x00007ffff6585d60 in DVBStreamHandler::RunTS (this=this@entry=0x84c400) at dvbstreamhandler.cpp:268
#9
0x00007ffff6587421 in DVBStreamHandler::run (this=0x84c400) at dvbstreamhandler.cpp:118
#10
0x000000350fc7c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#11
0x0000003c04207f33 in start_thread () from /lib64/libpthread.so.0
#12
0x0000003c03af4ded in clone () from /lib64/libc.so.6
(gdb)

mythtv_0.26.0-split-itemdesc_20130119.patch
で改変・追加された箇所が起因しています.
対策には下記のパッチをあてて下さい.

diff -Nurp a/libs/libmythtv/eithelper.cpp b/libs/libmythtv/eithelper.cpp
--- a/libs/libmythtv/eithelper.cpp      2014-05-06 17:34:44.331347203 +0900
+++ b/libs/libmythtv/eithelper.cpp      2014-05-09 07:08:47.925929880 +0900
@@ -288,7 +288,11 @@ static void parse_dvb_event_descriptors(
             description += eed.Text();
     }
     if (dvbkind == kKindISDB && !saved_text.isEmpty()) {
-        DVBDescriptor d(NULL, kKindISDB);
+       /*
+        * DVBDescriptor instance will be used for decode operation.
+        * So, data:NULL and len:0 are dummy parameters.
+        */
+        DVBDescriptor d(NULL, kKindISDB, 0);
         description += d.dvb_decode_text((unsigned char *)saved_text.data(),
                                          saved_text.size());
         description += "\n";
diff -Nurp a/libs/libmythtv/mpeg/dvbdescriptors.h b/libs/libmythtv/mpeg/dvbdescriptors.h
--- a/libs/libmythtv/mpeg/dvbdescriptors.h      2014-05-06 17:32:58.700343117 +0900
+++ b/libs/libmythtv/mpeg/dvbdescriptors.h      2014-05-09 07:11:45.379937000 +0900
@@ -40,7 +40,7 @@ static QString coderate_inner(uint coder
 class DVBDescriptor : public MPEGDescriptor
 {
   public:
-    DVBDescriptor(const unsigned char *data, DVBKind dvbkind = kKindUnknown, int len = 300, uint tag = NULL)
+    DVBDescriptor(const unsigned char *data, DVBKind dvbkind = kKindUnknown, int len = 300, uint tag = (uint)NULL)
         : MPEGDescriptor(data, len, tag), _dvbkind(dvbkind)
     {
         if ((len < 2) || (int(DescriptorLength()) + 2) > len)


-- drvlabo (2014-05-10)


mythtv-0.27にパッチを当てる前と当てた後で、mythtv-setupのチャンネルスキャン時の動作が異なるのでログを示します。(おそらく0.26でも同じ現象が起きていると思われます。)
  • パッチ未適用時はスキャン結果がDVBチャンネルと認識されますが、パッチを適用するとmpegチャンネルと認識されます。
  • パッチ未適用時はチャンネル名が正常に取れてくるので、DVBと認識するのが正解と思われます。
    (マルチバイトのパッチが当たっていないので、番組情報は取れませんが。)
  • パッチのどこかが悪くてmpegに誤認識されていると思いますが、どこを直せば解消するのかが分かりません。

'---パッチ適用後のmythtv-setupログ、ここから---
2014-04-13 18:43:30.249894 I ChannelBase[1]: Input #1: 'DVBInput' schan(33840) sourceid(1) ccid(1)
2014-04-13 18:43:30.249911 I ChannelBase[1]: Current Input #1: 'DVBInput'
2014-04-13 18:43:30.250289 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal strength failed.
2014-04-13 18:43:30.250316 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot measure Signal Strength
2014-04-13 18:43:30.254199 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal/noise ratio failed.
2014-04-13 18:43:30.254232 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot measure S/N
2014-04-13 18:43:30.254270 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal error rate failed.
2014-04-13 18:43:30.254294 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot measure Bit Error Rate
2014-04-13 18:43:30.254321 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend uncorrected block count failed.
2014-04-13 18:43:30.254345 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot count Uncorrected Blocks
2014-04-13 18:43:30.254388 D SigMon[-1](/dev/dvb/adapter9/frontend0)::RemoveFlags: Seen() Match() Wait(Sig,SNR,BER,UB,)
2014-04-13 18:43:30.254414 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): DVBSignalMonitor::ctor initial flags Seen() Match() Wait()
2014-04-13 18:43:30.254496 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Connecting up DTVSignalMonitor
2014-04-13 18:43:30.255225 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Setting NIT-ID to 4294967295
2014-04-13 18:43:30.255285 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(MGT,VCT,NIT,SDT,)
2014-04-13 18:43:30.258809 I ChScan: Scan()
2014-04-13 18:43:30.258994 I ChScan: ScanTransports()
2014-04-13 18:43:30.259294 I ChannelScanSM(/dev/dvb/adapter9/frontend0): run -- begin
2014-04-13 18:43:30.259356 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Tuning to 周波数 533142857 mplexid(0)
2014-04-13 18:43:30.259386 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(Pos,)
2014-04-13 18:43:30.259486 D Draining DVB Event failed.
2014-04-13 18:43:30.259591 I DVBChan[1](/dev/dvb/adapter9/frontend0): Old Params: 0 auto a auto auto a a auto a v fec: auto msys: UNDEFINED rolloff: 0.35
DVBChan[1](/dev/dvb/adapter9/frontend0): New Params: 533142857 auto a auto auto a a auto a v fec: auto msys: UNDEFINED rolloff: 0.35
2014-04-13 18:43:30.259611 I DVBChan[1](/dev/dvb/adapter9/frontend0): Tune(): Tuning to 533142857Hz
2014-04-13 18:43:30.261105 I DVBChan: wait_for_backend: Status:
2014-04-13 18:43:30.261144 I DVBChan[1](/dev/dvb/adapter9/frontend0): Tune(): Frequency tuning successful.
2014-04-13 18:43:30.261239 I DTVSigMon[-1](/dev/dvb/adapter9/frontend0)::SetChannel(-1, -1):
2014-04-13 18:43:30.261267 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Start: begin
2014-04-13 18:43:30.261524 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(Sig,)
2014-04-13 18:43:30.261527 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Start: end
2014-04-13 18:43:30.261545 D SigMon[-1](/dev/dvb/adapter9/frontend0)::RemoveFlags: Seen() Match() Wait(Pos,)
2014-04-13 18:43:30.261577 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal strength failed.
2014-04-13 18:43:30.286727 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(Sig,)
2014-04-13 18:43:30.286753 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal strength failed.
2014-04-13 18:43:30.286761 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): UpdateValues -- Signal Locked
2014-04-13 18:43:30.286795 I SH(/dev/dvb/adapter9/frontend0): AddListener(0x2d1cd88) -- begin
2014-04-13 18:43:30.286802 I SH(/dev/dvb/adapter9/frontend0): AddListener(0x2d1cd88) -- locked
2014-04-13 18:43:30.287162 I DVBSH(/dev/dvb/adapter9/frontend0): run(): begin
2014-04-13 18:43:30.289131 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x0
2014-04-13 18:43:30.289599 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x0
2014-04-13 18:43:30.289988 W DVBSH(/dev/dvb/adapter9/frontend0): Opening DVR device /dev/dvb/adapter9/dvr0 failed : デバイスもしくはリソースがビジー状態です
2014-04-13 18:43:30.360214 I DVBSH(/dev/dvb/adapter9/frontend0): RunTS(): begin
2014-04-13 18:43:30.360279 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x0
2014-04-13 18:43:30.387047 I SH(/dev/dvb/adapter9/frontend0): AddListener(0x2d1cd88) -- end
2014-04-13 18:43:32.325488 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PAT,) Match() Wait()
2014-04-13 18:43:32.325594 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Association Table for 周波数 533142857
Program Association Section
PSIP tableID(0x0) length(29) extension(0x7de6)
     version(9) current(1) section(0) last_section(0)
     tsid(32230) programCount(5)
 program number     0 has PID 0x0010
 program number 33840 has PID 0x01f0
 program number 33841 has PID 0x02f0
 program number 33842 has PID 0x03f0
 program number 34224 has PID 0x1fc8

2014-04-13 18:43:32.325747 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x10
2014-04-13 18:43:32.326477 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x1f0
2014-04-13 18:43:32.326773 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x2f0
2014-04-13 18:43:32.327123 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x3f0
2014-04-13 18:43:32.327493 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x1fc8
2014-04-13 18:43:32.378242 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 18:43:32.378476 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(68) extension(0x85b0)
     version(23) current(1) section(0) last_section(0)
     pnum(34224) pid(0x1fc8)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x880) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x80
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #1 pid(0x881) type(0x1b video-h264)
   Stream Identifier Descriptor (0x52): ComponentTag=0x81
 Stream #2 pid(0x883) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x83
 Stream #3 pid(0x887) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x87
   Unknown(253) Descriptor (0xfd) length(3)

2014-04-13 18:43:32.428825 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 18:43:32.429183 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(165) extension(0x8430)
     version(23) current(1) section(0) last_section(0)
     pnum(33840) pid(0x1f0)
 Conditional Access: sid(0x5) pid(0x60) data_size(0)
 Unknown(246) Descriptor (0xf6) length(4)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x100) type(0x02 video-mpeg2)
   Stream Identifier Descriptor (0x52): ComponentTag=0x0
   Unknown(200) Descriptor (0xc8) length(1)
 Stream #1 pid(0x110) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x10
 Stream #2 pid(0x130) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x30
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #3 pid(0x138) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x38
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #4 pid(0x140) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x40
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #5 pid(0x15e) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5e
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #6 pid(0x15f) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5f
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #7 pid(0x160) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x60
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #8 pid(0x161) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x61
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)

2014-04-13 18:43:32.429248 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 18:43:32.429568 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(165) extension(0x8431)
     version(9) current(1) section(0) last_section(0)
     pnum(33841) pid(0x2f0)
 Conditional Access: sid(0x5) pid(0x60) data_size(0)
 Unknown(246) Descriptor (0xf6) length(4)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x100) type(0x02 video-mpeg2)
   Stream Identifier Descriptor (0x52): ComponentTag=0x0
   Unknown(200) Descriptor (0xc8) length(1)
 Stream #1 pid(0x110) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x10
 Stream #2 pid(0x130) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x30
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #3 pid(0x138) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x38
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #4 pid(0x140) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x40
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #5 pid(0x15e) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5e
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #6 pid(0x15f) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5f
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #7 pid(0x160) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x60
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #8 pid(0x161) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x61
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)

2014-04-13 18:43:32.429624 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 18:43:32.429974 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(165) extension(0x8432)
     version(9) current(1) section(0) last_section(0)
     pnum(33842) pid(0x3f0)
 Conditional Access: sid(0x5) pid(0x60) data_size(0)
 Unknown(246) Descriptor (0xf6) length(4)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x100) type(0x02 video-mpeg2)
   Stream Identifier Descriptor (0x52): ComponentTag=0x0
   Unknown(200) Descriptor (0xc8) length(1)
 Stream #1 pid(0x110) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x10
 Stream #2 pid(0x130) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x30
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #3 pid(0x138) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x38
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #4 pid(0x140) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x40
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #5 pid(0x15e) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5e
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #6 pid(0x15f) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5f
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #7 pid(0x160) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x60
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #8 pid(0x161) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x61
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)

2014-04-13 18:43:32.782184 I DTVSigMon[-1](/dev/dvb/adapter9/frontend0)::SetNIT(): net_id = 32230
2014-04-13 18:43:32.782211 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(NIT,) Match() Wait()
2014-04-13 18:43:32.782373 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Network Information Table for 周波数 533142857
NIT: NetID(32230) tranports(1)
Section (0) Last Section (0) IsCurrent (1)
Network descriptors length: 12
 Network Name Descriptor (0x40) length(6)
 Unknown(254) Descriptor (0xfe) length(2)
 Transport # 0 TSID(0x7de6) original_network_id(0x7de6) desc_len(64)
 Transport descriptors length: 64
   ServiceListDescriptor: 5 Services
     Service (33840) Type (TV)
     Service (33841) Type (TV)
     Service (33842) Type (TV)
     Service (34224) Type (Unknown c0)
     Service (33844) Type (Unknown a1)
   Unknown(250) Descriptor (0xfa) length(14)
   Unknown(251) Descriptor (0xfb) length(2)
   Unknown(205) Descriptor (0xcd) length(25)

2014-04-13 18:44:00.263504 I ChannelScanSM(/dev/dvb/adapter9/frontend0): transport_tune_complete: wait_until_complete 0
2014-04-13 18:44:00.263575 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM(/dev/dvb/adapter9/frontend0): Program 33840 -- Encrypted
2014-04-13 18:44:00.263613 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM(/dev/dvb/adapter9/frontend0): Program 33841 -- Encrypted
2014-04-13 18:44:00.263646 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM(/dev/dvb/adapter9/frontend0): Program 33842 -- Encrypted
2014-04-13 18:44:00.263682 E ChannelScanSM(/dev/dvb/adapter9/frontend0): unknown delivery system descriptor
2014-04-13 18:44:00.263699 E ChannelScanSM(/dev/dvb/adapter9/frontend0): unknown delivery system descriptor
2014-04-13 18:44:00.263714 E ChannelScanSM(/dev/dvb/adapter9/frontend0): unknown delivery system descriptor
2014-04-13 18:44:00.263728 E ChannelScanSM(/dev/dvb/adapter9/frontend0): unknown delivery system descriptor
2014-04-13 18:44:00.375539 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Adding 533142857 auto a auto auto a a auto a v fec: auto msys: UNDEFINED rolloff: 0.35, offset 0 to channelList.
2014-04-13 18:44:00.375610 I ChannelScanSM(/dev/dvb/adapter9/frontend0): 周波数 533142857 -- Timed out, 4 possible channels
2014-04-13 18:44:00.375634 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 18:44:00.375640 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 18:44:00.393613 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 18:44:00.393637 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- begin
2014-04-13 18:44:00.393650 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- locked
2014-04-13 18:44:00.393664 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 18:44:00.436131 I DVBSH(/dev/dvb/adapter9/frontend0): RunTS(): shutdown
2014-04-13 18:44:00.436161 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x0
2014-04-13 18:44:00.436212 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x10
2014-04-13 18:44:00.436241 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x1f0
2014-04-13 18:44:00.436276 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x2f0
2014-04-13 18:44:00.436303 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x3f0
2014-04-13 18:44:00.436330 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x1fc8
2014-04-13 18:44:00.437049 I DVBSH(/dev/dvb/adapter9/frontend0): RunTS(): end
2014-04-13 18:44:00.437064 I DVBSH(/dev/dvb/adapter9/frontend0): run(): end
2014-04-13 18:44:00.437165 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 18:44:00.437187 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- end
2014-04-13 18:44:00.437206 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
Before processing:
2014-04-13 18:44:00.437922 I ChannelScanSM(/dev/dvb/adapter9/frontend0): StopScanner
auto:533142857::-33840:33840:32230:mpeg 0:cnt(pnum:1,channum:1)
auto:533142857::-33841:33841:32230:mpeg 0:cnt(pnum:1,channum:1)
auto:533142857::-33842:33842:32230:mpeg 0:cnt(pnum:1,channum:1)
auto:533142857::-34224:34224:32230:mpeg 0:cnt(pnum:1,channum:1)



2014-04-13 18:44:00.447327 I ChannelScanSM(/dev/dvb/adapter9/frontend0): run -- end
2014-04-13 18:44:00.447475 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 18:44:00.447554 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 18:44:00.447576 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 18:44:00.447592 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- begin
2014-04-13 18:44:00.447606 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- locked
2014-04-13 18:44:00.447616 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 18:44:00.447627 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 18:44:00.447639 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- end
2014-04-13 18:44:00.447655 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 18:44:00.447927 I ChannelScanSM(/dev/dvb/adapter9/frontend0): StopScanner
2014-04-13 18:44:00.447942 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 18:44:00.447957 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 18:44:00.447973 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 18:44:00.447987 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- begin
2014-04-13 18:44:00.447998 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- locked
2014-04-13 18:44:00.448007 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 18:44:00.448015 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 18:44:00.448047 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- end
2014-04-13 18:44:00.448060 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 18:44:00.448072 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM Stopped
2014-04-13 18:44:00.448094 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 18:44:00.448109 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 18:44:00.448125 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 18:44:00.448138 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- begin
2014-04-13 18:44:00.448150 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- locked
2014-04-13 18:44:00.448159 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 18:44:00.448167 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 18:44:00.448179 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x2d1cd88) -- end
2014-04-13 18:44:00.448191 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 18:44:00.448293 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
auto:533142857::-33840:33840:32230:mpeg 0:cnt(pnum:1,channum:1)
auto:533142857::-33841:33841:32230:mpeg 0:cnt(pnum:1,channum:1)
auto:533142857::-33842:33842:32230:mpeg 0:cnt(pnum:1,channum:1)
auto:533142857::-34224:34224:32230:mpeg 0:cnt(pnum:1,channum:1)

Found 1 transport(s):
Channels: FTA Enc Dec
ATSC 0 0 0
DVB 0 0 0
SCTE 0 0 0
MPEG 1 3 0
NTSC 0
Unique: prog 4 atsc 0 atsc minor 0 channum 4
Max atsc major count: 0

2014-04-13 18:44:00.448309 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 18:44:00.450366 I DVBChan[1](/dev/dvb/adapter9/frontend0): Closing DVB channel
2014-04-13 18:44:00.454573 I SaveScan() scan.size(): 1
'---パッチ適用後のmythtv-setupログ、ここまで---



'---パッチ未適用時のmythtv-setupログ、ここから---
2014-04-13 17:50:49.286023 I ChannelBase[1]: Input #1: 'DVBInput' schan(33840) sourceid(1) ccid(1)
2014-04-13 17:50:49.286040 I ChannelBase[1]: Current Input #1: 'DVBInput'
2014-04-13 17:50:49.286370 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal strength failed.
2014-04-13 17:50:49.286396 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot measure Signal Strength
2014-04-13 17:50:49.288968 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal/noise ratio failed.
2014-04-13 17:50:49.288997 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot measure S/N
2014-04-13 17:50:49.289030 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal error rate failed.
2014-04-13 17:50:49.289053 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot measure Bit Error Rate
2014-04-13 17:50:49.289079 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend uncorrected block count failed.
2014-04-13 17:50:49.289101 W DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Cannot count Uncorrected Blocks
2014-04-13 17:50:49.289139 D SigMon[-1](/dev/dvb/adapter9/frontend0)::RemoveFlags: Seen() Match() Wait(Sig,SNR,BER,UB,)
2014-04-13 17:50:49.289163 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): DVBSignalMonitor::ctor initial flags Seen() Match() Wait()
2014-04-13 17:50:49.289241 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Connecting up DTVSignalMonitor
2014-04-13 17:50:49.289916 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Setting NIT-ID to 4294967295
2014-04-13 17:50:49.289970 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(MGT,VCT,NIT,SDT,)
2014-04-13 17:50:49.293352 I ChScan: Scan()
2014-04-13 17:50:49.293526 I ChScan: ScanTransports()
2014-04-13 17:50:49.293852 I ChannelScanSM(/dev/dvb/adapter9/frontend0): run -- begin
2014-04-13 17:50:49.293918 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Tuning to 周波数 533142857 mplexid(0)
2014-04-13 17:50:49.293949 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(Pos,)
2014-04-13 17:50:49.294059 D Draining DVB Event failed.
2014-04-13 17:50:49.294167 I DVBChan[1](/dev/dvb/adapter9/frontend0): Old Params: 0 auto a auto auto a a auto a v fec: auto msys: UNDEFINED rolloff: 0.35
DVBChan[1](/dev/dvb/adapter9/frontend0): New Params: 533142857 auto a auto auto a a auto a v fec: auto msys: UNDEFINED rolloff: 0.35
2014-04-13 17:50:49.294189 I DVBChan[1](/dev/dvb/adapter9/frontend0): Tune(): Tuning to 533142857Hz
2014-04-13 17:50:49.294893 I DVBChan: wait_for_backend: Status:
2014-04-13 17:50:49.294932 I DVBChan[1](/dev/dvb/adapter9/frontend0): Tune(): Frequency tuning successful.
2014-04-13 17:50:49.295026 I DTVSigMon[-1](/dev/dvb/adapter9/frontend0)::SetChannel(-1, -1):
2014-04-13 17:50:49.295055 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Start: begin
2014-04-13 17:50:49.295394 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Start: end
2014-04-13 17:50:49.295404 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(Sig,)
2014-04-13 17:50:49.295437 D SigMon[-1](/dev/dvb/adapter9/frontend0)::RemoveFlags: Seen() Match() Wait(Pos,)
2014-04-13 17:50:49.295486 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal strength failed.
2014-04-13 17:50:49.320692 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match() Wait(Sig,)
2014-04-13 17:50:49.320746 E DVBChan[1](/dev/dvb/adapter9/frontend0): Getting Frontend signal strength failed.
2014-04-13 17:50:49.320763 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): UpdateValues -- Signal Locked
2014-04-13 17:50:49.320834 I SH(/dev/dvb/adapter9/frontend0): AddListener(0x3049e70) -- begin
2014-04-13 17:50:49.320851 I SH(/dev/dvb/adapter9/frontend0): AddListener(0x3049e70) -- locked
2014-04-13 17:50:49.321034 I DVBSH(/dev/dvb/adapter9/frontend0): run(): begin
2014-04-13 17:50:49.331365 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x0
2014-04-13 17:50:49.331706 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x0
2014-04-13 17:50:49.331896 W DVBSH(/dev/dvb/adapter9/frontend0): Opening DVR device /dev/dvb/adapter9/dvr0 failed
2014-04-13 17:50:49.388167 I DVBSH(/dev/dvb/adapter9/frontend0): RunTS(): begin
2014-04-13 17:50:49.388239 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x0
2014-04-13 17:50:49.388660 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x1
2014-04-13 17:50:49.389030 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x10
2014-04-13 17:50:49.389373 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x11
2014-04-13 17:50:49.389682 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x14
2014-04-13 17:50:49.389983 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x1ffb
2014-04-13 17:50:49.421052 I SH(/dev/dvb/adapter9/frontend0): AddListener(0x3049e70) -- end
2014-04-13 17:50:50.801199 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PAT,) Match() Wait()
2014-04-13 17:50:50.801301 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Association Table for 周波数 533142857
Program Association Section
PSIP tableID(0x0) length(29) extension(0x7de6)
     version(9) current(1) section(0) last_section(0)
     tsid(32230) programCount(5)
 program number     0 has PID 0x0010
 program number 33840 has PID 0x01f0
 program number 33841 has PID 0x02f0
 program number 33842 has PID 0x03f0
 program number 34224 has PID 0x1fc8

2014-04-13 17:50:50.801498 I DTVSigMon[-1](/dev/dvb/adapter9/frontend0)::SetNIT(): net_id = 32230
2014-04-13 17:50:50.801520 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(NIT,) Match() Wait()
2014-04-13 17:50:50.803853 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Network Information Table for 周波数 533142857
NIT: NetID(32230) tranports(1)
Section (0) Last Section (0) IsCurrent (1)
Network descriptors length: 12
 NetworkNameDescriptor: 0&CN^N6
 Unknown(254) Descriptor (0xfe) length(2)
 Transport # 0 TSID(0x7de6) original_network_id(0x7de6) desc_len(64)
 Transport descriptors length: 64
   ServiceListDescriptor: 5 Services
     Service (33840) Type (TV)
     Service (33841) Type (TV)
     Service (33842) Type (TV)
     Service (34224) Type (Unknown c0)
     Service (33844) Type (Unknown a1)
   Unknown(250) Descriptor (0xfa) length(14)
   Unknown(251) Descriptor (0xfb) length(2)
   Unknown(205) Descriptor (0xcd) length(25)

2014-04-13 17:50:50.804002 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x1f0
2014-04-13 17:50:50.804597 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x2f0
2014-04-13 17:50:50.804917 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x3f0
2014-04-13 17:50:50.805236 I PIDInfo(/dev/dvb/adapter9/frontend0): Opening filter for pid 0x1fc8
2014-04-13 17:50:50.855783 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 17:50:50.856205 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(165) extension(0x8430)
     version(21) current(1) section(0) last_section(0)
     pnum(33840) pid(0x1f0)
 Conditional Access: sid(0x5) pid(0x60) data_size(0)
 Unknown(246) Descriptor (0xf6) length(4)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x100) type(0x02 video-mpeg2)
   Stream Identifier Descriptor (0x52): ComponentTag=0x0
   Unknown(200) Descriptor (0xc8) length(1)
 Stream #1 pid(0x110) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x10
 Stream #2 pid(0x130) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x30
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #3 pid(0x138) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x38
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #4 pid(0x140) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x40
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #5 pid(0x15e) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5e
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #6 pid(0x15f) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5f
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #7 pid(0x160) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x60
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #8 pid(0x161) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x61
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)

2014-04-13 17:50:50.856288 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 17:50:50.856614 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(165) extension(0x8431)
     version(7) current(1) section(0) last_section(0)
     pnum(33841) pid(0x2f0)
 Conditional Access: sid(0x5) pid(0x60) data_size(0)
 Unknown(246) Descriptor (0xf6) length(4)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x100) type(0x02 video-mpeg2)
   Stream Identifier Descriptor (0x52): ComponentTag=0x0
   Unknown(200) Descriptor (0xc8) length(1)
 Stream #1 pid(0x110) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x10
 Stream #2 pid(0x130) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x30
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #3 pid(0x138) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x38
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #4 pid(0x140) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x40
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #5 pid(0x15e) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5e
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #6 pid(0x15f) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5f
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #7 pid(0x160) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x60
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #8 pid(0x161) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x61
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)

2014-04-13 17:50:50.856676 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 17:50:50.857016 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(165) extension(0x8432)
     version(7) current(1) section(0) last_section(0)
     pnum(33842) pid(0x3f0)
 Conditional Access: sid(0x5) pid(0x60) data_size(0)
 Unknown(246) Descriptor (0xf6) length(4)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x100) type(0x02 video-mpeg2)
   Stream Identifier Descriptor (0x52): ComponentTag=0x0
   Unknown(200) Descriptor (0xc8) length(1)
 Stream #1 pid(0x110) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x10
 Stream #2 pid(0x130) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x30
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #3 pid(0x138) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x38
   Unknown(253) Descriptor (0xfd) length(3)
 Stream #4 pid(0x140) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x40
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #5 pid(0x15e) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5e
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #6 pid(0x15f) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x5f
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #7 pid(0x160) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x60
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)
 Stream #8 pid(0x161) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x61
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(253) Descriptor (0xfd) length(5)

2014-04-13 17:50:50.957598 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(PMT,) Match() Wait()
2014-04-13 17:50:50.957768 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Program Map Table for 周波数 533142857
Program Map Section
PSIP tableID(0x2) length(68) extension(0x85b0)
     version(21) current(1) section(0) last_section(0)
     pnum(34224) pid(0x1fc8)
 Unknown(193) Descriptor (0xc1) length(1)
 Unknown(222) Descriptor (0xde) length(1)
 Stream #0 pid(0x880) type(0x0d dsmcc-d data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x80
   Unknown(253) Descriptor (0xfd) length(10)
 Stream #1 pid(0x881) type(0x1b video-h264)
   Stream Identifier Descriptor (0x52): ComponentTag=0x81
 Stream #2 pid(0x883) type(0x0f audio-aac)
   Stream Identifier Descriptor (0x52): ComponentTag=0x83
 Stream #3 pid(0x887) type(0x06 private-data)
   Stream Identifier Descriptor (0x52): ComponentTag=0x87
   Unknown(253) Descriptor (0xfd) length(3)
2014-04-13 17:50:51.108775 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen(SDT,) Match() Wait()
2014-04-13 17:50:51.108848 I DTVSigMon[-1](/dev/dvb/adapter9/frontend0)::SetSDT(): tsid = 32230 orig_net_id = 32230
2014-04-13 17:50:51.108867 D SigMon[-1](/dev/dvb/adapter9/frontend0)::AddFlags: Seen() Match(SDT,) Wait()
2014-04-13 17:50:51.108886 D SigMon[-1](/dev/dvb/adapter9/frontend0)::RemoveFlags: Seen() Match() Wait(Pos,)
2014-04-13 17:50:51.108930 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.108983 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109031 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109077 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109126 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109192 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Got a Service Description Table for 周波数 533142857
SDT: TSID(0x7de6) original_network_id(0x7de6) services(5)
 Service # 0 SID(0x8430) eit_schd(t) eit_pf(t) encrypted(f)
 Service descriptors length: 28
   ServiceDescriptor:   (TV)
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(207) Descriptor (0xcf) length(7)
 Service # 1 SID(0x8431) eit_schd(t) eit_pf(t) encrypted(f)
 Service descriptors length: 24
   ServiceDescriptor:   (TV)
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(207) Descriptor (0xcf) length(3)
 Service # 2 SID(0x8432) eit_schd(t) eit_pf(t) encrypted(f)
 Service descriptors length: 24
   ServiceDescriptor:   (TV)
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(207) Descriptor (0xcf) length(3)
 Service # 3 SID(0x8434) eit_schd(f) eit_pf(f) encrypted(f)
 Service descriptors length: 26
   ServiceDescriptor:   (Unknown a1)
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(207) Descriptor (0xcf) length(3)
 Service # 4 SID(0x85b0) eit_schd(f) eit_pf(t) encrypted(f)
 Service descriptors length: 24
   ServiceDescriptor:   (Unknown c0)
   Unknown(193) Descriptor (0xc1) length(1)
   Unknown(207) Descriptor (0xcf) length(5)

2014-04-13 17:50:51.109396 I ChannelScanSM(/dev/dvb/adapter9/frontend0): transport_tune_complete:
                       currentInfo->pmts.empty():     0
                       sd->HasCachedAnyNIT():         1
                       sd->HasCachedAnySDTs():        1
                       currentInfo->nits.empty():     0
                       currentInfo->sdts.empty():     0
2014-04-13 17:50:51.109411 I ChannelScanSM(/dev/dvb/adapter9/frontend0): transport_tune_complete: wait_until_complete 1
2014-04-13 17:50:51.109473 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM(/dev/dvb/adapter9/frontend0): Program 33840 -- Encrypted
2014-04-13 17:50:51.109510 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM(/dev/dvb/adapter9/frontend0): Program 33841 -- Encrypted
2014-04-13 17:50:51.109573 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM(/dev/dvb/adapter9/frontend0): Program 33842 -- Encrypted
2014-04-13 17:50:51.109673 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109729 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109744 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109774 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109786 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109834 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109852 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109878 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109889 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.109916 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.218438 I ChannelScanSM(/dev/dvb/adapter9/frontend0): Adding 533142857 auto a auto auto a a auto a v fec: auto msys: UNDEFINED rolloff: 0.35, offset 0 to channelList.
2014-04-13 17:50:51.218510 I ChannelScanSM(/dev/dvb/adapter9/frontend0): 周波数 533142857 -- Found 5 probable channels
2014-04-13 17:50:51.218636 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 17:50:51.218666 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 17:50:51.230995 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 17:50:51.231008 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- begin
2014-04-13 17:50:51.231014 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- locked
2014-04-13 17:50:51.231020 D SH(/dev/dvb/adapter9/frontend0): Stopping
Before processing:
auto:533142857:::32230:32230:33840:32230=32230:dvb 0:cnt(pnum:1,channum:5)
auto:533142857:::32230:32230:33841:32230=32230:dvb 0:cnt(pnum:1,channum:5)
auto:533142857:::32230:32230:33842:32230=32230:dvb 0:cnt(pnum:1,channum:5)
auto:533142857:::32230:32230:33844:32230=0:dvb 0:cnt(pnum:1,channum:5)
auto:533142857:::32230:32230:34224:32230=32230:dvb 0:cnt(pnum:1,channum:5)



auto:533142857:::32230:32230:33840:32230=32230:dvb 0:cnt(pnum:1,channum:3)
auto:533142857:::32230:32230:33841:32230=32230:dvb 0:cnt(pnum:1,channum:3)
auto:533142857:::32230:32230:33842:32230=32230:dvb 0:cnt(pnum:1,channum:3)

Found 1 transport(s):
Channels: FTA Enc Dec
ATSC 0 0 0
DVB 0 3 0
SCTE 0 0 0
MPEG 0 0 0
NTSC 0
Unique: prog 3 atsc 0 atsc minor 0 channum 0
Max atsc major count: 0

2014-04-13 17:50:51.268863 I DVBSH(/dev/dvb/adapter9/frontend0): RunTS(): shutdown
2014-04-13 17:50:51.268893 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x0
2014-04-13 17:50:51.268946 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x1
2014-04-13 17:50:51.268978 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x10
2014-04-13 17:50:51.269014 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x11
2014-04-13 17:50:51.269044 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x14
2014-04-13 17:50:51.269075 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x1f0
2014-04-13 17:50:51.269098 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x2f0
2014-04-13 17:50:51.269120 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x3f0
2014-04-13 17:50:51.269141 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x1fc8
2014-04-13 17:50:51.269161 I PIDInfo(/dev/dvb/adapter9/frontend0): Closing filter for pid 0x1ffb
2014-04-13 17:50:51.270052 I DVBSH(/dev/dvb/adapter9/frontend0): RunTS(): end
2014-04-13 17:50:51.270067 I DVBSH(/dev/dvb/adapter9/frontend0): run(): end
2014-04-13 17:50:51.270339 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 17:50:51.270363 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- end
2014-04-13 17:50:51.270384 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 17:50:51.271188 I ChannelScanSM(/dev/dvb/adapter9/frontend0): StopScanner
2014-04-13 17:50:51.280565 I ChannelScanSM(/dev/dvb/adapter9/frontend0): run -- end
2014-04-13 17:50:51.280681 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 17:50:51.280694 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 17:50:51.280703 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 17:50:51.280714 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- begin
2014-04-13 17:50:51.280721 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- locked
2014-04-13 17:50:51.280727 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 17:50:51.280734 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 17:50:51.280741 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- end
2014-04-13 17:50:51.280749 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 17:50:51.280821 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280838 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280846 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280856 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280862 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280872 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280880 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280888 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280894 E dvb_decode_short_name: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.280902 E dvb_decode_text: Multi-byte coded text is not yet supported.
2014-04-13 17:50:51.281009 I ChannelScanSM(/dev/dvb/adapter9/frontend0): StopScanner
2014-04-13 17:50:51.281016 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 17:50:51.281024 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 17:50:51.281032 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 17:50:51.281039 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- begin
2014-04-13 17:50:51.281045 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- locked
2014-04-13 17:50:51.281050 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 17:50:51.281055 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 17:50:51.281061 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- end
2014-04-13 17:50:51.281067 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 17:50:51.281073 I ChannelScanSM(/dev/dvb/adapter9/frontend0): ChannelScanSM Stopped
2014-04-13 17:50:51.281085 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- begin
2014-04-13 17:50:51.281093 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 17:50:51.281100 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 17:50:51.281107 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- begin
2014-04-13 17:50:51.281112 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- locked
2014-04-13 17:50:51.281117 D SH(/dev/dvb/adapter9/frontend0): Stopping
2014-04-13 17:50:51.281122 D SH(/dev/dvb/adapter9/frontend0): Stopped
2014-04-13 17:50:51.281129 I SH(/dev/dvb/adapter9/frontend0): RemoveListener(0x3049e70) -- end
2014-04-13 17:50:51.281136 I DVBSigMon[-1](/dev/dvb/adapter9/frontend0): Stop() -- end
2014-04-13 17:50:51.281194 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: begin
2014-04-13 17:50:51.281203 D SigMon[-1](/dev/dvb/adapter9/frontend0)::Stop: end
2014-04-13 17:50:51.282493 I DVBChan[1](/dev/dvb/adapter9/frontend0): Closing DVB channel
2014-04-13 17:50:51.282911 I SaveScan() scan.size(): 1
'---パッチ未適用時のmythtv-setupログ、ここまで---
-- 管理人 (2014-04-13 19:15:14)



管理人様
EITにて番組表が取得出来ない件について、
mythbackendのログを貼り付けるようにとの事でしたので
以下に内容を貼り付けます。

mythbackendを起動後、約1時間経過した状態のログになります。
/var/log/mythtv/mythbackend.log

'---ここから---
2011-09-24 22:32:04.933 mythbackend version: [v0.24.1+] www.mythtv.org
2011-09-24 22:32:04.934 Using runtime prefix = /usr/local
2011-09-24 22:32:04.935 Read conf dir = /etc/mythtv
2011-09-24 22:32:04.935 Using configuration directory = /etc/mythtv
2011-09-24 22:32:04.936 Unable to read configuration file mysql.txt
2011-09-24 22:32:04.937 Empty LocalHostName.
2011-09-24 22:32:04.937 Using localhost value of mythtv.ddo.jp
2011-09-24 22:32:04.963 New DB connection, total: 1
2011-09-24 22:32:04.968 Connected to database 'mythconverg' at host: localhost
2011-09-24 22:32:04.971 Closing DB connection named 'DBManager0'
2011-09-24 22:32:04.972 Connected to database 'mythconverg' at host: localhost
2011-09-24 22:32:04.975 Current locale ja_JP
2011-09-24 22:32:04.975 No locale defaults file for ja_JP, skipping
2011-09-24 22:32:04.977 Current MythTV Schema Version (DBSchemaVer): 1264
2011-09-24 22:32:04.980 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2011-09-24 22:32:04.988 Upnpmedia rebuild disabled.
2011-09-24 22:32:06.193 MythBackend: Starting up as the master server.
2011-09-24 22:32:06.198 mythbackend: MythBackend started as master server
2011-09-24 22:32:06.202 New DB connection, total: 2
2011-09-24 22:32:06.203 Connected to database 'mythconverg' at host: localhost
2011-09-24 22:32:06.213 New DB connection, total: 3
2011-09-24 22:32:06.214 Connected to database 'mythconverg' at host: localhost
2011-09-24 22:32:06.651 New DB scheduler connection
2011-09-24 22:32:06.652 Connected to database 'mythconverg' at host: localhost
2011-09-24 22:32:06.657 Main::Registering HttpStatus Extension
2011-09-24 22:32:06.657 Enabled verbose msgs: important general
2011-09-24 22:32:06.669 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2011-09-24 22:32:09.665 Reschedule requested for id -1.
2011-09-24 22:32:09.742 Scheduled 0 items in 0.1 = 0.00 match + 0.06 place
2011-09-24 22:32:09.747 scheduler: Scheduled items: Scheduled 0 items in 0.1 = 0.00 match + 0.06 place
2011-09-24 22:32:09.750 Seem to be woken up by USER
2011-09-24 22:32:16.659 mythbackend: Running housekeeping thread
2011-09-24 22:33:26.661 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2011-09-24 22:48:26.917 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2011-09-24 22:53:06.160 MainServer::ANN Monitor
2011-09-24 22:53:06.165 adding: mythtv.ddo.jp as a client (events: 2)
2011-09-24 22:53:06.377 MainServer::ANN Monitor
2011-09-24 22:53:06.377 adding: mythtv.ddo.jp as a client (events: 2)
2011-09-24 23:03:27.195 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2011-09-24 23:08:32.534 MainServer::ANN Monitor
2011-09-24 23:08:32.538 adding: mythtv.ddo.jp as a client (events: 2)
'---ここまで---

-- シロー


レタス様
私の環境でも該当部分を修正しました。これで暫く様子を見てみます。
-- 管理人

たぶん直ったような気がします。
Busyでの録画失敗はとりあえず今のところ発生していない様なので。
--- a/mythtv/libs/libmythtv/dvbstreamhandler.cpp
+++ b/mythtv/libs/libmythtv/dvbstreamhandler.cpp
@@ -282,14 +282,15 @@ void DVBStreamHandler::RunTS(void)
         dvr_fd = open(dvr_dev_path.constData(), O_RDONLY | O_NONBLOCK);
         if (dvr_fd >= 0)
             break;
+        int openerr = errno;
         VERBOSE(VB_IMPORTANT, LOC_WARN +
                 QString("Opening DVR device %1 failed : %2")
-                .arg(_dvr_dev_path).arg(strerror(errno)));
-        if (tries >= 20 || (errno != EBUSY && errno != EAGAIN))
+                .arg(_dvr_dev_path).arg(QString::fromLocal8Bit(strerror(errno))));
+        if (tries >= 20 || (openerr != EBUSY && openerr != EAGAIN))
         {
             VERBOSE(VB_IMPORTANT, LOC +
                     QString("Failed to open DVR device %1 : %2")
-                    .arg(_dvr_dev_path).arg(strerror(errno)));
+                    .arg(_dvr_dev_path).arg(QString::fromLocal8Bit(strerror(openerr))));
             delete[] buffer;
             return;
         }
-- レタス

backendで発生しているエラーについては少し分かったことが。
  • backendログの中の "DVBSH(/dev/dvb/adapter9/frontend0): Failed to open" の後ろは日本語のエラーメッセージが化けてるものでした。
    以前にくまさんが載せたログにもある "eno: 〜" も日本語のエラーメッセージのようです。(何かのバイナリデータかと思ってたけど)
  • 化けてる理由は Qtに関係があるのかも? … よく分かりません。
  • mythbackendの当該部分は errno使って条件判断してるけど値を退避していないバグがあるっぽいです。
    • VERBOSEを無効化できるのであれば(ログを一切出さないとかだと) 表面化しません。
    • open(dvr_dev_path.constData()) で一度でも失敗すると, そのバクでリトライすることなくループ終了します。
  • で, この部分は DVB tuning timeout や timeout delayじゃなく回数はハードコーディング。
録画失敗の原因がここならもしかすると直るかもです。
-- レタス

レタス様
バージョン等の情報ありがとうございます。
私の環境で発生している問題とは別みたいなので、timeout値の変更とpcscdのログ取得をして暫く様子見でお願いします。
他で同じ現象が出ている人がいればいいのですが。。
-- 管理人


$ aptitude show pcscd
パッケージ: pcscd
状態: インストール済み
自動的にインストールされた: yes
バージョン: 1.5.5-3ubuntu2.1
$ aptitude show libccid
パッケージ: libccid
状態: インストール済み
自動的にインストールされた: no
バージョン: 1.3.11-1
  • 起動メッセージは $VERBOSEで制御されてるっぽいけどどこで指定されてるのか追いかけてないです。エラーが出れば何か残ってるはず。
    こちらの環境では何かとぶつかったか, tuning timeout / delay の値のような感じに見えるので pcscdは放置してます。
  • active EIT scan使ってます。
  • 現在使用しているのは fukumen氏の ISDB対応版を gitでそのまま引っ張ってきたもの。
    それとは別環境にパッケージ版を構築して比較したりも。
リポジトリー追加しておいて
$ sudo apt-add-repository ppa:mythbuntu/0.24
$ sudo apt-get update
パッケージ作成
$ apt-get source mythtv
$ cd mythtv-0.24.1+fixes.〜
$ patch -p1 <〜/isdb-mythtv_0.24.1.patch
$ debuild -us -uc
$ cd ..
$ sudo dpkg -i *.deb # あるいは必要な分だけ
-- レタス

レタス様
  • pcscdが何もログを出さないのは変ですね。起動スクリプト内とかで、ログレベルがcriticalとかになっていないでしょうか?
  • pcscdとccidのバージョンを教えて下さい。(私の環境はpcsc-lite-1.6.1, ccid-1.3.13を使っています。)
  • 予約録画失敗時に、番組情報の取得プログラムが並行して動いてる事は無いでしょうか?
    (番組取得は何を使っていますか?Active EIT Scanなら録画とは絶対被らないハズですが。)
  • MythTVは、ISDBのパッチは未適用の状態という事でいいでしょうか。
  • PT2&MythTVの人はそこそこいると思いますが、vlcを介してる人が多いのだと思います。
    その環境だと、ここと共通する話題はほとんど無いでしょうし。
  • 1週間ほど放置しなくても不具合は出ると思いますが、最近は本当に安定し始めているので再現性は低いですね。
  • Ubuntuですか。kvmのゲストとして入れてみようかなぁ (ボソッ
-- 管理人


  • pcscdは /var/logすべて探してもインストールログにしかヒットしません。
    敢えて問題を探すとカードがちょっとした拍子に抜けてしまいそうに見えること。ちなみにジェムアルトのカードリーダーです。
  • 復帰は単純で, 録画中/録画済みの状態を解除するだけです。
    1. frontendの番組ガイドから番組を選択して, とにかく停止状態にする。必要であればそこで 'd'をタイプして削除。
    2. 以前の録画のページで該当する番組にカーソル合わせ 'd'で削除。
    3. ここまでのステップで解除できたら予約録画すると録画が始まる。解除できていなければもう一度繰り返す?
  • 放っておいても失敗した次の番組からは普通に録画できてます。
  • MythTV Version : v0.24.1
  • ソフトかハードかの切り分けが必要な場合 Ubuntuでテストして確認してみるのも手かも。バイナリパッケージ揃ってるし (MythTV 0.24.1も)。
  • 録画失敗の情報を共有することでいろんな問題の解決に, と思ってたけど, 分かったのは PT2&MythTVの人口が少なそうってこと (^^;;
    特集組んだ雑誌があるらしいのでもう少しは増えそうに思うけど …

… もしかして, 一週間ほど放置しないと pcscdのエラーは発生しないんでしょうか?
だとすると Ubuntuで〜, というのは意味がないかも。最大で 2日ほどしか連続稼動させていないので。
-- レタス

レタス様
  • pcscdはsyslogに何も出していないでしょうか?
    こちらの環境でもたまに録画失敗しますが、その時はpcscdが以下のようなエラーを吐いています。
  • この症状が起きた場合、復旧方法はどうされてますでしょうか?
    こちらではmythbackend, fuse_b25, pcscd全てのサービスを再起動しないと復旧せず、手間がかかっています。
    (気付くのが遅れると数日録画失敗し続けるハメに。。何とかしたいのですが。)
  • MythTVのバージョンは、$ mythbackend --version で確認出来ます。
-- 管理人
Jul 22 18:31:35 tv pcscd: ccid_usb.c:660:ReadUSB() usb_bulk_read(003/002): error sending control message: Broken pipe
Jul 22 18:31:35 tv pcscd: ccid_usb.c:660:ReadUSB() usb_bulk_read(003/002): error sending control message: Broken pipe
Jul 22 18:31:35 tv pcscd: ccid_usb.c:507:OpenUSBByName() Can't claim interface 003/002: could not claim interface 0: Device or resource busy
Jul 22 18:31:35 tv pcscd: ifdhandler.c:104:IFDHCreateChannelByName() failed
Jul 22 18:31:35 tv pcscd: readerfactory.c:1011:RFInitializeReader() Open Port 200000 Failed (usb:04e6/511a:libusb:003)
Jul 22 18:31:35 tv pcscd: readerfactory.c:257:RFAddReader() SCM SCR 3310 NTTCom (21120651345850) init failed.
Jul 22 18:31:36 tv pcscd: ccid_usb.c:507:OpenUSBByName() Can't claim interface 003/002: could not claim interface 0: Device or resource busy
Jul 22 18:31:36 tv pcscd: ifdhandler.c:104:IFDHCreateChannelByName() failed
Jul 22 18:31:36 tv pcscd: readerfactory.c:1011:RFInitializeReader() Open Port 200000 Failed (usb:04e6/511a:libusb:003)
Jul 22 18:31:36 tv pcscd: readerfactory.c:257:RFAddReader() SCM SCR 3310 NTTCom (21120651345850) init failed.




  • たまに予約録画が失敗します。
    そんな時は大抵 376バイトのファイルが出来上がってます。
    fuse_b25-0.4.8
    MythTV 0.24(.1?)
    Ubuntu 10.10
    関係あるのかどうか不明ですが失敗と同じタイミングで Syslogにこんなのが。 同様の現象は他では現れてないんでしょうか? -- レタス
FUSE_b25[2517]: failed to open /dvr0 device: Device or resource busy

再度発生したのでログ貼っておきます。
ただ今回のは 376バイトが出来ずに普通に失敗しました。
messages:
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: failed to open /dvr0 device: Device or resource busy

mythbackend.log:
2011-07-21 19:54:15.366 Reschedule requested for id -1.
2011-07-21 19:54:16.086 Scheduled 82 items in 0.6 = 0.04 match + 0.61 place
2011-07-21 19:55:55.146 Reschedule requested for id 0.
2011-07-21 19:55:55.562 Scheduled 82 items in 0.4 = 0.00 match + 0.36 place
2011-07-21 19:56:24.638 TVRec(1): ASK_RECORDING 1 29 0 0
2011-07-21 19:56:34.527 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure Signal Strength
		eno: サポートされていない操作です (95)
2011-07-21 19:56:34.533 DVBChan(1:/dev/dvb/adapter9/frontend0) Warning: Unsupported bandwidth parameter.
2011-07-21 19:56:34.539 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure Bit Error Rate
		eno: サポートされていない操作です (95)
2011-07-21 19:56:34.572 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot count Uncorrected Blocks
		eno: サポートされていない操作です (95)
2011-07-21 19:56:49.479 MainServer::ANN Monitor
2011-07-21 19:56:49.484 adding: PT2SVR as a client (events: 2)
2011-07-21 19:56:52.631 MainServer::ANN Monitor
2011-07-21 19:56:52.632 adding: PT2SVR as a client (events: 2)
2011-07-21 19:56:56.772 TVRec(1): Changing from None to RecordingOnly
2011-07-21 19:56:56.775 TVRec(1): HW Tuner: 1->1
2011-07-21 19:56:56.903 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure Signal Strength
		eno: サポートされていない操作です (95)
2011-07-21 19:56:56.915 DVBChan(1:/dev/dvb/adapter9/frontend0) Warning: Unsupported bandwidth parameter.
2011-07-21 19:56:56.920 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure Bit Error Rate
		eno: サポートされていない操作です (95)
2011-07-21 19:56:56.943 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot count Uncorrected Blocks
		eno: サポートされていない操作です (95)
2011-07-21 19:56:56.989 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2011-07-21 19:56:56.999 DVBSH(/dev/dvb/adapter9/frontend0) Warning: Opening DVR device /dev/dvb/adapter9/dvr0 failed : デバイスもしくはリソースがビジー状態です
2011-07-21 19:56:57.039 DVBSH(/dev/dvb/adapter9/frontend0): Failed to open DVR device /dev/dvb/adapter9/dvr0 : 引数リストが長すぎます
2011-07-21 19:56:57.010 Started recording: 奇跡体験!アンビリバボー[字]:「仰天!超スゴい㊙動物SP‼」▽腕マクラする親子猫▽究極いやし笑顔子犬▽カメVSイヌワシ死闘▽6歳少年の心救った義足ポニー…災害越え命のチカラ: channel 3080 on cardid 1, sourceid 1
2011-07-21 19:57:17.644 MainServer::ANN Monitor
2011-07-21 19:57:17.644 adding: PT2SVR as a client (events: 2)
2011-07-21 19:57:43.030 Reschedule requested for id -1.
2011-07-21 19:57:43.491 Scheduled 82 items in 0.4 = 0.02 match + 0.39 place
2011-07-21 19:57:50.072 MainServer::ANN Monitor
2011-07-21 19:57:50.073 adding: PT2SVR as a client (events: 2)
2011-07-21 19:58:10.720 MainServer::ANN Monitor
2011-07-21 19:58:10.721 adding: PT2SVR as a client (events: 2)

syslog:
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x17].
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: ECM k_odd updated.
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x18].
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: ECM k_even updated.
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x19].
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: ECM k_odd updated.
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x1a].
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: ECM k_even updated.
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x1b].
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: releasing demux device
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: last message repeated 16 times
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: ECM k_odd updated.
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: /dvr0 open flags:0x8800
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: failed to open /dvr0 device: Device or resource busy
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: releasing demux device
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: last message repeated 12 times
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /dvr0 open flags:0x8800
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[000000].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x0001].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: new PAT for ts:0x7d50, ver:0x02, 5-progs.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x01f0].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x03f0].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x1fc8].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x1cf0].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x0901].

debug:
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x17].
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:48 PT2SVR FUSE_b25[2331]: ECM k_odd updated.
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x18].
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:50 PT2SVR FUSE_b25[2331]: ECM k_even updated.
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x19].
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:52 PT2SVR FUSE_b25[2331]: ECM k_odd updated.
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x1a].
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:54 PT2SVR FUSE_b25[2331]: ECM k_even updated.
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: new ECM. ver:[0x1b].
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: sent an ECM to the card.(len:30)
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: releasing demux device
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: last message repeated 16 times
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: Got an ECM response.
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: ECM k_odd updated.
Jul 21 19:56:56 PT2SVR FUSE_b25[2331]: /dvr0 open flags:0x8800
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: releasing demux device
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: last message repeated 12 times
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /dvr0 open flags:0x8800
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[000000].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x0001].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: /demux0 open flags:0x8802
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ioctl on /demux0 cmd:40146f2c arg:0xa7aefc94
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: secfilter pid:0000 stype:100
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: filter_loop started.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: new PAT for ts:0x7d50, ver:0x02, 5-progs.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x01f0].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x03f0].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x1fc8].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x1cf0].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: created new section for pid:[0x0901].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: new PMT for prog:0xa800, ver:0x19, 10-pes's.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: new PMT for prog:0xa801, ver:0x15, 10-pes's.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: new ECM. ver:[0x11].
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: sent an ECM to the card.(len:30)
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: Got an ECM response.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ECM k_odd updated.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: ECM k_even updated.
Jul 21 19:58:12 PT2SVR FUSE_b25[2415]: new PMT for prog:0xfff0, ver:0000, 12-pes's.
Jul 21 19:58:13 PT2SVR FUSE_b25[2415]: new PMT for prog:0xa980, ver:0x18, 6-pes's.




  • ご迷惑をおかけしています。
    やっと録画ができました。
    原因はnvidiaのドライバーでした。
    削除したら落ちなくなりました。
    音はまだ出ませんが画像は問題ありません。
    困ったもんです。


    私のビデオカードはGeForce 9600 GTなのですが
    専用ドライバーを使わないと表示がかなり苦しいです。
    -- くま (2011-06-04 21:39:47)

mplexid sourceid transportid networkid frequency inversion symbolrate fec polarity modulation bandwidth lp_code_rate transmission_mode guard_interval visible constellation hierarchy hp_code_rate mod_sys rolloff sistandard serviceversion updatetimestamp default_authority

1 1 32707 32707 503142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:10:01
2 1 32709 32709 509142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:11:32
3 1 32706 32706 521142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:13:19
4 1 32150 32150 557142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:14:26
5 1 32705 32705 593142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:16:01
6 1 32708 32708 617142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:17:12
7 1 32144 32144 677142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-06-04 12:18:10



chanid channum freqid sourceid callsign name icon finetune videofilters xmltvid recpriority contrast brightness colour hue tvformat visible outputfilters useonairguide mplexid serviceid tmoffset atsc_major_chan atsc_minor_chan last_record default_authority commmethod
1018 18 503142857 1 CBC CBC 0 18 0 32768 32768 32768 32768 1 1 1 3096 0 0 0 0000-00-00 00:00:00 -1
1019 19 509142857 1 ?????? ?????? 0 19 0 32768 32768 32768 32768 1 1 2 3112 0 0 0 0000-00-00 00:00:00 -1
1021 21 521142857 1 ?????011 ?????011 0 21 0 32768 32768 32768 32768 1 1 3 3088 0 0 0 0000-00-00 00:00:00 -1
1037 27 557142857 1 ?????1 ?????1 0 27 0 32768 32768 32768 32768 1 1 4 38960 0 0 0 0000-00-00 00:00:00 -1
1033 33 593142857 1 NHK??1???? NHK??1???? 0 33 0 32768 32768 32768 32768 1 1 5 3080 0 0 0 0000-00-00 00:00:00 -1
1038 37 617142857 1 ???? ???? 0 37 0 32768 32768 32768 32768 1 1 6 3104 0 0 0 0000-00-00 00:00:00 -1
1047 47 677142857 1 NHK??1?? NHK??1?? 0 47 0 32768 32768 32768 32768 1 1 7 38912 0 0 0 0000-00-00 00:00:00 -1


-- くまー

くま様
describeだと、そのテーブルの「構造」を表示します。
確認したいのはテーブルの中身(データ)なので、select文で表示できます。
私の環境での出力結果を示します。

mysql> select * from dtv_multiplex;
mplexid sourceid transportid networkid frequency inversion symbolrate fec polarity modulation bandwidth lp_code_rate transmission_mode guard_interval visible constellation hierarchy hp_code_rate mod_sys rolloff sistandard serviceversion updatetimestamp default_authority
1 1 32230 32230 533142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 09:40:45
2 1 32708 32708 527142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 10:03:30
3 1 32706 32706 521142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 10:03:46
4 1 32224 32224 515142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 10:04:06
5 1 32709 32709 509142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 10:06:12
6 1 32707 32707 503142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 10:06:30
7 1 32705 32705 473142857 a 0 auto v auto a auto a auto 0 auto a auto UNDEFINED 0.35 dvb 33 2011-03-24 10:06:48
7 rows in set (0.00 sec)

mysql> select * from channel;
chanid channum freqid sourceid callsign name icon finetune videofilters xmltvid recpriority contrast brightness colour hue tvformat visible outputfilters useonairguide mplexid serviceid tmoffset atsc_major_chan atsc_minor_chan last_record default_authority commmethod
33840 23 1 TVA テレビ愛知 0 23 0 32768 32768 32768 32768 1 1 1 33840 0 0 0 2011-05-31 01:59:41 -1
3104 22 1 NBN メ〜テレ 0 22 0 32768 32768 32768 32768 1 1 2 3104 0 0 0 2011-05-31 13:04:41 -1
3088 21 1 THK 東海テレビ 0 21 0 32768 32768 32768 32768 1 1 3 3088 0 0 0 2011-05-29 06:14:41 -1
33792 20 1 NHK NHK総合 0 20 0 32768 32768 32768 32768 1 1 4 33792 0 0 0 2011-05-24 11:29:41 -1
3112 19 1 CTV 中京テレビ 0 19 0 32768 32768 32768 32768 1 1 5 3112 0 0 0 2011-05-29 14:13:23 -1
3096 18 1 CBC CBCテレビ 0 18 0 32768 32768 32768 32768 1 1 6 3096 0 0 0 2011-05-26 02:29:41 -1
3080 13 1 ETV NHK教育 0 13 0 32768 32768 32768 32768 1 1 7 3080 0 0 0 2011-05-27 20:59:41 -1
7 rows in set (0.00 sec)

①channelとdtv_multiplexの「mplexid」は一致してますでしょうか? 

上記の私の環境では、dtv_multiplexテーブルのmplexidとchannelテーブルのmplexidで、チャンネルとfrequencyが
意図した通りに紐付いていることが分かります。
くま様の環境ではどうでしょうか?

②tune.cの周波数と、dtv_multiplexのfrequencyは一致してますでしょうか? 
どのソースのtune.cなのか?です。すいません。

このwikiのtuneコマンド(dvb-pt1-test)のページに記載してあるtune.cになります。
このテストプログラムはPT1/PT2専用なので、他のチューナーでは試すことが出来ませんが。

by 管理人


大変、ご迷惑をおかけしています。くまです。

mysql> describe dtv_multiplex;
Field Type Null Key Default Extra
mplexid smallint(6) NO PRI NULL auto_increment
sourceid smallint(6) YES NULL
transportid int(11) YES NULL
networkid int(11) YES NULL
frequency int(11) YES NULL
inversion char(1) YES a
symbolrate int(11) YES NULL
fec varchar(10) YES auto
polarity char(1) YES NULL
modulation varchar(10) YES auto
bandwidth char(1) YES a
lp_code_rate varchar(10) YES auto
transmission_mode char(1) YES a
guard_interval varchar(10) YES auto
visible smallint(1) NO 0
constellation varchar(10) YES auto
hierarchy varchar(10) YES auto
hp_code_rate varchar(10) YES auto
mod_sys varchar(10) YES NULL
rolloff varchar(4) YES NULL
sistandard varchar(10) YES dvb
serviceversion smallint(6) YES 33
updatetimestamp timestamp NO CURRENT_TIMESTAMP
default_authority varchar(32) NO

24 rows in set (0.00 sec)

①channelとdtv_multiplexの「mplexid」は一致してますでしょうか?

ごめんなさい。mplexidは表示できたのですが...channelはどこのデータと比べると
良いか?素人ですいません。

②tune.cの周波数と、dtv_multiplexのfrequencyは一致してますでしょうか?
どのソースのtune.cなのか?です。すいません。

完全に素人なので呆れないでください。申し訳ないです。


  • >>くま様
    データベースがmysqlになっています。mythconvergに切り替えてください。
    コマンドだとミスしやすいので、phpmyadminを導入したほうがいいと思います。
    トラブルシューティングのページを十分に使って頂いて結構ですので、
    整理するためにも設定やログを書き連ねてみてください。 -- 管理人 (2011-05-30 22:37:21)

  • mysql> describe dtv_multiplex;
    ERROR 1146 (42S02): Table 'mysql.dtv_multiplex' doesn't exist


    何か根本的に欠陥が...ごめんなさい。ちょっと時間をください。 -- くま (2011-05-30 21:22:40)

  • 確認なのですが、
    ①channelとdtv_multiplexの「mplexid」は一致してますでしょうか?
    ②tune.cの周波数と、dtv_multiplexのfrequencyは一致してますでしょうか?
    ③もし良ければ関連するデータを「トラブルシューティング」へ貼り付け出来ますでしょうか?
    (caputurecard、cardinput、channel、dtv_multiplex)


    ※それとチャンネルスキャンは、個別チューンの方法を使用して下さい。
    -- シロー (2011-05-29 21:26:53)

  • >mythconvergデータベース...
    作り直してみました。
    録画が一瞬出来てbackendが落ちてしまいます。
    >基本的なことですが、videoグループに、login ユーザーを追加してありますか
    この部分が怪しいのですが
    /etc/group にvideo:x:44:mythtv,kkumaとなっていれば良い?という事でしょうか。
    すいません。教えてください。たぶんゴールはすぐそこ?! -- くま (2011-05-29 20:14:51)

  • トラブルシューティンブ用のページを作りました。
    メンバーなら編集可能なのでそちらに情報のアップをお願いします。
    (コメント欄に長い情報が載ると見難くなるので。)


    Failed to initialize multiplex options と出ているので、データベースが
    おかしい可能性もあります。mythconvergデータベースのdtv_multiplex
    やchannelテーブルの確認をお願いします。
    もしかすると、mythconvergデータベースを破棄して作り直すと
    うまく行くかもしれません。 -- 管理人 (2011-05-29 15:42:28)

  • 汚くて申し訳ないです。ログをアップします。
2011-05-29 14:18:01.657 MainServer::ANN Monitor
2011-05-29 14:18:01.669 adding: kkuma64 as a client (events: 0)
2011-05-29 14:18:01.679 MainServer::ANN Monitor
2011-05-29 14:18:01.689 adding: kkuma64 as a client (events: 1)
2011-05-29 14:18:15.392 Reschedule requested for id 3.
2011-05-29 14:18:15.459 Scheduled 1 items in 0.1 = 0.03 match + 0.04 place
2011-05-29 14:18:15.481 TVRec(1): Changing from None to RecordingOnly
2011-05-29 14:18:15.485 TVRec(1): HW Tuner: 1->1
2011-05-29 14:18:15.527 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure Signal Strength
                       eno: ã<82>µã<83><9d>ã<83>¼ã<83><88>ã<81><95>ã<82><8c>ã<81>¦ã<81><84>ã<81>ªã<81><84>æ<93><8d>ä½<9c>ã<81>§ã<81><99> (95)
2011-05-29 14:18:15.529 DVBChan(1:/dev/dvb/adapter9/frontend0) Error: SetChannelByString(38960): Failed to initialize multiplex options
2011-05-29 14:18:15.577 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure S/N
                        eno: å<85>¥å<8a><9b>/å<87>ºå<8a><9b>ã<82>¨ã<83>©ã<83>¼ã<81>§ã<81><99> (5)
2011-05-29 14:18:15.596 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot measure Bit Error Rate
                        eno: ã<82>µã<83><9d>ã<83>¼ã<83><88>ã<81><95>ã<82><8c>ã<81>¦ã<81><84>ã<81>ªã<81><84>æ<93><8d>ä½<9c>ã<81>§ã<81><99> (95)
2011-05-29 14:18:15.616 DVBSM(/dev/dvb/adapter9/frontend0), Warning: Cannot count Uncorrected Blocks
                        eno: ã<82>µã<83><9d>ã<83>¼ã<83><88>ã<81><95>ã<82><8c>ã<81>¦ã<81> <84>ã<81>ªã<81><84>æ<93><8d>ä½<9c>ã<81>§ã<81><99> (95)
2011-05-29 14:18:15.637 SignalMonitor: channel change failed
2011-05-29 14:18:15.717 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2011-05-29 14:18:15.719 Canceled recording (Recorder Failed): 信州発!生中継です。安曇野わんぱく日和~槍ケ岳に挑む・湧水に遊ぶ・田園列車の旅~: channel 1011 on cardid 1, sourceid 1
2011-05-29 14:18:15.738 ProgramInfo(1011_20110529141800.mpg), Error: GetPlaybackURL: '1011_20110529141800.mpg' should be local, but it can not be found.
2011-05-29 14:18:15.759 TVRec(1): Changing from RecordingOnly to None
2011-05-29 14:18:15.770 Updating status for 信州発!生中継です。安曇野わんぱく日和~槍ケ岳に挑む・湧水に遊ぶ・田園列車の旅~ on cardid 1 (Recorder Failed => Recorded)
2011-05-29 14:18:15.791 Updating status for 信州発!生中継です。安曇野わんぱく日和~槍ケ岳に挑む・湧水に遊ぶ・田園列車の旅~ on cardid 1 (Recorded => Recorder Failed)
2011-05-29 14:18:16.736 Reschedule requested for id 0.
2011-05-29 14:18:16.749 Reschedule requested for id 0.
2011-05-29 14:18:16.758 Reschedule requested for id 0.
2011-05-29 14:18:16.778 Scheduled 1 items in 0.0 = 0.03 match + 0.01 place
2011-05-29 14:18:18.795 Error deleting 'GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/kkuma64/1011_20110529141800.mpg': ã<81><9d>ã<81>®ã<82><88>ã<81><86>ã<81>ªã<83><95>ã<82>¡ã<82>¤ã<83>«ã<82><84>ã<83><87>ã<82>£ã<83>¬ã<82>¯ã<83><88>ã<83>ªã<81>¯ã<81><82>ã<82><8a>ã<81>¾ã<81><9b>ã<82><93>
2011-05-29 14:18:24.801 Reschedule requested for id 0.
2011-05-29 14:18:24.819 Scheduled 1 items in 0.0 = 0.01 match + 0.01 place
2011-05-29 14:18:39.691 Expiring 0 MB for 4096 at 2011-05-29T14:15:36 =>
2011-05-29 14:18:39.692 Expiring 4 MB for 4096 at 2011-05-29T14:15:38 =>
-- くま (2011-05-29 14:12:14)


  • >>くま様
    ユーザアカウント登録しました。パスワードはアカウント名と同じにしました。
    ログイン出来るかご確認ください。 -- 管理人 (2011-05-29 14:01:16)

  • >>くま様
    ログ等をアップロードしてもらったほうが解決が早いかもしれませんね。
    このwikiの編集権限を付与しますので、ご連絡ください。
    (上記メニューの中から管理者への連絡が出来たと思います。) -- 管理人 (2011-05-29 10:23:10)

  • くまさんへ
    基本的なことですが、videoグループに、login ユーザーを追加してありますか?
    -- のり (2011-05-29 10:03:07)

  • シローさんへ
    ありがとうございます。試してみたらスキャンまでできました。
    でも、視聴しようとすると信号がロックとか表示がでて黒い画面のままです。
    いじっていると、backendが落ちてしまいます。 -- くま (2011-05-29 07:45:23)

  • >>くま様
    試しに「adapter1」でスキャンしてみて下さい。
    チャンネルスキャンが完了したら、「adapter9」へ戻すのを忘れずに。
    -- シロー (2011-05-28 22:00:21)

  • のりさんへ
    ビルドしてインストールしたらJAPANが出てきたのでフルスキャン
    かけたら全部タイムアウト?すいませんが詳細を教えてください。 -- くま (2011-05-28 21:14:31)

  • $ uname -a
    Linux kkuma64 2.6.35-28-generic
    #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux


    今、のりさんの情報を試す用意をしています。
    みなさんありがとうございます。 -- くま (2011-05-28 20:38:05)

  • >>くま様
    さっそくのレスありがとうございます。最新版で駄目なんですね。。
    kernelのバージョンはいくつでしょうか。2.6.37以降でPT1のドライバが
    i2c絡みで動かなくなったとの情報が出ています。
    (自分の環境は2.6.36で止めているので未確認ですが。)
    あと、pcscdが知らないうちに死んでる事があるので、反応してるか
    pcsc_scanコマンドで確認してみて下さい。


    のり様のコメントを見る限り、mythubuntuのパッケージに問題がある
    ようにも感じますが、他のユーザの情報も集めたいですね。 -- 管理人 (2011-05-28 20:33:02)

  • >1周波数だけスキャンさせてもタイムアウトに
    なりますでしょうか。


    はい、残念ですが...


    MythTV Version : v0.24.1-1-g347cd24
    MythTV Branch : fixes/0.24
    Network Protocol : 63
    Library API : 0.24.20110505-1
    QT Version : 4.7.0


    こんな感じです。
    -- くま (2011-05-28 19:57:42)


  • >>くま様
    mythtv-setupでのチャンネルスキャン(個別チューンの方法)で
    1周波数だけスキャンさせてもタイムアウトになりますでしょうか。
    あと、mythbackend --versionでバージョンはいくつと出ますでしょうか。 -- 管理人 (2011-05-28 19:53:11)

  • 私もくまさんのやり方で試行錯誤しましたが、同様に、失敗しました。
    ので、上記のGitHabで、ソースからビルドしたら、上手くいきました。
    それと、リアル視聴できないと、録画できないと、思います。
    -- のり (2011-05-28 16:58:11)

  • はじめまして「くま」と申します。
    ubuntu 10.10 PT1 mythtv 0.24 (mythbuntuからapt-getでインストールしたもの)でテストしています。
    録画テスト2までは問題ないのですがmythtvでのテストでは失敗してしまいます。
    ログを見るとチャンネル情報がうまくmythtvへ渡っていないと思われます。
    周波数のスキャンではなぜかタイムアウトになるのでmc2xmlで登録して番組情報は取得できて予約画面で確認できますが録画で失敗します。当然、リアル試聴はできません。
    どこが悪いのか検討がつきません。何かヒントをいただけないでしょうか。よろしくお願いします。
    -- くま (2011-05-28 06:22:46)
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。