public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [dma-debug.c - DMA-API] exceeded overlapping … & sym53c8xx … tries to free DMA …
@ 2014-02-14  8:52 poma
  2014-02-14  9:16 ` Stanislaw Gruszka
  0 siblings, 1 reply; 6+ messages in thread
From: poma @ 2014-02-14  8:52 UTC (permalink / raw)
  To: Linux Kernel list
  Cc: linux-ide, Mailing-List fedora-kernel, Joerg Roedel, Dan Williams,
	Tejun Heo, Gerard Roudier, Alan Stern, Stanislaw Gruszka,
	Josh Boyer, Justin M. Forbes, Chris Murphy


Ahoy!

Perhaps this is already solved, but I made ​​the effort to test & record
all of this, therefore here you are. :)

https://bugzilla.redhat.com/show_bug.cgi?id=1062833

0.
VirtIO disk - virtio-pc OK:
- lspci-knn-3.14.0-0.rc2.git2.1.fc21.x86_64-virtio-pc-virtio-disk-OK
https://bugzilla.redhat.com/attachment.cgi?id=863135
- dmesg-3.14.0-0.rc2.git2.1.fc21.x86_64-virtio-pc-virtio-disk-OK
https://bugzilla.redhat.com/attachment.cgi?id=863136


1.
IDE disk - ata_piix:
- lspci-knn-3.14.0-0.rc2.git2.1.fc21.x86_64-ata_piix-ide-disk
https://bugzilla.redhat.com/attachment.cgi?id=863137
- dmesg-3.14.0-0.rc2.git2.1.fc21.x86_64-ata_piix-ide-disk
"WARNING: CPU: 0 PID: 1328 at lib/dma-debug.c:491
add_dma_entry+0x127/0x130()"
"DMA-API: exceeded 7 overlapping mappings of pfn 2137"
https://bugzilla.redhat.com/attachment.cgi?id=863138


2.
SATA disk - ahci:
- lspci-knn-3.14.0-0.rc2.git2.1.fc21.x86_64-ahci-sata-disk
https://bugzilla.redhat.com/attachment.cgi?id=863139
- dmesg-3.14.0-0.rc2.git2.1.fc21.x86_64-ahci-sata-disk
"WARNING: CPU: 0 PID: 1543 at lib/dma-debug.c:491
add_dma_entry+0x127/0x130()"
"DMA-API: exceeded 7 overlapping mappings of pfn 2137"
https://bugzilla.redhat.com/attachment.cgi?id=863140


3.
SCSI disk - sym53c8xx:
- lspci-knn-3.14.0-0.rc2.git2.1.fc21.x86_64-sym53c8xx-scsi-disk
https://bugzilla.redhat.com/attachment.cgi?id=863151
- dmesg-3.14.0-0.rc2.git2.1.fc21.x86_64-sym53c8xx-scsi-disk
"WARNING: CPU: 1 PID: 1514 at lib/dma-debug.c:491
add_dma_entry+0x127/0x130()"
"DMA-API: exceeded 7 overlapping mappings of pfn 2137"
~~
"WARNING: CPU: 1 PID: 1514 at lib/dma-debug.c:1041
check_unmap+0x8b7/0x9b0()"
"sym53c8xx 0000:00:07.0: DMA-API: device driver tries to free DMA memory
it has not allocated [device address=0x0000000002137000] [size=512 bytes]"
https://bugzilla.redhat.com/attachment.cgi?id=863152


4.
VirtIO SCSI disk - 'virtio-scsi' & sym53c8xx:
- lspci-knn-3.14.0-0.rc2.git2.1.fc21.x86_64-sym53c8xx-virtio-scsi-disk
https://bugzilla.redhat.com/attachment.cgi?id=863153
- dmesg-3.14.0-0.rc2.git2.1.fc21.x86_64-sym53c8xx-virtio-scsi-disk
"WARNING: CPU: 0 PID: 1530 at lib/dma-debug.c:491
add_dma_entry+0x127/0x130()"
"DMA-API: exceeded 7 overlapping mappings of pfn 2137"
~~
"WARNING: CPU: 0 PID: 1530 at lib/dma-debug.c:1041
check_unmap+0x8b7/0x9b0()"
"sym53c8xx 0000:00:07.0: DMA-API: device driver tries to free DMA memory
it has not allocated [device address=0x0000000002137000] [size=512 bytes]"
https://bugzilla.redhat.com/attachment.cgi?id=863154


5.
USB disk - usb-storage:
- lspci-knn-3.14.0-0.rc2.git2.1.fc21.x86_64-usb-storage-usb-disk
https://bugzilla.redhat.com/attachment.cgi?id=863156
- lsusb-3.14.0-0.rc2.git2.1.fc21.x86_64-usb-storage-usb-disk
https://bugzilla.redhat.com/attachment.cgi?id=863157
- lsusb-t-3.14.0-0.rc2.git2.1.fc21.x86_64-usb-storage-usb-disk
https://bugzilla.redhat.com/attachment.cgi?id=863158
- dmesg-3.14.0-0.rc2.git2.1.fc21.x86_64-usb-storage-usb-disk
"WARNING: CPU: 0 PID: 415 at lib/dma-debug.c:491
add_dma_entry+0x127/0x130()"
"DMA-API: exceeded 7 overlapping mappings of pfn 2137"
https://bugzilla.redhat.com/attachment.cgi?id=863159


Tested with:
http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/images/
boot.iso                                         13-Feb-2014 15:45  362M

checkisomd5:
boot.iso:   434371185df324e28ff5652891ae4ea8
Fragment sums: 5a3e92cebf4721fcfad3e317bff6ac4ec9df98fedd9f53c3c3f2ed55c337
Fragment count: 20
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.

sha256sum:
2b6aac6e9b55c5f49f251340a4c28e091998f9fe3a6bdba7542f0f9b2d69ba8c  boot.iso


poma



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dma-debug.c - DMA-API] exceeded overlapping … & sym53c8xx … tries to free DMA …
  2014-02-14  8:52 [dma-debug.c - DMA-API] exceeded overlapping … & sym53c8xx … tries to free DMA … poma
@ 2014-02-14  9:16 ` Stanislaw Gruszka
  2014-02-14 18:20   ` poma
  0 siblings, 1 reply; 6+ messages in thread
From: Stanislaw Gruszka @ 2014-02-14  9:16 UTC (permalink / raw)
  To: poma
  Cc: Linux Kernel list, linux-ide, Mailing-List fedora-kernel,
	Joerg Roedel, Dan Williams, Tejun Heo, Gerard Roudier, Alan Stern,
	Josh Boyer, Justin M. Forbes, Chris Murphy

On Fri, Feb 14, 2014 at 09:52:37AM +0100, poma wrote:
> 
> Ahoy!
> 
> Perhaps this is already solved, but I made ​​the effort to test & record
> all of this, therefore here you are. :)
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1062833

There is patch posted for this problem
http://marc.info/?l=linux-kernel&m=139233546223338&w=2
It is under review currently, if there will be no complains it will be
applied.

Stanislaw

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dma-debug.c - DMA-API] exceeded overlapping … & sym53c8xx … tries to free DMA …
  2014-02-14  9:16 ` Stanislaw Gruszka
@ 2014-02-14 18:20   ` poma
  2014-02-17 14:40     ` poma
  0 siblings, 1 reply; 6+ messages in thread
From: poma @ 2014-02-14 18:20 UTC (permalink / raw)
  To: Stanislaw Gruszka
  Cc: Linux Kernel list, linux-ide, Mailing-List fedora-kernel,
	Joerg Roedel, Dan Williams, Tejun Heo, Gerard Roudier, Alan Stern,
	Josh Boyer, Justin M. Forbes, Chris Murphy

On 14.02.2014 10:16, Stanislaw Gruszka wrote:
> On Fri, Feb 14, 2014 at 09:52:37AM +0100, poma wrote:
>>
>> Ahoy!
>>
>> Perhaps this is already solved, but I made ​​the effort to test & record
>> all of this, therefore here you are. :)
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1062833
> 
> There is patch posted for this problem
> http://marc.info/?l=linux-kernel&m=139233546223338&w=2
> It is under review currently, if there will be no complains it will be
> applied.
> 
> Stanislaw
> 

Thanks!
I have a few questions but the weekend begins, so we'll leave it for
later. :)
See ya!


poma



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dma-debug.c - DMA-API] exceeded overlapping … & sym53c8xx … tries to free DMA …
  2014-02-14 18:20   ` poma
@ 2014-02-17 14:40     ` poma
  2014-02-18 19:36       ` [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA Dan Williams
  0 siblings, 1 reply; 6+ messages in thread
From: poma @ 2014-02-17 14:40 UTC (permalink / raw)
  To: Stanislaw Gruszka
  Cc: Linux Kernel list, linux-ide, Mailing-List fedora-kernel,
	Joerg Roedel, Dan Williams, Tejun Heo, Gerard Roudier, Alan Stern,
	Josh Boyer, Justin M. Forbes, Chris Murphy

On 14.02.2014 19:20, poma wrote:
> On 14.02.2014 10:16, Stanislaw Gruszka wrote:
>> On Fri, Feb 14, 2014 at 09:52:37AM +0100, poma wrote:
>>>
>>> Ahoy!
>>>
>>> Perhaps this is already solved, but I made ​​the effort to test & record
>>> all of this, therefore here you are. :)
>>>
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1062833
>>
>> There is patch posted for this problem
>> http://marc.info/?l=linux-kernel&m=139233546223338&w=2
>> It is under review currently, if there will be no complains it will be
>> applied.
>>
>> Stanislaw
>>
> 
> Thanks!
> I have a few questions but the weekend begins, so we'll leave it for
> later. :)
> See ya!

https://bugzilla.redhat.com/show_bug.cgi?id=1062833

IDE disk - ata_piix - dmesg - OK
https://bugzilla.redhat.com/attachment.cgi?id=864085

SATA disk - ahci - dmesg - OK
https://bugzilla.redhat.com/attachment.cgi?id=864086

SCSI disk - sym53c8xx - dmesg - OK
https://bugzilla.redhat.com/attachment.cgi?id=864087

VirtIO SCSI disk - virtio_scsi - dmesg - OK
https://bugzilla.redhat.com/attachment.cgi?id=864088

USB disk - usb_storage - dmesg - OK
https://bugzilla.redhat.com/attachment.cgi?id=864089

Test media - 'boot-fix-dma-debug-overlap-v2.iso',
http://goo.gl/UJSfVn
sha256sum:
6d6b36fdcb0a0ff662ff6a27048d6d5f35ac211c34439f75bba1d524b3507e82
boot-fix-dma-debug-overlap-v2.iso

Contains 'kernel-3.14.0-0.rc2.git4.1.fc21.x86_64'
based on Rawhide 'kernel-3.14.0-0.rc2.git4.1.fc21'
http://koji.fedoraproject.org/koji/buildinfo?buildID=498404
with the addition of Dan's 'fix-dma-debug-overlap-v2.patch'
"Fix dma debug v2: account for cachelines and read-only mappings in
overlap tracking"
http://marc.info/?l=linux-netdev&m=139233546723342&q=raw


All tests are PASSED.

       _
      ( \
       \ \
   ____)  \
  (___)    ―――
 (___)
 (___)
  (__)――――――――



poma



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA ...
  2014-02-17 14:40     ` poma
@ 2014-02-18 19:36       ` Dan Williams
  2014-02-19  4:44         ` poma
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Williams @ 2014-02-18 19:36 UTC (permalink / raw)
  To: poma
  Cc: Stanislaw Gruszka, Linux Kernel list, IDE/ATA development list,
	Mailing-List fedora-kernel, Joerg Roedel, Tejun Heo,
	Gerard Roudier, Alan Stern, Josh Boyer, Justin M. Forbes,
	Chris Murphy

On Mon, Feb 17, 2014 at 6:40 AM, poma <pomidorabelisima@gmail.com> wrote:
> On 14.02.2014 19:20, poma wrote:
>> On 14.02.2014 10:16, Stanislaw Gruszka wrote:
>>> On Fri, Feb 14, 2014 at 09:52:37AM +0100, poma wrote:
>>>>
>>>> Ahoy!
>>>>
>>>> Perhaps this is already solved, but I made the effort to test & record
>>>> all of this, therefore here you are. :)
>>>>
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1062833
>>>
>>> There is patch posted for this problem
>>> http://marc.info/?l=linux-kernel&m=139233546223338&w=2
>>> It is under review currently, if there will be no complains it will be
>>> applied.
>>>
>>> Stanislaw
>>>
>>
>> Thanks!
>> I have a few questions but the weekend begins, so we'll leave it for
>> later. :)
>> See ya!
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1062833
>
> IDE disk - ata_piix - dmesg - OK
> https://bugzilla.redhat.com/attachment.cgi?id=864085
>
> SATA disk - ahci - dmesg - OK
> https://bugzilla.redhat.com/attachment.cgi?id=864086
>
> SCSI disk - sym53c8xx - dmesg - OK
> https://bugzilla.redhat.com/attachment.cgi?id=864087
>
> VirtIO SCSI disk - virtio_scsi - dmesg - OK
> https://bugzilla.redhat.com/attachment.cgi?id=864088
>
> USB disk - usb_storage - dmesg - OK
> https://bugzilla.redhat.com/attachment.cgi?id=864089
>
> Test media - 'boot-fix-dma-debug-overlap-v2.iso',
> http://goo.gl/UJSfVn
> sha256sum:
> 6d6b36fdcb0a0ff662ff6a27048d6d5f35ac211c34439f75bba1d524b3507e82
> boot-fix-dma-debug-overlap-v2.iso
>
> Contains 'kernel-3.14.0-0.rc2.git4.1.fc21.x86_64'
> based on Rawhide 'kernel-3.14.0-0.rc2.git4.1.fc21'
> http://koji.fedoraproject.org/koji/buildinfo?buildID=498404
> with the addition of Dan's 'fix-dma-debug-overlap-v2.patch'
> "Fix dma debug v2: account for cachelines and read-only mappings in
> overlap tracking"
> http://marc.info/?l=linux-netdev&m=139233546723342&q=raw
>
>
> All tests are PASSED.
>
>        _
>       ( \
>        \ \
>    ____)  \
>   (___)    ------
>  (___)
>  (___)
>   (__)----------------
>
>
>
> poma

Thanks for the in-depth regression test and report.  Much appreciated!

--
Dan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA ...
  2014-02-18 19:36       ` [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA Dan Williams
@ 2014-02-19  4:44         ` poma
  0 siblings, 0 replies; 6+ messages in thread
From: poma @ 2014-02-19  4:44 UTC (permalink / raw)
  To: Dan Williams
  Cc: Stanislaw Gruszka, Linux Kernel list, IDE/ATA development list,
	Mailing-List fedora-kernel, Joerg Roedel, Tejun Heo,
	Gerard Roudier, Alan Stern, Josh Boyer, Justin M. Forbes,
	Chris Murphy

On 18.02.2014 20:36, Dan Williams wrote:
> On Mon, Feb 17, 2014 at 6:40 AM, poma <pomidorabelisima@gmail.com> wrote:
>> On 14.02.2014 19:20, poma wrote:
>>> On 14.02.2014 10:16, Stanislaw Gruszka wrote:
>>>> On Fri, Feb 14, 2014 at 09:52:37AM +0100, poma wrote:
>>>>>
>>>>> Ahoy!
>>>>>
>>>>> Perhaps this is already solved, but I made the effort to test & record
>>>>> all of this, therefore here you are. :)
>>>>>
>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1062833
>>>>
>>>> There is patch posted for this problem
>>>> http://marc.info/?l=linux-kernel&m=139233546223338&w=2
>>>> It is under review currently, if there will be no complains it will be
>>>> applied.
>>>>
>>>> Stanislaw
>>>>
>>>
>>> Thanks!
>>> I have a few questions but the weekend begins, so we'll leave it for
>>> later. :)
>>> See ya!
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1062833
>>
>> IDE disk - ata_piix - dmesg - OK
>> https://bugzilla.redhat.com/attachment.cgi?id=864085
>>
>> SATA disk - ahci - dmesg - OK
>> https://bugzilla.redhat.com/attachment.cgi?id=864086
>>
>> SCSI disk - sym53c8xx - dmesg - OK
>> https://bugzilla.redhat.com/attachment.cgi?id=864087
>>
>> VirtIO SCSI disk - virtio_scsi - dmesg - OK
>> https://bugzilla.redhat.com/attachment.cgi?id=864088
>>
>> USB disk - usb_storage - dmesg - OK
>> https://bugzilla.redhat.com/attachment.cgi?id=864089
>>
>> Test media - 'boot-fix-dma-debug-overlap-v2.iso',
>> http://goo.gl/UJSfVn
>> sha256sum:
>> 6d6b36fdcb0a0ff662ff6a27048d6d5f35ac211c34439f75bba1d524b3507e82
>> boot-fix-dma-debug-overlap-v2.iso
>>
>> Contains 'kernel-3.14.0-0.rc2.git4.1.fc21.x86_64'
>> based on Rawhide 'kernel-3.14.0-0.rc2.git4.1.fc21'
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=498404
>> with the addition of Dan's 'fix-dma-debug-overlap-v2.patch'
>> "Fix dma debug v2: account for cachelines and read-only mappings in
>> overlap tracking"
>> http://marc.info/?l=linux-netdev&m=139233546723342&q=raw
>>
>>
>> All tests are PASSED.
>>
>>        _
>>       ( \
>>        \ \
>>    ____)  \
>>   (___)    ------
>>  (___)
>>  (___)
>>   (__)----------------
>>
>>
>>
>> poma
> 
> Thanks for the in-depth regression test and report.  Much appreciated!
> 
> --
> Dan
> 

You're welcome. ;)
Thanks for the patch.


poma



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-19  4:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14  8:52 [dma-debug.c - DMA-API] exceeded overlapping … & sym53c8xx … tries to free DMA … poma
2014-02-14  9:16 ` Stanislaw Gruszka
2014-02-14 18:20   ` poma
2014-02-17 14:40     ` poma
2014-02-18 19:36       ` [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA Dan Williams
2014-02-19  4:44         ` poma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox