lkml.org 
[lkml]   [1998]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.1.112 SMP No-go
Date
In article <Pine.LNX.3.96.980728215320.788A-100000@air.steve.net>,
Steven N. Hirsch <shirsch@adelphia.net> wrote:
>
>Kernel 2.1.112 hangs at the point where init is normally started. This is
>on a dual PentiumPro box which has worked properly through 2.1.112-pre1
>(didn't try pre-2). Motherboard is an FIC PO-6200 w/ Intel 450GX "Orion"
>chipset.

This is a total brain-fart on my part. Look into the <linux/smp_lock.h>
file, and you'll find an inline function for "lock_kernel()". In that
function, change the "if (lock_depth)" statement to a "if (!lock_depth)"
(ie just add the "!" character to reverse the test). Suddenly
everything works.

This silly thing was that I had fairly extensively tested the new lock
code yesterday with all kinds of extra sanity tests, and then when I
released 2.1.112 I removed the sanity tests and cleaned up the header
file a bit, and the "!" disappeared somewhen during that syntactic
cleanup.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.053 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site