From owner-freebsd-current Sat Apr 4 01:17:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA20095 for freebsd-current-outgoing; Sat, 4 Apr 1998 01:17:37 -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 BAA20069 for ; Sat, 4 Apr 1998 01:17:33 -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 BAA23497; Sat, 4 Apr 1998 01:16:03 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804040916.BAA23497@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: vadik likholetov cc: current@FreeBSD.ORG Subject: Re: [TECH] physio split the request.. cannot proceed In-reply-to: Your message of "Sat, 04 Apr 1998 13:02:56 +0400." <19980404130256.05078@sensi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Apr 1998 01:16:02 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This fixes the problem with scsi scanner devices split i/o. And we still have a little problem with the handling of scsi error : #define XS_SELTIMEOUT 0x10 The problem is we do nothing with it at the driver level in fact we default to the bogus error message category: scsi_ioctl.c: default: sc_print_addr(xs->sc_link); printf("unknown error category from host adapter code\n"); screq->retsts = SCCMD_UNKNOWN; break; For now, I took out the stupid printf and that makes SANE work. Have Fun, Amancio dyson@FreeBSD.ORG said: > dyson 1998/04/03 21:55:06 PST > Modified files: > sys/kern kern_physio.c > Log: > Perhaps fix a problem that some drivers have that they don't > properly > initialize the b_kvasize element. This might fix some of the split > I/O requests that some people have. > Revision Changes Path > 1.26 +2 -2 src/sys/kern/kern_physio.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message