From: Jianxiong Gao <jxgao@google.com>
To: Christoph Hellwig <hch@lst.de>
Cc: Keith Busch <kbusch@kernel.org>,
Erdem Aktas <erdemaktas@google.com>,
Marc Orr <marcorr@google.com>,
m.szyprowski@samsung.com, Robin Murphy <robin.murphy@arm.com>,
gregkh@linuxfoundation.org,
Saravana Kannan <saravanak@google.com>,
heikki.krogerus@linux.intel.com, rafael.j.wysocki@intel.com,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
dan.j.williams@intel.com, bgolaszewski@baylibre.com,
jroedel@suse.de, iommu@lists.linux-foundation.org,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
axboe@fb.com, sagi@grimberg.me, linux-nvme@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 3/3] Adding device_dma_parameters->offset_preserve_mask to NVMe driver.
Date: Wed, 3 Feb 2021 08:47:45 -0800 [thread overview]
Message-ID: <CAMGD6P1Ksn4DJ0w=O20Ou7BOKAW9yzwJgRV57xaqLdVDK4ATaQ@mail.gmail.com> (raw)
In-Reply-To: <20210203133712.GA24674@lst.de>
>
> Please try with this extra patch:
>
I have tried with the extra patch and it still fails to boot.
I have attached dmesg output for the error:
-------------dmesg starts here-----------------
[ 6.357755] XFS (nvme0n1p2): Mounting V5 Filesystem
[ 6.430092] XFS (nvme0n1p2): Torn write (CRC failure) detected at
log block 0x20d0. Truncating head block from 0x20e0.
[ 6.442828] XFS (nvme0n1p2): Starting recovery (logdev: internal)
[ 7.272456] XFS (nvme0n1p2): Ending recovery (logdev: internal)
[ 7.610250] systemd-journald[434]: Received SIGTERM from PID 1 (systemd).
...
[ 10.054121] systemd[755]:
/usr/lib/systemd/system-generators/systemd-rc-local-generator
terminated by signal ABRT.
[ 10.726122] audit: type=1400 audit(1612370261.090:4): avc: denied
{ search } for pid=783 comm="systemd-sysctl" name="crash"
dev="nvme0n1p2" ino=50789805
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 10.751764] audit: type=1400 audit(1612370261.090:5): avc: denied
{ search } for pid=783 comm="systemd-sysctl" name="crash"
dev="nvme0n1p2" ino=50789805
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.366607] xfs filesystem being remounted at / supports timestamps
until 2038 (0x7fffffff)
[ 12.376379] audit: type=1400 audit(1612370262.740:6): avc: denied
{ write } for pid=788 comm="systemd-remount" name="crash"
dev="nvme0n1p2" ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.413155] systemd-journald[781]: Received request to flush
runtime journal from PID 1
[ 12.428917] audit: type=1400 audit(1612370262.793:7): avc: denied
{ write } for pid=815 comm="journalctl" name="crash" dev="nvme0n1p2"
ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.453006] audit: type=1400 audit(1612370262.799:8): avc: denied
{ write } for pid=817 comm="systemd-random-" name="crash"
dev="nvme0n1p2" ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 13.306030] plymouth[853]: segfault at 0 ip 00007f2eabca8090 sp
00007fffe94d8c08 error 6 in libc-2.28.so[7f2eabbcd000+1b9000]
[ 13.318772] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 78.782418] sed[911]: segfault at 0 ip 00007fc3540da090 sp
00007ffdb4373ff8 error 6 in libc-2.28.so[7fc353fff000+1b9000]
[ 78.794007] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
--------------dmesg ends here-----------
--
Jianxiong Gao
WARNING: multiple messages have this Message-ID (diff)
From: Jianxiong Gao <jxgao@google.com>
To: Christoph Hellwig <hch@lst.de>
Cc: heikki.krogerus@linux.intel.com, sagi@grimberg.me,
Saravana Kannan <saravanak@google.com>,
bgolaszewski@baylibre.com, Marc Orr <marcorr@google.com>,
gregkh@linuxfoundation.org, rafael.j.wysocki@intel.com,
linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
axboe@fb.com, Erdem Aktas <erdemaktas@google.com>,
iommu@lists.linux-foundation.org, jroedel@suse.de,
Keith Busch <kbusch@kernel.org>,
dan.j.williams@intel.com,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Robin Murphy <robin.murphy@arm.com>,
m.szyprowski@samsung.com
Subject: Re: [PATCH V2 3/3] Adding device_dma_parameters->offset_preserve_mask to NVMe driver.
Date: Wed, 3 Feb 2021 08:47:45 -0800 [thread overview]
Message-ID: <CAMGD6P1Ksn4DJ0w=O20Ou7BOKAW9yzwJgRV57xaqLdVDK4ATaQ@mail.gmail.com> (raw)
In-Reply-To: <20210203133712.GA24674@lst.de>
>
> Please try with this extra patch:
>
I have tried with the extra patch and it still fails to boot.
I have attached dmesg output for the error:
-------------dmesg starts here-----------------
[ 6.357755] XFS (nvme0n1p2): Mounting V5 Filesystem
[ 6.430092] XFS (nvme0n1p2): Torn write (CRC failure) detected at
log block 0x20d0. Truncating head block from 0x20e0.
[ 6.442828] XFS (nvme0n1p2): Starting recovery (logdev: internal)
[ 7.272456] XFS (nvme0n1p2): Ending recovery (logdev: internal)
[ 7.610250] systemd-journald[434]: Received SIGTERM from PID 1 (systemd).
...
[ 10.054121] systemd[755]:
/usr/lib/systemd/system-generators/systemd-rc-local-generator
terminated by signal ABRT.
[ 10.726122] audit: type=1400 audit(1612370261.090:4): avc: denied
{ search } for pid=783 comm="systemd-sysctl" name="crash"
dev="nvme0n1p2" ino=50789805
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 10.751764] audit: type=1400 audit(1612370261.090:5): avc: denied
{ search } for pid=783 comm="systemd-sysctl" name="crash"
dev="nvme0n1p2" ino=50789805
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.366607] xfs filesystem being remounted at / supports timestamps
until 2038 (0x7fffffff)
[ 12.376379] audit: type=1400 audit(1612370262.740:6): avc: denied
{ write } for pid=788 comm="systemd-remount" name="crash"
dev="nvme0n1p2" ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.413155] systemd-journald[781]: Received request to flush
runtime journal from PID 1
[ 12.428917] audit: type=1400 audit(1612370262.793:7): avc: denied
{ write } for pid=815 comm="journalctl" name="crash" dev="nvme0n1p2"
ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.453006] audit: type=1400 audit(1612370262.799:8): avc: denied
{ write } for pid=817 comm="systemd-random-" name="crash"
dev="nvme0n1p2" ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 13.306030] plymouth[853]: segfault at 0 ip 00007f2eabca8090 sp
00007fffe94d8c08 error 6 in libc-2.28.so[7f2eabbcd000+1b9000]
[ 13.318772] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 78.782418] sed[911]: segfault at 0 ip 00007fc3540da090 sp
00007ffdb4373ff8 error 6 in libc-2.28.so[7fc353fff000+1b9000]
[ 78.794007] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
--------------dmesg ends here-----------
--
Jianxiong Gao
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
WARNING: multiple messages have this Message-ID (diff)
From: Jianxiong Gao via iommu <iommu@lists.linux-foundation.org>
To: Christoph Hellwig <hch@lst.de>
Cc: heikki.krogerus@linux.intel.com, sagi@grimberg.me,
Saravana Kannan <saravanak@google.com>,
bgolaszewski@baylibre.com, Marc Orr <marcorr@google.com>,
gregkh@linuxfoundation.org, rafael.j.wysocki@intel.com,
linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
axboe@fb.com, iommu@lists.linux-foundation.org, jroedel@suse.de,
Keith Busch <kbusch@kernel.org>,
dan.j.williams@intel.com,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Robin Murphy <robin.murphy@arm.com>
Subject: Re: [PATCH V2 3/3] Adding device_dma_parameters->offset_preserve_mask to NVMe driver.
Date: Wed, 3 Feb 2021 08:47:45 -0800 [thread overview]
Message-ID: <CAMGD6P1Ksn4DJ0w=O20Ou7BOKAW9yzwJgRV57xaqLdVDK4ATaQ@mail.gmail.com> (raw)
In-Reply-To: <20210203133712.GA24674@lst.de>
>
> Please try with this extra patch:
>
I have tried with the extra patch and it still fails to boot.
I have attached dmesg output for the error:
-------------dmesg starts here-----------------
[ 6.357755] XFS (nvme0n1p2): Mounting V5 Filesystem
[ 6.430092] XFS (nvme0n1p2): Torn write (CRC failure) detected at
log block 0x20d0. Truncating head block from 0x20e0.
[ 6.442828] XFS (nvme0n1p2): Starting recovery (logdev: internal)
[ 7.272456] XFS (nvme0n1p2): Ending recovery (logdev: internal)
[ 7.610250] systemd-journald[434]: Received SIGTERM from PID 1 (systemd).
...
[ 10.054121] systemd[755]:
/usr/lib/systemd/system-generators/systemd-rc-local-generator
terminated by signal ABRT.
[ 10.726122] audit: type=1400 audit(1612370261.090:4): avc: denied
{ search } for pid=783 comm="systemd-sysctl" name="crash"
dev="nvme0n1p2" ino=50789805
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 10.751764] audit: type=1400 audit(1612370261.090:5): avc: denied
{ search } for pid=783 comm="systemd-sysctl" name="crash"
dev="nvme0n1p2" ino=50789805
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.366607] xfs filesystem being remounted at / supports timestamps
until 2038 (0x7fffffff)
[ 12.376379] audit: type=1400 audit(1612370262.740:6): avc: denied
{ write } for pid=788 comm="systemd-remount" name="crash"
dev="nvme0n1p2" ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.413155] systemd-journald[781]: Received request to flush
runtime journal from PID 1
[ 12.428917] audit: type=1400 audit(1612370262.793:7): avc: denied
{ write } for pid=815 comm="journalctl" name="crash" dev="nvme0n1p2"
ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 12.453006] audit: type=1400 audit(1612370262.799:8): avc: denied
{ write } for pid=817 comm="systemd-random-" name="crash"
dev="nvme0n1p2" ino=50789805 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:kdump_crash_t:s0 tclass=dir permissive=0
[ 13.306030] plymouth[853]: segfault at 0 ip 00007f2eabca8090 sp
00007fffe94d8c08 error 6 in libc-2.28.so[7f2eabbcd000+1b9000]
[ 13.318772] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 78.782418] sed[911]: segfault at 0 ip 00007fc3540da090 sp
00007ffdb4373ff8 error 6 in libc-2.28.so[7fc353fff000+1b9000]
[ 78.794007] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
--------------dmesg ends here-----------
--
Jianxiong Gao
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2021-02-03 16:49 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-01 18:30 [PATCH V2 0/3] SWIOTLB: Preserve swiotlb map offset when needed Jianxiong Gao
2021-02-01 18:30 ` Jianxiong Gao via iommu
2021-02-01 18:30 ` Jianxiong Gao
2021-02-01 18:30 ` [PATCH V2 1/3] Adding page_offset_mask to device_dma_parameters Jianxiong Gao
2021-02-01 18:30 ` Jianxiong Gao via iommu
2021-02-01 18:30 ` Jianxiong Gao
2021-02-01 18:30 ` [PATCH V2 2/3] Add swiotlb offset preserving mapping when dma_dma_parameters->page_offset_mask is non zero Jianxiong Gao
2021-02-01 18:30 ` Jianxiong Gao via iommu
2021-02-01 18:30 ` Jianxiong Gao
2021-02-01 18:30 ` [PATCH V2 3/3] Adding device_dma_parameters->offset_preserve_mask to NVMe driver Jianxiong Gao
2021-02-01 18:30 ` Jianxiong Gao via iommu
2021-02-01 18:30 ` Jianxiong Gao
2021-02-01 18:55 ` Andy Shevchenko
2021-02-01 18:55 ` Andy Shevchenko
2021-02-01 18:55 ` Andy Shevchenko
2021-02-01 19:35 ` Jianxiong Gao
2021-02-01 19:35 ` Jianxiong Gao via iommu
2021-02-01 19:35 ` Jianxiong Gao
2021-02-01 20:57 ` Keith Busch
2021-02-01 20:57 ` Keith Busch
2021-02-01 20:57 ` Keith Busch
2021-02-01 21:16 ` Jianxiong Gao via iommu
2021-02-01 21:22 ` Jianxiong Gao
2021-02-01 21:22 ` Jianxiong Gao via iommu
2021-02-01 21:22 ` Jianxiong Gao
2021-02-01 23:59 ` Chaitanya Kulkarni
2021-02-01 23:59 ` Chaitanya Kulkarni
2021-02-01 23:59 ` Chaitanya Kulkarni
2021-02-02 0:25 ` Jianxiong Gao
2021-02-02 0:25 ` Jianxiong Gao via iommu
2021-02-02 0:25 ` Jianxiong Gao
2021-02-02 11:21 ` Andy Shevchenko
2021-02-02 11:21 ` Andy Shevchenko
2021-02-02 11:21 ` Andy Shevchenko
2021-02-02 12:07 ` Robin Murphy
2021-02-02 12:07 ` Robin Murphy
2021-02-02 12:07 ` Robin Murphy
2021-02-03 13:37 ` Christoph Hellwig
2021-02-03 13:37 ` Christoph Hellwig
2021-02-03 13:37 ` Christoph Hellwig
2021-02-03 16:47 ` Jianxiong Gao [this message]
2021-02-03 16:47 ` Jianxiong Gao via iommu
2021-02-03 16:47 ` Jianxiong Gao
2021-02-02 11:53 ` [PATCH V2 0/3] SWIOTLB: Preserve swiotlb map offset when needed Greg KH
2021-02-02 11:53 ` Greg KH
2021-02-02 11:53 ` Greg KH
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='CAMGD6P1Ksn4DJ0w=O20Ou7BOKAW9yzwJgRV57xaqLdVDK4ATaQ@mail.gmail.com' \
--to=jxgao@google.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=axboe@fb.com \
--cc=bgolaszewski@baylibre.com \
--cc=dan.j.williams@intel.com \
--cc=erdemaktas@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=heikki.krogerus@linux.intel.com \
--cc=iommu@lists.linux-foundation.org \
--cc=jroedel@suse.de \
--cc=kbusch@kernel.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=m.szyprowski@samsung.com \
--cc=marcorr@google.com \
--cc=rafael.j.wysocki@intel.com \
--cc=robin.murphy@arm.com \
--cc=sagi@grimberg.me \
--cc=saravanak@google.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.