Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131177 - ivtv 0.4.0 memory allocation error
Summary: ivtv 0.4.0 memory allocation error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://gentoo-wiki.com/HOWTO_Setup_TV...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-24 21:46 UTC by Shawn South
Modified: 2006-04-30 07:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn South 2006-04-24 21:46:09 UTC
Following the directions at the Gentoo MythTV wiki (URL above), I get a 'Segmentation fault' when I run ivtv-detect.

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.0 (tagged release) loading
ivtv:  Linux version: 2.6.14-gentoo-r2 SMP K7 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.
ivtv0: Autodetected WinTV PVR 350 card (iTVC15 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 7875315
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP4448 (type = 1b)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Apr 24 2006 02:59:55
ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
tda9885/6/7: (ivtv) chip found @ 0x86
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: loading /lib/modules/ivtv-fw-dec.bin
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
modprobe: page allocation failure. order:4, mode:0xd0
 [<c0144cc2>] __alloc_pages+0x2c2/0x490
 [<c0147f3f>] kmem_getpages+0x2f/0xa0
 [<c0148c45>] alloc_slabmgmt+0x55/0x60
 [<c0148dd7>] cache_grow+0xa7/0x160
 [<c0148fe3>] cache_alloc_refill+0x153/0x210
 [<c014939d>] __kmalloc+0x7d/0x90
 [<c88c4e10>] ivtv_init_buffer+0x40/0x170 [ivtv]
 [<c88c4f7a>] ivtv_init_queue_nolock+0x3a/0x90 [ivtv]
 [<c88c5021>] ivtv_init_queues_nolock+0x51/0x80 [ivtv]
 [<c88c6ae6>] ivtv_stream_alloc+0xb6/0x260 [ivtv]
 [<c88cdc21>] ivtv_streams_setup+0x111/0x190 [ivtv]
 [<c88c87a8>] ivtv_probe+0x358/0xf00 [ivtv]
 [<c012cd53>] __queue_work+0x53/0x70
 [<c012cdc2>] queue_work+0x52/0x70
 [<c012ccde>] call_usermodehelper_keys+0xce/0xf0
 [<c012cba0>] __call_usermodehelper+0x0/0x70
 [<c0242b09>] pci_call_probe+0x19/0x20
 [<c0242b6e>] __pci_device_probe+0x5e/0x70
 [<c0242baf>] pci_device_probe+0x2f/0x50
 [<c02945bb>] driver_probe_device+0x3b/0xc0
 [<c02946d0>] __driver_attach+0x0/0x50
 [<c029471e>] __driver_attach+0x4e/0x50
 [<c0293ba9>] bus_for_each_dev+0x69/0x80
 [<c0294746>] driver_attach+0x26/0x30
 [<c02946d0>] __driver_attach+0x0/0x50
 [<c0294088>] bus_add_driver+0x88/0xe0
 [<c0242e57>] pci_register_driver+0x77/0x90
 [<c88c9944>] module_start+0x94/0x100 [ivtv]
 [<c0138cf5>] sys_init_module+0x175/0x210
 [<c0103039>] syscall_call+0x7/0xb
Mem-info:
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1 used:5
cpu 0 cold: low 0, high 2, batch 1 used:1
Normal per-cpu:
cpu 0 hot: low 14, high 42, batch 7 used:31
cpu 0 cold: low 0, high 14, batch 7 used:9
HighMem per-cpu: empty
Free pages:        5900kB (0kB HighMem)
Active:11074 inactive:6995 dirty:1 writeback:0 unstable:0 free:1475 slab:7149 mapped:780 pagetables:74
DMA free:2444kB min:192kB low:240kB high:288kB active:728kB inactive:0kB present:16384kB pages_scanned:1 all_unreclaimable? no
lowmem_reserve[]: 0 95 95
Normal free:3456kB min:1156kB low:1444kB high:1732kB active:43568kB inactive:27980kB present:98240kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA: 221*4kB 157*8kB 13*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2444kB
Normal: 198*4kB 287*8kB 11*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3456kB
HighMem: empty
Swap cache: add 10637, delete 10410, find 7442/8276, race 0+0
Free swap  = 993288kB
Total swap = 996020kB
Free swap:       993288kB
28656 pages of RAM
0 pages of HIGHMEM
1417 reserved pages
8430 pages shared
227 pages swap cached
1 pages dirty
0 pages writeback
780 pages mapped
7149 pages slab
74 pages pagetables
ivtv0 warning: No memory on buffer alloc!
ivtv0 warning: Buffer alloc failed!
ivtv0: Couldn't allocate buffers for decoder MPEG stream
ivtv0: Error -12 setting up streams
ivtv0: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:00:08.0 failed with error -12
ivtv:  ====================  END INIT IVTV  ====================
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2006-04-30 07:52:17 UTC
Known bug in the 0.4.0 releases that has been fixed in later releases (like 0.4.2 in Portage).