All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladislav Bolkhovitin <vst@vlnb.net>
To: Gal Rosen <galr@storwize.com>
Cc: Seokmann Ju <seokmann.ju@qlogic.com>,
	linux-scsi@vger.kernel.org, andrew.vasquez@qlogic.com
Subject: Re: rmmod qlogic driver stuck
Date: Tue, 09 Dec 2008 14:04:55 +0300	[thread overview]
Message-ID: <493E50D7.3020808@vlnb.net> (raw)
In-Reply-To: <1228805044.6291.248.camel@galr-linux.storwiz.com>


Gal Rosen wrote:
> Ok, now the picture is more clear.
> It happened only with the virtual ports.
> With physical port and LUNs that defined with write cache enable rmmod
> succeeded, and on the messages file I see:
> [57972.480234] sd 40:0:0:1: [sdb] Synchronizing SCSI cache
> [57972.530263] sd 40:0:0:1: [sdb] Result: hostbyte=DID_NO_CONNECT
> driverbyte=DRIVER_OK,SUGGEST_OK
> 
> While with virtual port I see only:
> [57972.480234] sd 40:0:0:1: [sdb] Synchronizing SCSI cache
> and never get the Result.
> 
> Anyone has an idea?

I can guess that the remote device was disconnected before 
SYNCHRONIZE_CACHE command was sent to it, so it either doesn't go to 
anywhere, or goes to nowhere. Then SCSI mid-layer is waiting for it to 
finish, maybe, infinitely (unlikely) or until some timeout.

> Thanks,
> Gal.
> 
> On Mon, 2008-12-08 at 19:48 +0200, Gal Rosen wrote:
>> On Mon, 2008-12-08 at 09:23 -0800, Seokmann Ju wrote:
>>> On Dec 8, 2008, at 3:33 AM, Gal Rosen wrote:
>>>
>>>> Hi,
>>>>
>>>> I am working against IBM Total Storage DS4000 with LSI INF-01-00 Rev:
>>>> 0534 controller. First I don't understand why this controller  
>>>> present 32
>>>> access LUNs instead of one.
>>>>
>>>> But my main issue is when I create virtual port and then try to rmmod
>>>> the qlogic driver, it stuck. I must say that I made changes to the
>>>> qlogic driver which add possibility to create virtual port in FC-AL
>>>> topology. The base driver is from kernel 2.6.26.2.
>>>>
>>>> Here is a part of the messages file:
>>>>
>>>> [ 1814.053285] scsi(7): DPC handler exiting
>>> [snip]
>>>> host5 is the physical port, and host8 is the virtual port that created
>>>> on host5.
>>>> This issue does not occur against CLARiiON for instanse.
>>> As you may know, the NPIV feature implemented in such a way to work only
>>> in switched fabric topology.
>>> It requires certain switch with NPIV capable to be able to make the
>>> feature fully working.
>> Yes, I know that, but we use the Multi ID feature in Qlogic 24xx
>> firmware, to create the virtual port in LOOP topology.
>>
>> I found that if I configure the LUN in the array to write cache disable
>> this problem does not occur; does this tell something to anyone ?
>> I don't think that it related to the vport, it will happened also with
>> physical port.
>>
>> Gal.
>>> Thank you,
>>> Seokmann
>>>
>>>>
>>>> Please help !!!
>>>>
>>>> Thanks,
>>>> Gal Rosen.
>>>>
>>>>
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux- 
>>>> scsi" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  parent reply	other threads:[~2008-12-09 11:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 11:33 rmmod qlogic driver stuck Gal Rosen
2008-12-08 17:23 ` Seokmann Ju
2008-12-08 17:48   ` Gal Rosen
2008-12-09  6:44     ` Gal Rosen
2008-12-09  7:52       ` Gal Rosen
2008-12-09 11:04       ` Vladislav Bolkhovitin [this message]
2008-12-09 11:26         ` Gal Rosen
2008-12-09 11:31           ` Vladislav Bolkhovitin
2008-12-09 14:15             ` Gal Rosen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493E50D7.3020808@vlnb.net \
    --to=vst@vlnb.net \
    --cc=andrew.vasquez@qlogic.com \
    --cc=galr@storwize.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=seokmann.ju@qlogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.