Re: + proc-dont-lock-task_structs-indefinitely-cpuset-fix-2.patch added to -mm tree

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

 



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
 [<a0000001000132c0>] show_stack+0x40/0xa0^M
                                sp=e00002bc3a49f9b0 bsp=e00002bc3a499558^M
 [<a000000100013b50>] dump_stack+0x30/0x60^M
                                sp=e00002bc3a49fb80 bsp=e00002bc3a499540^M
 [<a00000010008ff80>] __might_sleep+0x200/0x220^M
                                sp=e00002bc3a49fb80 bsp=e00002bc3a499510^M
 [<a0000001004b58b0>] put_device+0x30/0x60^M
                                sp=e00002bc3a49fb90 bsp=e00002bc3a4994f0^M
 [<a00000010051e470>] scsi_put_command+0x170/0x1a0^M
                                sp=e00002bc3a49fb90 bsp=e00002bc3a499498^M
 [<a000000100528c80>] scsi_next_command+0x40/0x80^M
                                sp=e00002bc3a49fb90 bsp=e00002bc3a499468^M
 [<a0000001005296a0>] scsi_end_request+0x1a0/0x1e0^M
                                sp=e00002bc3a49fb90 bsp=e00002bc3a499420^M
 [<a000000100529a50>] scsi_io_completion+0x370/0x820^M
                                sp=e00002bc3a49fb90 bsp=e00002bc3a499388^M
 [<a000000100529f90>] scsi_blk_pc_done+0x90/0xc0^M
                                sp=e00002bc3a49fba0 bsp=e00002bc3a499368^M
 [<a00000010051d2b0>] scsi_finish_command+0x150/0x180^M
                                sp=e00002bc3a49fba0 bsp=e00002bc3a499338^M
 [<a00000010052a590>] scsi_softirq_done+0x270/0x2a0^M
                                sp=e00002bc3a49fba0 bsp=e00002bc3a499310^M
 [<a0000001003be420>] blk_done_softirq+0x1a0/0x200^M
                                sp=e00002bc3a49fbb0 bsp=e00002bc3a4992f8^M
 [<a0000001000b0070>] __do_softirq+0xd0/0x240^M
                                sp=e00002bc3a49fbc0 bsp=e00002bc3a499280^M
 [<a0000001000b0260>] do_softirq+0x80/0xe0^M
                                sp=e00002bc3a49fbc0 bsp=e00002bc3a499220^M
 [<a0000001000b0340>] irq_exit+0x80/0xc0^M
                                sp=e00002bc3a49fbc0 bsp=e00002bc3a499208^M
 [<a000000100010240>] ia64_handle_irq+0x120/0x140^M
                                sp=e00002bc3a49fbc0 bsp=e00002bc3a4991d0^M
 [<a0000001003ebe40>] __copy_user+0x100/0x960^M
                                sp=e00002bc3a49fd90 bsp=e00002bc3a499110^M
 [<a000000100011ac0>] default_idle+0xc0/0x160^M
                                sp=e00002bc3a49fd90 bsp=e00002bc3a4990f0^M
 [<a000000100012a90>] cpu_idle+0x230/0x300^M
                                sp=e00002bc3a49fe30 bsp=e00002bc3a4990c0^M
 [<a000000100055340>] start_secondary+0x340/0x360^M
                                sp=e00002bc3a49fe30 bsp=e00002bc3a499080^M
 [<a000000100008650>] __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  : [<a0000001001eac90>]    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:
 [<a0000001000132c0>] show_stack+0x40/0xa0
                                sp=e00002343bd978e0 bsp=e00002343bd91278
 [<a000000100013af0>] show_regs+0x7d0/0x800
                                sp=e00002343bd97ab0 bsp=e00002343bd91228
 [<a000000100036df0>] die+0x210/0x320
                                sp=e00002343bd97ab0 bsp=e00002343bd911d8
 [<a00000010005a840>] ia64_do_page_fault+0x900/0xa80
                                sp=e00002343bd97ad0 bsp=e00002343bd91178
 [<a00000010000bd00>] ia64_leave_kernel+0x0/0x290
                                sp=e00002343bd97b80 bsp=e00002343bd91178
 [<a0000001001eac90>] sysfs_create_group+0x30/0x2a0
                                sp=e00002343bd97d50 bsp=e00002343bd91120
 [<a000000100809190>] topology_cpu_callback+0x70/0xc0
                                sp=e00002343bd97d60 bsp=e00002343bd910f0
 [<a000000100809260>] topology_sysfs_init+0x80/0x120
                                sp=e00002343bd97d60 bsp=e00002343bd910d0
 [<a000000100009860>] init+0x580/0x8e0
                                sp=e00002343bd97d60 bsp=e00002343bd910a8
 [<a000000100011780>] kernel_thread_helper+0xe0/0x100
                                sp=e00002343bd97e30 bsp=e00002343bd91080
 [<a000000100009140>] 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 <[email protected]> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux