Re: CONFIG_MK6 = lsof hangs unkillable

From: Tony Mantler
Date: Fri Jan 20 2006 - 17:45:46 EST



On 20-Jan-06, at 4:41 PM, Andrew Morton wrote:

Adrian Bunk <bunk@xxxxxxxxx> wrote:

On Fri, Jan 20, 2006 at 04:44:07AM -0800, Andrew Morton wrote:
Tony Mantler <nicoya@xxxxxx> wrote:

I'm having trouble running lsof on 2.6.15.1 when the kernel is
compiled with CONFIG_MK6. When run as root, lsof will segfault, and
when run as a user lsof will hang unkillable.

The same kernel, same machine, but compiled with CONFIG_MK7 runs just
lsof just fine.

That's creepy. CONFIG_MK6 hardly does anything. The main thing it does is
feed `-march=k6' into the compiler. MK7 uses `-march=athlon'.
...

CONFIG_MK7 results in a bigger L1_CACHE_SHIFT than CONFIG_MK6.

AFAIR it wouldn't be the first time that changing L1_CACHE_SHIFT would
hide a real bug visible with a different L1_CACHE_SHIFT.


hm, OK. Well that's something we can ask Tony to eliminate, by patching
his Kconfig.cpu to make CONFIG_MK6 have the larger L1_CACHE_SHIFT (and/or
vice versa).

Just tested that a few seconds ago, actually.

CONFIG_MK6 with CONFIG_L1_CACHE_SHIFT=6 results in the same crash.

I'm going to twiddle the configs again and see if I can make a CONFIG_MK7 kernel with -march=k6


Cheers - Tony 'Nicoya' Mantler :)

--
Tony 'Nicoya' Mantler -- Master of Code-fu -- nicoya@xxxxxx
-- http://nicoya.feline.pp.se/ -- http://www.ubb.ca/ --

-
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/