Chris Liechti wrote:
i get a "page allocation failure" when laoding ivtv.
actualy i get that error with all versions i tried on ubuntu. debian on the same machine/same kernel version worked, but sometimes i got that error too.
chris
Old, but may still apply:
1. If having memory allocation errors, putting this into /etc/*sysctl.conf* and rebooting may help:
#for making *ivtv* happier with memory usage: vm.min_free_kbytes=16384
done. however appart from getting an additional, different, error, it does not solve my problem. :-(
i think it has something to do with the kernel configuration. the same kernel version from debian does not show this prolem.
there were problems with the "preempt" kernels. does that still apply? the second error sugests this...
after the modprobe with the error below, does rmmod block forever...
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.3 (h) loading
ivtv: Linux version: 2.6.10-5-386 preempt 386 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 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:14.0[A] -> GSI 11 (level, low) -> IRQ 11
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x3123 vendor: 0x1106
tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 7702831
tveeprom: tuner = LG PAL (TAPE Series) (idx = 97, type = 55)
tveeprom: tuner fmt = PAL(B/G) PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07)
tveeprom: audio_processor = MSP3400C (type = 4)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 55, Tuner formats 0x00000e07, Radio: yes, Model 0x008d1657, Revision 0x00000000
ivtv: PAL tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter SMBus Via Pro adapter at 0500 (0x0)
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting client on address 0x88
cx25840: writing init values
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded.
cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa
cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6
cx25840: Status: cx258423 (DEVICE_ID)
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total
ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1
ivtv: Allocate DMA stream 1
modprobe: page allocation failure. order:5, mode:0xd0
[<c0132c18>] __alloc_pages+0x2a2/0x2bf
[<c0132c54>] __get_free_pages+0x1f/0x3b
[<c013584b>] kmem_getpages+0x1d/0xaf
[<c0136212>] cache_grow+0x9d/0x122
[<c01363ed>] cache_alloc_refill+0x156/0x187
[<c0136635>] __kmalloc+0x4e/0x61
[<cfd0dc1c>] ivtv_stream_alloc+0xb3/0x1d5 [ivtv]
[<cfd126ec>] ivtv_streams_setup+0xeb/0x120 [ivtv]
[<cfd0f52d>] ivtv_probe+0x555/0x80f [ivtv]
[<c01a53c1>] pci_device_probe_static+0x2e/0x41
[<c01a53f3>] __pci_device_probe+0x1f/0x32
[<c01a5422>] pci_device_probe+0x1c/0x31
[<c01ee3c2>] driver_probe_device+0x36/0x54
[<c01ee49b>] driver_attach+0x39/0x6e
[<c01ee816>] bus_add_driver+0x5e/0x80
[<c01eeb93>] driver_register+0x2d/0x31
[<c01a55d3>] pci_register_driver+0x57/0x6a
[<cfd0fc1e>] module_start+0x154/0x183 [ivtv]
[<c0129ac1>] sys_init_module+0xd4/0x1c3
[<c0102ff7>] syscall_call+0x7/0xb
ivtv: Could not allocate SGarray
ivtv: Error -12 setting up streams
Unable to handle kernel paging request at virtual address 000975f4
printing eip:
c017a73e
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: wm8775 sha1 cx25840 tuner tveeprom ivtv videodev rfcomm l2cap bluetooth proc_intf freq_table cpufreq_userspace cpufreq_ondemand cpufreq_powersave nfsd exportfs lockd sunrpc video sony_acpi pcc_acpi button battery container ac ipv6 via_rhine mii snd_via82xx snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore i2c_viapro via_ircc irda crc_ccitt ehci_hcd tsdev usbhid uhci_hcd usbcore ohci1394 shpchp pci_hotplug via_agp agpgart floppy pcspkr rtc md dm_mod capability commoncap i2c_algo_bit i2c_core sr_mod sbp2 scsi_mod ieee1394 evdev psmouse mousedev parport_pc lp parport ide_cd cdrom ext3 jbd ide_generic via82cxxx ide_disk ide_core unix thermal processor fan fbcon font bitblit vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU: 0
EIP: 0060:[<c017a73e>] Not tainted VLI
EFLAGS: 00010202 (2.6.10-5-386)
EIP is at object_depth+0x6/0xf
eax: 00000001 ebx: c0964000 ecx: c02afb40 edx: 000975d0
esi: cfd2df40 edi: c0d72164 ebp: cd8d2000 esp: c0965ebc
ds: 007b es: 007b ss: 0068
Process udev (pid: 8065, threadinfo=c0964000 task=c0aaeaa0)
Stack: c017a8be c09d9e60 c0964000 cfd2df40 c0d72164 c09d9e60 c017a9d2 c09d9e60
cfd2df40 cd8d2000 cd8d2000 fffffff4 c0965f18 c0964000 c017aa1c c0d72164
cd8d2000 00000000 c0d72164 c0965f18 c0154f85 c0d72164 c0965f18 00000000
Call Trace:
[<c017a8be>] sysfs_get_target_path+0x11/0x65
[<c017a9d2>] sysfs_getlink+0xc0/0xe4
[<c017aa1c>] sysfs_follow_link+0x26/0x3f
[<c0154f85>] generic_readlink+0x22/0x64
[<c015ce8e>] update_atime+0x7b/0xa5
[<c014efa6>] sys_readlink+0x73/0x8a
[<c0102ff7>] syscall_call+0x7/0xb
Code: e8 e4 ba 0e 00 e9 53 fe ff ff 8d 42 68 e8 fb ba 0e 00 e9 66 fe ff ff 8d 42 68 e8 ee ba 0e 00 e9 31 ff ff ff 90 8b 54 24 04 31 c0 <8b> 52 24 40 85 d2 75 f8 c3 57 53 bb 01 00 00 00 8b 54 24 0c 8b
<3>ivtv: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:00:14.0 failed with error -12
ivtv: ==================== END INIT IVTV ====================
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel