[Top] [All Lists]

printk failed in cpu bus/cache error

To: Linux MIPS Mailing List <>
Subject: printk failed in cpu bus/cache error
From: "wilbur.chan" <>
Date: Fri, 12 Nov 2010 23:19:14 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=8Uyj+PHbWdMmv7DCoIHtFVfmMRKh19vT0PQfEYzuG+s=; b=babu+diyYWllG1LAnH5OmBSEJS0Leq96iX7GZnhWjuGNf5WQSiByMfk1vNjX2N5oD2 amZftiTUnO6770u4y1IqQt9pZHbSHIKanQtY4wz7uohVb0urjT0u9HMP43bmVeLQ0LbH b5Hp3c6hX2dvuQr6ZKXNMeFW5cmeB+5s2KdWA=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qM+wvYOspSYcAxnsgVu1mtsj+Asfm0KQKrXjUswGVVNX5aljI3MwZqYwbm0/n5p27P 54FEkZkQ/HvCpIKPguy+vlFKhh9TDbxQmOp1CUjXg0eRPEjgNEKRE2ZgnK6/UW9ICCSI NXanuoTLLhqluNuLhmzFnkp2Ih9yEW24gFh/s=
Original-recipient: rfc822;

mips  xlr 732 configured  with 32bits system

I found that when an cpu/cache error was triggered  by an  unaligned
access , printk does not  work well in the cache error handler.

printk hangs on  spin_lock(&logbuf_lock),    further more ,  the code
was  located exactly  to :

spin_lock -- > _raw_spin_trylock -->asm( " sc   %2, %1"  )

If    ' sc ' instruction  unavailable when cache error occured?

<Prev in Thread] Current Thread [Next in Thread>
  • printk failed in cpu bus/cache error, wilbur.chan <=