netdev
[Top] [All Lists]

Re: kernel BUG at page_alloc.c:98 -- compiling with distcc

To: Marco Fais <marco.fais@xxxxxxxxxxx>
Subject: Re: kernel BUG at page_alloc.c:98 -- compiling with distcc
From: Andrew Morton <akpm@xxxxxxxx>
Date: Mon, 5 Apr 2004 03:56:06 -0700
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <4071394A.1060007@abbeynet.it>
References: <406D3E8F.20902@abbeynet.it> <20040402153628.4a09d979.akpm@osdl.org> <4071394A.1060007@abbeynet.it>
Sender: netdev-bounce@xxxxxxxxxxx
Marco Fais <marco.fais@xxxxxxxxxxx> wrote:
>
> Andrew Morton ha scritto:
> 
> >>kernel BUG at page_alloc.c:98!
> > uh-oh.
> 
> That was the same thing that I've said when I saw all the leds blinking 
> in *all* the keyboards ... :)
> 
> > distcc uses sendfile().  The 8139too hardware and driver are
> > zerocopy-capable so the kernel uses zerocopy direct-from-user-pages for
> > sendfile().
> 
> Ok. Other servers with e100 driver doesn't show the problem. This means 
> that they're not "zerocopy-capable"?

They are.  It could be a timing thing.

> > This was all discussed fairly extensively a couple of years back and I
> > thought it ended up being fixed.
> 
> There are any workarounds for this, until the problem is corrected?

This will probably make it go away.

--- linux-2.4.26-rc1/drivers/net/8139too.c      2004-03-27 22:06:18.000000000 
-0800
+++ 24/drivers/net/8139too.c    2004-04-05 03:54:50.478692968 -0700
@@ -983,7 +983,7 @@ static int __devinit rtl8139_init_one (s
         * through the use of skb_copy_and_csum_dev we enable these
         * features
         */
-       dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
+       dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA;
 
        dev->irq = pdev->irq;
 


<Prev in Thread] Current Thread [Next in Thread>