[mythtv-users] DVB setup problem

Simon Watson simon19720 at yahoo.co.uk
Sun Jun 22 15:22:06 EDT 2003


Hi,

I'm pretty new to Linux & Myth but, so far, have had Myth working with an old
analogue tuner card here in the UK. What I've seen has impressed me (thanks to
all those involved) so I've installed a DVB-T card (Nebular DigiTV) into my
Myth box (Shuttle SK41G).

The DVB card works to the point where I can use tzap to tune it and dvbstream
with mplayer to display any of the available channels. Obviously, the next step
was to try and get DVB support working in Myth, and this is where I'm
encountering problems.

I've compiled Myth 0.9 with DVB support and manually entered DVB settings into
the appropriate MySQL tables (detailed below). When I try and 'Watch TV' with
the frontend, mythbackend reports "Backend stuffed up in
RequestRingBufferBlock". From previous posts, I've read that this can indicate
a problem with receiving data from the PVR card/driver but I'm not sure how it
relates to my DVB situation and, more importantly, what I can do to fix it.

Any help on this would be much appreciated.

Here's some detail on my tables and a backtrace:

select * from cardinput;
|           1 |      1 |        1 | Television | NULL            |       NULL |
N         | 1        | 1         |

select * from capturecard;
|      1 | NULL        | NULL        | NULL      | DVB      | Television   |
       NULL | shuttle  |      1 | T        |

select * from videosource;
|        1 | Television | tv_grab_uk   |        |

select * from channel;
|      1 | 1       |        1 |          | BBC1                |
/home/myth/.mythtv/channels/logo-713.gif |        0 | NULL         |
london.bbc1.bbc.co.uk
  |    32768 |      32768 |  32768 |

select * from channel_dvb;
|      1 | BBC1      | 600,601 | 505833330 | NULL |        NULL | NULL |   NULL
| NULL      | 8         | FEC_3_4      | FEC_NONE     | QAM_16     | 2
       | 32             | NONE      |


Thread 12 (Thread 163851 (LWP 17455)):
#0  0x40b6be57 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x080bb940 in DVBRecorder::StartRecording() (this=0x8365260)
    at dvbrecorder.cpp:158
        IN_BUFFER_SIZE = 188
        OUT_BUFFER_SIZE = 256000
        buffer_raw = ' ' <repeats 20 times>, '\0' <repeats 168 times>
        buffer_filtered = '\0' <repeats 255508 times>, "!+\226@", '\0' <repeats
20 times>, "_+UD-+UD+¦½@
\000\000\000_\000\000\000\000\000\000\000+\000\000\000+
\000\000\000_+UDx
\227 at -+UD++UD_+UD\000\000\000\000\b\000\000\000n   \001\000\00
0\000\000\000\000\000E+\226@#\000\000\000F\002\000\000++UD+\000\000\000@¦UDn¦v \
000\000\000\000\177\003   \000      ", '\0' <repeats 83 times>,
"°\003@\000\000\
000\000\000\000\000a\002@ \000\000\000\177\003 ", '\0' <repeats 21 times>,
"\200
\037", '\0' <repeats 109 times>, "°\003@", '\0' <repeats 13 times>...
        bytes_read = 0
        filtered_len = 0
        pid_array = {0 <repeats 50 times>}
        ipacks = {{size = 0, size_orig = 0, found = 0, ps = 0, has_ai = 0,
    has_vi = 0, ai = {layer = 0, bit_rate = 0, frequency = 0, mode = 0,
      mode_extension = 0, emphasis = 0, framesize = 0, off = 0}, vi = {
      horizontal_size = 0, vertical_size = 0, aspect_ratio = 0, framerate = 0,
      video_format = 0, bit_rate = 0, comp_bit_rate = 0, vbv_buffer_size = 0,
      CSPF = 0, off = 0}, buf = 0x0, cid = 0 '\0', plength = 0, plen = "\000",
    flag1 = 0 '\0', flag2 = 0 '\0', hlength = 0 '\0',
    pts = "\000\000\000\000", last_pts = "\000\000\000\000", mpeg = 0,
    check = 0 '\0', which = 0, done = 0, data = 0x0, func = 0, count = 0,
    start = 0, fd = 0} <repeats 50 times>}
        npids = 0
        ipacks_p = (ipack *) 0x4451c51c
        pfd = {{fd = 20, events = 1, revents = 0}}
#2  0x080a8272 in SpawnEncode(void*) (param=0x8365260) at tv_rec.cpp:33
        nvr = (class RecorderBase *) 0x8365260
#3  0x4096b9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x4096bab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 11 (Thread 147466 (LWP 17454)):
#0  0x40b410c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 10 (Thread 131081 (LWP 17453)):
#0  0x40b410c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 9 (Thread 114696 (LWP 17447)):
#0  0x40b410c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 8 (Thread 98311 (LWP 17446)):
#0  0x4096d845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4096d318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40969cbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x407a1762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08079ba4 in ProcessRequestThread::run() (this=0x8361678)
    at mainserver.cpp:57
No locals.
#5  0x404eac78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4096b9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x4096bab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 7 (Thread 81926 (LWP 17445)):
#0  0x4096d845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4096d318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40969cbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x407a1762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08079ba4 in ProcessRequestThread::run() (this=0x8361028)
    at mainserver.cpp:57
No locals.
#5  0x404eac78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4096b9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x4096bab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 6 (Thread 65541 (LWP 17444)):
---Type <return> to continue, or q <return> to quit---
#0  0x4096d845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4096d318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40969cbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x407a1762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08079ba4 in ProcessRequestThread::run() (this=0x8356bf0)
    at mainserver.cpp:57
No locals.
#5  0x404eac78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4096b9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x4096bab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 49156 (LWP 17443)):
#0  0x4096d845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4096d318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40969cbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x407a1762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08079ba4 in ProcessRequestThread::run() (this=0x835b758)
    at mainserver.cpp:57
No locals.
#5  0x404eac78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4096b9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x4096bab5 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 4 (Thread 32771 (LWP 17442)):
#0  0x40b410c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 16386 (LWP 17441)):
#0  0x40b410c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 32769 (LWP 17440)):
#0  0x40b6be57 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4096a9ce in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4096ac1b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 17434)):
#0  0x40b6d841 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4095527c in typeinfo for std::bad_alloc ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x40509cf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#3  0x40509b98 in QEventLoop::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x404f6151 in QApplication::exec() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#5  0x08066803 in main (argc=1, argv=0xbffffb84) at main.cpp:297
        a = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x833d990, static shared_null = 0x833d990}, d = 0x8342ce0,
  static shared_null = 0x833d990}
        daemonize = false
        printsched = false
        logfd = -1
        pidfs = <incomplete type>
        db = (struct QSqlDatabase *) 0x834ab08
        subthread = (struct QSqlDatabase *) 0x834ae98
        transthread = (struct QSqlDatabase *) 0x834ad88
        port = 6543
        statusport = 6544
        myip = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x833d990, static shared_null = 0x833d990}, d = 0x8357018,
  static shared_null = 0x833d990}
        masterip = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x833d990, static shared_null = 0x833d990}, d = 0x8357030,
  static shared_null = 0x833d990}
        ismaster = true
        nfsfd = 10
---Type <return> to continue, or q <return> to quit---
#6  0x40aa8a07 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
No symbol table info available.
#0  0x40b6be57 in poll () from /lib/i686/libc.so.6

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/


More information about the mythtv-users mailing list