From: Ming Lei <ming.lei@redhat.com>
To: "chenxiang (M)" <chenxiang66@hisilicon.com>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
John Garry <john.garry@huawei.com>,
Linuxarm <linuxarm@huawei.com>
Subject: Re: DIF/DIX issue related to config CONFIG_SCSI_MQ_DEFAULT
Date: Fri, 30 Nov 2018 02:17:20 +0800 [thread overview]
Message-ID: <20181129181719.GA3581@ming.t460p> (raw)
In-Reply-To: <27fa5907-9e50-23ca-c6a7-18ad0151ee19@hisilicon.com>
On Wed, Nov 28, 2018 at 11:37:23AM +0800, chenxiang (M) wrote:
> Hi Lei Ming,
>
> 在 2018/11/27 21:08, Ming Lei 写道:
> > On Tue, Nov 27, 2018 at 05:55:45PM +0800, chenxiang (M) wrote:
> > > Hi all,
> > >
> > > There is a issue which may be related to CONFIG_SCSI_MQ_DEFAULT: before we
> > > developed DIF/DIX feature on kernel 4.18 (disable CONFIG_SCSI_MQ_DEFAULT
> > > default), and
> > > it works well.
> > I guess you are testing hisi_sas_v3_hw, does 4.18 work with
> > 'scsi_mod.use_blk_mq=Y'? If yes, you may run 'git bisect' to figure out
> > which commit is the 1st bad one.
> >
> > > But when we switch to kernel 4.19-rc1 and 4.20-rc1, Call
> > > trace as follow occurs when running fio and if disable config
> > > CONFIG_SCSI_MQ_DEFAULT,
> > > then it works well. Also if switch ioengine=libaio to ioengine=psync, it
> > > seems also work well. Do you have any idea or encounter similar issue?
> > I tested scsi-debug via 'dix=1 dif=1', looks everything is fine, are you
> > using direct io or not?
> >
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > job1: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=128
> > > fio 2.0.5
> > > Starting 12 processes
> > > [ 629.210506] Unable to handle kernel paging request at virtual address
> > > 0000ffff8027e048
> > > [ 629.210506] Unable to handle kernel paging request at virtual address
> > > 0000ffff8027e048
> > > [ 629.226373] Mem abort info:
> > > [ 629.226373] Mem abort info:
> > > [ 629.231952] ESR = 0x96000006
> > > [ 629.231952] ESR = 0x96000006
> > > [ 629.238052] Exception class = DABT (current EL), IL = 32 bits
> > > [ 629.238052] Exception class = DABT (current EL), IL = 32 bits
> > > [ 629.249898] SET = 0, FnV = 0
> > > [ 629.249898] SET = 0, FnV = 0
> > > [ 629.255998] EA = 0, S1PTW = 0
> > > [ 629.255998] EA = 0, S1PTW = 0
> > > [ 629.262272] Data abort info:
> > > [ 629.262272] Data abort info:
> > > [ 629.268023] ISV = 0, ISS = 0x00000006
> > > [ 629.268023] ISV = 0, ISS = 0x00000006
> > > [ 629.275690] CM = 0, WnR = 0
> > > [ 629.275690] CM = 0, WnR = 0
> > > [ 629.281617] user pgtable: 4k pages, 48-bit VAs, pgdp = 0000000085c91728
> > > [ 629.281617] user pgtable: 4k pages, 48-bit VAs, pgdp = 0000000085c91728
> > > [ 629.294857] [0000ffff8027e048] pgd=00000027a8644003,
> > > pud=00000027a85ea003, pmd=0000000000000000
> > > [ 629.294857] [0000ffff8027e048] pgd=00000027a8644003,
> > > pud=00000027a85ea003, pmd=0000000000000000
> > > [ 629.312278] Internal error: Oops: 96000006 [#1] PREEMPT SMP
> > > [ 629.312278] Internal error: Oops: 96000006 [#1] PREEMPT SMP
> > > [ 629.323427] Modules linked in: hisi_sas_v3_hw [last unloaded:
> > > hisi_sas_v3_hw]
> > > [ 629.323427] Modules linked in: hisi_sas_v3_hw [last unloaded:
> > > hisi_sas_v3_hw]
> > > [ 629.337713] CPU: 13 PID: 4465 Comm: fio Not tainted
> > > 4.20.0-rc1-15093-ge876dec #1067
> > > [ 629.337713] CPU: 13 PID: 4465 Comm: fio Not tainted
> > > 4.20.0-rc1-15093-ge876dec #1067
> > > [ 629.353040] Hardware name: Huawei D06/D06, BIOS Hisilicon D06 UEFI RC0 -
> > > B601 (V6.01) 11/08/2018
> > > [ 629.353040] Hardware name: Huawei D06/D06, BIOS Hisilicon D06 UEFI RC0 -
> > > B601 (V6.01) 11/08/2018
> > > [ 629.370633] pstate: 80400009 (Nzcv daif +PAN -UAO)
> > > [ 629.370633] pstate: 80400009 (Nzcv daif +PAN -UAO)
> > > [ 629.380218] pc : deadline_remove_request+0x2c/0xd0
> > > [ 629.380218] pc : deadline_remove_request+0x2c/0xd0
> > Could you use gdb to find where 'deadline_remove_request+0x2c' points
> > to?
>
> From objdump, 'deadline_remove_request+0x2c' is on the function __list_del
> -> INIT_LIST_HEAD.
You may enable 'Kernel hacking/Debug linked list manipulation' config
option and see what the dumped log is.
Also it might be related with the following recent report too:
https://marc.info/?l=linux-scsi&m=154283686812846&w=2
Thanks,
Ming
next prev parent reply other threads:[~2018-11-29 18:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-27 9:55 DIF/DIX issue related to config CONFIG_SCSI_MQ_DEFAULT chenxiang (M)
2018-11-27 13:08 ` Ming Lei
2018-11-28 3:37 ` chenxiang (M)
2018-11-29 18:17 ` Ming Lei [this message]
[not found] ` <6c573f36-60d8-0631-e9ac-dacd72f6c8ad@hisilicon.com>
2018-11-29 0:54 ` Ming Lei
2018-11-30 1:19 ` Ming Lei
2018-11-30 11:26 ` John Garry
2018-12-04 3:55 ` Martin K. Petersen
[not found] ` <45193ec6-6398-3953-4833-88ca2057971a@huawei.com>
2018-12-05 2:22 ` Martin K. Petersen
2018-12-05 2:31 ` [PATCH] scsi: t10-pi: Return correct ref tag when queue has no integrity profile Martin K. Petersen
2018-12-05 4:24 ` Bart Van Assche
2018-12-05 14:04 ` Martin K. Petersen
2018-12-05 15:00 ` Bart Van Assche
2018-12-06 4:17 ` Martin K. Petersen
2018-12-06 12:04 ` John Garry
2018-12-06 12:04 ` John Garry
2018-12-06 12:16 ` chenxiang (M)
2018-12-06 12:16 ` chenxiang (M)
2018-12-05 15:27 ` DIF/DIX issue related to config CONFIG_SCSI_MQ_DEFAULT John Garry
2018-12-06 4:22 ` Martin K. Petersen
2018-12-06 17:33 ` John Garry
2018-12-07 3:20 ` Martin K. Petersen
2018-12-05 2:56 ` Martin K. Petersen
2018-11-27 20:22 ` Ewan D. Milne
2018-11-28 3:11 ` chenxiang (M)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181129181719.GA3581@ming.t460p \
--to=ming.lei@redhat.com \
--cc=chenxiang66@hisilicon.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=john.garry@huawei.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.