Date: Mon, 22 Mar 1999 12:02:58 -0700 (MST) From: "Justin T. Gibbs" <gibbs@narnia.plutotech.com> To: Charles Owens <owensc@enc.edu> Cc: scsi@FreeBSD.org Subject: Re: ch(4) driver is noisy Message-ID: <199903221902.MAA26990@narnia.plutotech.com> In-Reply-To: <36F684F6.FF645E3B@enc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <36F684F6.FF645E3B@enc.edu> you wrote: > Every time I use the chio command to control my tape library > (MediaLogic) I get a kernal message or the sort > > Mar 22 12:29:42 r2s3 /kernel: (ch0:ahc0:0:5:0): warning, READ ELEMENT STATUS avail != count Hmm. This will take a little more investigation on my part to see how the code is supposed to work. It seems that chio is not requesting the same number of elements to be reported as known to your changer device. Can you apply this patch which will instrument the code and help me figure out what is going on. -- Justin ==== //depot/cam/sys/cam/scsi/scsi_ch.c#18 - /a/perforce/src/sys/cam/scsi/scsi_ch.c ==== *** /tmp/tmp.26982.0 Mon Mar 22 12:02:10 1999 --- /a/perforce/src/sys/cam/scsi/scsi_ch.c Mon Mar 22 12:02:02 1999 *************** *** 1189,1195 **** if (avail != cesr->cesr_element_count) { xpt_print_path(periph->path); ! printf("warning, READ ELEMENT STATUS avail != count\n"); } user_data = (struct changer_element_status *) --- 1189,1196 ---- if (avail != cesr->cesr_element_count) { xpt_print_path(periph->path); ! printf("warning, READ ELEMENT STATUS avail(%d) != count(%d)\n", ! avail, cesr->cesr_element_count); } user_data = (struct changer_element_status *) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903221902.MAA26990>