[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABXGCsNB3RsMGvCucOy3byTEOxoc-Ys+zB_HQ=Opb_GhX1ioDA@mail.gmail.com>
Date: Thu, 19 Dec 2024 17:41:06 +0500
From: Mikhail Gavrilov <mikhail.v.gavrilov@...il.com>
To: Linux List Kernel Mailing <linux-kernel@...r.kernel.org>,
Linux regressions mailing list <regressions@...ts.linux.dev>, Christoph Hellwig <hch@....de>, pchelkin@...ras.ru
Subject: 6.13/regression/bisected - 133577cad6bf led to error in kernel log
"DMA-API: snd_hda_intel 0000:03:00.1: device driver failed to check map
error[device address=0x00000000ffff0000] [size=20480 bytes] [mapped as single]"
Hi,
I'm trying to find the first bad commit that is led to error in kernel log
"DMA-API: snd_hda_intel 0000:03:00.1: device driver failed to check
map error[device address=0x00000000ffff0000] [size=20480 bytes]
[mapped as single]"
But instead of it, I found the merge commit
133577cad6bf48e5a7848c4338124081393bfe8a
Merge: c4bb3a2d641c aef7ee7649e0
Author: Linus Torvalds <torvalds@...ux-foundation.org>
Date: Sat Nov 30 15:36:17 2024 -0800
Merge tag 'dma-mapping-6.13-2024-11-30' of
git://git.infradead.org/users/hch/dma-mapping
Pull dma-mapping fix from Christoph Hellwig:
- fix physical address calculation for struct dma_debug_entry (Fedor
Pchelkin)
* tag 'dma-mapping-6.13-2024-11-30' of
git://git.infradead.org/users/hch/dma-mapping:
dma-debug: fix physical address calculation for struct dma_debug_entry
kernel/dma/debug.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
I am sure that after reverting this merge
> git revert -n 133577cad6bf48e5a7848c4338124081393bfe8a -m 1
the error message was gone.
Let's try to figure it out together and find the right bad commit.
The kernel logs from each bisect step I saved in the attached zip archive.
> grep -R "device driver failed to check map error" . | sort
./dmesg-6.12.0-05-cfd47302ac64b595beb0a67a337b81942146448a.txt:[
73.891387] DMA-API: snd_hda_intel 0000:03:00.1: device driver failed
to check map error[device address=0x00000000ffff0000] [size=20480
bytes] [mapped as single]
./dmesg-6.12.0-10-133577cad6bf48e5a7848c4338124081393bfe8a.txt:[
36.391584] DMA-API: snd_hda_intel 0000:03:00.1: device driver failed
to check map error[device address=0x00000000ffff0000] [size=20480
bytes] [mapped as single]
As you can see, the "bad" result happens in steps 05 and 10.
git bisect start
# status: waiting for both good and bad commits
# good: [7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5] Merge tag
'for-6.13/dm-changes' of
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
git bisect good 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5
# status: waiting for bad commit, 1 good commit known
# bad: [e70140ba0d2b1a30467d4af6bcfe761327b9ec95] Get rid of
'remove_new' relic from platform driver struct
git bisect bad e70140ba0d2b1a30467d4af6bcfe761327b9ec95
# 01 - good: [e33a6d83e1786d5e310ae746c67f5f4e2f93ba35] Merge tag
'usb-6.13-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect good e33a6d83e1786d5e310ae746c67f5f4e2f93ba35
# 02 - good: [2eff01ee2881becc9daaa0d53477ec202136b1f4] Merge tag
'char-misc-6.13-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect good 2eff01ee2881becc9daaa0d53477ec202136b1f4
# 03 - good: [831c1926ee728c3e747255f7c0f434762e8e863d] Merge tag
'uml-for-linus-6.13-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux
git bisect good 831c1926ee728c3e747255f7c0f434762e8e863d
# 04 - good: [6a34dfa15d6edf7e78b8118d862d2db0889cf669] Merge tag
'kbuild-v6.13' of
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
git bisect good 6a34dfa15d6edf7e78b8118d862d2db0889cf669
# 05 - bad: [cfd47302ac64b595beb0a67a337b81942146448a] Merge tag
'block-6.13-20242901' of git://git.kernel.dk/linux
git bisect bad cfd47302ac64b595beb0a67a337b81942146448a
# 06 - good: [e8b8344de3980709080d86c157d24e7de07d70ad] block, bfq:
fix bfqq uaf in bfq_limit_depth()
git bisect good e8b8344de3980709080d86c157d24e7de07d70ad
# 07 - good: [c4bb3a2d641c02ac2c7aa45534b4cefdf9bf416b] Merge tag
'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
git bisect good c4bb3a2d641c02ac2c7aa45534b4cefdf9bf416b
# 08 - good: [0c0a4eae26ac78379d0c1db053de168a8febc6c9] io_uring:
check for overflows in io_pin_pages
git bisect good 0c0a4eae26ac78379d0c1db053de168a8febc6c9
# 09 - good: [7eb75ce7527129d7f1fee6951566af409a37a1c4] io_uring/tctx:
work around xa_store() allocation error issue
git bisect good 7eb75ce7527129d7f1fee6951566af409a37a1c4
# 10 - bad: [133577cad6bf48e5a7848c4338124081393bfe8a] Merge tag
'dma-mapping-6.13-2024-11-30' of
git://git.infradead.org/users/hch/dma-mapping
git bisect bad 133577cad6bf48e5a7848c4338124081393bfe8a
# 11 - good: [aef7ee7649e02f7fc0d2e5e532f352496976dcb1] dma-debug: fix
physical address calculation for struct dma_debug_entry
git bisect good aef7ee7649e02f7fc0d2e5e532f352496976dcb1
# first bad commit: [133577cad6bf48e5a7848c4338124081393bfe8a] Merge
tag 'dma-mapping-6.13-2024-11-30' of
git://git.infradead.org/users/hch/dma-mapping
Where did I go wrong?
My machine specs: https://linux-hardware.org/?probe=059108072c
I attached below also build config.
--
Best Regards,
Mike Gavrilov.
Download attachment "kernel-logs.zip" of type "application/zip" (568822 bytes)
Download attachment ".config.zip" of type "application/zip" (67391 bytes)
Powered by blists - more mailing lists