From owner-freebsd-scsi Fri Dec 27 21:20:22 2002 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 0C7DE37B405 for ; Fri, 27 Dec 2002 21:20:05 -0800 (PST) Received: from web14812.mail.yahoo.com (web14812.mail.yahoo.com [66.163.172.96]) by mx1.FreeBSD.org (Postfix) with SMTP id 73C0B43EA9 for ; Fri, 27 Dec 2002 21:20:04 -0800 (PST) (envelope-from mccrobie2000@yahoo.com) Message-ID: <20021228052004.77600.qmail@web14812.mail.yahoo.com> Received: from [216.45.73.136] by web14812.mail.yahoo.com via HTTP; Fri, 27 Dec 2002 21:20:04 PST Date: Fri, 27 Dec 2002 21:20:04 -0800 (PST) From: Chuck McCrobie Subject: SCSI Problems with sym and Western Digital on FreeBSD 4.7-stable To: freebsd-scsi@freebsd.org 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 I am having SCSI problems with the sym driver and a Western Digital hard disk. Under the -stable kernel built on 'Dec 1', the drive show up fine with 16-bit wide transfers at 40 MHz. Under the most recent -stable kernel built on 'Dec 17', the Western Digital gets some type of very weird error message. The Western Digital is "da1". No changes except cvsup on this machine. Suddenly, da1 is having problems. I can reboot back to kernel built on 'Dec 1' and access the disk with _NO_ problems. Also, I set the controller to do 8-bit transfers to da1 - no problems there either. So, something software wise has changed between 'Dec 1' and now. Do any of you scsi maintainer's have a clue to this problem? I've looked at the difference in sym_hipd.c and some others, but nothing really jumps out :( Attached is the 'dmesg' from the boot-ups of both the 'Dec 1' kernel and the 'Dec 17' kernel. Sorry for the formatting. Thanks mccrobie@cablespeed.com -- ­ Copyright (c) 1992-2002 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.7-STABLE #0: Sun Dec 1 05:05:25 EST 2002 mccrobie@orange.my.domain:/usr/src/sys/compile/smb Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 2000+ (1666.73-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0400000 real memory = 536805376 (524224K bytes) avail memory = 518758400 (506600K bytes) Preloaded elf kernel "kernel.good.1" at 0xc03e1000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00f7f40 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 sym0: <875> port 0xe800-0xe8ff mem 0xdfffe000-0xdfffefff,0xdfffff00-0xdfffffff irq 10 at device 6.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: SCAN FOR LUNS disabled for targets 0 1 2 3 4 5 6. pci0: (vendor=0x104c, dev=0x8019) at 7.0 irq 5 de0: port 0xec00-0xec7f mem 0xdffffe80-0xdffffeff irq 15 at device 8.0 on pci0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:40:05:a2:da:8f pcib2: at device 10.0 on pci0 pci2: on pcib2 sym1: <875> port 0xc800-0xc8ff mem 0xdfefe000-0xdfefefff,0xdfefff00-0xdfefffff irq 10 at device 0.0 on pci2 sym1: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym2: <875> port 0xc400-0xc4ff mem 0xdfefd000-0xdfefdfff,0xdfeffe00-0xdfeffeff irq 5 at device 1.0 on pci2 sym2: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym2: open drain IRQ line driver, using on-chip SRAM sym2: using LOAD/STORE-based firmware. de1: port 0xcc00-0xcc7f mem 0xdfeffd80-0xdfeffdff irq 15 at device 2.0 on pci2 de1: 21140A [10-100Mb/s] pass 2.2 de1: address 00:06:2b:01:24:07 uhci0: port 0xdc00-0xdc1f irq 11 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 10 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe400-0xe41f irq 5 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at 16.3 irq 15 isab0: at device 17.0 on pci0 isa0: on isab0 pcm0: port 0xd800-0xd8ff irq 5 at device 17.5 on pci0 orm0: