* DMA issue caused by vmapped stacks
@ 2017-02-13 8:47 Guillermo Amaral
2017-02-14 12:27 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Guillermo Amaral @ 2017-02-13 8:47 UTC (permalink / raw)
To: linux-ide
Howdy,
I recently had some off-time and decided to look into why some of my
drives where completely failing to show up after v4.8-rc3, some with
odd DMA errors.
Turned out to be vmapped stacks!
Once CONFIG_VMAP_STACK got enabled by default in x86_64 (by commit
e37e43a), to be more precise.
I turned it off, and everything is back in working order.
I don't have a standard setup, so probably nobody else has run into
the same issue yet -- but if you want to replicate it: Get (or make)
an ATA locked drive, boot with or hot-swap said locked drive on a v4.9
kernel with CONFIG_VMAP_STACK set to Y.
On my systems (tested on two systems), the drive fails to get sensed
correctly and no SCSI nodes get created. This means no way to unlock
drives with hdparm (or in my case, via the kernel).
I will try to dig into this issue a bit more next weekend, I just
wanted to bring it up in case it hasn't been already.
Cheers,
G
--
gamaral
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DMA issue caused by vmapped stacks
2017-02-13 8:47 DMA issue caused by vmapped stacks Guillermo Amaral
@ 2017-02-14 12:27 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2017-02-14 12:27 UTC (permalink / raw)
To: Guillermo Amaral; +Cc: linux-ide
Hi Guillermo,
are you using libata or the old IDE driver? Any messages in the kernel
log that might be useful?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-14 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 8:47 DMA issue caused by vmapped stacks Guillermo Amaral
2017-02-14 12:27 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).