[mythtv-users] MythTV refuses to start (long)

Jorn Argelo jorn at wcborstel.nl
Fri Nov 19 19:31:05 UTC 2004


Hi everybody,

First of all, my apologies if my e-mail is too long, but I felt like that
sharing as much info as possible would help most in solving my problem.

I've been trying to get MythTV up and running for a few days now, but with no
success. First I'll post my specs:

Gentoo Linux 2.6.9-r4
ivtv-0.2.0-rc2t

Athlon 1800xp+
ASUS A7V655-C (VIA KT233 chipset)
Hauppauge PVR-350 TV card
XFX GeForce MX440

Kernel Config:

(Please tell me if I am missing something)

[*] Networking support
      <*> IrDA (infrared) subsystem support  --->
<M> I2C support              
      <M>   I2C device interface
      I2C Hardware Bus support  --->
             <M> VIA 82C596/82C686/823x
<M> Video For Linux 
      Video For Linux  --->
          <M> BT848 Video For Linux

# cat /proc/modules
ivtv 803332 0 - Live 0xd0bba000
saa7127 11036 0 - Live 0xd0959000
saa7115 11224 0 - Live 0xd0955000
tveeprom 10804 0 - Live 0xd0951000
i2c_viapro 5836 0 - Live 0xd09dd000
via686a 18208 0 - Live 0xd0a93000
tda9887 11864 0 - Live 0xd0a8f000
video_buf 16900 0 - Live 0xd0a89000
tvaudio 20512 0 - Live 0xd09d0000
tuner 18660 0 - Live 0xd09d7000
i2c_dev 7744 0 - Live 0xd09cb000
i2c_sensor 3072 1 via686a, Live 0xd09ce000
lirc_dev 10828 0 - Live 0xd0916000
i2c_algo_bit 8328 1 ivtv, Live 0xd0923000
videodev 7360 1 ivtv, Live 0xd091a000
i2c_core 19024 11
saa7127,saa7115,tveeprom,i2c_viapro,via686a,tda9887,tvaudio,tuner,i2c_dev,i2c_sensor,i2c_algo_bit,
Live 0xd091d000
nvidia 3461148 10 - Live 0xd0ccf000


I've followed the documentation on the MythTV website (which is pretty good,
my compliments). After a few small problems I got everything nicely up and
running untill the moment I was actually going to use the TV card to watch TV:

error reading from: /dev/v4l/video0
read:: input output error

So I checked if the ivtv driver was loaded properly, which was obviously not
the case. See the (VERY) long dmesg output on the bottom. Strange thing was
though, the mythfilldatabase --manual procedure went just fine. At least, it
found channels and I could select them and skip them and such.

I am really stuck with this. What can I do? Try to recompile other drivers? 

A little side-note, I did NOT compile these drivers from the portage.

Thanks in advance,

Jorn Argelo

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc2t) loading
ivtv: Linux version: 2.6.9-gentoo-r4 preempt K7 4KSTACKS gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
PCI: Found IRQ 11 for device 0000:00:0d.0
PCI: Sharing IRQ 11 with 0000:00:11.1
PCI: Sharing IRQ 11 with 0000:01:00.0
ivtv: VIA PCI device: 0x3099 vendor: 0x1106
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,ok]
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7520574
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach [client=tveeprom[1],ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[1],ok]
saa7115: status: (1E) 0x40, (1F) 0xc0
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[1],ok]
ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557,
Revision 0x00000001
ivtv: PAL tuner detected
ivtv: SECAM tuner detected
ivtv: Radio detected
ivtv: Failed to load module msp3400
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware is buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 9 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes total
modprobe: page allocation failure. order:2, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbab7b>] ivtv_init_buffer+0x3b/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0e10>] ivtv_streams_setup+0x100/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1 using 64 16384 byte buffers  1048576 kbytes total
modprobe: page allocation failure. order:5, mode:0xd0
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bc0a6c>] ivtv_stream_init+0x22c/0x4d0 [ivtv]
 [<d0bc0e4d>] ivtv_streams_setup+0x13d/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
ivtv: Could not allocate SGarray
ivtv: Create stream 2 using 40 52224 byte buffers  2097152 kbytes total
modprobe: page allocation failure. order:4, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c0111552>] activate_task+0x62/0x80
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c01113ef>] recalc_task_prio+0x8f/0x190
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbab7b>] ivtv_init_buffer+0x3b/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0e87>] ivtv_streams_setup+0x177/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
modprobe: page allocation failure. order:3, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbac81>] ivtv_init_buffer+0x141/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0e87>] ivtv_streams_setup+0x177/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
modprobe: page allocation failure. order:2, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbac81>] ivtv_init_buffer+0x141/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0e87>] ivtv_streams_setup+0x177/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 128 16384 byte buffers  2097152 kbytes total
modprobe: page allocation failure. order:2, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c0135435>] buffered_rmqueue+0xf5/0x1d0
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c0139815>] alloc_slabmgmt+0x55/0x60
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbab7b>] ivtv_init_buffer+0x3b/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0ec4>] ivtv_streams_setup+0x1b4/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create DMA stream 5 using 16 65536 byte buffers  1048576 kbytes total
modprobe: page allocation failure. order:4, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c0111552>] activate_task+0x62/0x80
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c01113ef>] recalc_task_prio+0x8f/0x190
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbab7b>] ivtv_init_buffer+0x3b/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0f3b>] ivtv_streams_setup+0x22b/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
modprobe: page allocation failure. order:3, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbac81>] ivtv_init_buffer+0x141/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0f3b>] ivtv_streams_setup+0x22b/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
modprobe: page allocation failure. order:2, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbac81>] ivtv_init_buffer+0x141/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0f3b>] ivtv_streams_setup+0x22b/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
modprobe: page allocation failure. order:1, mode:0x20
 [<c01356c8>] __alloc_pages+0x1b8/0x360
 [<c013588f>] __get_free_pages+0x1f/0x40
 [<c0138d3d>] kmem_getpages+0x1d/0xb0
 [<c01399b6>] cache_grow+0xb6/0x170
 [<c0139bc6>] cache_alloc_refill+0x156/0x220
 [<c013a090>] __kmalloc+0x70/0x80
 [<d0bbab7b>] ivtv_init_buffer+0x3b/0x1a0 [ivtv]
 [<d0bbad10>] ivtv_init_queue_nolock+0x30/0x80 [ivtv]
 [<d0bbadb5>] ivtv_init_queues_nolock+0x55/0x90 [ivtv]
 [<d0bc0bd6>] ivtv_stream_init+0x396/0x4d0 [ivtv]
 [<d0bc0f3b>] ivtv_streams_setup+0x22b/0x3a0 [ivtv]
 [<d0bbd0ed>] ivtv_probe+0x24d/0x940 [ivtv]
 [<c022c942>] pci_device_probe_static+0x52/0x70
 [<c022c99b>] __pci_device_probe+0x3b/0x50
 [<c022c9dc>] pci_device_probe+0x2c/0x50
 [<c026e40f>] bus_match+0x3f/0x70
 [<c026e539>] driver_attach+0x59/0x90
 [<c026e9e1>] bus_add_driver+0x91/0xb0
 [<c026ef9f>] driver_register+0x2f/0x40
 [<c022cc6c>] pci_register_driver+0x5c/0x90
 [<d0bbdc9d>] module_start+0xcd/0x200 [ivtv]
 [<c012cfce>] sys_init_module+0x17e/0x230
 [<c0104207>] syscall_call+0x7/0xb
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers  262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8 using 16 65536 byte buffers  1048576 kbytes total
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Error -12 setting up streams
ivtv: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:00:0d.0 failed with error -12
ivtv: ====================  END INIT IVTV  ====================




More information about the mythtv-users mailing list