From wb@vestein.arb-phys.uni-dortmund.de  Mon Sep 16 05:34:20 1996
Received: from vestein.arb-phys.uni-dortmund.de (vestein.arb-phys.uni-dortmund.de [192.109.44.6])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA01350
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Sep 1996 05:34:10 -0700 (PDT)
Received: (from wb@localhost) by vestein.arb-phys.uni-dortmund.de (8.7.5/8.7.3) id KAA00493; Fri, 13 Sep 1996 10:35:59 +0200 (MET DST)
Message-Id: <199609130835.KAA00493@vestein.arb-phys.uni-dortmund.de>
Date: Fri, 13 Sep 1996 10:35:59 +0200 (MET DST)
From: "Wilhelm B. Kloke" <wb@vestein.arb-phys.uni-dortmund.de>
Reply-To: wb@vestein.arb-phys.uni-dortmund.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: MUSTEK Scanner hangs NCR SCSI controller
X-Send-Pr-Version: 3.2

>Number:         1626
>Category:       i386
>Synopsis:       MUSTEK Scanner hangs NCR SCSI controller
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 05:40:01 PDT 1996
>Closed-Date:    Mon Mar 23 11:14:35 PST 1998
>Last-Modified:  Mon Mar 23 11:16:48 PST 1998
>Originator:     Wilhelm B. Kloke
>Release:        FreeBSD 2.1.5-RELEASE i386
>Organization:
Institut f"ur Arbeitsphysiologie an der Uni Dortmund
>Environment:

        AMD 5x86/133 on PCI-Board. SC200 controller with
        Quantum XP34300 and Mustek MFS-12000CX

>Description:

        Whenever the system tries to access the scanner, the SCSI
        bus is not longer usable, not even for the disc. The system
        returns after some minutes hanging for other operations.

        The console log contains the following message (written
        down to paper, not from a file, so there may be some
        formatting error):

        ncr0: aborting job ...
        ncr0:6: ERROR (90:0) (8-0-0) (0/13) @(c8c:50000000).
        script cmd = 740a8700
        reg: da 00 00 13 47 00 06 1f 35 08 80 00 90 00 0f 02.
        ncr0: restart (fatal error).
        (ncr0:6:0): COMMAND FAILED (9ff) @f0771000.

>How-To-Repeat:

        Easily if the scanner is available.  

>Fix:
        
        Not known.


>Release-Note:
>Audit-Trail:

From: "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To: wb@vestein.arb-phys.uni-dortmund.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: i386/1626: MUSTEK Scanner hangs NCR SCSI controller 
Date: Mon, 16 Sep 1996 09:27:04 -0700

 >        Whenever the system tries to access the scanner, the SCSI
 >        bus is not longer usable, not even for the disc. The system
 >        returns after some minutes hanging for other operations.
 
 Most scanners do not allow disconnection. So, while you are scanning,
 no other transactions may pass through the bus.  The only real fix
 is to get a second adapter and place your scanner on it assuming you
 want to do real work while you are scanning.  I'm also cooking up
 some ideas for how to fix our timeout code so that its less pathological
 in these types of situations, but you'd still see these "pauses"
 regardless.
 
 --
 Justin T. Gibbs
 ===========================================
   FreeBSD: Turning PCs into workstations
 ===========================================

From: Stefan Esser <se@zpr.uni-koeln.de>
To: wb@vestein.arb-phys.uni-dortmund.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: i386/1626: MUSTEK Scanner hangs NCR SCSI controller
Date: Mon, 16 Sep 1996 20:02:28 +0200 (MET DST)

 Wilhelm B. Kloke writes:
 
  >         AMD 5x86/133 on PCI-Board. SC200 controller with
  >         Quantum XP34300 and Mustek MFS-12000CX
  > 
  > >Description:
  > 
  >         Whenever the system tries to access the scanner, the SCSI
  >         bus is not longer usable, not even for the disc. The system
  >         returns after some minutes hanging for other operations.
  > 
  >         The console log contains the following message (written
  >         down to paper, not from a file, so there may be some
  >         formatting error):
  > 
  >         ncr0: aborting job ...
  >         ncr0:6: ERROR (90:0) (8-0-0) (0/13) @(c8c:50000000).
  >         script cmd = 740a8700
  >         reg: da 00 00 13 47 00 06 1f 35 08 80 00 90 00 0f 02.
  >         ncr0: restart (fatal error).
  >         (ncr0:6:0): COMMAND FAILED (9ff) @f0771000.
 
 This looks like command abort after a timeout
 occurred.
 
  > >How-To-Repeat:
  > 
  >         Easily if the scanner is available.  
 
 Well, fine. It is less than 100km to Koeln, so 
 you may as well make it available :)
 
  > >Fix:
  >         
  >         Not known.
 
 You did not include enough information (there 
 must have been a few more lines above the first
 you wrote down). But as Justin Gibbs already 
 wrote in his reply, this is most probably caused
 by another device getting nervous because it 
 can't complete its command, if the scanner does
 not disconnect and locks out other devices for
 up to a minute.  (Well, it is in fact the driver 
 becoming nervous, but that's an implementation 
 detail :)
 
 You may be best off connecting your scanner to
 a second SCSI card. You know they are cheap ...
 
 Regards, STefan

From: Studded <Studded@dal.net>
To: freebsd-gnats-submit@freebsd.org, wb@vestein.arb-phys.uni-dortmund.de
Cc:  Subject: Re: i386/1626: MUSTEK Scanner hangs NCR SCSI controller
Date: Sun, 22 Mar 1998 14:33:08 -0800

 Wilhelm can we close this PR? The responses you received originally
 indicated that a hardware solution was your best bet. Have you had any
 luck with this?
 
 Doug
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Mar 23 11:14:35 PST 1998 
State-Changed-Why:  
Closed at originator's request. 
>Unformatted:
