[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1e9fb351f60a9bfe36d2f0974e5237eb@natalenko.name>
Date: Fri, 06 Apr 2018 08:21:35 +0200
From: Oleksandr Natalenko <oleksandr@...alenko.name>
To: Kees Cook <keescook@...omium.org>
Cc: David Windsor <dave@...lcore.net>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
keescook@...gle.com
Subject: Re: usercopy whitelist woe in scsi_sense_cache
Hi.
05.04.2018 20:52, Kees Cook wrote:
> Okay. My qemu gets mad about that and wants the format=raw argument,
> so I'm using:
>
> -drive file=sda.img,format=raw \
> -drive file=sdb.img,format=raw \
>
> How are you running your smartctl? I'm doing this now:
>
> [1] Running while :; do
> ( smartctl -a /dev/sda; smartctl -a /dev/sdb ) > /dev/null;
> done &
Yes, so do I.
> I assume I'm missing something from your .config, but since I don't
> boot with an initramfs, I had to tweak it a bit. I'll try again...
Let me, maybe, describe, what both the VM and the server have in common:
1. have 4 CPUs
2. are EFI-based
3. use blk-mq with BFQ scheduler (it is set up via udev rule during
boot)
4. have zswap enabled
5. have 2 SATA disks with RAID10 on top of it (layout f2)
6. have LUKS on top of the RAID, and LVM on top of the LUKS
VM has machine type "q35", BTW.
Do you think something of what's mentioned above is relevant for the
code path in question?
Thanks.
Regards,
Oleksandr
Powered by blists - more mailing lists