Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 1998 01:16:02 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        vadik likholetov <vadik@sensi.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: [TECH] physio split the request.. cannot proceed 
Message-ID:  <199804040916.BAA23497@rah.star-gate.com>
In-Reply-To: Your message of "Sat, 04 Apr 1998 13:02:56 %2B0400." <19980404130256.05078@sensi.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804040916.BAA23497>