From van.woerkom@netcologne.de Tue Apr 27 16:03:08 1999
Return-Path: <van.woerkom@netcologne.de>
Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103])
	by hub.freebsd.org (Postfix) with ESMTP id 8F21F156A0
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Apr 1999 16:03:06 -0700 (PDT)
	(envelope-from van.woerkom@netcologne.de)
Received: from oranje.my.domain (dial1-24.netcologne.de [194.8.196.24])
	by mail2.netcologne.de (8.9.1/8.9.1) with ESMTP id BAA02491
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Apr 1999 01:03:04 +0200 (MET DST)
Received: (from marc@localhost)
	by oranje.my.domain (8.9.3/8.9.3) id AAA00994;
	Wed, 28 Apr 1999 00:45:45 +0200 (CEST)
	(envelope-from marc)
Message-Id: <199904272245.AAA00994@oranje.my.domain>
Date: Wed, 28 Apr 1999 00:45:45 +0200 (CEST)
From: van.woerkom@netcologne.de
Reply-To: van.woerkom@netcologne.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: rvplayer 5.0 (Linux) causes SCSI driver to fail
X-Send-Pr-Version: 3.2

>Number:         11359
>Category:       kern
>Synopsis:       rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system)
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 27 16:10:01 PDT 1999
>Closed-Date:    Wed Jul 14 01:05:21 PDT 1999
>Last-Modified:  Tue Jan  9 02:30:01 PST 2001
>Originator:     Marc van Woerkom
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	FreeBSD 4.0-CURRENT #35: Mon Apr 12 04:08:16 CEST 1999
	CPU: AMD-K6tm w/ multimedia extensions (300.68-MHz 586-class CPU)
	Preloaded elf kernel "kernel" at 0xc02b6000.
	chip0: <Host to PCI bridge (vendor=1039 device=5597)> rev 0x02 on pci0.0.0
	chip1: <SiS 85c503> rev 0x01 on pci0.1.0
	ncr0: <ncr 53c810 fast10 scsi> rev 0x02 int a irq 15 on pci0.13.0
	es1: <AudioPCI ES1370> rev 0x00 int a irq 11 on pci0.15.0
	pcm1: using I/O space register mapping at 0x6400
        ..


>Description:

	Using rvplayer 5.0 from the ports collection, especially while 
        the ncr based scsi controler is busy, will cause the ncr to fail
        and hereby hang the system.

        Some examples that did not hang the system immediately:

	    ncr0:1: ERROR (a0:0) (8-0-0) (8/13) @ (scripth 1350:c0000000).
	    ncr0: script cmd = 0bfe3b3c
	    ncr0: regdump: da 00 00 13 47 08 01 1f 35 08 81 00 80 00 0f 02.
	    ncr0: restart (fatal error).

 	    ncr0:2: ERROR (a0:0) (8-0-0) (8/13) @ (script 58:c0000000).
	    ncr0: script cmd = e2001034
	    ncr0: regdump: da 00 00 13 47 08 02 1f 35 08 82 00 80 00 07 02.
	    ncr0: restart (fatal error).
	    (da2:ncr0:0:2:0): COMMAND FAILED (9 ff) @0xc0c83e00.

	    ncr0:2: ERROR (a0:0) (8-0-0) (8/13) @ (script 58:c0000000).
	    ncr0: script cmd = e2001034
	    ncr0: regdump: da 00 00 13 47 08 02 1f 35 08 81 00 80 00 07 02.
	    ncr0: restart (fatal error).
	    (da2:ncr0:0:2:0): COMMAND FAILED (9 ff) @0xc0c82200.

	    ncr0:1: ERROR (a0:0) (8-0-0) (8/13) @ (script 58:c0000000).
	    ncr0: script cmd = e2001034
	    ncr0: regdump: da 00 00 13 47 08 01 1f 35 08 81 00 80 00 0f 02.
	    ncr0: restart (fatal error).

	I have no clue yet, if this problem is due to the linux emu, the
        es1370 sound driver or rvplayer.

	Regards,
	Marc	


>How-To-Repeat:

	- start linux emulation
	- start rvplayer
	- e.g. cvsup

        wait for failures..


>Fix:
	
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->freebsd-bugs 
Responsible-Changed-By: jseger 
Responsible-Changed-When: Wed Jun 9 04:28:18 PDT 1999 
Responsible-Changed-Why:  
Misfiled PR. 

From: Chris Costello <chris@calldei.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/11359: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system)
Date: Thu, 10 Jun 1999 16:53:34 -0500

 > Synopsis: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system)
 
    I don't experience this problem running -CURRENT as of May 30:
 
 Copyright (c) 1992-1999 The FreeBSD Project.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.0-CURRENT #4: Sun May 30 04:22:23 CDT 1999
     root@holly.dyndns.org:/usr/src/sys/compile/Holly
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
   Origin = "AuthenticAMD"  Id = 0x580  Stepping=0
   Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
 
 ----
 
 ncr0: <ncr 53c875j fast20 wide scsi> irq 10 at device 10.0 on pci0
 
 da0 at ncr0 bus 0 target 6 lun 0
 da0: <IBM DDRS-34560D DC1B> Fixed Direct Access SCSI-2 device 
 da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
 da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
 
    I, too, have rvplayer 5.0, and do not experience these problems.
 
 -- 
 Chris Costello                                <chris@calldei.com>
 The purpose of computing is insight, not numbers.  - Hamming
 
State-Changed-From-To: open->feedback 
State-Changed-By: marcel 
State-Changed-When: Fri Jul 9 06:09:58 PDT 1999 
State-Changed-Why:  
Contact submitter for an update on the problem. 

From: Marcel Moolenaar <marcel@scc.nl>
To: freebsd-gnats-submit@freebsd.org, van.woerkom@netcologne.de
Cc:  
Subject: Re: kern/11359: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail 
 (and hang the system)
Date: Fri, 09 Jul 1999 15:08:45 +0200

 Hi Marc,
 
 I'm trying to clean op Linux emulator related PRs and found this. Can you
 tell me if the problem is solved, has gone away or is still there. Also,
 can you tell me if you know whether it is SCSI related, Linux emulator
 related or otherwise?
 
 Thanks in advance,
 
 -- 
 Marcel Moolenaar                                  mailto:marcel@scc.nl
 SCC Internetworking & Databases                     http://www.scc.nl/
 Amsterdam, The Netherlands                         tel: +31 20 4200655
 
State-Changed-From-To: feedback->closed 
State-Changed-By: marcel 
State-Changed-When: Wed Jul 14 01:05:21 PDT 1999 
State-Changed-Why:  
Problem not related to rvplayer and/or Linux emulation. Marc will send a new 
PR when the problem remains. He has more info now and can be more specific. 

From: Marc van Woerkom <marc.vanwoerkom@science-factory.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/11359: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system)
Date: Tue, 9 Jan 2001 11:21:10 +0100 (CET)

 Just to finish this one:
 
 Last year I replaced the ASUS SC200 SCSI controler with
 a Tekram DCF390 one.
 
 This solved the problems.
 So it was not the audio card / driver but probably
 the SC200 not able to deal with my other PCI hardware.
 
 Regards,
 Marc
 
>Unformatted:
