Actually, I just found my answer tonight.  I needed to modify my kernel 
boot settings to allocate more memory for the kernel; it was indeed a 
configuration issue that the error was indicating. It looks like 192 
megs does ok.  I modified /boot/grub/menu.lst to add vmalloc=192m to the 
line that starts with "kernel", as described in:

http://ubuntuforums.org/showthread.php?t=181857

And now I'm happily able to see TV.  Btw it also turns out I was wrong 
about the tuner card model; it was a Hauppauge PVR-250.

Thanks anyhow!

- Daiji

D T wrote:
> Hi all,
>
> I'm a bit of a noob to ivtv, admittedly, and was following the instructions 
> on:
>
> http://hyams.webhop.net/mythtv/myth_ubuntu.html
>
> for setting up MythTV (and was currently in the setup of IVTV) when I ran 
> into the following
error
> during the modprobe from my dmesg.  
>    [17213040.272000] modprobe: page allocation failure. order:4, mode:0xd0
>    [17213040.272000]  [<c0144a7e>] __alloc_pages+0x1ee/0x2e0
>    [17213040.272000]  [<c0147df0>] kmem_getpages+0x30/0x90
>    [17213040.272000]  [<c0148bbc>] cache_grow+0x16c/0x1f0
>    [17213040.272000]  [<c0148e5a>] cache_alloc_refill+0x21a/0x260
>    [17213040.272000]  [<c014916a>] __kmalloc+0x7a/0x90
>    [17213040.272000]  [<e04eabdb>] ivtv_init_buffer+0x3b/0x180 [ivtv]
>
> Does anyone have any hints or suggestions as to fixes or diagnostics that I 
> can perform?  I did
a
> bit of looking on the list but hadn't seen anything related to this yet, 
> unfortunately.  
>
> I am running:
> - Ubuntu 6.06 LTS (Dapper) with the latest update for Linux kernel 
> 2.6.15-27-386
> - a Hauppauge WinTV-PVR card that a coworker gave to me; he told me it's a 
> PVR-150 (I didn't see
> any labels on the card itself that I could use to confirm this).  
> - a PowerSpec 1406 upgraded with 1GB RAM and extra HD space; it uses a IntelĀ® 
> CeleronĀ® D
Processor
> 346 (3.06GHz) internally on a MSI P4M800CE motherboard that uses a bunch of 
> VIA chips; I can
look
> up the specifics if that's relevant?  
>
> I wasn't sure if this error was indicative of a bug or a config error.  Does 
> anyone have any
> suggestions?  
>
> Thanks very much in advance,
>
> - Daiji
>
> Here is the full log:
>
> [17213038.912000] Linux video capture interface: v1.00
> [17213038.916000] ivtv: no version for "struct_module" found: kernel tainted.
> [17213038.916000] ivtv:  ==================== START INIT IVTV 
> ====================
> [17213038.916000] ivtv:  version 0.4.7 (tagged release) loading
> [17213038.916000] ivtv:  Linux version: 2.6.15-27-386 preempt 486 gcc-4.0
> [17213038.916000] ivtv:  In case of problems please include the debug info 
> between
> [17213038.920000] ivtv:  the START INIT IVTV and END INIT IVTV lines, along
with[17213038.920000]
> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> [17213038.920000] ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
> [17213038.920000] ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 18 (level, low) 
> -> IRQ 193
> [17213038.920000] ivtv0: Unreasonably low latency timer, setting to 64 (was 
> 32)
> [17213038.960000] tveeprom: ivtv version
> [17213038.960000] tveeprom: Hauppauge: model = 32032, rev = B326, serial# = 
> 7108836
> [17213038.960000] tveeprom: tuner = Temic 4036FY5 (idx = 26, type = 8)
> [17213038.960000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 
> 0x00001000)
> [17213038.960000] tveeprom: audio processor = MSP4448 (type = 1b)
> [17213038.960000] tveeprom: decoder processor = SAA7115 (type = 13)
> [17213038.960000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
> [17213038.980000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c 
> driver #0
> [17213038.980000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), 
> addr=61]
> [17213039.136000] saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
> [17213039.256000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
> [17213039.292000] msp3400 1-0040: chip=MSP4448G-A2 +nicam +simple +simpler 
> +radio mode=simpler
> [17213039.292000] msp3400 1-0040: msp34xxg daemon started
> [17213039.312000] ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, 
> addr=40]
> [17213040.028000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> [17213040.244000] ivtv0: Encoder revision: 0x02050032
> [17213040.244000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 
> buffers (4096KB total)
> [17213040.272000] modprobe: page allocation failure. order:4, mode:0xd0
> [17213040.272000]  [<c0144a7e>] __alloc_pages+0x1ee/0x2e0
> [17213040.272000]  [<c0147df0>] kmem_getpages+0x30/0x90
> [17213040.272000]  [<c0148bbc>] cache_grow+0x16c/0x1f0
> [17213040.272000]  [<c0148e5a>] cache_alloc_refill+0x21a/0x260
> [17213040.272000]  [<c014916a>] __kmalloc+0x7a/0x90
> [17213040.272000]  [<e04eabdb>] ivtv_init_buffer+0x3b/0x180 [ivtv]
> [17213040.272000]  [<e04ead73>] ivtv_init_queue_nolock+0x53/0x90 [ivtv]
> [17213040.272000]  [<e04eade7>] ivtv_init_queues_nolock+0x37/0x60 [ivtv]
> [17213040.272000]  [<e04ec497>] ivtv_stream_alloc+0xc7/0x290 [ivtv]
> [17213040.272000]  [<e04f3d63>] ivtv_streams_setup+0x163/0x1d0 [ivtv]
> [17213040.272000]  [<e04ee654>] ivtv_probe+0x7c4/0xfd0 [ivtv]
> [17213040.272000]  [<c02962dc>] netlink_broadcast+0x22c/0x3c0
> [17213040.272000]  [<c01e6ea5>] pci_match_device+0x15/0x110
> [17213040.272000]  [<c01e6ffc>] __pci_device_probe+0x3c/0x60
> [17213040.272000]  [<c01e703f>] pci_device_probe+0x1f/0x40
> [17213040.272000]  [<c024457b>] driver_probe_device+0x3b/0xc0
> [17213040.272000]  [<c0244670>] __driver_attach+0x0/0x40
> [17213040.272000]  [<c02446ab>] __driver_attach+0x3b/0x40
> [17213040.272000]  [<c0243c58>] bus_for_each_dev+0x48/0x80
> [17213040.272000]  [<c02446c5>] driver_attach+0x15/0x20
> [17213040.272000]  [<c0244670>] __driver_attach+0x0/0x40
> [17213040.272000]  [<c02440f9>] bus_add_driver+0x69/0xc0
> [17213040.276000]  [<c01e728a>] __pci_register_driver+0x6a/0xa0
> [17213040.276000]  [<e04ef3f5>] module_start+0x85/0xf0 [ivtv]
> [17213040.276000]  [<c013820f>] sys_init_module+0x9f/0x1d0
> [17213040.276000]  [<c0102feb>] sysenter_past_esp+0x54/0x79
> [17213040.276000] Mem-info:
> [17213040.276000] DMA per-cpu:
> [17213040.276000] cpu 0 hot: low 0, high 0, batch 1 used:0
> [17213040.276000] cpu 0 cold: low 0, high 0, batch 1 used:0
> [17213040.276000] DMA32 per-cpu: empty
> [17213040.276000] Normal per-cpu:
> [17213040.276000] cpu 0 hot: low 0, high 186, batch 31 used:184
> [17213040.276000] cpu 0 cold: low 0, high 62, batch 15 used:49
> [17213040.276000] HighMem per-cpu: empty
> [17213040.276000] Free pages:       54864kB (0kB HighMem)
> [17213040.276000] Active:71888 inactive:28546 dirty:486 writeback:0 
> unstable:0 free:13716
> slab:10576 mapped:51367 pagetables:454
> [17213040.276000] DMA free:2960kB min:88kB low:44kB high:88kB active:2256kB 
> inactive:3864kB
> present:16384kB pages_scanned:0 all_unreclaimable? no
> [17213040.276000] lowmem_reserve[]: 0 0 486 486
> [17213040.276000] DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB 
> inactive:0kB present:0kB
> pages_scanned:0 all_unreclaimable? no
> [17213040.276000] lowmem_reserve[]: 0 0 486 486
> [17213040.276000] Normal free:51904kB min:2776kB low:1388kB high:2776kB 
> active:285296kB
> inactive:110320kB present:498624kB pages_scanned:0 all_unreclaimable? 
> no[17213040.276000]
> lowmem_reserve[]: 0 0 0 0
> [17213040.276000] HighMem free:0kB min:128kB low:32kB high:64kB active:0kB 
> inactive:0kB
> present:0kB pages_scanned:0 all_unreclaimable? no
> [17213040.276000] lowmem_reserve[]: 0 0 0 0
> [17213040.276000] DMA: 460*4kB 108*8kB 12*16kB 0*32kB 1*64kB 0*128kB 0*256kB 
> 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 2960kB
> [17213040.276000] DMA32: empty
> [17213040.276000] Normal: 7976*4kB 1636*8kB 238*16kB 93*32kB 0*64kB 1*128kB 
> 0*256kB 0*512kB
> 0*1024kB 0*2048kB 0*4096kB = 51904kB
> [17213040.276000] HighMem: empty
> [17213040.276000] Swap cache: add 5570, delete 5243, find 543/648, race 0+0
> [17213040.276000] Free swap  = 1461068kB
> [17213040.276000] Total swap = 1477940kB
> [17213040.276000] Free swap:       1461068kB
> [17213040.280000] 128752 pages of RAM
> [17213040.280000] 0 pages of HIGHMEM
> [17213040.280000] 2101 reserved pages
> [17213040.280000] 80735 pages shared
> [17213040.280000] 327 pages swap cached
> [17213040.280000] 486 pages dirty
> [17213040.280000] 0 pages writeback
> [17213040.280000] 51367 pages mapped
> [17213040.280000] 10567 pages slab
> [17213040.280000] 454 pages pagetables
> [17213040.280000] ivtv0 warning: No memory on buffer alloc!
> [17213040.280000] ivtv0 warning: Buffer alloc failed!
> [17213040.280000] ivtv0: Couldn't allocate buffers for encoder MPEG stream
> [17213040.280000] ivtv0: Error -12 setting up streams
> [17213040.288000] ivtv0: Error -12 on initialization
> [17213040.288000] ivtv: probe of 0000:00:09.0 failed with error -12
> [17213040.288000] ivtv:  ====================  END INIT IVTV  
> ====================
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
>
>   

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to