Patchwork qemuimage-tests/dmesg: Add exception for error message on qemuarm with 3.8 kernel

login
register
mail settings
Submitter Richard Purdie
Date March 2, 2013, 10:33 p.m.
Message ID <1362263617.11004.17.camel@ted>
Download mbox | patch
Permalink /patch/45445/
State Accepted
Commit da1e094c407353af2ab230c4867c9d8fd68e3161
Headers show

Comments

Richard Purdie - March 2, 2013, 10:33 p.m.
With 3.8 kernels we get a harmless error message during kernel boot.
For now we can ignore. This allows the tests to pass and ensures we
can merge the 3.8 kernel.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Bruce Ashfield - March 3, 2013, 4:54 a.m.
On 13-03-02 5:33 PM, Richard Purdie wrote:
> With 3.8 kernels we get a harmless error message during kernel boot.
> For now we can ignore. This allows the tests to pass and ensures we
> can merge the 3.8 kernel.

Thanks Richard.

Investigation into the versatile platform 3.8 kernel changes and the
clock probe are ongoing, we'll pull this exception once we understand
exactly what is happening.

Cheers,

Bruce

>
> Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
> ---
> diff --git a/scripts/qemuimage-tests/tools/dmesg.sh b/scripts/qemuimage-tests/tools/dmesg.sh
> index 66c0223..f0c9318 100644
> --- a/scripts/qemuimage-tests/tools/dmesg.sh
> +++ b/scripts/qemuimage-tests/tools/dmesg.sh
> @@ -13,7 +13,9 @@ if [ $? -ne 0 ]; then
>   	exit 1
>   fi
>
> -dmesg | grep -iq "error"
> +# For now, ignore mmci-pl18x errors on qemuarm which appeared
> +# from the 3.8 kernel and are harmless
> +dmesg | grep -v mmci-pl18x | grep -iq "error"
>   if [ $? -eq 0 ]; then
>   	echo "QEMU: There is some error log in dmesg:"
>   	echo "QEMU: ##### Error Log ######"
>
>

Patch

diff --git a/scripts/qemuimage-tests/tools/dmesg.sh b/scripts/qemuimage-tests/tools/dmesg.sh
index 66c0223..f0c9318 100644
--- a/scripts/qemuimage-tests/tools/dmesg.sh
+++ b/scripts/qemuimage-tests/tools/dmesg.sh
@@ -13,7 +13,9 @@  if [ $? -ne 0 ]; then
 	exit 1
 fi
 
-dmesg | grep -iq "error"
+# For now, ignore mmci-pl18x errors on qemuarm which appeared
+# from the 3.8 kernel and are harmless
+dmesg | grep -v mmci-pl18x | grep -iq "error"
 if [ $? -eq 0 ]; then
 	echo "QEMU: There is some error log in dmesg:"
 	echo "QEMU: ##### Error Log ######"