[mythtv-users] frontend & backend crashing

Mike Drons mdrons at ins.com
Sun Nov 30 23:24:32 EST 2003


I can't seem to figure this out.  The frontend is telling me something is
using /dev/dsp, but fuser /dev/dsp returns nothing.  The Backend is seg
faulting with an unknown codec error in the log file.  Any suggestions?
Xawtv works fine, and mythmusic works for me as well.

I have a AMD 2400, with 512 Ram
GForce2 Nvidia video card
I am using ALSA (snd-via82xx driver), I have tried 1.0.0, .98, and .96
versions.  I have also tried native ALSA (which give me different errors)

00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
        Subsystem: ATI Technologies Inc: Unknown device 0001
        Flags: bus master, medium devsel, latency 32, IRQ 18
        Memory at dddff000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 11)
        Subsystem: ATI Technologies Inc TV-Wonder
        Flags: bus master, medium devsel, latency 32, IRQ 18
        Memory at dddfe000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2


root at myth:~# v4l-conf           
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 800x600, depth=24, bpp=32, bpl=3584, base=0xd0000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: configuration done
root at myth:~#


Mike

Backend log:
root at myth:~# more back.log 
Starting up as the master server.
2003-11-29 22:46:40 Probed: /dev/video - Television
2003-11-29 22:46:40 Probed: /dev/video - Composite1
2003-11-29 22:46:40 Probed: /dev/video - S-Video
2003-11-29 22:46:40 Enabled verbose msgs :all
--- print list start ---
Title                 Chan  ChID  StartTime       S I C -- C R D S Rank
Total
24                      13  1013  Dec 02 09:00pm  1 1 1 -- 0 1 0 0    0    0
---  print list end  ---
2003-11-29 22:46:42 Found changes in the todo list.
2003-11-29 22:47:05 MainServer::HandleAnnounce Playback
2003-11-29 22:47:05 adding: myth as a player 1
2003-11-29 22:47:05 2       OK
2003-11-29 22:47:05 24      1[]:[]127.0.0.1[]:[]6543
2003-11-29 22:47:06 MainServer::HandleAnnounce Playback
2003-11-29 22:47:06 adding: myth as a player 0
2003-11-29 22:47:06 2       OK
2003-11-29 22:47:06 85
rbuf://127.0.0.1:6543/mnt/mythtv/ringbuf1.nuv[]...
2003-11-29 22:47:06 MainServer::HandleAnnounce Playback
2003-11-29 22:47:06 adding: myth as a player 0
2003-11-29 22:47:06 2       OK
2003-11-29 22:47:06 adding: myth as a remote ringbuffer
2003-11-29 22:47:06 2       OK
2003-11-29 22:47:06 Changing from None to WatchingLiveTV
2003-11-29 22:47:06 Using profile 'Live TV' to record
Unknown video codec: 2003-11-29 22:47:06 2       ok
2003-11-29 22:47:06 1       1
2003-11-29 22:47:06 5       29.97
2003-11-29 22:47:06 1       0
2003-11-29 22:47:06 1       0
2003-11-29 22:47:06 1       0
2003-11-29 22:47:06 7       0[]:[]0
2003-11-29 22:47:06 1       0
2003-11-29 22:47:06 1       0
2003-11-29 22:47:06 1       0
2003-11-29 22:47:06 9       0[]:[]596
2003-11-29 22:47:07 Changing from WatchingLiveTV to None


lsmod:
root at myth:~# lsmod
Module                  Size  Used by    Tainted: P  
bttv                   95552   0 
btaudio                10924   0  (unused)
snd-pcm-oss            39044   0 
snd-mixer-oss          13720   0  [snd-pcm-oss]
snd-via82xx            12332   0 
snd-ac97-codec         36864   0  [snd-via82xx]
snd-pcm                59712   0  [snd-pcm-oss snd-via82xx]
snd-timer              14824   0  [snd-pcm]
snd-mpu401-uart         3440   0  [snd-via82xx]
snd-rawmidi            14016   0  [snd-mpu401-uart]
snd-seq-device          4368   0  [snd-rawmidi]
snd                    30756   0  [snd-pcm-oss snd-mixer-oss snd-via82xx
snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3844   5  [bttv btaudio snd]
tuner                  10720   1  (autoclean)
msp3400                17964   1  (autoclean)
videodev                6176   2  [bttv]
i2c-algo-bit            7528   1  [bttv]
snd-page-alloc          5116   0  [snd-via82xx snd-pcm]
nvidia               1466528  10 
8139too                14824   1 
mii                     2560   0  [8139too]

modules.conf
alias char-major-81     videodev
alias char-major-81-0   bttv debug=2
options bttv            card=63 radio=0 pll=1 tuner=2
options tuner           tuner=2 debug=2
options btaudio debug=2 digital=1 analog=0 rate=44000
alias sound-slot-2 btaudio
alias sound-service-1-0 btaudio
alias sound-slot-2 btaudio
alias sound-service-2-0 btaudio
pre-install btaudio modprobe snd-pcm-oss
post-install btaudio /sbin/modprobe bttv
post-install snd-via82xx /sbin/modprobe btaudio
post-install sound-slot-0 /usr/sbin/alsactl -f /etc/asound.SAVE restore
>/dev/null 2>&1
(the ALSA modules.conf is the standard stuff)

Frontend log
2003-11-29 22:47:00 Enabled verbose msgs :all
connecting to backend server: 127.0.0.1:6543
2003-11-29 22:47:05 19      ANN Playback myth 1
2003-11-29 22:47:05 17      GET_FREE_RECORDER
2003-11-29 22:47:06 19      ANN Playback myth 0
2003-11-29 22:47:06 44      QUERY_RECORDER 1[]:[]SETUP_RING_BUFFER[]:[]0
2003-11-29 22:47:06 19      ANN Playback myth 0
2003-11-29 22:47:06 21      ANN RingBuffer myth 1
2003-11-29 22:47:06 33      QUERY_RECORDER 1[]:[]SPAWN_LIVETV
2003-11-29 22:47:06 33      QUERY_RECORDER 1[]:[]IS_RECORDING
2003-11-29 22:47:06 34      QUERY_RECORDER 1[]:[]GET_FRAMERATE
2003-11-29 22:47:06 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2003-11-29 22:47:06 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2003-11-29 22:47:06 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2003-11-29 22:47:06 sz: 128000 return: 128000 requested: 256000 avail:
226304
2003-11-29 22:47:06 66      QUERY_RECORDER
1[]:[]SEEK_RINGBUF[]:[]0[]:[]0[]...
2003-11-29 22:47:06 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2003-11-29 22:47:06 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2003-11-29 22:47:06 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2003-11-29 22:47:06 sz: 128000 return: 128000 requested: 256000 avail:
256000
2003-11-29 22:47:06 68      QUERY_RECORDER
1[]:[]SEEK_RINGBUF[]:[]0[]:[]596...
2003-11-29 22:47:07 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
ERROR: something is currently using: /dev/dsp
Fix this, then run mythfrontend again
Opening OSS audio device '/dev/dsp'.
root at myth:~# fuser /dev/dsp





More information about the mythtv-users mailing list