Date: Fri, 27 Dec 2002 21:20:04 -0800 (PST) From: Chuck McCrobie <mccrobie2000@yahoo.com> To: freebsd-scsi@freebsd.org Subject: SCSI Problems with sym and Western Digital on FreeBSD 4.7-stable Message-ID: <20021228052004.77600.qmail@web14812.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0400000<AMIE,DSP,3DNow!> 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: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI Mach64-GM graphics accelerator> 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: <unknown card> (vendor=0x104c, dev=0x8019) at 7.0 irq 5 de0: <Digital 21140A Fast Ethernet> 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: <DEC 21152 PCI-PCI bridge> at device 10.0 on pci0 pci2: <PCI bus> 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: <Digital 21140A Fast Ethernet> 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: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 11 at device 16.0 on pci0 usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 10 at device 16.1 on pci0 usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 5 at device 16.2 on pci0 usb2: <VIA 83C572 USB controller> 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: <USB controller> at 16.3 irq 15 isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0 isa0: <ISA bus> on isab0 pcm0: <VIA VT8235> port 0xd800-0xd8ff irq 5 at device 17.5 on pci0 orm0: <Option ROMs> at iomem 0xc0000-0xc97ff,0xc9800-0xcbfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio2: configured irq 7 not in bitmap of probed irqs 0 sio3: configured irq 9 not in bitmap of probed irqs 0 pcf0: can't reserve irq, polled mode. pcf0: <PCF8584 I2C bus controller> at port 0x320-0x321 irq 5 on isa0 iicbus0: <Philips I2C bus> on pcf0 addr 0xaa iicsmb0: <I2C to SMB bridge> on iicbus0 smbus0: <System Management Bus> on iicsmb0 smb0: <SMBus general purpose I/O> on smbus0 iic0: <I2C general purpose I/O> on iicbus0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging disabled Waiting 15 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym2:0:-1:-1): SCSI BUS reset delivered. de0: enabling Full Duplex 100baseTX port de1: enabling 10baseT port sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect Mounting root from ufs:/dev/da0a da0 at sym0 bus 0 target 0 lun 0 da0: <SEAGATE ST318406LW 0109> Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) cd0 at sym1 bus 0 target 2 lun 0 cd0: <MATSHITA PD-2 LF-D100 A114> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at sym1 bus 0 target 4 lun 0 cd1: <YAMAHA CRW2100S 1.0K> Removable CD-ROM SCSI-2 device cd1: 20.000MB/s transfers (20.000MHz, offset 7) cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at sym0 bus 0 target 2 lun 0 da1: <WDIGTL WDE18300 ULTRA2 1.30> Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit) da1: 17461MB (35761710 512 byte sectors: 255H 63S/T 2226C) Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped ----- Kernel built Dec 17 ----- syncing disks... 11 done Uptime: 11m52s Rebooting... 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: Tue Dec 17 22:50:09 EST 2002 mccrobie@orange.my.domain:/usr/src/sys/compile/orange Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 2000+ (1666.74-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0400000<AMIE,DSP,3DNow!> real memory = 536805376 (524224K bytes) avail memory = 518823936 (506664K bytes) Preloaded elf kernel "kernel" at 0xc03d2000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00f7f40 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI Mach64-GM graphics accelerator> 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: <unknown card> (vendor=0x104c, dev=0x8019) at 7.0 irq 5 de0: <Digital 21140A Fast Ethernet> 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: <DEC 21152 PCI-PCI bridge> at device 10.0 on pci0 pci2: <PCI bus> 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: <Digital 21140A Fast Ethernet> 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: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 11 at device 16.0 on pci0 usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 10 at device 16.1 on pci0 usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 5 at device 16.2 on pci0 usb2: <VIA 83C572 USB controller> 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: <USB controller> at 16.3 irq 15 isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0 isa0: <ISA bus> on isab0 pcm0: <VIA VT8235> port 0xd800-0xd8ff irq 5 at device 17.5 on pci0 orm0: <Option ROMs> at iomem 0xc0000-0xc97ff,0xc9800-0xcbfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio2: configured irq 7 not in bitmap of probed irqs 0 sio3: configured irq 9 not in bitmap of probed irqs 0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging disabled Waiting 15 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym2:0:-1:-1): SCSI BUS reset delivered. de0: enabling Full Duplex 100baseTX port de1: enabling 10baseT port sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect (probe2:sym0:0:2:0): ODD transfer in DATA IN phase. (probe2:sym0:0:2:0): COMMAND FAILED (87 0 10). (probe2:sym0:0:2:0): ODD transfer in DATA IN phase. (probe2:sym0:0:2:0): COMMAND FAILED (87 0 10). (probe2:sym0:0:2:0): ODD transfer in DATA IN phase. (probe2:sym0:0:2:0): COMMAND FAILED (87 0 10). (probe2:sym0:0:2:0): ODD transfer in DATA IN phase. (probe2:sym0:0:2:0): COMMAND FAILED (87 0 10). (probe2:sym0:0:2:0): ODD transfer in DATA IN phase. (probe2:sym0:0:2:0): COMMAND FAILED (87 0 10). sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect sym2: unexpected disconnect Mounting root from ufs:/dev/da0a da0 at sym0 bus 0 target 0 lun 0 da0: <SEAGATE ST318406LW 0109> Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) cd0 at sym1 bus 0 target 2 lun 0 cd0: <MATSHITA PD-2 LF-D100 A114> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at sym1 bus 0 target 4 lun 0 cd1: <YAMAHA CRW2100S 1.0K> Removable CD-ROM SCSI-2 device cd1: 20.000MB/s transfers (20.000MHz, offset 7) cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com 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?20021228052004.77600.qmail>