Re: 回复:Re: vgdisplay problem with hifn795x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 06, 2008 at 10:09:55PM +0800, Lingbo Tang (SINA) (tanglb@xxxxxxxx) wrote:
> In some cases the non-debug version can work with "mkfs.xfs", but it
> could not in most case.
> I tried to disable most services in the system, but it seems have no
> related to the system load.

So I suppose it is easy to reproduce problem. Please show 'dmesg' output
for the hung case when debug is turned off. Did you see register dump
message when that happened? Please also try attached patch and show the
hung dmesg (with tured off heavy debug).

Thank you.

-- 
	Evgeniy Polyakov
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c
index 6e9b39c..fc29bec 100644
--- a/drivers/crypto/hifn_795x.c
+++ b/drivers/crypto/hifn_795x.c
@@ -2093,6 +2093,10 @@ static int hifn_handle_req(struct ablkcipher_request *req)
 		spin_unlock_irqrestore(&dev->lock, flags);
 	}
 
+	if (err)
+		printk("%s: nbytes: %u, started: %u, qlen: %d, err: %d.\n",
+			__func__, req->nbytes, dev->started, dev->queue.qlen, err);
+
 	return err;
 }
 

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux