[mythtv-users] Problem following Jarods Guide.

j2 spamfilter2 at mupp.net
Sat Nov 13 10:41:10 UTC 2004


> Unfortunately i get nothing then?

Crap. My fault, lets try this again.

[root at mythbox root]# rpm -e `rpm -qa | grep ivtv`
[root at mythbox root]# rpm -e `rpm -qa | grep ivtv`
rpm: no packages given for erase
[root at mythbox root]# apt-get clean
[root at mythbox root]# apt-get install kernel-module-ivtv-`uname -r`
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  ivtv-firmware ivtv-firmware-dec ivtv-firmware-enc
The following NEW packages will be installed:
  ivtv-firmware ivtv-firmware-dec ivtv-firmware-enc 
kernel-module-ivtv-2.6.8-1.521
0 upgraded, 4 newly installed, 0 removed and 76 not upgraded.
Need to get 1585kB of archives.
After unpacking 4498kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://apt.atrpms.net fedora/2/en/i386/at-stable ivtv-firmware-dec 
0:2.02.023-4.at [44.8kB]
Get:2 http://apt.atrpms.net fedora/2/en/i386/at-stable ivtv-firmware-enc 
0:2.04.024-4.at [57.3kB]
Get:3 http://apt.atrpms.net fedora/2/en/i386/at-stable ivtv-firmware 
2:1.8a-4.at [2231B]
Get:4 http://apt.atrpms.net fedora/2/en/i386/at-stable 
kernel-module-ivtv-2.6.8-1.521 1:0.1.10-48.3_pre2_ck100zz.rhfc2.at [1481kB]
Fetched 1585kB in 1m20s (19.6kB/s)
Committing changes...
Preparing...                ########################################### 
[100%]
   1:ivtv-firmware-enc      ########################################### [ 
25%]
   2:ivtv-firmware-dec      ########################################### [ 
50%]
   3:ivtv-firmware          ########################################### [ 
75%]
   4:kernel-module-ivtv-2.6.########################################### 
[100%]
Done.
[root at mythbox root]#  apt-get install ivtv
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  perl-Video-ivtv
The following NEW packages will be installed:
  ivtv perl-Video-ivtv
0 upgraded, 2 newly installed, 0 removed and 76 not upgraded.
Need to get 223kB of archives.
After unpacking 578kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://apt.atrpms.net fedora/2/en/i386/at-stable perl-Video-ivtv 
0.13-6.rhfc2.at [23.5kB]
Get:2 http://apt.atrpms.net fedora/2/en/i386/at-stable ivtv 
1:0.1.10-48.3_pre2_ck100zz.rhfc2.at [199kB]
Fetched 223kB in 3s (65.2kB/s)
Committing changes...
Preparing...                ########################################### 
[100%]
   1:perl-Video-ivtv        ########################################### [ 
50%]
   2:ivtv                   ########################################### 
[100%]
Done.
[root at mythbox root]#

Then we modprobe ivtv:[root at mythbox root]# tail -f /var/log/messages
Nov 12 07:53:27 mythbox ntpd[2111]: synchronized to 66.187.224.4, stratum=1
Nov 12 13:15:24 mythbox ntpd[2111]: time reset -0.158147 s
Nov 12 13:25:06 mythbox ntpd[2111]: synchronized to 66.187.224.4, stratum=1
Nov 12 14:09:09 mythbox ntpd[2111]: time reset +0.202031 s
Nov 12 14:20:52 mythbox ntpd[2111]: synchronized to 66.187.224.4, stratum=1
Nov 12 15:54:27 mythbox ntpd[2111]: time reset +0.143743 s
Nov 12 16:08:21 mythbox ntpd[2111]: synchronized to 66.187.224.4, stratum=1
Nov 12 16:35:07 mythbox ntpd[2111]: time reset -0.245295 s
Nov 12 16:44:46 mythbox ntpd[2111]: synchronized to 66.187.224.4, stratum=1
Nov 13 11:35:23 mythbox sshd(pam_unix)[3639]: session opened for user root 
by (uid=0)
Nov 13 11:37:00 mythbox kernel: Linux video capture interface: v1.00
Nov 13 11:37:01 mythbox kernel: ivtv: ==================== START INIT IVTV 
====================
Nov 13 11:37:01 mythbox kernel: ivtv: version 0.1.10 
(0.1.10-48.3_pre2_ck100zz.rhfc2.at) loading
Nov 13 11:37:01 mythbox kernel: ivtv: Linux version: 2.6.8-1.521 686 REGPARM 
4KSTACKS gcc-3.3
Nov 13 11:37:01 mythbox kernel: ivtv: In case of problems please include the 
debug info
Nov 13 11:37:01 mythbox kernel: ivtv: between the START INIT IVTV and END 
INIT IVTV lines when
Nov 13 11:37:01 mythbox kernel: ivtv: mailing the ivtv-devel mailinglist.
Nov 13 11:37:01 mythbox kernel: ivtv: Autodetected WinTV PVR 350 card
Nov 13 11:37:01 mythbox kernel: ivtv: Found an iTVC15 based chip
Nov 13 11:37:01 mythbox kernel: ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 
11 (level, low) -> IRQ 11
Nov 13 11:37:01 mythbox kernel: ivtv: pci: PCIBUS detected device: 0x5833 
vendor: 0x1002
Nov 13 11:37:01 mythbox kernel: tveeprom: Hauppauge: model = 48139, rev = 
K257, serial# = 7595657
Nov 13 11:37:01 mythbox kernel: tveeprom: tuner = Philips FM1216 ME MK3 (idx 
= 57, type = 38)
Nov 13 11:37:01 mythbox kernel: tveeprom: tuner fmt = PAL(D/K) (eeprom = 
0x74, v4l2 = 0x00400e17)
Nov 13 11:37:01 mythbox kernel: tveeprom: audio_processor = CS5331 (type = 
9)
Nov 13 11:37:01 mythbox kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Nov 13 11:37:01 mythbox kernel: ivtv: Tuner Type 38, Tuner formats 
0x00400e17, Radio: yes, Model 0x00ad2557, Revision 0x00000001
Nov 13 11:37:01 mythbox kernel: ivtv: PAL tuner detected
Nov 13 11:37:01 mythbox kernel: ivtv: SECAM tuner detected
Nov 13 11:37:01 mythbox kernel: ivtv: Radio detected
Nov 13 11:37:01 mythbox kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv 
i2c driver #0
Nov 13 11:37:01 mythbox kernel: ivtv: i2c attach [client=(tuner unset),ok]
Nov 13 11:37:01 mythbox kernel: saa7115: starting probe for adapter ivtv i2c 
driver #0 (0x10005)
Nov 13 11:37:01 mythbox kernel: saa7115: detecting saa7115 client on address 
0x42
Nov 13 11:37:01 mythbox kernel: saa7115: writing init values
Nov 13 11:37:01 mythbox kernel: ivtv: i2c attach [client=saa7115[0],ok]
Nov 13 11:37:01 mythbox kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
Nov 13 11:37:01 mythbox kernel: saa7127: video encoder driver version V 0.3 
loaded
Nov 13 11:37:01 mythbox kernel: saa7127: Selecting NTSC video Standard
Nov 13 11:37:01 mythbox kernel: saa7127: Selecting S-Video+Composite
Nov 13 11:37:01 mythbox kernel: saa7127: Turn WSS off
Nov 13 11:37:01 mythbox kernel: saa7127: Widescreen Mode 4:3 Full Format
Nov 13 11:37:01 mythbox kernel: saa7127: Selecting Normal Encoder Input
Nov 13 11:37:01 mythbox kernel: saa7127: Enable Video Output
Nov 13 11:37:01 mythbox kernel: ivtv: i2c attach [client=saa7127[0],ok]
Nov 13 11:37:01 mythbox kernel: msp34xx: init: chip=MSP3418W-B3 +nicam 
+simple +simpler +radio mode=simpler
Nov 13 11:37:01 mythbox kernel: ivtv: i2c attach [client=MSP3418W-B3,ok]
Nov 13 11:37:02 mythbox kernel: ivtv: Encoder revision: 0x02040024
Nov 13 11:37:02 mythbox kernel: ivtv: Decoder revision: 0x02020023
Nov 13 11:37:02 mythbox kernel: ivtv: Configuring WinTV PVR 350 card with 9 
streams
Nov 13 11:37:02 mythbox kernel: ivtv: Create DMA stream 0 using 128 buffers 
of size 32768
Nov 13 11:37:02 mythbox kernel: ivtv: Create DMA stream 1 using 128 buffers 
of size 32768
Nov 13 11:37:02 mythbox kernel: ivtv: Create stream 2 using 128 buffers of 
size 52224
Nov 13 11:37:02 mythbox kernel: ivtv: Create DMA stream 3 using 128 buffers 
of size 32768
Nov 13 11:37:02 mythbox kernel: ivtv: Create stream 4
Nov 13 11:37:02 mythbox kernel: ivtv: Create DMA stream 5 using 16 buffers 
of size 32768
Nov 13 11:37:02 mythbox kernel: ivtv: Create stream 6 using 128 buffers of 
size 4096
Nov 13 11:37:02 mythbox kernel: ivtv: Create stream 7
Nov 13 11:37:02 mythbox kernel: ivtv: Create DMA stream 8 using 16 buffers 
of size 32768
Nov 13 11:37:03 mythbox kernel: ivtv: Setting Tuner 38
Nov 13 11:37:03 mythbox kernel: tuner: type set to 38 (Philips PAL/SECAM 
multi (FM1216ME MK3)) by ivtv i2c driver #0
Nov 13 11:37:03 mythbox kernel: ivtv: Setting audio matrix to input 3, 
output 1
Nov 13 11:37:03 mythbox kernel: ivtv: Switching standard to PAL.
Nov 13 11:37:03 mythbox kernel: saa7115: decoder set norm PAL
Nov 13 11:37:03 mythbox kernel: saa7115: set audio: 0x01
Nov 13 11:37:03 mythbox kernel: saa7127: Setting Encoder Video Standard
Nov 13 11:37:03 mythbox kernel: saa7127: Set PAL Video Mode
Nov 13 11:37:03 mythbox kernel: saa7127: Selecting PAL video Standard
Nov 13 11:37:03 mythbox kernel: ivtv: Initialized WinTV PVR 350, card #0
Nov 13 11:37:03 mythbox kernel: ivtv: ====================  END INIT IVTV 
====================

Now we try

[root at mythbox root]# cat /dev/video0 > /tmp/test.mpg
cat: /dev/video0: Cannot allocate memory
[root at mythbox root]#

And log says:
Nov 13 11:39:48 mythbox kernel: cat: page allocation failure. order:5, 
mode:0xd0
Nov 13 11:39:48 mythbox kernel:  [<0214238b>] __alloc_pages+0x2a4/0x2be
Nov 13 11:39:48 mythbox kernel:  [<021423bd>] __get_free_pages+0x18/0x24
Nov 13 11:39:48 mythbox kernel:  [<0ed2ae14>] ivtv_init_buffer+0x45/0xa0 
[ivtv]
Nov 13 11:39:48 mythbox kernel:  [<0ed2ae86>] 
ivtv_init_queue_nolock+0x17/0x63 [ivtv]
Nov 13 11:39:48 mythbox kernel:  [<0ed2aef4>] 
ivtv_init_queues_nolock+0x22/0x3b [ivtv]
Nov 13 11:39:48 mythbox kernel:  [<0ed2f098>] ivtv_stream_alloc+0x74/0xaa 
[ivtv]
Nov 13 11:39:48 mythbox kernel:  [<0ed2e816>] ivtv_v4l2_open+0x2ed/0x3de 
[ivtv]
Nov 13 11:39:48 mythbox kernel:  [<0e9b3185>] video_open+0xf1/0x170 
[videodev]
Nov 13 11:39:48 mythbox kernel:  [<0216b548>] chrdev_open+0x3bd/0x458
Nov 13 11:39:48 mythbox kernel:  [<02171f00>] open_namei+0x2c9/0x57b
Nov 13 11:39:48 mythbox kernel:  [<0215fc21>] dentry_open+0xbd/0x180
Nov 13 11:39:48 mythbox kernel:  [<0215fb5e>] filp_open+0x36/0x3c
Nov 13 11:39:48 mythbox kernel:  [<02160074>] sys_open+0x31/0x7d
Nov 13 11:39:48 mythbox kernel: ivtv: No memory on buffer alloc!
Nov 13 11:39:48 mythbox kernel: ivtv: Buffer alloc failed!




More information about the mythtv-users mailing list