mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Kernel BUG at include/linux/gfp.h:80
@ 2006-01-20 10:16 Pekka J Enberg
  2006-02-13 20:16 ` Carsten Otto
  0 siblings, 1 reply; 8+ messages in thread
From: Pekka J Enberg @ 2006-01-20 10:16 UTC (permalink / raw)
  To: c-otto; +Cc: linux-kernel, ak

Hi Carsten,

On 1/19/06, Carsten Otto <c-otto@gmx.de> 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))) {

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Kernel BUG at include/linux/gfp.h:80
@ 2006-01-19 16:10 Carsten Otto
  2006-01-19 15:57 ` Pekka Enberg
  2006-01-19 16:56 ` Carsten Otto
  0 siblings, 2 replies; 8+ messages in thread
From: Carsten Otto @ 2006-01-19 16:10 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

Hi there!

My kernel panics at every boot, see screenshot[1].

I upgraded my CPU to an Opteron 175 (Dual Core) and enabled SMP in the
kernel. With "nosmp" the kernel boots (but has problems finding one hard
disk later on, some IRQ timeout?). The kernel version is 2.6.15.1,
config see here[2].

With my current non-SMP-kernel (2.6.14.4) everything works.

Please tell me what that BUG message means and how I can get my system
running.

Addition information regarding the hardware can be found here[3].

Thanks a lot,
Carsten

[1]: http://c-otto.de/panic.jpg
[2]: http://c-otto.de/config.txt
[3]: http://c-otto.de/index.php?x=hardware#teile
-- 
Carsten Otto
c-otto@gmx.de
www.c-otto.de

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-14  7:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-20 10:16 Kernel BUG at include/linux/gfp.h:80 Pekka J Enberg
2006-02-13 20:16 ` Carsten Otto
2006-02-14  4:04   ` Andrew Morton
2006-02-14  6:57     ` Carsten Otto
2006-02-14  7:35   ` Pekka J Enberg
  -- strict thread matches above, loose matches on Subject: below --
2006-01-19 16:10 Carsten Otto
2006-01-19 15:57 ` Pekka Enberg
2006-01-19 16:56 ` Carsten Otto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome