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

Bug#288180: Real solution for the nis problem



Hi,

After some additional debugging David Miller has released a patch which properly solves this lock-up [0]. I have rediffed it against the current kernel-source-2.6.10, the result is attached to this message and also available at [1]. I have built a fixed kernel and it appears to take care of the hang. Please test the kernel at [2] to make sure that the problem is gone now (the kernel containing the previous "fix" has been moved to old/).

[0] http://marc.theaimsgroup.com/?l=linux-sparc&m=110783666022200&w=2
[1] http://www.wooyd.org/debian/patches/2.6.10-compat_h.patch
[2] http://www.wooyd.org/debian/bug288180

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC
--- a/include/asm-sparc64/compat.h	2004-12-24 16:35:00.000000000 -0500
+++ b/include/asm-sparc64/compat.h	2005-02-07 23:50:13.000000000 -0500
@@ -128,6 +128,8 @@
 
 	if (!(test_thread_flag(TIF_32BIT)))
 		usp += STACK_BIAS;
+	else
+		usp &= 0xffffffffUL;
 
 	return (void __user *) (usp - len);
 }

Reply to: