From owner-freebsd-scsi Tue Jan 7 5:40:10 2003 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E69D537B401 for ; Tue, 7 Jan 2003 05:40:06 -0800 (PST) Received: from fed1mtao01.cox.net (fed1mtao01.cox.net [68.6.19.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EC1343EA9 for ; Tue, 7 Jan 2003 05:40:01 -0800 (PST) (envelope-from rpsbsd@cox.net) Received: from crazyhorse ([68.0.151.70]) by fed1mtao01.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20030107133959.VAWN27128.fed1mtao01.cox.net@crazyhorse> for ; Tue, 7 Jan 2003 08:39:59 -0500 Message-Id: <3.0.5.32.20030107063959.00916c40@pop.west.cox.net> X-Sender: rpsbsd@pop.west.cox.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 07 Jan 2003 06:39:59 To: freebsd-scsi@freebsd.org From: R P Subject: scsi parity errors Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, The following was recently posted to stable and got only a me-too response from Igor Karpov who had posted his complaint to hardware. I read the post by taliesin@nvg.ntnu.no dated Nov. 24 and Chuck Swiger's reponse. All I've got to say on that is throwing money at this machine got me into this mess. I have a problem since adding a second hard drive to the 68-pin LVD/SE cable on an Adaptec 29160. The machine has two PPro 200 cpus, 384MB ram, Linksys lne100tx NIC, generic PCI USB card, Elsa Synergy II-32 PCI video card, Adaptec 1510 ISA SCSI controller (for a scanner) and SoundBlaster Vibra16 ISA card. There are two drives on the LVD/SE cable and neither is terminated as the cable is terminated. There is a SCSI CDRW on the 50-pin SE connector and a 9.2GB drive on the 68-pin SE connector. Both are terminated. Many months before, FreeBSD 4.0 was installed on the 18Gb drive and upgraded to then stable 4.4. When I tried booting 4.4 from the HD after adding the second LVD drive, parity errors ran up the screen and the machine automatically rebooted. Trying the 4.0 CD produced the same parity errors and a stall. Removing _all_ drives and cables but drive 0, the 18GB drive containing the earlier FreeBSD didn't work. There are now no circumstances that allow FreeBSD to install on that drive. Booting the 4.7 CD didn't work, but allowed getting debug output. All unnecessary cards were removed from the machine, leaving just the Adaptec and video card in hopes that something would improve, but it didn't. The Adaptec 29160 has the latest BIOS, V3.1, but this issue started with BIOS V2.57.2. Before adding the drive, there was one device per cable. 4.0 and 4.4 ran fine from the 18GB SCSI 160 drive. Here's the debug output (hand copied on another machine, please excuse typos) from vtty2 when 4.7R CD was booted to install on the new drive. There was nothing interesting from the generic kernel DMESG, it found the controller but was to much to copy and I couldn't get it all: DEBUG: ioctl(3, TIOCCONS, NULL) = 0 (success) DEBUG: Loading module if_wi.ko (Lucent WaveLAN/IEEE 8082.11 PCMCIA card) (da2:ahc0:0:2:0): parity error detected in Data-in phase. SEQADDR(0x6f) SCSIRATE (0xc2) CRC Value Mismatch (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8d) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): . CDB: 25 0 0 0 0 0 0 0 0 0 (da2:ahc0:0:2:0): ABORTED COMMAND asc:48,0 (da2:ahc0:0:2:0): DEBUG: Loading module cd9660.ko (ISO 9660 Filesystem) cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-4 device cd0: 10.000MB\s transfers (10.000MHZ. offset 15) cd0: Attempt to query device size failed: NOT READY, (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8e) SCSIRATE (0xc2) CRC Value Mismatch DEBUG: Loading module msdos.ko (MSDOS filesystem) DEBUG: Loading module if_typ.ko (3Com 3cR990 (``Thphoon'') PCI Ethernet) DEBUG: Loading module mlx.ko (Mylex DAC960 family RAID) DEBUG: Loading module amr.ko (AMI MegaRAID) DEBUG: Loading module twe.ko (3Ware Escalade RAID) DEBUG: Loading module mly.ko Mylex AcceleRAID/eXtremeRAID) DEBUG: Loading module if_an.ko (Aironet 4500/4800 8092.11 PCMCIA/ISA/PCI card) DEBUG: Can't open PC-card controller /dev/card0. (da2:ahc0:0:2:0): parity error detected in Data-in phase. SEQADDR(0x71) SCSIRATE (0xc2) CRC Value Mismatch (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8d) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): . CDB: 25 0 0 0 0 0 0 0 0 0 (da2:ahc0:0:2:0): ABORTED COMMAND asc:48,0 (da2:ahc0:0:2:0): (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8e) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): parity error detected in Data-in phase. SEQADDR(0x71) SCSIRATE (0xc2) CRC Value Mismatch (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8d) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): . CDB: 25 0 0 0 0 0 0 0 0 0 (da2:ahc0:0:2:0): ABORTED COMMAND asc:48,0 (da2:ahc0:0:2:0): (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8d) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): parity error detected in Data-in phase. SEQADDR(0x6f) SCSIRATE (0xc2) CRC Value Mismatch (da0:ahc0:0:0:0): parity error detected in Data-in phase. SEQADDR(0x8d) SCSIRATE (0xc2) CRC Value Mismatch (da0:ahc0:0:0:0): got CAM status 0x50 (da0:ahc0:0:0:0): fatal error, failed to attach to device (da0:ahc0:0:0:0): lost device (da0:ahc0:0:0:0): removing device entry (da2:ahc0:0:2:0): . CDB: 25 0 0 0 0 0 0 0 0 0 (da2:ahc0:0:2:0): ABORTED COMMAND asc:48,0 (da2:ahc0:0:2:0): da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHZ, offset 127, 16 bit) da2: Attempt to query device size failed: ABORTED COMMAND, (da2:ahc0:0:2:0): parity error detected in Data-in phase. SEQADDR(0x71) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): . CDB: 25 0 0 0 0 0 0 0 0 0 (da2:ahc0:0:2:0): ABORTED COMMAND asc:48,0 (da2:ahc0:0:2:0): (da2:ahc0:0:2:0): parity error detected in Data-in phase. SEQADDR(0x71) SCSIRATE (0xc2) CRC Value Mismatch (da2:ahc0:0:2:0): . CDB: 25 0 0 0 0 0 0 0 0 0 (da2:ahc0:0:2:0): ABORTED COMMAND asc:48,0 (da2:ahc0:0:2:0): DEBUG: Add mapping for /dev/cuaa0 to sl0 DEBUG: Add mapping for /dev/cuaa1 to sl0 DEBUG: Unable to open disk cd0DEBUG: Unable to open disk da2 After this, only the 9.1GB drive (on the 68-pin SE bus) with no free space on it was available to 4.7. These drives and adapter work in all configurations tried with MSDOS, Windows NT, and 2000 using supplied drivers from Adaptec and no drive parity or other drive errors were detected. At this point, I believe this to be a software problem. Any help or constructive ideas are appreciated. Rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message