lkml.org 
[lkml]   [2006]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: CONFIG_MK6 = lsof hangs unkillable
Date

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

> Adrian Bunk <bunk@stusta.de> wrote:
>>
>> On Fri, Jan 20, 2006 at 04:44:07AM -0800, Andrew Morton wrote:
>>> Tony Mantler <nicoya@ubb.ca> 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@ubb.ca
-- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-20 23:49    [W:0.052 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site