Date: Wed, 1 Oct 2003 19:37:24 -0700 From: jasondic@sbcglobal.net To: David Wolfskill <david@catwhisker.org> Cc: scsi@freebsd.org Subject: Re: What's an appropriate response to "data overrun detected in Data-in phase"? Message-ID: <200310011937.24184.jasondic@sbcglobal.net> In-Reply-To: <200310012240.h91Medl9015195@bunrab.catwhisker.org>
index | next in thread | previous in thread | raw e-mail
I can decode some of the cdb's too: > (ch0:ahc0:0:6:0): entering cdgetccb > (ch0:ahc0:0:6:0): xpt_schedule > (ch0:ahc0:0:6:0): xpt_setup_ccb > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: 1a 8 1d 0 20 0 - Mode sense Element Address Assignment Page > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): ahc_done - scb 9 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: 1a 8 1f 0 20 0 - Mode sense Device Capabilities Page > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): ahc_done - scb 2 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): entering chioctl > (ch0:ahc0:0:6:0): trying to do ioctl 0x40086306 > (ch0:ahc0:0:6:0): entering chioctl > (ch0:ahc0:0:6:0): trying to do ioctl 0x40046304 > > Now, for an error condition: > > frecnocpc6# chio status > chio: /dev/ch0: CHIOGSTATUS: Input/output error > frecnocpc6# > > and the corresponding console messages: > > (ch0:ahc0:0:6:0): entering cdgetccb > (ch0:ahc0:0:6:0): xpt_schedule > (ch0:ahc0:0:6:0): xpt_setup_ccb > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: 1a 8 1d 0 20 0 - Mode sense Element Address > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): ahc_done - scb 9 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: 1a 8 1f 0 20 0 - Mode sense Device Capabilities > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): ahc_done - scb 2 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): entering chioctl > (ch0:ahc0:0:6:0): trying to do ioctl 0x40086306 > (ch0:ahc0:0:6:0): entering chioctl > (ch0:ahc0:0:6:0): trying to do ioctl 0x800c6308 > (ch0:ahc0:0:6:0): entering cdgetccb > (ch0:ahc0:0:6:0): xpt_schedule > (ch0:ahc0:0:6:0): xpt_setup_ccb > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: b8 0 0 84 0 1 0 0 4 0 0 0 - Read element status for 64 bytes? > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): ahc_done - scb 9 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: b8 0 0 84 0 1 0 0 0 20 0 0 - Read element status (same element address) this time for for 32 bytes? > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): data overrun detected in Data-in phase. Tag == 0x2. > (ch0:ahc0:0:6:0): Have seen Data Phase. Length = 32. NumSGs = 1. > sg[0] - Addr 0x01367c180 : Length 32 - Hmm well the initiator certainly did ask for 32 bytes! > (ch0:ahc0:0:6:0): ahc_done - scb 2 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): . CDB: b8 0 0 84 0 1 0 0 0 20 0 0 - And anothe read element status for 32 bytes > (ch0:ahc0:0:6:0): xpt_setup_ccb > (ch0:ahc0:0:6:0): xpt_action > (ch0:ahc0:0:6:0): ahc_action > (ch0:ahc0:0:6:0): data overrun detected in Data-in phase. Tag == 0x9. > (ch0:ahc0:0:6:0): Have seen Data Phase. Length = 32. NumSGs = 1. > sg[0] - Addr 0x01367c180 : Length 32 > (ch0:ahc0:0:6:0): ahc_done - scb 9 > (ch0:ahc0:0:6:0): xpt_done > (ch0:ahc0:0:6:0): camisr > (ch0:ahc0:0:6:0): xpt_setup_ccb > (ch0:ahc0:0:6:0): xpt_action > Hmm, sounds like FreeBSD asked for 32 bytes, got it, then complained of a data overrun phase! Donnou what to tell ya, -Jasonhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310011937.24184.jasondic>
