Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 03:18:43 +0200 (CEST)
From:      =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@free.fr>
To:        lola21@gmx.net
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: problem on booting scsi 53c810 device from from FreeBSD 4.6 boot disks
Message-ID:  <20020702023237.X3415-100000@localhost.my.domain>
In-Reply-To: <3D20B619.7080503@duettra.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 1 Jul 2002, Rene Duettra wrote:

> Hello,
> I tried to install FreeBSD 4.6 from the 2 boot disks (kern, mfsroot).
>
> everything seems fine:
> sym0: ID7 Fast10, parity checking
>
> then I got these messages (which loops):
> sym0: PCI Status=3D0x8100

The device is reporting a PCI error condition:

- bit 0x8000 -> detected parity error (detected or observed as a master)
- bit 0x0100 -> data parity error detected

This means that the PCI device acting as a master detected a parity error
on the PCI bus or observed the PERR bit asserted (assumed by the PCI
target)

> sym0: suspicious SCSI data while resetting the BUS
> sym0: dp0,d7-0,rst,req,ack,asy,sel,atn,msq,c/d,i/o=3D0x180,expecting

This means that the device reported that the SCSI/REQ signal was still
asserted and SCSI/RESET was asserted since 200 micro-seconds. Btw, this
one looks extremally weird, since this SCSI signal is normally driven by
the SCSI initiator.

> 0x100 (noperiph:sym0:0:-1:-1): SCSI BUS reset detected
> sym0: Error(c0:0) (e-aa-0) (0/3)@(scrpla90 1e000000).

DSTAT=3D0xc0
bit 0x40 -> Master data parity error
(Same condition as reported from the PCI Status register above)

> sym0: script cmd=3D82030000
> sym0: regdump: da 10 80 03 47 00 30 1f 00 0e 07 aa 80 00 0a 00 00 60
> be 07 2a ff ff ff.
>
> I installed an OpenBSD3.0 some weeks ago, and this worked just fine. I
> want to avoid to install FreeBSD by using an FTP server and recompile
> the kernel with the ncr module (which I think is used by OpenBSD).
>
> On comp.unix.bsd.freebsd.misc I read about people having the same
> problem (--> dk@mobile.rogers.com; NCR 53c810 SCSI controller and the
> new 'sym' driver), but they didn=B4t get any answers.
>
> my hardware:
> AMD K6-200, 128MB RAM, 6 GB HDD (IDE), Symbios 8100S PCI SCSI Adapter
> (53C810 Device) with Yahama SCSI burner and Ultraplex 32xCDROM

The sym driver does enable PCI parity checking. FYI, only a few PCI device
drivers are picky about that. In other words, most just disable this
checking or donnot care about it. For example, the ncr driver does not
enable it (even if the source let think that it wants to enable it).

As seen from PCI specifications, PCI parity checking is not a option for
such device class. As a result, this checking should be enabled by
default (as does sym for example).

May-be, 'sym' works reliably on your system with PCI parity checking
disabled (not 100% sure given the 2nd error which is SCSI related).

Just the sym driver maintainer does not want to silently not enable this
checking. Note that there is some heuristic in the driver that tries to
detect spurious PCI parity errors and automatically disable the thing, but
it does not seem to apply to your system.

Indeed, you may switch to another driver or O/S that works for you.
You also could give a try with sym with PCI parity checking disabled, at
your own risks obviously. Setting the SYM_SETUP_PCI_PARITY driver config
option to 0 should do the trick.

File /usr/sys/dev/sym/sym_conf.h or add the corresponding define to your
kernel config file:

(You may also read the sym(4) man page that documents this option)

--

/*
 *  PCI parity checking.
 *  It should not be an option, but some poor or broken
 *  PCI-HOST bridges have been reported to make problems
 *  when this feature is enabled.
 *  Setting this option to 0 tells the driver not to
 *  enable the checking against PCI parity.
 */
#ifndef SYM_SETUP_PCI_PARITY
#define SYM_SETUP_PCI_PARITY=09(1)
#endif

--

Regards,
  G=E9rard.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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