Re: stk1160: cannot alloc 196608 bytes
On Thu, May 9, 2013 at 1:11 PM, a b genericgroupm...@gmail.com wrote: Hi, I am seeing occasional issues when using an easycap card on our fedora 17 machine. [...] On a very quick look you seem to be getting out of memory (out of blocks of pages large enough for stk1160). Now, this may be some bug in stk1160, maybe not. I'll take a closer look in the next weeks. -- Ezequiel -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: stk1160: cannot alloc 196608 bytes
On Sat, May 11, 2013 at 10:28 AM, Ezequiel Garcia elezegar...@gmail.com wrote: On Thu, May 9, 2013 at 1:11 PM, a b genericgroupm...@gmail.com wrote: Hi, I am seeing occasional issues when using an easycap card on our fedora 17 machine. [...] On a very quick look you seem to be getting out of memory (out of blocks of pages large enough for stk1160). Now, this may be some bug in stk1160, maybe not. I'll take a closer look in the next weeks. Could you try using keep_buffers option? This option should tell the driver to try to not release the video buffers, in an attempt to prevent memory from fragmenting. Like this: $ modprobe stk1160 keep_buffers=1 or like this to make it permanent: $ echo options stk1160 keep_buffers=1 /etc/modprobe.d/stk1160.conf Please try this, see if it solves your issue and report your results. -- Ezequiel -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] smscoreapi: Make Siano firmware load more verbose
Signed-off-by: Roberto Alcantara robe...@eletronica.org diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c index 45ac9ee..dbe9b4d 100644 --- a/drivers/media/common/siano/smscoreapi.c +++ b/drivers/media/common/siano/smscoreapi.c @@ -1154,7 +1154,7 @@ static int smscore_load_firmware_from_file(struct smscore_device_t *coredev, char *fw_filename = smscore_get_fw_filename(coredev, mode); if (!fw_filename) { -sms_info(mode %d not supported on this device, mode); +sms_err(mode %d not supported on this device, mode); return -ENOENT; } sms_debug(Firmware name: %s, fw_filename); @@ -1165,14 +1165,14 @@ static int smscore_load_firmware_from_file(struct smscore_device_t *coredev, rc = request_firmware(fw, fw_filename, coredev-device); if (rc 0) { -sms_info(failed to open \%s\, fw_filename); +sms_err(failed to open firmware file \%s\, fw_filename); return rc; } sms_info(read fw %s, buffer size=0x%zx, fw_filename, fw-size); fw_buf = kmalloc(ALIGN(fw-size, SMS_ALLOC_ALIGNMENT), GFP_KERNEL | GFP_DMA); if (!fw_buf) { -sms_info(failed to allocate firmware buffer); +sms_err(failed to allocate firmware buffer); return -ENOMEM; } memcpy(fw_buf, fw-data, fw-size); -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
cron job: media_tree daily build: WARNINGS
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sat May 11 19:00:22 CEST 2013 git branch: test git hash: 02615ed5e1b2283db2495af3cf8f4ee172c77d80 gcc version:i686-linux-gcc (GCC) 4.7.2 host hardware: x86_64 host os:3.8-3.slh.2-amd64 linux-git-arm-davinci: OK linux-git-arm-exynos: WARNINGS linux-git-arm-omap: WARNINGS linux-git-blackfin: WARNINGS linux-git-i686: OK linux-git-m32r: OK linux-git-mips: OK linux-git-powerpc64: OK linux-git-sh: OK linux-git-x86_64: OK linux-2.6.31.14-i686: WARNINGS linux-2.6.32.27-i686: WARNINGS linux-2.6.33.7-i686: WARNINGS linux-2.6.34.7-i686: WARNINGS linux-2.6.35.9-i686: WARNINGS linux-2.6.36.4-i686: WARNINGS linux-2.6.37.6-i686: WARNINGS linux-2.6.38.8-i686: WARNINGS linux-2.6.39.4-i686: WARNINGS linux-3.0.60-i686: WARNINGS linux-3.1.10-i686: WARNINGS linux-3.2.37-i686: WARNINGS linux-3.3.8-i686: WARNINGS linux-3.4.27-i686: WARNINGS linux-3.5.7-i686: WARNINGS linux-3.6.11-i686: WARNINGS linux-3.7.4-i686: WARNINGS linux-3.8-i686: OK linux-3.9-rc1-i686: OK linux-2.6.31.14-x86_64: WARNINGS linux-2.6.32.27-x86_64: WARNINGS linux-2.6.33.7-x86_64: WARNINGS linux-2.6.34.7-x86_64: WARNINGS linux-2.6.35.9-x86_64: WARNINGS linux-2.6.36.4-x86_64: WARNINGS linux-2.6.37.6-x86_64: WARNINGS linux-2.6.38.8-x86_64: WARNINGS linux-2.6.39.4-x86_64: WARNINGS linux-3.0.60-x86_64: WARNINGS linux-3.1.10-x86_64: WARNINGS linux-3.2.37-x86_64: WARNINGS linux-3.3.8-x86_64: WARNINGS linux-3.4.27-x86_64: WARNINGS linux-3.5.7-x86_64: WARNINGS linux-3.6.11-x86_64: WARNINGS linux-3.7.4-x86_64: WARNINGS linux-3.8-x86_64: OK linux-3.9-rc1-x86_64: OK apps: WARNINGS spec-git: OK sparse: ERRORS Detailed results are available here: http://www.xs4all.nl/~hverkuil/logs/Saturday.log Full logs are available here: http://www.xs4all.nl/~hverkuil/logs/Saturday.tar.bz2 The Media Infrastructure API from this daily build is here: http://www.xs4all.nl/~hverkuil/spec/media.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html