Skip to contentSkip to conversation

exceeded overlapping … & sym53c8xx … tries to free DMA …

dma-debug.c - DMA-API poma 3 participants 6 messages Feb 14, 2014 – Feb 19, 2014 libata

lore
Share & tools
lore

poma

author
#0 lore raw

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

_______________________________________________
kernel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/kernel

author
#2 lore raw
Quoted 7 lines · Stanislaw Gruszka
Quoted 6 lines · poma

Ahoy!

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

Quoted 9 lines
Quoted 1 line

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

author
#3 lore raw
Quoted 15 lines · poma
Quoted 14 lines · Stanislaw Gruszka
Quoted 7 lines · poma

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.

Quoted 7 lines
Quoted 2 lines

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

_______________________________________________
kernel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/kernel

#4 lore raw

Re: [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA ...

Quoted 69 lines · poma
Quoted 15 lines · poma
Quoted 14 lines · Stanislaw Gruszka
Quoted 7 lines · poma

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.

Quoted 7 lines
Quoted 2 lines

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.

       _
      ( \
       \ \

____) \
(___) ------
(___)
(___)
(__)----------------

Quoted 1 line

poma

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

--
Dan

author
#5 lore raw

Re: [dma-debug.c - DMA-API] exceeded overlapping ... & sym53c8xx ... tries to free DMA ...

Quoted 70 lines · Dan Williams
Quoted 69 lines · poma
Quoted 15 lines · poma
Quoted 14 lines · Stanislaw Gruszka
Quoted 7 lines · poma

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.

Quoted 7 lines
Quoted 2 lines

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.

       _
      ( \
       \ \

____) \
(___) ------
(___)
(___)
(__)----------------

Quoted 7 lines
Quoted 1 line

poma

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

--
Dan

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

poma

_______________________________________________
kernel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/kernel