From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: raid5 rmmod bug oops Date: Wed, 4 Dec 2013 17:54:04 +1100 Message-ID: <20131204175404.0dde26e6@notabene.brown> References: <6da697f7-5486-4b67-9957-687db9c42db2@aliyun.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/akBEln16jaPFsIRtrb=cdsr"; protocol="application/pgp-signature" Return-path: In-Reply-To: <6da697f7-5486-4b67-9957-687db9c42db2@aliyun.com> Sender: linux-raid-owner@vger.kernel.org To: lilofile Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids --Sig_/akBEln16jaPFsIRtrb=cdsr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 04 Dec 2013 14:34:00 +0800 "lilofile" wrote: > I download linux 3.10.21 source and compile system,when I load md-mod.= ko raid456.ko, Immediately rmmod raid456.ko md-mod.ko,=20 > System error as follows: >=20 > Dec 4 14:00:37 host2-X8DTS kernel: [ 414.981261] md: raid6 personality = unregistered > Dec 4 14:00:37 host2-X8DTS kernel: [ 414.981268] md: raid5 personality = unregistered > Dec 4 14:00:37 host2-X8DTS kernel: [ 414.981271] md: raid4 personality = unregistered > Dec 4 14:00:38 host2-X8DTS kernel: [ 416.422769] md: raid1 personality = unregistered > Dec 4 14:00:41 host2-X8DTS kernel: [ 418.632353] md: raid10 personality= unregistered > Dec 4 14:00:42 host2-X8DTS kernel: [ 420.577832] md: multipath personal= ity unregistered > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574371] BUG: unable to handle = kernel paging request at ffffffffa0113000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574381] IP: [] _raw_spin_lock_irqsave+0x11/0x30 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574399] PGD 1c0c067 PUD 1c0d06= 3 PMD 2289da067 PTE 0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574404] Oops: 0002 [#1] SMP=20 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574407] Modules linked in: cor= etemp kvm_intel kvm bnep ghash_clmulni_intel rfcomm bluetooth aesni_intel a= blk_helper joydev cryptd lrw gf128mul psmouse glue_helper i7core_edac aes_x= 86_64 gpio_ich ioatdma serio_raw edac_core microcode lpc_ich mac_hid parpor= t_pc ppdev lp parport async_pq async_xor xor async_memcpy async_raid6_recov= raid6_pq async_tx hid_generic usbhid hid igb mpt2sas dca scsi_transport_sa= s i2c_algo_bit raid_class ptp mlx4_core pps_core [last unloaded: md_mod] > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574451] CPU: 11 PID: 2497 Comm= : udisks-daemon Not tainted 3.10.21 #1 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574455] Hardware name: Supermi= cro B8DTP/B8DTP, BIOS 080015 03/17/2010 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574457] task: ffff880228430000= ti: ffff880228db4000 task.ti: ffff880228db4000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574459] RIP: 0010:[] [] _raw_spin_lock_irqsave+0x11/0x30 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574465] RSP: 0018:ffff880228db= 5ab8 EFLAGS: 00010082 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574467] RAX: 0000000000000282 = RBX: ffffffffa0113000 RCX: ffff8802286258d0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574470] RDX: 0000000000010000 = RSI: ffff880228db5c08 RDI: ffffffffa0113000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574473] RBP: ffff880228db5ab8 = R08: ffff880227a92438 R09: 0000000000000000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574475] R10: 0000000000000000 = R11: 0000000000000000 R12: ffff880228db5c08 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574478] R13: ffff880228db5b88 = R14: ffff880228db5e2c R15: 0000000000000001 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574481] FS: 00007f9042f9f7c0(= 0000) GS:ffff88023fce0000(0000) knlGS:0000000000000000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574484] CS: 0010 DS: 0000 ES:= 0000 CR0: 0000000080050033 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574486] CR2: ffffffffa0113000 = CR3: 00000002331db000 CR4: 00000000000007e0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574489] DR0: 0000000000000000 = DR1: 0000000000000000 DR2: 0000000000000000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574491] DR3: 0000000000000000 = DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574493] Stack: > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574495] ffff880228db5ad8 ffff= ffff8106a2f0 0000000000000002 ffff880228db5bf8 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574502] ffff880228db5b28 ffff= ffff8118b1ee ffff880228db5af8 0000000000000000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574508] ffff880228db5b28 0000= 000000771d20 0000000000000001 0000000000000001 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574515] Call Trace: > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574526] [] = remove_wait_queue+0x20/0x70 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574535] [] = poll_freewait+0x4e/0xe0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574541] [] = do_sys_poll+0x163/0x4d0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574546] [] = ? __pollwait+0xf0/0xf0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574551] [] = ? __pollwait+0xf0/0xf0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574559] [] = ? __pollwait+0xf0/0xf0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574564] [] = ? __pollwait+0xf0/0xf0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574570] [] = ? __pollwait+0xf0/0xf0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574578] [] = ? verify_iovec+0x56/0xd0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574587] [] = ? ___sys_recvmsg+0x192/0x2a0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574595] [] = ? handle_mm_fault+0x210/0x310 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574604] [] = ? eventfd_ctx_read+0x59/0x200 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574612] [] = ? try_to_wake_up+0x2b0/0x2b0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574620] [] = ? ktime_get_ts+0x4c/0xe0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574626] [] = ? poll_select_set_timeout+0x85/0xa0 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574632] [] = SyS_poll+0x6b/0x100 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574641] [] = system_call_fastpath+0x16/0x1b > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574644] Code: 89 d0 f0 0f b1 0= f 39 d0 75 e5 b8 01 00 00 00 5d c3 66 0f 1f 84 00 00 00 00 00 66 66 66 66 9= 0 55 48 89 e5 9c 58 fa ba 00 00 01 00 0f c1 17 89 d1 c1 e9 10 66 39 d1= 74 0b 90 f3 90 0f b7 17 66=20 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574679] RIP [] _raw_spin_lock_irqsave+0x11/0x30 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574683] RSP > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574684] CR2: ffffffffa0113000 > Dec 4 14:02:03 host2-X8DTS kernel: [ 501.574687] ---[ end trace 033ae58= aa75ca232 ]--- > Dec 4 14:09:01 host2-X8DTS kernel: [ 919.511367] type=3D1400 audit(1386= 137341.577:29): apparmor=3D"DENIED" operation=3D"capable" parent=3D1 profil= e=3D"/usr/sbin/cupsd" pid=3D1069 comm=3D"cupsd" pid=3D1069 comm=3D"cupsd" c= apability=3D36 capname=3D"block_suspend" > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109803] BUG: unable to handle = kernel paging request at ffffffffa0113000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109812] IP: [] _raw_spin_lock_irqsave+0x11/0x30 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109825] PGD 1c0c067 PUD 1c0d06= 3 PMD 2289da067 PTE 0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109831] Oops: 0002 [#2] SMP=20 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109835] Modules linked in: cor= etemp kvm_intel kvm bnep ghash_clmulni_intel rfcomm bluetooth aesni_intel a= blk_helper joydev cryptd lrw gf128mul psmouse glue_helper i7core_edac aes_x= 86_64 gpio_ich ioatdma serio_raw edac_core microcode lpc_ich mac_hid parpor= t_pc ppdev lp parport async_pq async_xor xor async_memcpy async_raid6_recov= raid6_pq async_tx hid_generic usbhid hid igb mpt2sas dca scsi_transport_sa= s i2c_algo_bit raid_class ptp mlx4_core pps_core [last unloaded: md_mod] > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109874] CPU: 9 PID: 1318 Comm:= mdadm Tainted: G D 3.10.21 #1 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109877] Hardware name: Supermi= cro B8DTP/B8DTP, BIOS 080015 03/17/2010 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109880] task: ffff8801281b5c40= ti: ffff880128fe8000 task.ti: ffff880128fe8000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109882] RIP: 0010:[] [] _raw_spin_lock_irqsave+0x11/0x30 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109887] RSP: 0018:ffff880128fe= 9978 EFLAGS: 00010086 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109890] RAX: 0000000000000286 = RBX: ffffffffa0113000 RCX: 0000000000000001 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109892] RDX: 0000000000010000 = RSI: ffff880128fe9af8 RDI: ffffffffa0113000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109894] RBP: ffff880128fe9978 = R08: 0000000000000001 R09: 0000000000000000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109895] R10: 0000000000000000 = R11: 0000000000000000 R12: ffff880128fe9af8 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109897] R13: ffff880128fe9ab8 = R14: 0000000000000010 R15: ffff880228160400 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109900] FS: 00007f610504a700(= 0000) GS:ffff88023fca0000(0000) knlGS:0000000000000000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109902] CS: 0010 DS: 0000 ES:= 0000 CR0: 000000008005003b > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109904] CR2: ffffffffa0113000 = CR3: 000000013abaa000 CR4: 00000000000007e0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109907] DR0: 0000000000000000 = DR1: 0000000000000000 DR2: 0000000000000000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109909] DR3: 0000000000000000 = DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109910] Stack: > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109912] ffff880128fe9998 ffff= ffff8106a2f0 0000000000000001 ffff880128fe9ae8 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109917] ffff880128fe99e8 ffff= ffff8118b1ee ffff880128fe99b8 0000000000000000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109921] ffff880128fe99e8 0000= 000000000005 0000000000000005 0000000000000020 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109926] Call Trace: > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109933] [] = remove_wait_queue+0x20/0x70 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109940] [] = poll_freewait+0x4e/0xe0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109943] [] = do_select+0x617/0x690 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109948] [] = ? __pollwait+0xf0/0xf0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109956] [] = ? lru_cache_add_lru+0x24/0x50 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109962] [] = ? page_add_new_anon_rmap+0x72/0xf0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109968] [] = ? handle_pte_fault+0x7a7/0x920 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109973] [] = ? security_inode_alloc+0x1e/0x20 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109980] [] = ? seq_release+0x30/0x30 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109984] [] = ? seq_open+0x84/0x160 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109991] [] = ? radix_tree_lookup_slot+0xe/0x10 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.109997] [] = ? find_get_page+0x1e/0x90 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110000] [] = ? filemap_fault+0xd8/0x4b0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110004] [] = ? unlock_page+0x27/0x30 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110008] [] = ? __do_fault+0x3b9/0x4a0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110012] [] = core_sys_select+0x1d2/0x310 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110018] [] = ? __do_page_fault+0x284/0x4e0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110022] [] = ? seq_read+0x101/0x3e0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110028] [] = ? ktime_get_ts+0x4c/0xe0 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110032] [] = SyS_select+0xc1/0x100 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110038] [] = system_call_fastpath+0x16/0x1b > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110040] Code: 89 d0 f0 0f b1 0= f 39 d0 75 e5 b8 01 00 00 00 5d c3 66 0f 1f 84 00 00 00 00 00 66 66 66 66 9= 0 55 48 89 e5 9c 58 fa ba 00 00 01 00 0f c1 17 89 d1 c1 e9 10 66 39 d1= 74 0b 90 f3 90 0f b7 17 66=20 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110073] RIP [] _raw_spin_lock_irqsave+0x11/0x30 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110078] RSP > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110080] CR2: ffffffffa0113000 > Dec 4 14:11:09 host2-X8DTS kernel: [ 1047.110083] ---[ end trace 033ae58= aa75ca233 ]--- >=20 > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Yes, this has some up before. No-one has fixed it yet though. http://www.spinics.net/lists/raid/msg37689.html NeilBrown --Sig_/akBEln16jaPFsIRtrb=cdsr Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIVAwUBUp7RjDnsnt1WYoG5AQKrJg//eyi0M01PpUl4oQlGkUBc2R+E02BWu+IN 4CSCHVjhgDsWOJs+z39TWLDOO0KODM+skwR/9nRo6NMJocgwZ/4VrMi5MRH0YyBO Lx3fwzWPSbbSATecyYpE9zeRv0xyanyOZqO4bcBVlbXfqCSg91Rljtu1gmgAC2zX 9JqT1Ptlquq8psmpldwYAgNf28MrEt6mJkfMunOCGQmDVOlEzjp6uRD2cWtDxS1V vbgX5xwEGfbucSd+MSnhjXVsB/H8d2U7tJBh0XSURNGS8WoQgggX/qGyikm5DMkN x306X3RqKCO9r/pEs7tEPUx+WdEJrTHNfWtZKPiZNEOeYQiGlVBMoU92cq+z28MB fA4AoCiKN6zscNJnkKsgxYp2WPSynUAYb0K0sVAazMd3h3Axlj7OGwjTka6f8TUu xDUJoRbul1kEGdJLApyktqOD/TuSHKHzVZOoaefHnyvm80As5AlLC2bqEajl2Tib IhWGdK7YpPN9Vsjzo862kmdKCr2FmTyFiDhw1P99W88DFUEpM2lCFlOCIx6BSoDc vQmZb88F5kaBcW+2n6/0ets+/kxCmKlEqXZnaw4kjoW2nymBMJKewDnjYintuAOp 5WFGtDBJhYNU98Aw99V7ox/qbANHPKu0EeSM2YSb6I0UsebX/Zfs7ESq3JdUBPgi BdQbWGr5zwg= =OZt+ -----END PGP SIGNATURE----- --Sig_/akBEln16jaPFsIRtrb=cdsr--