From owner-freebsd-stable Mon Oct 1 9:50:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by hub.freebsd.org (Postfix) with ESMTP id A864F37B406 for ; Mon, 1 Oct 2001 09:48:53 -0700 (PDT) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id F41BC2E46D for ; Mon, 1 Oct 2001 12:48:52 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.6/8.11.6) id f91GmqE09619; Mon, 1 Oct 2001 12:48:52 -0400 (EDT) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15288.40564.766657.92861@onceler.kciLink.com> Date: Mon, 1 Oct 2001 12:48:52 -0400 To: stable@freebsd.org Subject: problems with BusLogic (aka Mylex) BT-948 controller X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A while back, I had written about repeated kernel warnings of CCB timeouts on one of my machines. The messages are like these, with varying hex values: Sep 30 03:07:18 lorax /kernel: (da0:bt0:0:0:0): CCB 0xc7830040 - timed out Sep 30 03:07:26 lorax /kernel: (da0:bt0:0:0:0): CCB 0xc7830040 - timed out Sep 30 03:07:26 lorax /kernel: bt0: No longer in timeout This card worked flawlessly under BSD/OS, where Buslogic controllers were the preferred devices. The driver under BSD/OS was extremely well done. Simply installing FreeBSD on this box resulted in these errors. The above errors are repored under a recent kernel/world. FreeBSD lorax.kciLink.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Sep 26 10:06:43 EDT 2001 vivek@lorax.kciLink.com:/usr/obj/u/lorax1/usr/src/sys/LORAX i386 The dmesg output is below. My query last December resulted in two replies. One person said running a cron job to sync once per minute cleared his problem with a Mylex 958. Another person said to check cables. I recall someone saying that the drive was going bad, but that was directly to me, not the list. http://www.freebsd.org/cgi/getmsg.cgi?fetch=177791+0+/usr/local/www/db/text/2000/freebsd-stable/20001210.freebsd-stable In the archives, I found a query from July 2000 with similar issues with a Mylex 958. There was one response to it (not linked in the archive) that indicated an older BIOS should be used in the card. I have BIOS 5.05R, which is older than the BIOS in the original query. http://www.freebsd.org/cgi/getmsg.cgi?fetch=907153+909002+/usr/local/www/db/text/2000/freebsd-stable/20000709.freebsd-stable http://www.freebsd.org/cgi/getmsg.cgi?fetch=1089306+1092247+/usr/local/www/db/text/2000/freebsd-stable/20000709.freebsd-stable Also, from December 1997, I found a message regarding older Adaptec controllers getting these errors under load. This person said as far as he can tell it is a driver issue, since the cards work fine with other operating systems, similar to my experience. http://www.freebsd.org/cgi/getmsg.cgi?fetch=0+2928+/usr/local/www/db/text/2000/freebsd-stable/20000618.freebsd-stable Other than these kernel warnings (and the pause caused by these timeouts) the machine runs just fine. It has never crashed either under BSD/OS nor FreeBSD on its own... Does this seem like a driver issue? I kind of feel like it is as it only happens under heavy load. I get the timeouts on the second drive as well when I pound on it. I don't think both drives are going bad simultaneously... Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-STABLE #0: Wed Sep 26 10:06:43 EDT 2001 vivek@lorax.kciLink.com:/usr/obj/u/lorax1/usr/src/sys/LORAX Timecounter "i8254" frequency 1196664 Hz CPU: Pentium/P54C (199.42-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 134217728 (131072K bytes) avail memory = 127860736 (124864K bytes) Preloaded elf kernel "kernel" at 0xc02d4000. Intel Pentium detected, installing workaround for F00F bug apm0: on motherboard apm: found APM BIOS v1.1, connected at v1.1 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at 7.1 de0: port 0x6000-0x607f mem 0xe0800000-0xe080007f irq 5 at device 17.0 on pci0 de0: DEC DE500-XA 21140 [10-100Mb/s] pass 1.2 de0: address 00:00:f8:03:1e:19 pci0: at 18.0 irq 9 bt0: port 0x6100-0x6103 mem 0xe0801000-0xe0801fff irq 10 at device 19.0 on pci0 bt0: BT-948 FW Rev. 5.05R Ultra Narrow SCSI Host Adapter, SCSI ID 7, 192 CCBs sis0: port 0x6200-0x62ff mem 0xe0802000-0xe0802fff irq 11 at device 20.0 on pci0 sis0: Ethernet address: 00:02:e3:15:61:04 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: