From owner-freebsd-scsi Tue Nov 21 5:19:32 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id EE7AA37B667 for ; Tue, 21 Nov 2000 05:19:03 -0800 (PST) Received: by peorth.iteration.net (Postfix, from userid 1001) id 0C88957311; Tue, 21 Nov 2000 07:19:29 -0600 (CST) Date: Tue, 21 Nov 2000 07:19:28 -0600 From: "Michael C . Wu" To: freebsd-scsi@freebsd.org Subject: Sym0 not autodetecting Ultra160 Message-ID: <20001121071928.A75565@peorth.iteration.net> Reply-To: "Michael C . Wu" Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I have recently bought a Tekram Ultra160 U3W controller along with a couple IBM DDYS Ultra160 harddrives. However, I am puzzled by the dmesg output. It seems to say that the harddrives can only do 3.300MB/S transfers, when it should be saying 160.000MB/S The cd0 and cd1 devices both autodetect their speed correctly da0 at sym1 bus 0 target 2 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 3.300MB/s transfers, Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da1 at sym1 bus 0 target 4 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 3.300MB/s transfers, Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) cd0 at sym1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Searching the archives, I find that someone had a similiary trouble with the ahc0 driver. He fixed it by setting the harddrive speed in the SCSI BIOS to the lowest possible, boot, move the speed setting higher, boot, until it displays 160MB/S. (i.e. 10MB/S 20M/S 40MB/s and so on to 160MB/S) I tried this, and the highest I could make it go is 40MB/S. After that, the kernel stays dmesg'ing at 40MB/S when I set the BIOS to 80MB/S or 160MB/S. I also tried messing with camcontrol negotiate da0 -R XXX to no avail. Is this just an display error? or is it really only 3.3MB/S? Thanks, (Attached is my dmesg) -- +------------------------------------------------------------------+ | keichii@peorth.iteration.net | keichii@bsdconspiracy.net | | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | +------------------------------------------------------------------+ --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2000 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 5.0-20001119-CURRENT #0: Sun Nov 19 14:07:24 GMT 2000 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 598625041 Hz CPU: Pentium III/Pentium III Xeon/Celeron (598.63-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 402653184 (393216K bytes) config> di sn0 config> di lnc0 config> di le0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 386682880 (377620K bytes) Preloaded elf kernel "kernel" at 0xc04eb000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc04eb09c. Preloaded elf module "linprocfs.ko" at 0xc04eb0ec. Pentium Pro MTRR support enabled md0: Malloc disk WARNING: Driver mistake: destroy_dev on 154/0 Using $PIR table, 10 entries at 0xc00fdf20 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: port 0x1800-0x181f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ulpt0: Xerox Corporation Xerox DocuPrint P1202, rev 1.00/1.00, addr 2, iclass 7/1 pci0: at 7.3 fxp0: port 0x1820-0x183f mem 0xf4100000-0xf41fffff,0xf4015000-0xf4015fff irq 11 at device 13.0 on pci0 fxp0: Ethernet address 00:08:c7:3a:24:c2 pci0: (vendor=0x109e, dev=0x036e) at 14.0 irq 10 pci0: (vendor=0x109e, dev=0x0878) at 14.1 irq 10 sym0: <1010-33> port 0x1000-0x10ff mem 0xf4010000-0xf4011fff,0xf4014000-0xf40143ff irq 3 at device 15.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <1010-33> port 0x1400-0x14ff mem 0xf4012000-0xf4013fff,0xf4014400-0xf40147ff irq 3 at device 15.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-80, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. pci0: (vendor=0x14f1, dev=0x1033) at 16.0 irq 9 pcm0: port 0x1840-0x185f irq 3 at device 17.0 on pci0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: 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 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources ad0: 13042MB [26500/16/63] at ata0-master UDMA33 ad1: 4126MB [8944/15/63] at ata0-slave UDMA33 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. (probe17:sym1:0:2:0): M_REJECT to send for : 1-6-4-c-0-3e-1-0. (probe19:sym1:0:4:0): M_REJECT to send for : 1-6-4-c-0-3e-1-0. Mounting root from ufs:/dev/da0s1a da0 at sym1 bus 0 target 2 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 3.300MB/s transfers, Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da1 at sym1 bus 0 target 4 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 3.300MB/s transfers, Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) cd0 at sym1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed --vtzGhvizbBRQ85DL-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message