Date: Thu, 5 Nov 1998 15:29:13 -0700 (MST) From: "Kenneth D. Merry" <ken@plutotech.com> To: gelderen@mediaport.org (Jeroen C. van Gelderen) Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: .... Illegal request asc:20,0 .... Message-ID: <199811052229.PAA26636@panzer.plutotech.com> In-Reply-To: <000b01be08d0$4efa5140$1400000a@deskfix.local> from "Jeroen C. van Gelderen" at "Nov 5, 98 04:23:58 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
--ELM910304953-26578-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Jeroen C. van Gelderen wrote... > When I reboot (or halt) my 3.0-RELEASE system, I get the following message: > > Syncing... 4 4 > (da0:ahc0:0:0:0): SYNCHRONIZE CACHE CDB: 35 0 0 0 0 0 0 0 0 0 > (da0:ahc0:0:0:0): ILLEGAL REQUEST asc:20,0 > (da0:ahc0:0:0:0): Invalid command operation code field replaceable unit: 14 > System halted... > > I searched the mailing list archives but I couldn't find anything about the > asc:20,0 error (there's plenty about asc:24,0 errors). Can anyone tell me > what's up?? Attached below is my dmesg output, please let me know if you > need more information... [ ... ] > da0 at ahc0 bus 0 target 0 lun 0 > da0: <CONNER CFP4207S 4.28GB 1524> Fixed Direct Access SCSI2 device > da0: 5.0MB/s transfers (5.0MHz, offset 15), Tagged Queueing Enabled > da0: 4096MB (8388608 512 byte sectors: 255H 63S/T 522C) It's a harmless error message. I'm not sure why you're seeing it, though. I've got code in the routine in question (dashutdown()) that explicitly disables printing sense information if the sense key is illegal request. Could you try the attached patch? (for src/sys/cam/scsi/scsi_da.c) It's against -current, but hopefully it'll apply okay to your version of scsi_da.c. Basically, what I want to try to do is get some idea of where the above error message is coming from... If the error message is coming from where it shouldn't be coming from, you'll see something like this before the above error message: dashutdown: printing error message Thanks, Ken -- Kenneth Merry ken@plutotech.com --ELM910304953-26578-0_ Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=scsi_da.c.shutdown_test.110598 Content-Description: scsi_da.c.shutdown_test.110598 Content-Transfer-Encoding: 7bit ==== //depot/cam/sys/cam/scsi/scsi_da.c#89 - /usr/home/ken/perforce/cam/sys/cam/scsi/scsi_da.c ==== *** /tmp/tmp.27124.0 Thu Nov 5 15:24:21 1998 --- /usr/home/ken/perforce/cam/sys/cam/scsi/scsi_da.c Thu Nov 5 15:23:45 1998 *************** *** 1537,1544 **** &error_code, &sense_key, &asc, &ascq); ! if (sense_key != SSD_KEY_ILLEGAL_REQUEST) scsi_sense_print(&ccb.csio); } else { xpt_print_path(periph->path); printf("Synchronize cache failed, status " --- 1537,1547 ---- &error_code, &sense_key, &asc, &ascq); ! if (sense_key != SSD_KEY_ILLEGAL_REQUEST) { ! printf("dashutdown: printing error " ! "message\n"); scsi_sense_print(&ccb.csio); + } } else { xpt_print_path(periph->path); printf("Synchronize cache failed, status " --ELM910304953-26578-0_-- 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?199811052229.PAA26636>