From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 25 Dec 2002 19:42:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 25 Dec 2002 19:42:07 -0500 Received: from mailproxy1.netcologne.de ([194.8.194.222]:55021 "EHLO mailproxy1.netcologne.de") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Wed, 25 Dec 2002 19:42:06 -0500 Content-Type: text/plain; charset="iso-8859-15" From: =?iso-8859-15?q?J=F6rg=20Prante?= Reply-To: joergprante@netcologne.de Subject: 2.4.21pre2 + preempt + xfs BUG? Date: Thu, 26 Dec 2002 01:49:11 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: linux-kernel@vger.kernel.org Cc: linux-xfs@oss.sgi.com, rml@tech9.net Message-Id: <200212260149.11718.joergprante@netcologne.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, in my 2.4.21-pre2 based -jp15 kernel patch set I can't boot with XFS and preemptive kernel enabled. I use: - 2.4.21pre2 - preempt 2.4.20-ac1 - XFS snapshot 2.4.20-2002-11-29_01:21_UTC - and a lot of other patches, see http://infolinux.de/jp15 The kernel boots ok for a long time, but when it enters the init process run level 5, it throws a kernel BUG in the O(1) scheduler code in schedule() at the first statement when it checks for interrupt code. I guess it performs a sync on the XFS root file system for the first time. You can find a ksymoops message below. Here are my observations after several changes in the configuration: - if preemptive kernel is disabled, XFS can boot successfully. So, the bug is triggered by the preemptive kernel patch. - with preemptive kernel enabled and reiserfs, booting is no problem. So, the bug is specific to the combination XFS and preempt. Is it just me with this BUG or can it be reproduced? A release of the patch set is available at http://infolinux.de/jp15/patchset-2.4.21-pre2-jp15.tar.bz2 Best regards, Jörg -----------------------snip----------------------- kernel BUG at sched.c:811! invalid operand: 0000 CPU: 0 EIP: 0010:[] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010202 eax: 00000001 ebx: c1a42000 ecx: 00000001 edx: 00000001 esi: c051cac0 edi: fffffffe ebp: c1a43e50 esp: c1a43e34 ds: 0018 es: 0018 ss: 0018 Process init (pid: 1, stackpage=c1a43000) Stack: c01204b0 c1a0a580 c0534a0c c0534a0c c1a42000 c051cac0 fffffffe c1a43e5c c0116694 c0525200 00000046 c0120296 00000001 00000001 c01200dd c051cac0 c1a42000 c0518900 00000000 c04a5df0 c010a8ff 00000000 c1a43eac c04a5df0 Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 0f 0b 2b 03 bf 72 43 c0 e9 23 fd ff ff 90 89 f6 55 89 e5 53 >>EIP; c0116660 <===== >>ebx; c1a42000 <_end+14e4170/16a21d0> >>esi; c051cac0 >>edi; fffffffe >>ebp; c1a43e50 <_end+14e5fc0/16a21d0> >>esp; c1a43e34 <_end+14e5fa4/16a21d0> Trace; c01204b0 <__run_task_queue+60/80> Trace; c0116694 Trace; c0120296 Trace; c01200dd Trace; c010a8ff Trace; c010d153 Trace; c021f614 Trace; c021c1db Trace; c0116694 Trace; c0130c2d Trace; c021f479 Trace; c0235cec Trace; c014dccf Trace; c014976b Trace; c014989f Trace; c01090cf Code; c0116660 00000000 <_EIP>: Code; c0116660 <===== 0: 0f 0b ud2a <===== Code; c0116662 2: 2b 03 sub (%ebx),%eax Code; c0116664 4: bf 72 43 c0 e9 mov $0xe9c04372,%edi Code; c0116669 9: 23 fd and %ebp,%edi Code; c011666b b: ff (bad) Code; c011666c c: ff 90 89 f6 55 89 call *0x8955f689(%eax) Code; c0116672 12: e5 53 in $0x53,%eax <0>Kernel panic: Aiee, killing interrupt handler!