RE: SG_IO with >4k buffer size to iscsi sg device causes "Bad page" panic

2007-05-10 Thread Qi, Yanling
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Herbert Xu > Sent: Wednesday, May 09, 2007 6:39 PM > To: Qi, Yanling > Cc: netdev@vger.kernel.org; [EMAIL PROTECTED]; open- > [EMAIL PROTECTED]; [EMAIL PROTECTED]; Qi, > Y

RE: SG_IO with >4k buffer size to iscsi sg device causes "Bad page" panic

2007-05-09 Thread Qi, Yanling
> -Original Message- > From: Mike Christie [mailto:[EMAIL PROTECTED] > Qi, Yanling wrote: > Yeah, this problem should occur in the upstream open-iscsi iscsi code. > open-iscsi works very similar to linux-scsi where it just sends pages > around with sock->ops-sendpage,

SG_IO with >4k buffer size to iscsi sg device causes "Bad page" panic

2007-05-08 Thread Qi, Yanling
Hi All, This panic is related to the interactions between scsi/sg.c, iscsi initiator and tcp on the RHEL 2.6.9-42 kernel. But we may also have the similar problem with open-iscsi initiator. I will explain why we see the Bad page panic first. I did a patch to the sg driver to workaround the problem