Public bug reported:

Binary package hint: kernel-image-2.6.22-12-generic-di

libraw1394 will often fail to initialize an iso recv connection with
ENOMEM (e.g. myth tv recording via firewire). I've traced this down to a
vmalloc failure.

kernel version:
Linux mythtv 2.6.22-12-generic #1 SMP Sun Sep 23 20:03:18 GMT 2007 x86_64 
GNU/Linux

dmesg output:
[98343.027489] dma_region_alloc: vmalloc_32() failed

/proc/meminfo contains this about vmalloc:
VmallocTotal: 34359738367 kB
VmallocUsed:     26104 kB
VmallocChunk: 34359712123 kB

Searching for this issue on google, I've found what may be a fix, but I
haven't been able to successfully compile a ubuntu release-like kernel
to test it.

http://lkml.org/lkml/2007/7/18/37

 Index: linux-work/mm/vmalloc.c
> ===================================================================
> --- linux-work.orig/mm/vmalloc.c      2007-07-18 16:22:00.000000000 +1000
> +++ linux-work/mm/vmalloc.c   2007-07-18 16:22:11.000000000 +1000
> @@ -578,9 +578,9 @@ void *vmalloc_exec(unsigned long size)
>  }
> 
>  #if defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA32)
> -#define GFP_VMALLOC32 GFP_DMA32
> +#define GFP_VMALLOC32 GFP_DMA32 | GFP_KERNEL
>  #elif defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA)
> -#define GFP_VMALLOC32 GFP_DMA
> +#define GFP_VMALLOC32 GFP_DMA | GFP_KERNEL
>  #else
>  #define GFP_VMALLOC32 GFP_KERNEL
>  #endif

** Affects: linux-source-2.6.22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vmalloc occasionally fails on x86_64
https://bugs.launchpad.net/bugs/148854
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to