Subject: kern/31990: esiop leaves b_resid non-zero
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 11/03/2005 13:23:01
>Number:         31990
>Category:       kern
>Synopsis:       esiop leaves b_resid non-zero
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 03 13:23:00 +0000 2005
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 3.99.11

System: NetBSD 3.99.11
Architecture: alpha
Machine: alpha
	the following is the first i/o request of
	"dd if=/dev/rsd0c of=/dev/null", after biodone() is called on it.

		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.