lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1350317173.3452.9.camel@lorien2>
Date:	Mon, 15 Oct 2012 10:06:13 -0600
From:	Shuah Khan <shuah.khan@...com>
To:	Fengguang Wu <fengguang.wu@...el.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	"e1000-devel@...ts.sourcefor..." <e1000-devel@...ts.sourceforge.net>,
	shuahkhan@...il.com
Subject: Re: WARNING: at lib/dma-debug.c:948 check_unmap()

On Mon, 2012-10-15 at 01:02 +0800, Fengguang Wu wrote:
> Hi Shuah,
> 
> FYI, your debug commit
> 
> commit 224d4b5563b005836628b1c02ebe374684df118f
> Author: Shuah Khan <shuah.khan@...com>
> Date:   Fri Oct 12 15:23:05 2012 +1100
> 
>     dma-debug: new interfaces to debug dma mapping errors
> 
> triggers the below warning. Hopefully you know better than me the real
> issue and relevant developers to CC.
> 

This warning indicates that the driver failed to check dma mapping error
on a buffer returned by dma_map_single() or dma_map_page() call. Looking
at the the area where mapping is done, it appears it does call
dma_mapping_error(). It does allocate several buffers in a loop, so it
not obvious to me why the warning is showing up. I will follow-up on
this to make sure it is not a false alarm, before I get the driver team
involved. Thanks for reporting it.

-- Shuah

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ