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

From: Marco Fais
Date: Mon Apr 05 2004 - 09:10:37 EST


Marco Roeland ha scritto:

There is an '8139cp' driver too, it's supposed to be working better
as well, perhaps that one might not free the pages that are to be
zero_copied across the network before they are sent?! That is the real
problem if I understand Andrew's mail correctly.

Just tried that, unfortunately this network card isn't supported from 8139cp driver.

You might send a 'linux 8139too sendfile() panic' kind of bugreport
to the 'netdev@xxxxxxxxxxx' mailing list. That is the list where the
networking gurus are supposed to be hanging out. Although IMVHO this bug

Andrew's messages are in CC: to the netdev@xxxxxxxxxxx list, so I think they're already aware of the problem.

is more on the kernel than on the network side. Also filing an entry to
bugzilla.kernel.org might speed up someone fixing the real problem.

Ok, let see if we get a patch from this discussion, otherwise I'll file a new bugzilla entry.

Easiest workaround might be to just use a customised distcc for the
machines involved: just download the source from 'distcc.samba.org', do
a regular './configure', and then in the generated 'src/config.h' hand
edit '#undef HAVE_SENDFILE' and '#undef HAVE_SYS_SENDFILE_H'. That
should stop distcc from using sendfile().

Great! I'm going to test that right now, surely better than deploying customized kernels in all servers until an "official" patch comes out.

Thank you very much, Marco.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/