From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: 4.1-rc6 radi5 OOPS Date: Thu, 4 Jun 2015 06:40:48 +1000 Message-ID: <20150604064048.0cb2d7c9@notabene.brown> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Eu88YHLhmArYlg32t2=.53h"; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Jes Sorensen Cc: linux-raid , Xiao Ni List-Id: linux-raid.ids --Sig_/Eu88YHLhmArYlg32t2=.53h Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 03 Jun 2015 16:20:21 -0400 Jes Sorensen wrote: > Neil, >=20 > I was running testing on the current 4.1-rc6 tree (Linus' top of trunk > 8cd9234c64c584432f6992fe944ca9e46ca8ea76) and I am seeing the following > OOPS which is reproducible. >=20 > It shows up when running the mdadm test suite, 07changelevelintr to be > specific. >=20 > Is this something you have seen? >=20 > Cheers, > Jes >=20 > ------------[ cut here ]------------ > kernel BUG at drivers/md/raid5.c:5391! No, I haven't seen that. And I've been running the test suite quite a bit lately. Can you get it to print out the relevant numbers? Include readpos/writepos/safepos too. Thanks, NeilBrown > invalid opcode: 0000 [#1] SMP=20 > Modules linked in: raid456 async_raid6_recov async_memcpy async_pq async_= xor xor async_tx raid6_pq nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_= conntrack ipt_REJECT nf_reject_ipv4 iptable_filter ip_tables tun bridge stp= llc xfs x86_pkg_temp_thermal coretemp kvm_intel kvm crc32c_intel ghash_clm= ulni_intel libcrc32c aesni_intel aes_x86_64 glue_helper lrw gf128mul ablk_h= elper cryptd ppdev raid0 microcode pcspkr iTCO_wdt iTCO_vendor_support parp= ort_pc i2c_i801 i2c_core parport shpchp lpc_ich mfd_core video acpi_cpufreq= nfsd auth_rpcgss oid_registry exportfs nfs_acl lockd grace sunrpc uinput a= utofs4 ext4 mbcache jbd2 sd_mod e1000e ptp pps_core ahci r8169 mii libahci = dm_mirror dm_region_hash dm_log dm_mod ipv6 > CPU: 0 PID: 15142 Comm: md0_resync Tainted: G W 4.1.0-rc6+ #2 > Hardware name: Intel Corporation S1200BTL/S1200BTL, BIOS S1200BT.86B.02.0= 0.0035.030220120927 03/02/2012 > task: ffff88022b2642d0 ti: ffff8802327e0000 task.ti: ffff8802327e0000 > RIP: 0010:[] [] reshape_request+0x8a= 7/0x8b0 [raid456] > RSP: 0018:ffff8802327e3b78 EFLAGS: 00010297 > RAX: 0000000000000200 RBX: ffff88022b130400 RCX: 0000000000000200 > RDX: 0000000000009801 RSI: 0000000000000200 RDI: 0000000000000001 > RBP: ffff8802327e3c28 R08: 00000000000001ff R09: 0000000000000000 > R10: fffffffffffffdff R11: 0000000000000001 R12: ffff8802327e3d0c > R13: 0000000000000000 R14: ffff8802327e3d0c R15: ffff880234577000 > FS: 0000000000000000(0000) GS:ffff88023ee00000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00007f985b677140 CR3: 0000000001a0b000 CR4: 00000000001406f0 > Stack: > 0000000000000000 0000000000000200 0000000000000001 0000000000000000 > 0000000000000000 fffffffffffffdff 0000020000000001 ffffffff815b34d3 > ffff88022b2642d0 ffff880235f2f080 ffff8802327e3c08 ffff8802327e4000 > Call Trace: > [] ? __schedule+0x383/0x8e0 > [] sync_request+0x32e/0x3a0 [raid456] > [] ? __wake_up+0x48/0x60 > [] md_do_sync+0x8f4/0xe90 > [] ? update_rq_clock.part.89+0x1c/0x40 > [] md_thread+0x128/0x140 > [] ? find_pers+0x80/0x80 > [] ? find_pers+0x80/0x80 > [] kthread+0xc9/0xe0 > [] ? __audit_syscall_exit+0x1e6/0x280 > [] ? kthread_create_on_node+0x170/0x170 > [] ret_from_fork+0x42/0x70 > [] ? kthread_create_on_node+0x170/0x170 > Code: 00 00 be 03 00 00 00 e8 18 50 c2 e0 49 8d 7f 50 48 c7 c2 39 55 47 a= 0 31 f6 e8 56 21 da e0 48 8b 45 88 e9 ae fb ff ff 0f 0b 0f 0b <0f> 0b 0f 1f= 80 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54=20 > RIP [] reshape_request+0x8a7/0x8b0 [raid456] > RSP > ---[ end trace 1d72a07e246912ea ]--- > BUG: unable to handle kernel NULL pointer dereference at (null) > IP: [] exit_creds+0x1f/0x70 > PGD bdc0c067 PUD a6697067 PMD 0=20 > Oops: 0000 [#2] SMP=20 > Modules linked in: raid456 async_raid6_recov async_memcpy async_pq async_= xor xor async_tx raid6_pq nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_= conntrack ipt_REJECT nf_reject_ipv4 iptable_filter ip_tables tun bridge stp= llc xfs x86_pkg_temp_thermal coretemp kvm_intel kvm crc32c_intel ghash_clm= ulni_intel libcrc32c aesni_intel aes_x86_64 glue_helper lrw gf128mul ablk_h= elper cryptd ppdev raid0 microcode pcspkr iTCO_wdt iTCO_vendor_support parp= ort_pc i2c_i801 i2c_core parport shpchp lpc_ich mfd_core video acpi_cpufreq= nfsd auth_rpcgss oid_registry exportfs nfs_acl lockd grace sunrpc uinput a= utofs4 ext4 mbcache jbd2 sd_mod e1000e ptp pps_core ahci r8169 mii libahci = dm_mirror dm_region_hash dm_log dm_mod ipv6 > CPU: 1 PID: 15030 Comm: mdadm Tainted: G D W 4.1.0-rc6+ #2 > Hardware name: Intel Corporation S1200BTL/S1200BTL, BIOS S1200BT.86B.02.0= 0.0035.030220120927 03/02/2012 > task: ffff880233550110 ti: ffff8800a6cbc000 task.ti: ffff8800a6cbc000 > RIP: 0010:[] [] exit_creds+0x1f/0x70 > RSP: 0018:ffff8800a6cbfca8 EFLAGS: 00010292 > RAX: 0000000000000000 RBX: ffff88022b2642d0 RCX: ffff8800a6cbfd00 > RDX: 0000000000005110 RSI: 0000000000000296 RDI: 0000000000000000 > RBP: ffff8800a6cbfcb8 R08: 0000000000000000 R09: 0000000000000000 > R10: 000000000000000b R11: 0000000000000246 R12: ffff88022b2642d0 > R13: 000000000000ff00 R14: 0000000000000004 R15: 0000000000000004 > FS: 00007f70ff26f740(0000) GS:ffff88023ee20000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 0000000000000000 CR3: 00000000a66cf000 CR4: 00000000001406e0 > Stack: > ffff8800a6cbfcb8 ffff88022b2642d0 ffff8800a6cbfcd8 ffffffff8105264a > 0000000000000000 ffff88022b2642d0 ffff8800a6cbfd08 ffffffff81072048 > ffff880000000001 ffff880233cb9140 ffff880234577150 ffffffffa0477320 > Call Trace: > [] __put_task_struct+0x4a/0x130 > [] kthread_stop+0x88/0x100 > [] md_unregister_thread+0x45/0x80 > [] md_reap_sync_thread+0x1d/0x1a0 > [] action_store+0x1a8/0x2b0 > [] ? ns_capable+0x2d/0x60 > [] md_attr_store+0x7b/0xd0 > [] sysfs_kf_write+0x3d/0x50 > [] kernfs_fop_write+0x12a/0x180 > [] __vfs_write+0x28/0xf0 > [] ? __sb_start_write+0x49/0xf0 > [] ? security_file_permission+0x23/0xa0 > [] vfs_write+0xa9/0x1b0 > [] SyS_write+0x46/0xb0 > [] ? __audit_syscall_entry+0xb4/0x110 > [] system_call_fastpath+0x12/0x6a > Code: 0f 84 37 fe ff ff e9 10 fe ff ff 90 0f 1f 44 00 00 55 48 89 e5 53 4= 8 89 fb 48 83 ec 08 48 8b 87 c8 09 00 00 48 8b bf c0 09 00 00 <8b> 00 48 c7= 83 c0 09 00 00 00 00 00 00 f0 ff 0f 74 1f 48 8b bb=20 > RIP [] exit_creds+0x1f/0x70 > RSP > CR2: 0000000000000000 > ---[ end trace 1d72a07e246912eb ]--- > -- > 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 --Sig_/Eu88YHLhmArYlg32t2=.53h Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIVAwUBVW9mUDnsnt1WYoG5AQIb6A//ef+Ud/TUmlV7ydSRwLMOvl7gygwehXqw TFsHrF+bWAQyVuuCWc/ZE4uK+wEJcv0LMdQTXX8Tddx6FzdsIUO7diHUybn6ZU7G hXh/fR2VbIArAVFQc/AAYI+mHMKLmajJEwMu9KCMueibUUXEsyEybaa/DA2Nv5B7 7Rf3rKSjT1Xq/b8VhunerEQlIRbBQhPk+gcPl11REKBvofm59Fs0/65aVqZEZ4PP 6Uf+BehMH8lEVbbVPZFwkXvp1u6ilbQsra+kBseStaVEAX9Y0j9Sdi9eWrutROcc FQOYxwmgoODG145SazaRZBMr5PD5Z/0gvVEoum8InTmAwgVY84xBq8TqOlFsjU4o qP5OML9SvoUHmZtBhuTJlu8WtezSJpjWsbswuhjN6x9e9d4J5Ovdy3Uc6nk79J3/ 6D6MWafC3DRX2MUrqrzvJKAyE2RO3GNnieeqSdIMgSKvtJa04n/gMwVru9rIkiIh UqnywMY17VMGyoFbZl1OUqIqzjaEYbLuAguhQJi5DOYyT0EPc+sV6A1gSFwobb+J 8MwEwzV8QZ7laSKRe+4Ifc3XzwWhqCkK9BVNvLYgQpm1c8mwM5WnKZ71m4Vb9wMy 8b+olW1lN3iYCHVJXcYcxTN4p7rAlYswbm5ttyQrwr58/uzq0kTtjD5KfLUGSueN bLOoiL1jlv8= =giGb -----END PGP SIGNATURE----- --Sig_/Eu88YHLhmArYlg32t2=.53h--