From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932687AbWCAJxt (ORCPT ); Wed, 1 Mar 2006 04:53:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932689AbWCAJxt (ORCPT ); Wed, 1 Mar 2006 04:53:49 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:40118 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S932687AbWCAJxs (ORCPT ); Wed, 1 Mar 2006 04:53:48 -0500 Date: Wed, 1 Mar 2006 01:53:38 -0800 From: Paul Jackson To: Andrew Morton Cc: ebiederm@xmission.com, linux-kernel@vger.kernel.org Subject: Re: + proc-dont-lock-task_structs-indefinitely-cpuset-fix-2.patch added to -mm tree Message-Id: <20060301015338.b296b7ad.pj@sgi.com> In-Reply-To: <20060301002631.48e3800e.akpm@osdl.org> References: <200603010120.k211KqVP009559@shell0.pdx.osdl.net> <20060228181849.faaf234e.pj@sgi.com> <20060228183610.5253feb9.akpm@osdl.org> <20060228194525.0faebaaa.pj@sgi.com> <20060228201040.34a1e8f5.pj@sgi.com> <20060228212501.25464659.pj@sgi.com> <20060228234807.55f1b25f.pj@sgi.com> <20060301002631.48e3800e.akpm@osdl.org> Organization: SGI X-Mailer: Sylpheed version 2.1.7 (GTK+ 2.4.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ok - down to the patch: 1) gregkh-driver-empty_release_functions_are_broken.patch - good 2) gregkh-driver-allow-sysfs-attribute-files-to-be-pollable.patch - special case 3) gregkh-driver-fix-up-the-sysfs-pollable-patch.patch - bad Up through and including (1), it all seems fine. With (3) or more loaded, it fails to boot, with the crash given before (and appended below for completeness). With patchs up through (2) loaded, it boots, but complains 27 times during the boot One of the 27 complaints for special case (2): ================================= begin ================================= Debug: sleeping function called from invalid context at drivers/base/core.c:343^M in_atomic():1, irqs_disabled():0^M ^M Call Trace:^M [] show_stack+0x40/0xa0^M sp=e00002bc3a49f9b0 bsp=e00002bc3a499558^M [] dump_stack+0x30/0x60^M sp=e00002bc3a49fb80 bsp=e00002bc3a499540^M [] __might_sleep+0x200/0x220^M sp=e00002bc3a49fb80 bsp=e00002bc3a499510^M [] put_device+0x30/0x60^M sp=e00002bc3a49fb90 bsp=e00002bc3a4994f0^M [] scsi_put_command+0x170/0x1a0^M sp=e00002bc3a49fb90 bsp=e00002bc3a499498^M [] scsi_next_command+0x40/0x80^M sp=e00002bc3a49fb90 bsp=e00002bc3a499468^M [] scsi_end_request+0x1a0/0x1e0^M sp=e00002bc3a49fb90 bsp=e00002bc3a499420^M [] scsi_io_completion+0x370/0x820^M sp=e00002bc3a49fb90 bsp=e00002bc3a499388^M [] scsi_blk_pc_done+0x90/0xc0^M sp=e00002bc3a49fba0 bsp=e00002bc3a499368^M [] scsi_finish_command+0x150/0x180^M sp=e00002bc3a49fba0 bsp=e00002bc3a499338^M [] scsi_softirq_done+0x270/0x2a0^M sp=e00002bc3a49fba0 bsp=e00002bc3a499310^M [] blk_done_softirq+0x1a0/0x200^M sp=e00002bc3a49fbb0 bsp=e00002bc3a4992f8^M [] __do_softirq+0xd0/0x240^M sp=e00002bc3a49fbc0 bsp=e00002bc3a499280^M [] do_softirq+0x80/0xe0^M sp=e00002bc3a49fbc0 bsp=e00002bc3a499220^M [] irq_exit+0x80/0xc0^M sp=e00002bc3a49fbc0 bsp=e00002bc3a499208^M [] ia64_handle_irq+0x120/0x140^M sp=e00002bc3a49fbc0 bsp=e00002bc3a4991d0^M [] __copy_user+0x100/0x960^M sp=e00002bc3a49fd90 bsp=e00002bc3a499110^M [] default_idle+0xc0/0x160^M sp=e00002bc3a49fd90 bsp=e00002bc3a4990f0^M [] cpu_idle+0x230/0x300^M sp=e00002bc3a49fe30 bsp=e00002bc3a4990c0^M [] start_secondary+0x340/0x360^M sp=e00002bc3a49fe30 bsp=e00002bc3a499080^M [] __end_ivt_text+0x330/0x360^M sp=e00002bc3a49fe30 bsp=e00002bc3a499080^M ================================== end ================================== The boottime crash seen in case (3) and beyond: ================================= begin ================================= pci_hotplug: PCI Hot Plug PCI Core version: 0.5 SGI Altix RTC Timer: v2.1, 20 MHz EFI Time Services Driver v0.4 Linux agpgart interface v0.101 (c) Dave Jones sn_console: Console driver init ttySG0 at I/O 0x0 (irq = 0) is a SGI SN L1 Unable to handle kernel NULL pointer dereference (address 0000000000000058) swapper[1]: Oops 8813272891392 [1] Modules linked in: Pid: 1, CPU 0, comm: swapper psr : 0000101008026018 ifs : 800000000000040b ip : [] Not tainted ip is at sysfs_create_group+0x30/0x2a0 unat: 0000000000000000 pfs : 0000000000000308 rsc : 0000000000000003 rnat: 0000000002000027 bsps: 0000000000000002 pr : 0000000000005649 ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70433f csd : 0000000000000000 ssd : 0000000000000000 b0 : a000000100809190 b6 : e000023002310080 b7 : a0000001008091e0 f6 : 1003e0000000000000000 f7 : 1003e20c49ba5e353f7cf f8 : 1003e0000000000003398 f9 : 1003e000000000000007f f10 : 1003e0000000000000000 f11 : 1003e0000000000000000 r1 : a000000100c70cc0 r2 : 0000000000000058 r3 : a000000100a80ef8 r8 : 0000000000000000 r9 : a000000100c95820 r10 : ffffffffffffffff r11 : 0000000000000400 r12 : e00002343bd97d50 r13 : e00002343bd90000 r14 : a000000100a83360 r15 : a000000100c95820 r16 : a000000100a80f00 r17 : 00000000000003c0 r18 : 0000000000000001 r19 : 0000000000000002 r20 : ffffffffffffffff r21 : 0000000000000000 r22 : 000000000000000e r23 : a000000100a720a8 r24 : a000000100812c40 r25 : a000000100a77698 r26 : a000000100a88b60 r27 : a0000001008f3b88 r28 : e00002bc3a0432f0 r29 : 0000000000000001 r30 : a0000001007d0db8 r31 : a0000001008091e0 Call Trace: [] show_stack+0x40/0xa0 sp=e00002343bd978e0 bsp=e00002343bd91278 [] show_regs+0x7d0/0x800 sp=e00002343bd97ab0 bsp=e00002343bd91228 [] die+0x210/0x320 sp=e00002343bd97ab0 bsp=e00002343bd911d8 [] ia64_do_page_fault+0x900/0xa80 sp=e00002343bd97ad0 bsp=e00002343bd91178 [] ia64_leave_kernel+0x0/0x290 sp=e00002343bd97b80 bsp=e00002343bd91178 [] sysfs_create_group+0x30/0x2a0 sp=e00002343bd97d50 bsp=e00002343bd91120 [] topology_cpu_callback+0x70/0xc0 sp=e00002343bd97d60 bsp=e00002343bd910f0 [] topology_sysfs_init+0x80/0x120 sp=e00002343bd97d60 bsp=e00002343bd910d0 [] init+0x580/0x8e0 sp=e00002343bd97d60 bsp=e00002343bd910a8 [] kernel_thread_helper+0xe0/0x100 sp=e00002343bd97e30 bsp=e00002343bd91080 [] start_kernel_thread+0x20/0x40 sp=e00002343bd97e30 bsp=e00002343bd91080 <0>Kernel panic - not syncing: Attempted to kill init! ================================== end ================================== -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401