Re: CONFIG_MK6 = lsof hangs unkillable

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

 




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

Adrian Bunk <[email protected]> wrote:

On Fri, Jan 20, 2006 at 04:44:07AM -0800, Andrew Morton wrote:
Tony Mantler <[email protected]> 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 -- [email protected]
--  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 [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