Subject: Re: kern/31990: esiop leaves b_resid non-zero
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 11/04/2005 00:08:02
The following reply was made to PR kern/31990; it has been noted by GNATS.

From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
To: bouyer@antioche.eu.org
Cc: gnats-bugs@NetBSD.org, kern-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/31990: esiop leaves b_resid non-zero
Date: Fri, 04 Nov 2005 09:06:54 +0900

 > > 		db> sh buf 0xfffffc001dde6458
 > > 		  vp 0x0 lblkno 0xdeadbeefdeadbeef blkno 0x0 dev 0x802
 > > 		  error 0 flags 0x1c0210<BUSY,DONE,PHYS,RAW,READ>
 > > 		  bufsize 0x200 bcount 0x200 resid 0x200
 > > 		  data 0x120018000 saveaddr 0x0 dep 0x0
 > > 		  iodone 0xfffffc0000480420
 > > 
 > > 	after putting some printf,
 > > 	esiop_intr seems to call esiop_scsicmd_end with offset == 0.
 > 
 > I don't see a problem here. Calling esiop_scsicmd_end with offset == 0 is
 > valid, if the command didn't complete properly. Can you give more detail on
 > what you see wrong here ?
 
 i expect an error, if the command didn't complete properly.
 
 > Does the kernel print some message ?
 
 nothing.
 
 YAMAMOTO Takashi