View Issue Details

IDProjectCategoryView StatusLast Update
0014998CentOS-7kernelpublic2018-11-02 02:31
ReporterRedShift1 
PrioritynormalSeveritymajorReproducibilitysometimes
Status newResolutionopen 
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0014998: sata_mv crashes kernel with "invalid opcode: 0000 [#1] SMP"
DescriptionSuspect certain operations through sata_mv crash the kernel, but haven't figured out which operations exactly. It seems to be triggered quite easily when doing an array repair. Have had it happen multiple times on one day.

[37166.391074] ------------[ cut here ]------------
[37166.391091] kernel BUG at drivers/ata/sata_mv.c:2086!
[37166.391104] invalid opcode: 0000 [#1] SMP
[37166.391122] Modules linked in: vhost_net vhost macvtap macvlan tun ebtable_filter ebtables devlink bridge stp llc ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 xt_multiport ip6table_filter ip6_tables ipt_REJECT nf_reject_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter w83627ehf hwmon_vid ext4 mbcache jbd2 coretemp raid456 kvm_intel kvm async_raid6_recov async_memcpy async_pq irqbypass raid6_pq async_xor xor iTCO_wdt gpio_ich async_tx arc4 pcspkr iTCO_vendor_support snd_hda_codec_realtek ppdev ath9k snd_hda_codec_generic i2c_i801 ath9k_common ath9k_hw snd_hda_intel snd_hda_codec ath mac80211 snd_hda_core snd_hwdep snd_seq cfg80211 rfkill snd_seq_device snd_pcm snd_timer snd sg soundcore lpc_ich parport_pc parport x38_edac shpchp acpi_cpufreq nfsd auth_rpcgss
[37166.391489] nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_acpi nouveau mxm_wmi wmi i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci drm libahci sata_mv pata_it8213 libata firewire_ohci serio_raw i2c_core firewire_core crc_itu_t e1000e video ptp pps_core dm_mirror dm_region_hash dm_log dm_mod
[37166.391685] CPU: 0 PID: 295 Comm: scsi_eh_7 Kdump: loaded Not tainted 3.10.0-862.3.3.el7.x86_64 #1
[37166.391871] Hardware name: Supermicro C2SBX/C2SBX, BIOS 1.2a 12/19/2008
[37166.392022] task: ffff95a373e58fd0 ti: ffff95a373e60000 task.ti: ffff95a373e60000
[37166.392022] RIP: 0010:[<ffffffffc027e4fa>] [<ffffffffc027e4fa>] mv_qc_prep+0x25a/0x280 [sata_mv]
[37166.392022] RSP: 0018:ffff95a373e63a48 EFLAGS: 00010006
[37166.392022] RAX: ffff95a1766d3a00 RBX: ffff95a1767c5d70 RCX: ffff95a1766d3a00
[37166.392022] RDX: 0000000000000047 RSI: 0000000000000000 RDI: ffff95a1767c5d70
[37166.392022] RBP: ffff95a373e63a60 R08: 0000000000000000 R09: 00000000367c78bf
[37166.392022] R10: a979bbb0739c40b8 R11: 0000000000000005 R12: ffff95a373d7dc18
[37166.392022] R13: 0000000000000001 R14: 0000000000000001 R15: ffff95a1767c5d70
[37166.392022] FS: 0000000000000000(0000) GS:ffff95a37fc00000(0000) knlGS:0000000000000000
[37166.392022] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[37166.392022] CR2: 00007ffe5aa32f4f CR3: 000000023fa92000 CR4: 00000000000027f0
[37166.392022] Call Trace:
[37166.392022] [<ffffffffc0244987>] ata_qc_issue+0x167/0x3d0 [libata]
[37166.392022] [<ffffffffc0244e9a>] ata_exec_internal_sg+0x2aa/0x580 [libata]
[37166.392022] [<ffffffffc02451d9>] ata_exec_internal+0x69/0xc0 [libata]
[37166.392022] [<ffffffffc02503e2>] ata_read_log_page+0x1b2/0x1f0 [libata]
[37166.392022] [<ffffffffc0250765>] ata_eh_analyze_ncq_error+0xe5/0x280 [libata]
[37166.392022] [<ffffffffc025099b>] ata_eh_link_autopsy+0x9b/0x820 [libata]
[37166.392022] [<ffffffffc0251150>] ata_eh_autopsy+0x30/0xf0 [libata]
[37166.392022] [<ffffffffc025b0f2>] sata_pmp_error_handler+0x12/0x30 [libata]
[37166.392022] [<ffffffffc027e23e>] mv_pmp_error_handler+0x8e/0xa0 [sata_mv]
[37166.392022] [<ffffffffc0254652>] ata_scsi_port_error_handler+0x532/0x900 [libata]
[37166.392022] [<ffffffffc0254ac0>] ata_scsi_error+0xa0/0xe0 [libata]
[37166.392022] [<ffffffffb1ca0af6>] scsi_error_handler+0xf6/0x8b0
[37166.392022] [<ffffffffb1ca0a00>] ? scsi_eh_get_sense+0x250/0x250
[37166.392022] [<ffffffffb18bb161>] kthread+0xd1/0xe0
[37166.392022] [<ffffffffb18bb090>] ? insert_kthread_work+0x40/0x40
[37166.392022] [<ffffffffb1f20677>] ret_from_fork_nospec_begin+0x21/0x21
[37166.392022] [<ffffffffb18bb090>] ? insert_kthread_work+0x40/0x40
[37166.392022] Code: e9 01 ff ff ff 0f 1f 40 00 c6 43 35 30 e9 ea fd ff ff be fa 07 00 00 48 c7 c7 84 24 28 c0 e8 ce 35 61 f1 8b 4b 58 e9 4b fe ff ff <0f> 0b 48 8b 47 08 83 b8 00 03 00 00 07 0f 87 09 fe ff ff e9 b9
[37166.392022] RIP [<ffffffffc027e4fa>] mv_qc_prep+0x25a/0x280 [sata_mv]
[37166.392022] RSP <ffff95a373e63a48>
Steps To Reproducecheck or repair array on sata_mv hardware
Additional InformationHappens on at least kernel version
* 3.10.0-693.21.1.el7.x86_64
* 3.10.0-862.3.3.el7.x86_64
Tagscrash, kernel
abrt_hash
URL

Activities

RedShift1

RedShift1

2018-07-09 21:43

reporter   ~0032218

Swapped the controller with an entirely different one. This appears to be happening when one of the disks starts throwing read errors.
oakwhiz

oakwhiz

2018-11-02 02:31

reporter   ~0033046

I'm seeing this crash as well, coinciding with a single disk appearing to malfunction on a ZFS array.

[ 2608.494071] ------------[ cut here ]------------
[ 2608.494226] kernel BUG at drivers/ata/sata_mv.c:2086!
[ 2608.494369] invalid opcode: 0000 [#1] SMP
[ 2608.494514] Modules linked in: nft_nat nft_masq_ipv4 nf_nat_masquerade_ipv4 nft_masq nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_limit nf_conntrack_ipv6 nf_defrag_ipv6 nft_ct nft_hash nft_rbtree nft_meta nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 nf_tables(T) nfnetlink zfs(POE) zunicode(POE) zavl(POE) iTCO_wdt icp(POE) iTCO_vendor_support gpio_ich zcommon(POE) coretemp znvpair(POE) kvm_intel kvm spl(OE) irqbypass pcspkr sg i2c_i801 lpc_ich video shpchp i3200_edac acpi_cpufreq sch_fq_codel binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common amdkfd amd_iommu_v2 radeon i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm ahci serio_raw
[ 2608.495021] libahci i2c_core ixgbe e1000e sata_mv libata mdio dca ptp pps_core dm_mirror dm_region_hash dm_log dm_mod
[ 2608.495021] CPU: 0 PID: 307 Comm: scsi_eh_4 Kdump: loaded Tainted: P OE ------------ T 3.10.0-862.14.4.el7.x86_64 #1
[ 2608.495021] Hardware name: Supermicro X7SB4/E/X7SB4/E, BIOS 2.0a 09/14/2011
[ 2608.495021] task: ffff9e16366f8000 ti: ffff9e1636700000 task.ti: ffff9e1636700000
[ 2608.495021] RIP: 0010:[<ffffffffc01ec4fa>] [<ffffffffc01ec4fa>] mv_qc_prep+0x25a/0x280 [sata_mv]
[ 2608.495021] RSP: 0018:ffff9e1636703a48 EFLAGS: 00010006
[ 2608.495021] RAX: ffff9e18236134e0 RBX: ffff9e1823d25d70 RCX: ffff9e18236134e0
[ 2608.495021] RDX: 0000000000000047 RSI: 0000000000000002 RDI: ffff9e1823d25d70
[ 2608.495021] RBP: ffff9e1636703a60 R08: 0000000000000000 R09: 0000000223d278bf
[ 2608.495021] R10: 879f0ecf20f240b8 R11: 000002b29cbb5780 R12: ffff9e18247bb018
[ 2608.495021] R13: 0000000000000001 R14: 0000000000000001 R15: ffff9e1823d25d70
[ 2608.495021] FS: 0000000000000000(0000) GS:ffff9e182fc00000(0000) knlGS:0000000000000000
[ 2608.495021] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2608.495021] CR2: 00007f595e6ea000 CR3: 00000002226c2000 CR4: 00000000000007f0
[ 2608.495021] Call Trace:
[ 2608.495021] [<ffffffffc019b947>] ata_qc_issue+0x167/0x3d0 [libata]
[ 2608.495021] [<ffffffffc019be5b>] ata_exec_internal_sg+0x2ab/0x580 [libata]
[ 2608.495021] [<ffffffffc019c199>] ata_exec_internal+0x69/0xc0 [libata]
[ 2608.495021] [<ffffffffc01a7502>] ata_read_log_page+0x1b2/0x1f0 [libata]
[ 2608.495021] [<ffffffffc01a7885>] ata_eh_analyze_ncq_error+0xe5/0x280 [libata]
[ 2608.495021] [<ffffffffc01a7abb>] ata_eh_link_autopsy+0x9b/0x820 [libata]
[ 2608.495021] [<ffffffffc01a8270>] ata_eh_autopsy+0x30/0xf0 [libata]
[ 2608.495021] [<ffffffffc01b2212>] sata_pmp_error_handler+0x12/0x30 [libata]
[ 2608.495021] [<ffffffffc01ec23e>] mv_pmp_error_handler+0x8e/0xa0 [sata_mv]
[ 2608.495021] [<ffffffffc01ab772>] ata_scsi_port_error_handler+0x532/0x900 [libata]
[ 2608.495021] [<ffffffffc01abbe0>] ata_scsi_error+0xa0/0xe0 [libata]
[ 2608.495021] [<ffffffffb2ea5746>] scsi_error_handler+0xf6/0x8b0
[ 2608.495021] [<ffffffffb2ea5650>] ? scsi_eh_get_sense+0x250/0x250
[ 2608.495021] [<ffffffffb2abdf21>] kthread+0xd1/0xe0
[ 2608.495021] [<ffffffffb2abde50>] ? insert_kthread_work+0x40/0x40
[ 2608.495021] [<ffffffffb31255f7>] ret_from_fork_nospec_begin+0x21/0x21
[ 2608.495021] [<ffffffffb2abde50>] ? insert_kthread_work+0x40/0x40
[ 2608.495021] Code: e9 01 ff ff ff 0f 1f 40 00 c6 43 35 30 e9 ea fd ff ff be fa 07 00 00 48 c7 c7 84 04 1f c0 e8 0e 82 8a f2 8b 4b 58 e9 4b fe ff ff <0f> 0b 48 8b 47 08 83 b8 00 03 00 00 07 0f 87 09 fe ff ff e9 b9
[ 2608.495021] RIP [<ffffffffc01ec4fa>] mv_qc_prep+0x25a/0x280 [sata_mv]
[ 2608.495021] RSP <ffff9e1636703a48>

Issue History

Date Modified Username Field Change
2018-07-01 09:39 RedShift1 New Issue
2018-07-01 09:39 RedShift1 Tag Attached: crash
2018-07-01 09:39 RedShift1 Tag Attached: kernel
2018-07-09 21:43 RedShift1 Note Added: 0032218
2018-11-02 02:31 oakwhiz Note Added: 0033046