Saturday, February 10, 2007

more grumpy upgrade notes

issues:
- kernel 2.6.18-3 doesn't boot (neither 686 nor k7 variety) - FIXED
- ivtv not installed, no firmware - FIXED
- database schema upgrade fails - FIXED
- playback works, but no sound - FIXED
- mythvideo doesn't work (no mplayer?) - FIXED
- no scheduled recordings show up, but they are in the database - FIXED
- no automatic login for mythtv - FIXED
- lirc/remote control doesn't work (missing kernel modules)
- wireless doesn't work
- mythgames no games
- no nvidia-settings - FIXED
- no ntpd - FIXED
- no mouse in X
- no mrtg set up
- most myth recordings fail
- no sound in live tv and recordings



kernel issues:
2.6.18-3 only boots with acpi=off on grumpy. worked fine in 2.6.15. wth?


installing ivtv:
use 0.8.2, follow Debian instructions at http://ivtvdriver.org. Use pvr_1.18.21.22254_inf.zip from http://ivtv.writeme.ch/tiki-index.php?page=FirmwareVersions.
Later downloaded pvr_1.18.21.22302_inf.zip and tried that, in order to check out audio problems.


importing old database:
can't update schema version beyond 1156 because of duplicate column cmd_repeat in tabl diseqc_tree. alter table diseqc_tree drop column cmd_repeat
restart mythtv-backend.
FIXED


nvidia-settings:
apt-get install nvidia-settings
but it doesn't seem to do anything useful.


ntpd:
apt-get install ntp-server
FIXED


mythvideo:
apt-get install mplayer win32codecs
FIXED


sound:
plenty of comments in howto, nothing seems to help. probably some silly interaction somewhere.
go back to basics:
- turn off artsd in KDE, turn off all KDE sounds
- test with aplay - works fine
- test with mplayer - works
- mythvideo with mplayer - sound works
- myth playback still has no sound
- after a reboot, audio works properly in myth playback as well. huh, odd.
FIXED


scheduled recordings:
- after upgrade no channel lineups were bound to /dev/video0 and /dev/video1. ran mythtv-setup paged through all pages, corrected as needed. upcoming recordings is populated now, and also shows properly in mythwelcome.
FIXED

lirc:
- complains about missing kernel modules
- module-assistant complains the lirc-modules-source is not properly installed, but dpkg -l lirc-modules-source shows all is good, can't find any lirc modules in /lib/modules tree
still unresolved


automatic login:
I'm using gdm. gdmsetup doesn't get me to log in the mythtv user automatically. Annoying. Here's the config snippet in /etc/X11/gdm/gdm.conf that makes it all work properly:


[daemon]
AutomaticLoginEnable=true
AutomaticLogin=mythtv

TimedLoginEnable=true
TimedLogin=mythtv
TimedLoginDelay=5
LocalNoPasswordUsers=mythtv


auto-login FIXED.


wireless:
rebuild ndiswrapper with module-assistant, add configs to /etc/network/interfaces.
manual verification using iwconfig. ifconfig wlan0 up. dhclient wlan0.

interface comes up, but throughput is unbearably slow.


myth recordings fail:
trying to record random shows fails with

2007-02-10 21:33:47.805 Reschedule requested for id 110.
2007-02-10 21:33:51.259 Scheduled 310 items in 3.5 = 0.10 match + 3.35 place
2007-02-10 21:33:51.287 scheduler: Scheduled items: Scheduled 310 items in 3.5 = 0.10 match + 3.35 place
2007-02-10 21:33:51.431 TVRec(2): Changing from None to RecordingOnly
2007-02-10 21:33:51.449 TVRec(2): HW Tuner: 2->2
2007-02-10 21:33:51.525 Channel(/dev/video1): SetInputAndFormat() failed
2007-02-10 21:33:51.526 TVRec(2) Error: Failed to set channel to 3. Reverting to kState_None
2007-02-10 21:33:51.527 TVRec(2): Changing from RecordingOnly to None
2007-02-10 21:33:51.554 Canceled recording (Recorder Failed): Law & Order: Special Victims Unit "Burned": channel 1002 on cardid 2, sourceid 1
2007-02-10 21:33:51.580 scheduler: Canceled recording (Recorder Failed): Law & Order: Special Victims Unit "Burned": channel 1002 on cardid 2, sourceid 1


some random shows are actually recording. *sigh*

[3 hours later]

ok. I give up. I can't solve the following right now:
- jittery video recording (suspect: ivtv 0.8)
- no sound when recording (suspect: ivtv? mixer?)
- intermittent inability to change channels for recording resulting in failed recordings (suspect: mythtv/ivtv api v2 interaction)

Looks like 2.6.18 with ivtv 0.8.2 is just not stable enough, but closed captioning works...
2.6.16/2.6.17 are actively discouraged since there is ongoing integration with ivtv at the time. Which brings me back to ivtv 0.4 and 2.6.15 and I'm running out of time.

To make matters worse, the Seagate replacement disk I bought, threw DMA errors multiple times tonight. I replaced the 300GB Maxtor disk back into Grumpy. At least I thoroughly removed dust from the case.

No comments: