Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] OT - Need help getting MythTV to work with new(er) kernel
Date: Tue, 14 Mar 2006 17:11:35
Message-Id: 1142355871.11347.6.camel@camille.espersunited.com
In Reply to: RE: [gentoo-user] OT - Need help getting MythTV to work with new(er) kernel by Rik van de Bovenkamp
1 On Tue, 2006-03-14 at 09:03 +0100, Rik van de Bovenkamp wrote:
2 > Hi,
3 >
4 > If you check dmesg, is everything OK loading ivtv?
5 > You should see the ivtv messages between two ======== lines.
6 > Using diff to compare the dmesg output for different kernels has led me to getting things to work.
7
8 I booted with my old kernel and copied the ivtv stuff from dmesg into a
9 file. Here it is:
10
11 michael@camille ~ $ cat ivtv-2.6.14-r5
12 ivtv: ==================== START INIT IVTV ====================
13 ivtv: version 0.4.2 (tagged release) loading
14 ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 gcc-3.4
15 ivtv: In case of problems please include the debug info between
16 ivtv: the START INIT IVTV and END INIT IVTV lines, along with
17 ivtv: any module options, when mailing the ivtv-users mailinglist.
18 ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
19 ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 22
20 ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
21 tveeprom: ivtv version
22 tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8059944
23 tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
24 tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
25 tveeprom: audio processor = MSP4448 (type = 1b)
26 tveeprom: decoder processor = SAA7115 (type = 13)
27 ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
28 tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
29 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
30 saa7115 0-0021: ivtv driver
31 saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
32 ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
33 msp3400 0-0040: ivtv driver
34 msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio
35 mode=simpler
36 ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40]
37 msp3400 0-0040: msp34xxg daemon started
38 tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
39 ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
40 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
41 ivtv0: Encoder revision: 0x02050032
42 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
43 total)
44 ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB
45 total)
46 ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB
47 total)
48 ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
49 total)
50 ivtv0: Create encoder radio stream
51 tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
52 ivtv0: Initialized WinTV PVR 250, card #0
53 ivtv: ==================== END INIT IVTV ====================
54
55 michael@camille ~ $
56
57 Then I booted with the new kernel and did the same thing. Here it is:
58
59 michael@camille ~ $ cat ivtv-2.6.15-r1
60 ivtv: ==================== START INIT IVTV ====================
61 ivtv: version 0.4.2 (tagged release) loading
62 ivtv: Linux version: 2.6.15-gentoo-r1 SMP 486 gcc-3.4
63 ivtv: In case of problems please include the debug info between
64 ivtv: the START INIT IVTV and END INIT IVTV lines, along with
65 ivtv: any module options, when mailing the ivtv-users mailinglist.
66 ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
67 ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 22
68 ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
69 ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
70 tveeprom 0-0050: Hauppauge model 32552, rev C168, serial# 8059944
71 tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
72 tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
73 tveeprom 0-0050: audio processor is MSP4448 (idx 27)
74 tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
75 tveeprom 0-0050: has radio, has no IR remote
76 tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
77 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
78 ivtv0: Failed to load module saa7115
79 ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b!
80 msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio
81 mode=simpler
82 ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40]
83 msp3400 0-0040: msp34xxg daemon started
84 tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
85 ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
86 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
87 ivtv0: Encoder revision: 0x02050032
88 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
89 total)
90 ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB
91 total)
92 ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB
93 total)
94 ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
95 total)
96 ivtv0: Create encoder radio stream
97 tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
98 ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618!
99 ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627!
100 ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618!
101 ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613!
102 ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612!
103 ivtv0: Initialized WinTV PVR 250, card #0
104 ivtv: ==================== END INIT IVTV ====================
105
106 michael@camille ~ $
107
108
109 And here's the diff:
110
111 michael@camille ~ $ diff ivtv-2.6.14-r5 ivtv-2.6.15-r1
112 3c3
113 < ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 gcc-3.4
114 ---
115 > ivtv: Linux version: 2.6.15-gentoo-r1 SMP 486 gcc-3.4
116 10,15d9
117 < tveeprom: ivtv version
118 < tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8059944
119 < tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
120 < tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
121 < tveeprom: audio processor = MSP4448 (type = 1b)
122 < tveeprom: decoder processor = SAA7115 (type = 13)
123 17c11,17
124 < tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
125 ---
126 > tveeprom 0-0050: Hauppauge model 32552, rev C168, serial# 8059944
127 > tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
128 > tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
129 > tveeprom 0-0050: audio processor is MSP4448 (idx 27)
130 > tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
131 > tveeprom 0-0050: has radio, has no IR remote
132 > tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
133 19,22c19,20
134 < saa7115 0-0021: ivtv driver
135 < saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
136 < ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
137 < msp3400 0-0040: ivtv driver
138 ---
139 > ivtv0: Failed to load module saa7115
140 > ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b!
141 26c24
142 < tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
143 ---
144 > tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
145 35c33,38
146 < tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
147 ---
148 > tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
149 > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618!
150 > ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627!
151 > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618!
152 > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613!
153 > ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612!
154 michael@camille ~ $
155
156 As you can see, there was a failure to load module saa7115 and several
157 warnings about client addresses not being found, among other things. I
158 have no idea why these things are happening or how to fix them...
159
160
161 > When you do a ivtv-tune -f xxx.xx to set frequency.
162
163 camille ~ # ivtv-tune -f xxx.xx
164 /dev/video0: 0.000 MHz (Signal Detected)
165
166 > After that cat /dev/video0 > test.mpg and you playback test.mpg is that OK (or you do mplayer /dev/video0)
167
168 camille ~ # cat /dev/video0 > test.mpg
169
170 camille ~ # ls -lh test.mpg
171 -rw-r--r-- 1 root root 0 Mar 14 11:03 test.mpg
172
173 Nothing. What should I do now?
174 >
175 >
176 >
177 > -----Original Message-----
178 > From: Michael Sullivan [mailto:michael@××××××××××××.com]
179 > Sent: Monday, March 13, 2006 7:39 PM
180 > To: gentoo-user
181 > Subject: [gentoo-user] OT - Need help getting MythTV to work with new(er) kernel
182 >
183 > I had MythTV working perfectly with linux-2.6.14-gentoo-r5. I've tried
184 > to upgrade to linux-2.6.15-gentoo-r1 using genkernel and basing the
185 > newer kernel's configuration off of the older one. I've booted with the
186 > new kernel, remerged ivtv and rebooted again with the new kernel, but
187 > still I cannot watch LiveTV in mythfrontend. Here's the output of
188 > mythbackend.log:
189 >
190 > camille ~ # cat /var/log/mythtv/mythbackend.log
191 > Starting up as the master server.
192 >
193 > It is current (I stopped mythbackend, deleted the old mythbackend.log,
194 > restarted syslog-ng and then mythbackend.) When I start mythfrontend
195 > and ask to watch LiveTV, all I see is the blank screen. Here is the
196 > output of running mythfrontend from my terminal:
197 >
198 > michael@camille ~ $ mythfrontend
199 > 2006-03-13 13:30:34.209 New DB connection, total: 1
200 > Total desktop width=1024, height=768, numscreens=1
201 > 2006-03-13 13:30:34.229 Using screen 0, 1024x768 at 0,0
202 > 2006-03-13 13:30:34.249 mythfrontend version: 0.18.1.20050510-1
203 > www.mythtv.org
204 > 2006-03-13 13:30:34.250 Enabled verbose msgs : important general
205 > 2006-03-13 13:30:34.526 Switching to square mode (G.A.N.T.)
206 > mythtv: could not connect to socket
207 > mythtv: No such file or directory
208 > lirc_init failed for mythtv, see preceding messages
209 > 2006-03-13 13:30:34.952 Joystick disabled.
210 > 2006-03-13 13:30:35.069 Registering Internal as a media playback plugin.
211 > 2006-03-13 13:30:40.671 New DB connection, total: 2
212 > 2006-03-13 13:30:40.710 Connecting to backend server: 192.168.1.3:6543
213 > (try 1 of 5)
214 > 2006-03-13 13:30:40.733 Using protocol version 15
215 > 2006-03-13 13:30:40.890 Using protocol version 15
216 > 2006-03-13 13:30:46.209 taking too long to be allowed to read..
217 > 2006-03-13 13:30:51.213 taking too long to be allowed to read..
218 > 2006-03-13 13:31:00.218 Waited 4 seconds for data to become available,
219 > waiting again...
220 > 2006-03-13 13:31:04.222 Waited 4 seconds for data to become available,
221 > waiting again...
222 > 2006-03-13 13:31:08.226 Waited 4 seconds for data to become available,
223 > waiting again...
224 > 2006-03-13 13:31:12.230 Waited 4 seconds for data to become available,
225 > waiting again...
226 > 2006-03-13 13:31:16.234 Waited 4 seconds for data to become available,
227 > waiting again...
228 > 2006-03-13 13:31:20.238 Waited 4 seconds for data to become available,
229 > waiting again...
230 > 2006-03-13 13:31:24.242 Waited 4 seconds for data to become available,
231 > waiting again...
232 > 2006-03-13 13:31:28.246 Waited 4 seconds for data to become available,
233 > waiting again...
234 > 2006-03-13 13:31:28.247 Waited 14 seconds for data to become available,
235 > aborting
236 > Couldn't read file: rbuf://192.168.1.3:6543/mnt/store//ringbuf1.nuv
237 > 2006-03-13 13:31:28.303 Changing from None to WatchingLiveTV
238 > 2006-03-13 13:31:28.303 Decoder not alive, and trying to play..
239 > 2006-03-13 13:31:48.307 ReadStringList timeout (quick).
240 > Remote encoder not responding.
241 > 2006-03-13 13:31:48.323 Changing from None to None
242 > 2006-03-13 13:31:58.483 ReadStringList timeout (quick).
243 > 2006-03-13 13:31:58.483 RemoteFile::Read(): No response from control
244 > socket.
245 > 2006-03-13 13:31:58.483 RemoteFile::Read() failed in
246 > RingBuffer::safe_read().
247 > 2006-03-13 13:31:58.495 WriteStringList: Bad socket
248 > 2006-03-13 13:31:58.495 ReadStringList: Bad socket
249 > 2006-03-13 13:31:58.495 Remote file timeout.
250 >
251 >
252 >
253 > I see there:
254 >
255 > mythtv: could not connect to socket
256 > mythtv: No such file or directory
257 >
258 > But mythbackend IS running; from another teminal tab I issue this:
259 >
260 > camille ~ # ps ax | grep 'mythbackend'
261 > 12762 ? Ss 0:00 /usr/bin/mythbackend --verbose none
262 > --logfile /var/log/mythtv/mythbackend.log
263 > 12766 ? S 0:00 /usr/bin/mythbackend --verbose none
264 > --logfile /var/log/mythtv/mythbackend.log
265 > 12767 ? S 0:00 /usr/bin/mythbackend --verbose none
266 > --logfile /var/log/mythtv/mythbackend.log
267 > 12769 ? S 0:00 /usr/bin/mythbackend --verbose none
268 > --logfile /var/log/mythtv/mythbackend.log
269 > 12770 ? S 0:00 /usr/bin/mythbackend --verbose none
270 > --logfile /var/log/mythtv/mythbackend.log
271 > 12771 ? S 0:00 /usr/bin/mythbackend --verbose none
272 > --logfile /var/log/mythtv/mythbackend.log
273 > 12772 ? S 0:00 /usr/bin/mythbackend --verbose none
274 > --logfile /var/log/mythtv/mythbackend.log
275 > 12773 ? S 0:00 /usr/bin/mythbackend --verbose none
276 > --logfile /var/log/mythtv/mythbackend.log
277 > 12774 ? S 0:00 /usr/bin/mythbackend --verbose none
278 > --logfile /var/log/mythtv/mythbackend.log
279 > 12775 ? S 0:00 /usr/bin/mythbackend --verbose none
280 > --logfile /var/log/mythtv/mythbackend.log
281 > 12776 ? S 0:00 /usr/bin/mythbackend --verbose none
282 > --logfile /var/log/mythtv/mythbackend.log
283 > 12777 ? S 0:00 /usr/bin/mythbackend --verbose none
284 > --logfile /var/log/mythtv/mythbackend.log
285 > 12792 ? S 0:00 /usr/bin/mythbackend --verbose none
286 > --logfile /var/log/mythtv/mythbackend.log
287 > 12793 ? S 0:00 /usr/bin/mythbackend --verbose none
288 > --logfile /var/log/mythtv/mythbackend.log
289 > 12821 pts/1 S+ 0:00 grep mythbackend
290 > camille ~ #
291 >
292 > I would post the new kernel config, but since it's based off the old
293 > kernel config, and the old one worked, I don't see the necessity. I
294 > will post it if it would be helpful. Why is this not working? Have I
295 > forgotten something?
296 >
297 >
298 >
299 > --
300 > gentoo-user@g.o mailing list
301 >
302 > --
303 > No virus found in this outgoing message.
304 > Checked by AVG Free Edition.
305 > Version: 7.1.375 / Virus Database: 268.2.2/280 - Release Date: 3/13/2006
306 >
307 >
308
309 --
310 gentoo-user@g.o mailing list