Re: Kernel BUG at include/linux/gfp.h:80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Carsten,

On 1/19/06, Carsten Otto <[email protected]> wrote:
> As indicated the sounddriver seems to have some sort of problem. I
> disabled it and now I can boot (without problems).

Does the following patch fix your problem?

			Pekka

Index: 2.6/lib/swiotlb.c
===================================================================
--- 2.6.orig/lib/swiotlb.c
+++ 2.6/lib/swiotlb.c
@@ -444,7 +444,8 @@ swiotlb_alloc_coherent(struct device *hw
 	 * instead, or use ZONE_DMA32 (ia64 overloads ZONE_DMA to be a ~32
 	 * bit range instead of a 16MB one).
 	 */
-	flags |= GFP_DMA;
+	if (!(flags & GFP_DMA32))
+		flags |= GFP_DMA;
 
 	ret = (void *)__get_free_pages(flags, order);
 	if (ret && address_needs_mapping(hwdev, virt_to_phys(ret))) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux