From owner-freebsd-current Fri Apr 3 23:07:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09912 for freebsd-current-outgoing; Fri, 3 Apr 1998 23:07:01 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09907 for ; Fri, 3 Apr 1998 23:06:59 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id XAA22749 for ; Fri, 3 Apr 1998 23:06:53 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804040706.XAA22749@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 cc: current@FreeBSD.ORG Subject: Re: [TECH] physio split the request.. cannot proceed In-reply-to: Your message of "Fri, 03 Apr 1998 21:32:09 PST." <199804040532.VAA22312@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 03 Apr 1998 23:06:53 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Part II -- not recognizing all scsi standard errors For some reason we don't know how to recognize scsi error 16 . Any one got a clue as to what this error code is or can point me to scsi 2 specs ? Tnks, Amancio > A bit more info: > This is from scsi_ioctl:do_command > > bp = malloc(sizeof (struct buf),M_TEMP,M_WAITOK); > bzero(bp,sizeof(struct buf)); > d_addr = screq->databuf; > printf("do_command screq->datalen %d \n", screq-> > datalen > > Apr 3 21:17:09 cioloco /kernel: do_command screq->datalen 5 > > in scsio_ioctl.c:scsistrategy > /* We're in trouble if physio tried to break up the > * transfer: > */ > if (bp->b_bcount != screq->datalen) { > sc_print_addr(sc_link); > printf("bp->b_bcount %d screq->datalen %d screq->cmdlen %d \n", > bp->b_bcount, screq->datalen, screq->cmdlen); > > printf("physio split the request.. cannot proceed\n"); > scsierr(bp, EIO); > return; > } > > > So where are our scsi experts ? 8) > Tnks! > Amancio > > > Apr 3 21:17:09 cioloco /kernel: uk0: bp->b_bcount 0 screq->datalen 5 screq-> > cmd > len 6 > > > > > Try to use the Linux package SANE -- is a scsi scanner package. > > > > While trying to read from the scsi scanner , I am getting : > > physio split the request.. cannot proceed > > > > This message is coming from :scsi_ioctl.c:scsistrategy > > > > A few months ago , I didn't have any problems at all using SANE. > > > > The scsi read request is way below the 32k limit . > > > > Anyone got a clue as to what changed in the kernel ? > > > > Tnks, > > Amancio > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message