I don't mean to be redundant by posting in two threads, but this is basically a continuation of
http://mysettopbox.tv/phpBB2/viewtopic.php?t=2519
However, much of that thread is involved with my previous motherboard and the issues are not the same. So here is a fresh start with just the facts.
I am using the Chaintech 7NIF2 (nforce2 chipset), Athlon XP 2400+, 512MB RAM, PVR-350, 120GB drive. The whole lot is installed in an Antec Aria case. The installation process I followed was,
1. installed
Knoppmyth R4V5 onto freshly formatted drive.
2. setup NFS to export /myth/gallery and /myth/music to local network.
3. setup PVR-350 per wiki
http://knoppmythwiki.homelinux.org/inde ... stallation.
4. setup time sync per wiki
http://knoppmythwiki.homelinux.org/inde ... onizeHowTo
5. setup IR blaster per
http://losdos.dyndns.org:8080/public/my ... _LIRC.html
My cabling is pretty simple; cable into digital cable box, s-vid to PVR-350, video from PVR-350 to TV. This machine serves as both my backend and frontend.
At first, everything appeared to work fine with this setup. I never got around to doing anything fancy, like transcoding or ripping DVD, but all basic stuff, live tv, recording, playback, sound, remote, music, images - all worked.
Now after a few days while watching live TV and attempting to navigate through the program guide, the front end freezes up. That is, picture and sound both stop. I can exit out of live tv back to the menu, but if I then attempt to go back to live tv it completely hangs and has to be forceably killed remotely (I can still ssh into the box).
In the logs is something like this:
Code:
Oct 9 17:08:37 io kernel: saa7115[0]: decoder set picture bright=127 contrast=63 saturation=63 hue=0
Oct 9 17:08:37 io last message repeated 3 times
Oct 9 17:08:37 io kernel: saa7115[0]: decoder set size
Oct 9 17:08:37 io kernel: Hpsc: 0x00001, Hfsc: 0x00600
Oct 9 17:08:37 io kernel: Setting full NTSC height
Oct 9 17:08:37 io kernel: saa7115[0]: decoder disable output
Oct 9 17:08:37 io kernel: saa7115[0]: decoder enable output
Oct 9 17:08:53 io kernel: ivtv: ivtv_dec_timeout: lost IRQ; resetting...
Oct 9 17:09:00 io last message repeated 44 times
The next time this happened I found this in the syslog:
Code:
Oct 10 11:06:23 io kernel: ivtv: Got DMA-done, but not expecting one
Oct 10 11:06:44 io kernel: ivtv: DMA read error. Result=0x00000002
Oct 10 11:14:12 io kernel: ivtv: DMAP not set
Oct 10 11:14:28 io last message repeated 12 times
Oct 10 11:15:07 io kernel: saa7115[0]: decoder set size
Oct 10 11:15:07 io kernel: Hpsc: 0x00001, Hfsc: 0x00600
Oct 10 11:15:07 io kernel: Setting full NTSC height
Oct 10 11:15:30 io kernel: ivtv: DMA read error. Result=0x00000002
Oct 10 11:15:33 io kernel: ivtv: DMA read error. Result=0x00000002
Oct 10 11:16:13 io kernel: ivtv: ivtv_dec_timeout: lost IRQ; resetting...
Oct 10 11:16:20 io last message repeated 49 times
Oct 10 11:16:22 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 10 11:16:22 io kernel: ivtv: api call 0x00000001
Oct 10 11:16:22 io kernel: ivtv: COULDN'T START PLAYBACK -16
Oct 10 11:16:23 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 10 11:16:23 io kernel: ivtv: api call 0x0000000d
Oct 10 11:16:23 io kernel: ivtv: DEC: error pausing
Oct 10 11:16:24 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 10 11:16:24 io kernel: ivtv: api call 0x00000003
Oct 10 11:16:24 io kernel: ivtv: DEC: error changing speed
Oct 10 11:16:24 io kernel: ivtv: DEC: error in slow/fast mode
Note the DMA read error message. At about this point, I rebooted into the bios and checked around for this "c1-disconnect" option I have read about. Couldn't find it, but did find "apic enabled" and changed it to "disabled" since that has been mentioned as a possible cause for problems with myth.
Over the next week, it seemed that that message became increasinly frequent. Now it seems to freeze up pretty much every time I attempt to watch live tv, especially when the osd is involved (such as program guide, or changing channels). In the log today I see some even more disturbing messages:
Code:
Oct 19 08:24:42 io kernel: ivtv: DMAP not set
Oct 19 08:24:42 io kernel: ivtv: i_flags=8, 3 s_sflags=4
Oct 19 08:24:44 io kernel: ivtv: ivtv_dec_timeout: lost IRQ; resetting...
Oct 19 08:24:45 io last message repeated 2 times
Oct 19 08:24:45 io kernel: ivtv-fb: error sending DMA info
Oct 19 08:24:45 io kernel: ivtv: ivtv_dec_timeout: lost IRQ; resetting...
Oct 19 08:24:49 io last message repeated 11 times
Oct 19 08:24:49 io kernel: ivtv-fb: error sending DMA info
Oct 19 08:24:49 io last message repeated 5 times
Oct 19 08:24:50 io kernel: ivtv: ivtv_dec_timeout: lost IRQ; resetting...
Oct 19 08:24:50 io last message repeated 2 times
Oct 19 08:24:50 io kernel: ivtv-fb: error sending DMA info
Oct 19 08:24:50 io last message repeated 9 times
Oct 19 08:24:51 io kernel: ivtv: ivtv_dec_timeout: lost IRQ; resetting...
Oct 19 08:24:53 io last message repeated 9 times
Oct 19 08:24:54 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:24:54 io kernel: ivtv: api call 0x00000002
Oct 19 08:24:54 io kernel: ivtv: stopDEC error 2. Code -16
Oct 19 08:24:55 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:24:55 io kernel: ivtv: api call 0x00000044
Oct 19 08:24:56 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:24:56 io kernel: ivtv: api call 0x0000004f
Oct 19 08:24:57 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:24:57 io kernel: ivtv: api call 0x0000004a
Oct 19 08:24:58 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:24:58 io kernel: ivtv: api call 0x00000045
Oct 19 08:24:59 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:24:59 io kernel: ivtv: api call 0x0000004b
Oct 19 08:25:00 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:25:00 io kernel: ivtv: api call 0x00000050
Oct 19 08:25:01 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:25:01 io kernel: ivtv: api call 0x00000046
Oct 19 08:25:03 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:25:03 io kernel: ivtv: api call 0x00000047
And finally
Code:
Oct 19 08:47:41 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 08:47:41 io kernel: ivtv: api call 0x00000081
Oct 19 08:47:41 io kernel: ivtv: startcap error 1. Code -16
Oct 19 08:47:42 io kernel: spurious 8259A interrupt: IRQ7.
Oct 19 08:47:44 io kernel: ivtv: Timeout waiting for data!
Oct 19 08:48:17 io last message repeated 11 times
Oct 19 08:49:18 io last message repeated 20 times
Oct 19 08:50:00 io last message repeated 14 times
Oct 19 08:50:01 io /USR/SBIN/CRON[949]: (root) CMD ([ -d /etc/shaper ] && /etc/init.d/shaper timecheck)
Oct 19 08:50:03 io kernel: ivtv: Timeout waiting for data!
Oct 19 08:50:36 io last message repeated 11 times
Oct 19 08:51:39 io last message repeated 21 times
Oct 19 08:52:42 io last message repeated 21 times
Oct 19 08:53:43 io last message repeated 20 times
Oct 19 08:54:46 io last message repeated 21 times
Oct 19 08:55:49 io last message repeated 21 times
Oct 19 08:56:52 io last message repeated 21 times
Oct 19 08:57:53 io last message repeated 20 times
Oct 19 08:58:56 io last message repeated 21 times
Oct 19 08:59:56 io last message repeated 20 times
Oct 19 08:59:59 io kernel: ivtv: Timeout waiting for data!
Oct 19 09:00:01 io /USR/SBIN/CRON[957]: (root) CMD ([ -d /etc/shaper ] && /etc/init.d/shaper timecheck)
Oct 19 09:00:02 io kernel: ivtv: Timeout waiting for data!
Oct 19 09:00:36 io last message repeated 11 times
Oct 19 09:01:00 io last message repeated 8 times
Oct 19 09:01:10 io kernel: ivtv: 1000 ms time out waiting for firmware
Oct 19 09:01:10 io kernel: ivtv: api call 0x00000082
Oct 19 09:01:10 io kernel: ivtv: stopcap error 2. Code -16
Oct 19 09:05:01 io /USR/SBIN/CRON[965]: (root) CMD (nice -n 19 /usr/local/bin/mythlink.sh)
Oct 19 09:05:38 io kernel: saa7115[0]: decoder set picture bright=127 contrast=63 saturation=63 hue=0
Oct 19 09:05:38 io last message repeated 3 times
Oct 19 09:05:38 io kernel: saa7115[0]: decoder set size
Oct 19 09:05:38 io kernel: Hpsc: 0x00001, Hfsc: 0x00600
Oct 19 09:05:38 io kernel: Setting full NTSC height
Oct 19 09:05:39 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:39 io kernel: ivtv: api call 0x000000c9
Oct 19 09:05:39 io kernel: ivtv: init error 1. Code -16
Oct 19 09:05:40 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:40 io kernel: ivtv: api call 0x000000c7
Oct 19 09:05:40 io kernel: ivtv: init error 2. Code -16
Oct 19 09:05:41 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:41 io kernel: ivtv: api call 0x000000b9
Oct 19 09:05:41 io kernel: ivtv: init error 3. Code -16
Oct 19 09:05:42 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:42 io kernel: ivtv: api call 0x000000bb
Oct 19 09:05:42 io kernel: ivtv: init error 4. Code -16
Oct 19 09:05:43 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:43 io kernel: ivtv: api call 0x0000008f
Oct 19 09:05:43 io kernel: ivtv: init error 5. Code -16
Oct 19 09:05:44 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:44 io kernel: ivtv: api call 0x00000091
Oct 19 09:05:44 io kernel: ivtv: init error 6. Code -16
Oct 19 09:05:45 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:45 io kernel: ivtv: api call 0x00000099
Oct 19 09:05:45 io kernel: ivtv: init error 7. Code -16
Oct 19 09:05:46 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:46 io kernel: ivtv: api call 0x00000095
Oct 19 09:05:46 io kernel: ivtv: init error 8. Code -16
Oct 19 09:05:47 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:47 io kernel: ivtv: api call 0x00000097
Oct 19 09:05:47 io kernel: ivtv: init error 9. Code -16
Oct 19 09:05:48 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:48 io kernel: ivtv: api call 0x000000b1
Oct 19 09:05:48 io kernel: ivtv: init error 10. Code -16
Oct 19 09:05:49 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:49 io kernel: ivtv: api call 0x000000c5
Oct 19 09:05:49 io kernel: ivtv: init error 11. Code -16
Oct 19 09:05:50 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:50 io kernel: ivtv: api call 0x000000bd
Oct 19 09:05:50 io kernel: ivtv: init error 12. Code -16
Oct 19 09:05:51 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:51 io kernel: ivtv: api call 0x0000009b
Oct 19 09:05:51 io kernel: ivtv: init error 13. Code -16
Oct 19 09:05:52 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:52 io kernel: ivtv: api call 0x0000009d
Oct 19 09:05:52 io kernel: ivtv: init error 14. Code -16
Oct 19 09:05:53 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:53 io kernel: ivtv: api call 0x0000009f
Oct 19 09:05:53 io kernel: ivtv: init error 15. Code -16
Oct 19 09:05:54 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:54 io kernel: ivtv: api call 0x000000a1
Oct 19 09:05:54 io kernel: ivtv: init error 16. Code -16
Oct 19 09:05:55 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:55 io kernel: ivtv: api call 0x000000d0
Oct 19 09:05:55 io kernel: ivtv: init error 17. Code -16
Oct 19 09:05:56 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:56 io kernel: ivtv: api call 0x000000d8
Oct 19 09:05:56 io kernel: ivtv: init error 18. Code -16
Oct 19 09:05:56 io kernel:
Oct 19 09:05:57 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:57 io kernel: ivtv: api call 0x000000d6
Oct 19 09:05:57 io kernel: ivtv: init error 20. Code -16
Oct 19 09:05:57 io kernel: saa7115[0]: decoder disable output
Oct 19 09:05:58 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:58 io kernel: ivtv: api call 0x000000cd
Oct 19 09:05:58 io kernel: ivtv: init error 19. Code -16
Oct 19 09:05:58 io kernel:
Oct 19 09:05:58 io kernel: saa7115[0]: decoder enable output
Oct 19 09:05:59 io kernel: ivtv: 100 ms time out waiting for firmware
Oct 19 09:05:59 io kernel: ivtv: api call 0x00000081
Oct 19 09:05:59 io kernel: ivtv: startcap error 1. Code -16
Oct 19 09:06:02 io kernel: ivtv: Timeout waiting for data!
Oct 19 09:06:11 io last message repeated 3 times
Oct 19 09:06:21 io kernel: ivtv: 1000 ms time out waiting for firmware
Oct 19 09:06:21 io kernel: ivtv: api call 0x00000082
Oct 19 09:06:21 io kernel: ivtv: stopcap error 2. Code -16
And the icing on the cake, from /var/log/myth/mythbackend.log
Code:
2004-10-19 09:05:53 Couldn't read data from the capture card in 15 seconds. Game over, man.
Has anybody had these problems before???