Morten Rønseth wrote:
> Hi all,
>
>
> I'm installing ivtv 0.10.3 on a Fedora 7 box for the first time,
> compiling from source.
>
> All goes well until I do "/sbin/modprobe ivtv" - I get errors i dmesg:
> "Couldn't allocate buffers for encoder MPEG stream" (see below, as well
> as output from lspci).
> The Fedora 7 installation is completely fresh, this is the first
> *anything* I do on the box...
>
> I'm using a PVR-500 card.
>
>
> Hope somebody can help out :-)
>   


Fiddled about with this a bit, and - lo and behold! - after a reboot all
was OK!


Case solved.

Thanks for your attention folks!


Cheers,


-Morten
>
>
> Cheers,
>
>
> -Morten
>
>
> dmesg:
>
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.10.3 (tagged release) loading
> ivtv:  Linux version: 2.6.21-1.3194.fc7 SMP mod_unload 686 4KSTACKS
> ivtv:  In case of problems please include the debug info between
> ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
> tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
> tuner 2-0060: TEA5767 detected.
> tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> tuner 2-0060: type set to 62 (Philips TEA5767HN FM Radio)
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
> tveeprom 2-0050: Hauppauge model 23559, rev D591, serial# 8201697
> tveeprom 2-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56)
> tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
> (eeprom 0x74)
> tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx
> 101, type 62)
> tveeprom 2-0050: audio processor is CX25843 (idx 37)
> tveeprom 2-0050: decoder processor is CX25843 (idx 30)
> tveeprom 2-0050: has radio, has no IR receiver, has no IR transmitter
> ivtv0: Autodetected WinTV PVR 500 (unit #1)
> ivtv0: Registered device video0 for encoder MPEG (4 MB)
> modprobe: page allocation failure. order:4, mode:0xd0
>  [<c045dd39>] __alloc_pages+0x299/0x2aa
>  [<c0472038>] cache_alloc_refill+0x25d/0x44c
>  [<c047229a>] __kmalloc+0x73/0x7d
>  [<d0f5ea46>] ivtv_stream_alloc+0x1ba/0x274 [ivtv]
>  [<c0427769>] printk+0x1f/0x92
>  [<d0f5cb72>] ivtv_streams_setup+0x34a/0x3af [ivtv]
>  [<d0f599a8>] ivtv_probe+0x1165/0x1490 [ivtv]
>  [<c04ac5ce>] __sysfs_new_dirent+0x20/0x4a
>  [<c04ac73f>] sysfs_make_dirent+0x29/0x35
>  [<c04ad4dd>] sysfs_create_link+0x128/0x13f
>  [<c04eff9b>] pci_device_probe+0x36/0x57
>  [<c05529ab>] really_probe+0xc6/0x14f
>  [<c0552a78>] driver_probe_device+0x44/0xa5
>  [<c0552b72>] __driver_attach+0x0/0xa5
>  [<c0552be2>] __driver_attach+0x70/0xa5
>  [<c0551ffb>] bus_for_each_dev+0x37/0x59
>  [<c055282a>] driver_attach+0x16/0x18
>  [<c0552b72>] __driver_attach+0x0/0xa5
>  [<c05522ad>] bus_add_driver+0x5e/0x15f
>  [<c04f00ed>] __pci_register_driver+0x6b/0x97
>  [<d0f584d2>] module_start+0xba/0xe3 [ivtv]
>  [<c04432e4>] sys_init_module+0x16c3/0x17fa
>  [<c04755f8>] do_sync_read+0xc7/0x10a
>  [<c042bae7>] __request_region+0x0/0xb0
>  [<c0404f70>] syscall_call+0x7/0xb
>  =======================
> Mem-info:
> DMA per-cpu:
> CPU    0: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1
> usd:   0
> Normal per-cpu:
> CPU    0: Hot: hi:   90, btch:  15 usd:  86   Cold: hi:   30, btch:   7
> usd:  27
> Active:42432 inactive:12410 dirty:35 writeback:0 unstable:0
>  free:1099 slab:5119 mapped:5974 pagetables:1022 bounce:0
> DMA free:1076kB min:124kB low:152kB high:184kB active:8308kB
> inactive:1456kB present:16256kB pages_scanned:0 all_unreclaimable? no
> lowmem_reserve[]: 0 238 238
> Normal free:3320kB min:1908kB low:2384kB high:2860kB active:161420kB
> inactive:48184kB present:243780kB pages_scanned:15 all_unreclaimable? no
> lowmem_reserve[]: 0 0 0
> DMA: 51*4kB 17*8kB 14*16kB 2*32kB 1*64kB 1*128kB 1*256kB 0*512kB
> 0*1024kB 0*2048kB 0*4096kB = 1076kB
> Normal: 590*4kB 46*8kB 6*16kB 2*32kB 1*64kB 1*128kB 1*256kB 0*512kB
> 0*1024kB 0*2048kB 0*4096kB = 3336kB
> Swap cache: add 51477, delete 43146, find 13679/14987, race 0+0
> Free swap  = 366412kB
> Total swap = 524280kB
> Free swap:       366412kB
> 65520 pages of RAM
> 0 pages of HIGHMEM
> 1688 reserved pages
> 48682 pages shared
> 8331 pages swap cached
> 35 pages dirty
> 0 pages writeback
> 5974 pages mapped
> 5119 pages slab
> 1022 pages pagetables
> ivtv0: Couldn't allocate buffers for encoder MPEG stream
> ivtv0: Error -12 setting up streams
> ivtv0: Error -12 on initialization
> ivtv: probe of 0000:02:08.0 failed with error -12
> ivtv:  ======================  NEXT CARD  ======================
> ivtv1: Autodetected Hauppauge card (cx23416 based)
> ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv1: Encoder revision: 0x02060039
> tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1)
> tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
> cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
> tveeprom 2-0050: Hauppauge model 23559, rev D591, serial# 8201697
> tveeprom 2-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56)
> tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
> (eeprom 0x74)
> tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx
> 101, type 62)
> tveeprom 2-0050: audio processor is CX25843 (idx 37)
> tveeprom 2-0050: decoder processor is CX25843 (idx 30)
> tveeprom 2-0050: has radio, has no IR receiver, has no IR transmitter
> ivtv1: Correcting tveeprom data: no radio present on second unit
> ivtv1: Autodetected WinTV PVR 500 (unit #2)
> ivtv1: Registered device video1 for encoder MPEG (4 MB)
> modprobe: page allocation failure. order:4, mode:0xd0
>  [<c045dd39>] __alloc_pages+0x299/0x2aa
>  [<c0472038>] cache_alloc_refill+0x25d/0x44c
>  [<c047229a>] __kmalloc+0x73/0x7d
>  [<d0f5ea46>] ivtv_stream_alloc+0x1ba/0x274 [ivtv]
>  [<c0427769>] printk+0x1f/0x92
>  [<d0f5cb72>] ivtv_streams_setup+0x34a/0x3af [ivtv]
>  [<d0f599a8>] ivtv_probe+0x1165/0x1490 [ivtv]
>  [<c04ac5ce>] __sysfs_new_dirent+0x20/0x4a
>  [<c04ac73f>] sysfs_make_dirent+0x29/0x35
>  [<c04ad4dd>] sysfs_create_link+0x128/0x13f
>  [<c04eff9b>] pci_device_probe+0x36/0x57
>  [<c05529ab>] really_probe+0xc6/0x14f
>  [<c0552a78>] driver_probe_device+0x44/0xa5
>  [<c0552b72>] __driver_attach+0x0/0xa5
>  [<c0552be2>] __driver_attach+0x70/0xa5
>  [<c0551ffb>] bus_for_each_dev+0x37/0x59
>  [<c055282a>] driver_attach+0x16/0x18
>  [<c0552b72>] __driver_attach+0x0/0xa5
>  [<c05522ad>] bus_add_driver+0x5e/0x15f
>  [<c04f00ed>] __pci_register_driver+0x6b/0x97
>  [<d0f584d2>] module_start+0xba/0xe3 [ivtv]
>  [<c04432e4>] sys_init_module+0x16c3/0x17fa
>  [<c04755f8>] do_sync_read+0xc7/0x10a
>  [<c042bae7>] __request_region+0x0/0xb0
>  [<c0404f70>] syscall_call+0x7/0xb
>  =======================
> Mem-info:
> DMA per-cpu:
> CPU    0: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1
> usd:   0
> Normal per-cpu:
> CPU    0: Hot: hi:   90, btch:  15 usd:  83   Cold: hi:   30, btch:   7
> usd:  27
> Active:42356 inactive:12516 dirty:52 writeback:0 unstable:0
>  free:1047 slab:5145 mapped:5974 pagetables:1022 bounce:0
> DMA free:1088kB min:124kB low:152kB high:184kB active:8228kB
> inactive:1536kB present:16256kB pages_scanned:33 all_unreclaimable? no
> lowmem_reserve[]: 0 238 238
> Normal free:3100kB min:1908kB low:2384kB high:2860kB active:161196kB
> inactive:48528kB present:243780kB pages_scanned:15 all_unreclaimable? no
> lowmem_reserve[]: 0 0 0
> DMA: 54*4kB 17*8kB 14*16kB 2*32kB 1*64kB 1*128kB 1*256kB 0*512kB
> 0*1024kB 0*2048kB 0*4096kB = 1088kB
> Normal: 466*4kB 96*8kB 6*16kB 2*32kB 1*64kB 0*128kB 1*256kB 0*512kB
> 0*1024kB 0*2048kB 0*4096kB = 3112kB
> Swap cache: add 51477, delete 43146, find 15321/16629, race 0+0
> Free swap  = 366412kB
> Total swap = 524280kB
> Free swap:       366412kB
> 65520 pages of RAM
> 0 pages of HIGHMEM
> 1688 reserved pages
> 48838 pages shared
> 8331 pages swap cached
> 52 pages dirty
> 0 pages writeback
> 5974 pages mapped
> 5145 pages slab
> 1022 pages pagetables
> ivtv1: Couldn't allocate buffers for encoder MPEG stream
> ivtv1: Error -12 setting up streams
> ivtv1: Error -12 on initialization
> ivtv: probe of 0000:02:09.0 failed with error -12
> ivtv:  ====================  END INIT IVTV  ====================
>
>
> lspci -a:
>
> 00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?)
> (rev a2)
>         Flags: bus master, 66MHz, fast devsel, latency 0
>         Memory at e0000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: [40] AGP version 3.0
>         Capabilities: [60] HyperTransport: Host or Secondary Interface
>
> 00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev a2)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: 66MHz, fast devsel
>
> 00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev a2)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: 66MHz, fast devsel
>
> 00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev a2)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: 66MHz, fast devsel
>
> 00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev a2)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: 66MHz, fast devsel
>
> 00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev a2)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: 66MHz, fast devsel
>
> 00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: bus master, 66MHz, fast devsel, latency 0
>         Capabilities: [48] HyperTransport: Slave or Primary Interface
>
> 00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: 66MHz, fast devsel, IRQ 255
>         I/O ports at e400 [size=32]
>         Capabilities: [44] Power Management version 2
>
> 00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev
> a4) (prog-if 10 [OHCI])
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16
>         Memory at e7002000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [44] Power Management version 2
>
> 00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev
> a4) (prog-if 10 [OHCI])
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
>         Memory at e7003000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [44] Power Management version 2
>
> 00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev
> a4) (prog-if 20 [EHCI])
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18
>         Memory at e7004000 (32-bit, non-prefetchable) [size=256]
>         Capabilities: [44] Debug port
>         Capabilities: [80] Power Management version 2
>
> 00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet
> Controller (rev a1)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 777c
>         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16
>         Memory at e7005000 (32-bit, non-prefetchable) [size=4K]
>         I/O ports at d000 [size=8]
>         Capabilities: [44] Power Management version 2
>
> 00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97
> Audio Controler (MCP) (rev a1)
>         Subsystem: Micro-Star International Co., Ltd. Unknown device 7770
>         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
>         I/O ports at d400 [size=256]
>         I/O ports at d800 [size=128]
>         Memory at e7000000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [44] Power Management version 2
>
> 00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev
> a3) (prog-if 00 [Normal decode])
>         Flags: bus master, 66MHz, fast devsel, latency 0
>         Bus: primary=00, secondary=01, subordinate=02, sec-latency=32
>         I/O behind bridge: 0000c000-0000cfff
>         Memory behind bridge: e6000000-e6ffffff
>         Prefetchable memory behind bridge: d8000000-dfffffff
>
> 00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if
> 8a [Master SecP PriP])
>         Subsystem: Unknown device f462:7770
>         Flags: bus master, 66MHz, fast devsel, latency 0
>         [virtual] Memory at 000001f0 (32-bit, non-prefetchable)
> [disabled] [size=8]
>         [virtual] Memory at 000003f0 (type 3, non-prefetchable)
> [disabled] [size=1]
>         [virtual] Memory at 00000170 (32-bit, non-prefetchable)
> [disabled] [size=8]
>         [virtual] Memory at 00000370 (type 3, non-prefetchable)
> [disabled] [size=1]
>         I/O ports at f000 [size=16]
>         Capabilities: [44] Power Management version 2
>
> 00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2) (prog-if 00
> [Normal decode])
>         Flags: bus master, 66MHz, medium devsel, latency 32
>         Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
>         Memory behind bridge: e4000000-e5ffffff
>         Prefetchable memory behind bridge: d0000000-d7ffffff
>
> 01:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
>         Subsystem: Creative Labs SB Audigy 2 ZS (SB0350)
>         Flags: bus master, medium devsel, latency 32, IRQ 21
>         I/O ports at c000 [size=64]
>         Capabilities: [dc] Power Management version 2
>
> 01:07.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
>         Subsystem: Creative Labs SB Audigy MIDI/Game Port
>         Flags: bus master, medium devsel, latency 32
>         I/O ports at c400 [size=8]
>         Capabilities: [dc] Power Management version 2
>
> 01:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev
> 04) (prog-if 10 [OHCI])
>         Subsystem: Creative Labs SB Audigy FireWire Port
>         Flags: bus master, medium devsel, latency 32, IRQ 19
>         Memory at e6004000 (32-bit, non-prefetchable) [size=2K]
>         Memory at e6000000 (32-bit, non-prefetchable) [size=16K]
>         Capabilities: [44] Power Management version 2
>
> 01:08.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge
> (non-transparent mode) (rev 11) (prog-if 00 [Normal decode])
>         Flags: bus master, medium devsel, latency 32
>         Bus: primary=01, secondary=02, subordinate=02, sec-latency=32
>         Prefetchable memory behind bridge: d8000000-dfffffff
>         Capabilities: [80] Power Management version 2
>         Capabilities: [90] #06 [0000]
>
> 01:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
> Controller (rev 80) (prog-if 10 [OHCI])
>         Subsystem: Unknown device 0574:086c
>         Flags: bus master, medium devsel, latency 32, IRQ 20
>         Memory at e6005000 (32-bit, non-prefetchable) [size=2K]
>         I/O ports at c800 [size=128]
>         Capabilities: [50] Power Management version 2
>
> 02:08.0 Multimedia video controller: Internext Compression Inc iTVC16
> (CX23416) MPEG-2 Encoder (rev 01)
>         Subsystem: Hauppauge computer works Inc. WinTV PVR 500 (1st unit)
>         Flags: bus master, medium devsel, latency 64, IRQ 19
>         Memory at d8000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: [44] Power Management version 2
>
> 02:09.0 Multimedia video controller: Internext Compression Inc iTVC16
> (CX23416) MPEG-2 Encoder (rev 01)
>         Subsystem: Hauppauge computer works Inc. WinTV PVR 500 (2nd unit)
>         Flags: bus master, medium devsel, latency 64, IRQ 20
>         Memory at dc000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: [44] Power Management version 2
>
> 03:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX
> 5200] (rev a1) (prog-if 00 [VGA])
>         Subsystem: CardExpert Technology Unknown device 0431
>         Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 22
>         Memory at e4000000 (32-bit, non-prefetchable) [size=16M]
>         Memory at d0000000 (32-bit, prefetchable) [size=128M]
>         [virtual] Expansion ROM at e5000000 [disabled] [size=128K]
>         Capabilities: [60] Power Management version 2
>         Capabilities: [44] AGP version 3.0
>
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>   


-- 
---------------------------------------------------
WEB-fx                      http://www.webfx.no
Morten Rønseth              [EMAIL PROTECTED]
Odinsvei 15c                +47 6680 9191
1413 Tårnåsen               +47 9343 4357



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to