linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* what is return code 70000
@ 2008-01-16 18:13 Bernd Schubert
  2008-01-16 18:27 ` James Bottomley
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Schubert @ 2008-01-16 18:13 UTC (permalink / raw)
  To: linux-scsi

Hi,

I already grepped, but I don't find the definition of 

return code = 0x00070000


Just got with FC and 2.4.18 of scientitfic linux:

sd 1:0:0:0: SCSI error: return code = 0x00070000
end_request: I/O error, dev sdb, sector 294388752
device-mapper: multipath: Failing path 8:16.
sd 1:0:1:0: SCSI error: return code = 0x00070000
end_request: I/O error, dev sdc, sector 1713114128
device-mapper: multipath: Failing path 8:32.
sd 2:0:1:0: SCSI error: return code = 0x00070000
end_request: I/O error, dev sde, sector 2094272016
device-mapper: multipath: Failing path 8:64.


Since I have some error handling patches in queue for 2.6.22, I would like to 
know if I would have catched this error, but 0x00070000 is pretty meaningless 
for me :(


Thanks,
Bernd


-- 
Bernd Schubert
Q-Leap Networks GmbH

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what is return code 70000
  2008-01-16 18:13 what is return code 70000 Bernd Schubert
@ 2008-01-16 18:27 ` James Bottomley
  2008-01-16 19:05   ` Bernd Schubert
  0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2008-01-16 18:27 UTC (permalink / raw)
  To: Bernd Schubert; +Cc: linux-scsi


On Wed, 2008-01-16 at 19:13 +0100, Bernd Schubert wrote:
> Hi,
> 
> I already grepped, but I don't find the definition of 
> 
> return code = 0x00070000
> 
> 
> Just got with FC and 2.4.18 of scientitfic linux:
> 
> sd 1:0:0:0: SCSI error: return code = 0x00070000
> end_request: I/O error, dev sdb, sector 294388752
> device-mapper: multipath: Failing path 8:16.
> sd 1:0:1:0: SCSI error: return code = 0x00070000
> end_request: I/O error, dev sdc, sector 1713114128
> device-mapper: multipath: Failing path 8:32.
> sd 2:0:1:0: SCSI error: return code = 0x00070000
> end_request: I/O error, dev sde, sector 2094272016
> device-mapper: multipath: Failing path 8:64.
> 
> 
> Since I have some error handling patches in queue for 2.6.22, I would like to 
> know if I would have catched this error, but 0x00070000 is pretty meaningless 
> for me :(

SCSI returns are 32 bit numbers with definitions in include/scsi/scsi.h
going (from lowest to highest)

     1. status byte: the status return code from the command if
        successfully executed
     2. message byte: now misnamed, message is SPI specific, what it
        means is task status interlaced with possible SPI message
        responses.
     3. host byte: these are the DID_ codes, specific error codes
        returned by drivers.
     4. driver byte: Additional qualification of the error in host byte

In your case, it's showing DID_ERROR.

James



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what is return code 70000
  2008-01-16 18:27 ` James Bottomley
@ 2008-01-16 19:05   ` Bernd Schubert
  0 siblings, 0 replies; 3+ messages in thread
From: Bernd Schubert @ 2008-01-16 19:05 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-scsi

On Wednesday 16 January 2008 19:27:43 James Bottomley wrote:
> On Wed, 2008-01-16 at 19:13 +0100, Bernd Schubert wrote:
> > Hi,
> >
> > I already grepped, but I don't find the definition of
> >
> > return code = 0x00070000
> >
> >
> > Just got with FC and 2.4.18 of scientitfic linux:
> >
> > sd 1:0:0:0: SCSI error: return code = 0x00070000
> > end_request: I/O error, dev sdb, sector 294388752
> > device-mapper: multipath: Failing path 8:16.
> > sd 1:0:1:0: SCSI error: return code = 0x00070000
> > end_request: I/O error, dev sdc, sector 1713114128
> > device-mapper: multipath: Failing path 8:32.
> > sd 2:0:1:0: SCSI error: return code = 0x00070000
> > end_request: I/O error, dev sde, sector 2094272016
> > device-mapper: multipath: Failing path 8:64.
> >
> >
> > Since I have some error handling patches in queue for 2.6.22, I would
> > like to know if I would have catched this error, but 0x00070000 is pretty
> > meaningless for me :(
>
> SCSI returns are 32 bit numbers with definitions in include/scsi/scsi.h
> going (from lowest to highest)
>
>      1. status byte: the status return code from the command if
>         successfully executed
>      2. message byte: now misnamed, message is SPI specific, what it
>         means is task status interlaced with possible SPI message
>         responses.
>      3. host byte: these are the DID_ codes, specific error codes
>         returned by drivers.
>      4. driver byte: Additional qualification of the error in host byte

Ah, thanks! Now I understand. 

>
> In your case, it's showing DID_ERROR.

Hmm, which means I wouldn't have cached it :( Well, this is fibre channel, so 
far I only had trouble with native scsi systems.


Thanks again,
Bernd


-- 
Bernd Schubert
Q-Leap Networks GmbH

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-16 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-16 18:13 what is return code 70000 Bernd Schubert
2008-01-16 18:27 ` James Bottomley
2008-01-16 19:05   ` Bernd Schubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).