All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georg Chini <georg.chini@triaton-webhosting.com>
To: sparclinux@vger.kernel.org
Subject: Re: [TESTERS NEEDED]: Rewritten ESP driver
Date: Sun, 22 Apr 2007 09:01:23 +0000	[thread overview]
Message-ID: <462B2463.5030408@triaton-webhosting.com> (raw)
In-Reply-To: <20070412.233350.41640545.davem@davemloft.net>

Hi Dave,

this did the trick. System boots up fine now.
Thanks!

Regards
              Georg

David Miller wrote:

>From: BERTRAND_Joël <joel.bertrand@systella.fr>
>Date: Thu, 19 Apr 2007 14:19:48 +0200
>
>  
>
>>	Thanks. Patch applied. Now, kernel says :
>>...
>>/dev/md1: clean, 220181/1251712 files...
>>esp: esp0: Reconnect, tag type changed 22 --> 20
>>esp: esp0: Aborting command [fbc5f3c0:2a]
>>esp: esp0: Queued command [fbc5f3c0:2a]
>>esp: esp0: Queued command [fbc5f4e0:2a]
>>esp: esp0: Dumping command log
>>
>>followd by a lot of insane messages ;-)
>>    
>>
>
>OK, I read over the SCSI standard docs a bit and my
>assertion check here is wrong.
>
>Regardless of what type of TAG type we sent to the target, when it
>reconnects after a disconnect it always gives SIMPLE_QUEUE_TAG (0x20)
>as the tag type.
>
>This is explained clearly in section 6.6.17 of the SCSI-2 standard,
>for example.
>
>Georg Chini gave the important clue, MD and RAID.  Those make ordered
>tags go out to the device.  Normally only simple tags are used so the
>tag the target gives back on reconnect always matched up by
>coincidence :-)
>
>Please test with this patch, thanks!
>
>diff --git a/drivers/scsi/esp.c b/drivers/scsi/esp.c
>index a3550b3..fa49348 100644
>--- a/drivers/scsi/esp.c
>+++ b/drivers/scsi/esp.c
>@@ -1435,13 +1435,6 @@ static struct esp_cmd_entry *esp_reconnect_with_tag(struct esp *esp,
> 		       esp->host->unique_id, esp->command_block[1]);
> 		return NULL;
> 	}
>-	if (ent->tag[0] != esp->command_block[0]) {
>-		printk(KERN_ERR PFX "esp%d: Reconnect, tag type changed "
>-		       "%02x --> %02x.\n",
>-		       esp->host->unique_id, ent->tag[0],
>-		       esp->command_block[0]);
>-		return NULL;
>-	}
> 
> 	return ent;
> }
>  
>

  parent reply	other threads:[~2007-04-22  9:01 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-13  6:33 [TESTERS NEEDED]: Rewritten ESP driver David Miller
2007-04-13 10:27 ` Leen Besselink
2007-04-13 15:59 ` Pasi Pirhonen
2007-04-13 20:18 ` Tom "spot" Callaway
2007-04-13 20:33 ` David Miller
2007-04-13 20:48 ` David Miller
2007-04-13 23:10 ` David Miller
2007-04-14  4:10 ` Tom "spot" Callaway
2007-04-14  4:26 ` David Miller
2007-04-14  5:01 ` David Miller
2007-04-14 10:38 ` Pasi Pirhonen
2007-04-14 17:01 ` David Miller
2007-04-14 17:26 ` David Miller
2007-04-14 17:54 ` Pasi Pirhonen
2007-04-14 22:58 ` Tom "spot" Callaway
2007-04-15  0:12 ` David Miller
2007-04-15  0:54 ` Tom "spot" Callaway
2007-04-15  2:24 ` David Miller
2007-04-15  9:16 ` Tom "spot" Callaway
2007-04-15  9:45 ` Pasi Pirhonen
2007-04-15 16:03 ` Adam Kropelin
2007-04-15 23:15 ` Adam Kropelin
2007-04-16  0:55 ` Adam Kropelin
2007-04-16  5:03 ` David Miller
2007-04-16  8:29 ` David Miller
2007-04-16 20:43 ` David Miller
2007-04-16 20:46 ` David Miller
2007-04-16 22:58 ` Adam Kropelin
2007-04-16 23:38 ` David Miller
2007-04-17  3:35 ` Adam Kropelin
2007-04-17  7:19 ` David Miller
2007-04-17 15:28 ` BERTRAND Joël
2007-04-17 19:02 ` David Miller
2007-04-17 19:29 ` BERTRAND Joël
2007-04-17 19:37 ` David Miller
2007-04-17 20:46 ` Tom "spot" Callaway
2007-04-17 20:52 ` Tom "spot" Callaway
2007-04-17 21:12 ` David Miller
2007-04-17 21:13 ` David Miller
2007-04-17 23:59 ` Adam Kropelin
2007-04-19  7:32 ` David Miller
2007-04-19  7:41 ` David Miller
2007-04-19  7:47 ` David Miller
2007-04-19  9:04 ` Pasi Pirhonen
2007-04-19 12:19 ` BERTRAND Joël
2007-04-19 13:04 ` Pasi Pirhonen
2007-04-19 19:41 ` David Miller
2007-04-20 22:55 ` Adam Kropelin
2007-04-20 23:19 ` David Miller
2007-04-21 22:38 ` Georg Chini
2007-04-21 22:41 ` David Miller
2007-04-21 23:20 ` David Miller
2007-04-22  7:49 ` BERTRAND Joël
2007-04-22  7:54 ` BERTRAND Joël
2007-04-22  9:01 ` Georg Chini [this message]
2007-04-22  9:40 ` David Miller
2007-04-23  8:42 ` BERTRAND Joël
2007-04-23  9:06 ` David Miller
2007-04-23  9:08 ` David Miller
2007-04-24  8:01 ` BERTRAND Joël
2007-04-24  8:05 ` David Miller

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=462B2463.5030408@triaton-webhosting.com \
    --to=georg.chini@triaton-webhosting.com \
    --cc=sparclinux@vger.kernel.org \
    /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.