Hello, In linux 3.4 unloading sun4i-keyboard causes an error.
In proc/irq there is directory /proc/irq/31/sun4ikbd/ with no files. Pressing keys causes increase of count in /proc/irq/31/spurious Thanks Michal [16788.702114] ------------[ cut here ]------------ [16788.715002] WARNING: at /scratch/build/linux-2.6/kernel/irq/manage.c:1195 __free_irq+0x98/0x1c4() [16788.727611] Trying to free already-free IRQ 31 [16788.734196] Modules linked in: sun4i_keyboard(-) 8188eu [16788.750482] [<c001408c>] (unwind_backtrace+0x0/0x138) from [<c002dee4>] (warn_slowpath_common+0x4c/0x64) [16788.768880] [<c002dee4>] (warn_slowpath_common+0x4c/0x64) from [<c002df90>] (warn_slowpath_fmt+0x30/0x40) [16788.786585] [<c002df90>] (warn_slowpath_fmt+0x30/0x40) from [<c007b384>] (__free_irq+0x98/0x1c4) [16788.802662] [<c007b384>] (__free_irq+0x98/0x1c4) from [<c007b4f0>] (free_irq+0x40/0x7c) [16788.819563] [<c007b4f0>] (free_irq+0x40/0x7c) from [<bf092328>] (sun4ikbd_exit+0x10/0x28 [sun4i_keyboard]) [16788.839178] [<bf092328>] (sun4ikbd_exit+0x10/0x28 [sun4i_keyboard]) from [<c00685b0>] (sys_delete_module+0x1dc/0x290) [16788.858511] [<c00685b0>] (sys_delete_module+0x1dc/0x290) from [<c000ed00>] (ret_fast_syscall+0x0/0x30) [16788.872001] ---[ end trace 222ef618bbbff8da ]--- [16856.987296] Modules linked in: sun4i_keyboard(+) 8188eu [last unloaded: sun4i_keyboard] [16857.005557] CPU: 0 Tainted: G W (3.4.103+ #36) [16857.014077] PC is at strnlen+0x10/0x64 [16857.021079] LR is at string.isra.0+0x34/0xd8 [16857.046125] pc : [<c027016c>] lr : [<c02718c4>] psr: a0000093 [16857.046142] sp : df83fd1c ip : ffffffff fp : c05b5e88 [16857.085869] r10: df83fe30 r9 : c07b63f8 r8 : 00000000 [16857.108285] r7 : bf092424 r6 : ffffffff r5 : c080b6ec r4 : fffffffe [16857.131932] r3 : 00000000 r2 : bf092424 r1 : ffffffff r0 : bf092424 [16857.156090] Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user [16857.179418] Control: 10c5387d Table: 5e034019 DAC: 00000015 [16857.198484] [16857.198493] PC: 0xc02700ec: [16857.225121] 00ec e2033020 e6ef3073 e3530000 012fff1e e2803001 e1a00003 e2833001 e5d02000 [16857.251809] 010c e7d12002 e2022020 e6ef2072 e3520000 1afffff7 e12fff1e c05b5e88 e5d02000 [16857.278281] 012c e3520000 0a000007 e2803001 e1a02003 e2833001 e5d21000 e3510000 1afffffa [16857.304622] 014c e0600002 e12fff1e e1a00002 e12fff1e e3510000 e52d4004 e2414001 0a000012 [16857.330838] 016c e5d01000 e3510000 0a00000f e2802001 e3a03000 ea000003 e5d2c000 e2822001 [16857.356952] 018c e35c0000 0a000006 e1540003 e1a01002 e2833001 1afffff7 e0600002 e8bd0010 [16857.382875] 01ac e12fff1e e0600001 eafffffb e1a00001 eafffff9 e92d0030 e5d0c000 e35c0000 [16857.408583] 01cc 01a0000c 0a00000d e5d14000 e1a05000 e3540000 0a000010 e3a00000 e154000c [16857.435263] [16857.435273] LR: 0xc0271844: [16857.458197] 1844 e1a04001 e523200c e1a01003 eb001628 e59d1004 e28d2008 e1a05000 eb001647 [16857.483310] 1864 e3540000 e59d100c e3c00102 e0855000 e59d0008 15845000 e28dd014 e8bd8030 [16857.508468] 1884 e92d4008 ebffffea e8bd8008 e92d41f0 e3520a01 e59f70c4 e1a08003 e2088010 [16857.533568] 18a4 21a07002 e1a04000 e1a05001 e1a00007 e1dd11fc e6ef8078 e1dd61f8 ebfffa25 [16857.558652] 18c4 e3580000 1a00000c e2461001 e1500006 e6bf6071 aa000008 e3a0c020 e1550004 [16857.583736] 18e4 e1a01006 85c4c000 e2466001 e1500001 e2844001 e6bf6076 bafffff7 e3500000 [16857.608786] 1904 da000008 e2873001 e0842000 e1550004 85531001 e2833001 85c41000 e2844001 [16857.633730] 1924 e1540002 1afffff8 e2463001 e1500006 e6bf3073 aa000007 e3a01020 e1550004 [16857.659752] [16857.659761] SP: 0xdf83fc9c: [16857.682317] fc9c 00000006 0000000a df803000 dfaecc00 df803000 c08ab948 ffffffff c027016c [16857.707349] fcbc a0000093 ffffffff df83fd04 00000000 c000e758 bf092424 ffffffff bf092424 [16857.732407] fcdc 00000000 fffffffe c080b6ec ffffffff bf092424 00000000 c07b63f8 df83fe30 [16857.757580] fcfc c05b5e88 ffffffff df83fd1c c02718c4 c027016c a0000093 ffffffff c080b238 [16857.782866] fd1c c080b300 c080b300 c06a6ab0 c06a6ab2 00000002 c080b6ec c027299c ffffffff [16857.808259] fd3c ffffffff 00000000 00005542 c080b2ec 00000400 ff0a0004 ffffffff 333cfdbe [16857.833654] fd5c 00000400 00000000 c080b2ec 00000400 df83fe2c c07b63f8 c06a6a9c 00000000 [16857.859014] fd7c c0272c64 c080b2ec c002e9e8 0000003a df83fdbe 1e19676a 0000083b cff4deed [16857.885623] [16857.885632] FP: 0xc05b5e08: [16857.909401] 5e08 00000000 c025c190 c025d204 00000000 00000000 c025c814 00000000 c025c580 [16857.934837] 5e28 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [16857.960175] 5e48 00000000 00000000 00000000 00000000 00000000 ffffffea 00000000 5f6b6c62 [16857.985321] 5e68 65746e69 74697267 6f635f79 7261706d 00000065 c0264500 c0264518 00000000 [16858.010549] 5e88 08080808 08080808 28282808 08082828 08080808 08080808 08080808 08080808 [16858.035824] 5ea8 101010a0 10101010 10101010 10101010 04040404 04040404 10100404 10101010 [16858.061163] 5ec8 41414110 01414141 01010101 01010101 01010101 01010101 10010101 10101010 [16858.086553] 5ee8 42424210 02424242 02020202 02020202 02020202 02020202 10020202 08101010 [16858.112999] [16858.113008] R5: 0xc080b66c: [16858.136440] b66c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [16858.161733] b68c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [16858.186776] b6ac 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [16858.211562] b6cc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [16858.236103] b6ec 00000002 00000000 0019439a 5b3e363c 20202020 30302e30 30303030 6f42205d [16858.260654] b70c 6e69746f 694c2067 2078756e 70206e6f 69737968 206c6163 20555043 363c0a30 [16858.285233] b72c 20205b3e 2e302020 30303030 205d3030 74696e49 696c6169 676e697a 72676320 [16858.309873] b74c 2070756f 73627573 63207379 65737570 353c0a74 20205b3e 2e302020 30303030 [16858.335725] [16858.335734] R9: 0xc07b6378: [16858.357964] 6378 00000000 00000001 00000002 00000003 00000004 00000005 00000006 00000007 [16858.382630] 6398 00000008 00000009 0000000a 0000000b 0000000c 0000000d 0000000e 0000000f [16858.407082] 63b8 00000010 00000011 00000012 00000013 00000014 00000015 00000016 00000017 [16858.431376] 63d8 00000018 00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f [16858.455500] 63f8 c080b6f8 00080000 00000001 c07b6404 c07b6404 000001f4 0000000a 00000001 [16858.479506] 6418 00000000 ffff8aef 00000001 c07b6424 c07b6424 0000000f 00000004 00000001 [16858.503309] 6438 00000007 00000001 00000004 de337f08 de337f08 ffffffff 00000000 00000001 [16858.527067] 6458 00000001 ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 [16858.551936] [16858.551945] R10: 0xdf83fdb0: [16858.572158] fdb0 00000000 00320000 00000004 315b0000 36353836 3034392e 5d313036 00000020 [16858.595802] fdd0 dfb77e00 000000c3 00000000 c051b488 00000000 80150014 00000014 c051b488 [16858.619727] fdf0 00000000 c07bad70 de2cda40 60000013 bf092424 0000001f 00000000 00000000 [16858.643594] fe10 00000000 c0519dc0 df83fe95 df83fe2c 00000002 c007bf94 c06a6a9c bf092424 [16858.667464] fe30 20000093 c07b6660 bf0964f8 0000001c bf098000 de2cda40 c07bad70 bf096000 [16858.691292] fe50 00000000 0000001f 00000000 c007c068 02c00049 bf096648 de2cd9c0 bf0964f8 [16858.715127] fe70 0000001c bf098000 df83e000 bf09815c bf096478 00000000 0000000d 00000000 [16858.739070] fe90 3179656b 6f635f32 00006564 00000000 00000001 bf0964f8 00000001 c0008640 [16859.404337] [<c027016c>] (strnlen+0x10/0x64) from [<c080b300>] (printk_buf+0x14/0x400) [16859.452362] ---[ end trace 222ef618bbbff8db ]--- [16859.471318] note: insmod[707] exited with preempt_count 2 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
