NetBSD Problem Report #23321
Received: (qmail 12472 invoked by uid 605); 30 Oct 2003 23:27:33 -0000
Message-Id: <200310302327.h9UNRUBq005711@fs.nerv.org>
Date: Thu, 30 Oct 2003 17:27:30 -0600 (CST)
From: jam@pobox.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: jam@pobox.com
To: gnats-bugs@gnats.netbsd.org
Subject: 3ware Escalade 7506-8 doesn't run with 440BX (P2B-DS)
X-Send-Pr-Version: 3.95
>Number: 23321
>Category: port-i386
>Synopsis: 3ware Escalade 7506-8 doesn't run with 440BX (P2B-DS)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 30 23:28:00 +0000 2003
>Closed-Date:
>Last-Modified: Fri Oct 31 06:37:11 +0000 2003
>Originator: Kazushi (Jam) Marukawa
>Release: NetBSD 1.6ZC
>Organization:
none
>Environment:
System: NetBSD fs.nerv.org 1.6ZE NetBSD 1.6ZE (sou) #2: Wed Oct 29 21:50:51 CST 2003 jam@fs.nerv.org:/usr/src/sys/arch/i386/compile/sou i386
Architecture: i386
Machine: i386
>Description:
When I boot P2B-DS with 7506-8, the device driver (twe.c) shows
"twe0: unexpected status bits: 0x00800000" warning messages on console
forever. This problem happened on P2B-DS only. For example, TUV4X
(Apollo 133T chipset) worked fine with 7506-8.
This 00800000 means "TWE_STS_PCI_PARITY_ERROR".
I checked Linux and FreeBSD and leared they are submitting
"TWE_CTL_CLEAR_PARITY_ERROR" when they get this error. I thought
they are clearing errors, so that they don't show error messages
forever.
I modified NetBSD's twe.c to clear errors. It solved the
problem, but NetBSD stop working at the later part of system
initialization. It just hang when it executed tsleep at PRIBIO
level (inside of SCSI initialization. kernel says wait 2 secs
and is gone). I might break the kernel semantics by sending clear
error message.
Is it possible to work on twe.c to improve it like other OS's
driver? Thanks in advance.
>How-To-Repeat:
Install 7506-8 to P2B-DS and boot it up.
>Fix:
Nothing.
>Release-Note:
>Audit-Trail:
From: Kazushi (Jam) Marukawa <jam@pobox.com>
Date: Fri, 31 Oct 2003 00:29:53 -0600
On Oct 30, 23:36, Allen Briggs wrote:
> Subject: Re: port-i386/23321: 3ware Escalade 7506-8 doesn't run with 440BX
> On Thu, Oct 30, 2003 at 05:27:30PM -0600, jam@pobox.com wrote:
> > >Synopsis: 3ware Escalade 7506-8 doesn't run with 440BX (P2B-DS)
>
> Are you running the very latest 3ware driver code from -current?
> Jason Thorpe recently made a few changes to it, I think. The
> current revisions that I see are:
>
> NetBSD: ld_twe.c,v 1.18 2003/09/26 03:11:41 thorpej Exp
> NetBSD: twe.c,v 1.52 2003/10/30 01:58:17 simonb Exp
> NetBSD: tweio.h,v 1.4 2003/09/25 18:05:40 thorpej Exp
> NetBSD: twereg.h,v 1.6 2003/09/22 01:28:25 thorpej Exp
> NetBSD: twevar.h,v 1.20 2003/09/23 23:50:05 thorpej Exp
Hi. Thanks for the response. I tried it at 2003/10/10.
>Unformatted:
>From that day, only twe.c was changed from 1.51 to 1.52.
And, nothing was changed in practical.
[...]
Therefore, I think I tested it on the very latest 3ware
driver code.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.