From owner-freebsd-scsi Wed Aug 29 16:43:52 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp2.ihug.co.nz (smtp2.ihug.co.nz [203.109.252.8]) by hub.freebsd.org (Postfix) with ESMTP id A9E9D37B403 for ; Wed, 29 Aug 2001 16:43:43 -0700 (PDT) (envelope-from kluckie@ihug.co.nz) Received: from neoprene (203-173-203-216.nzwide.ihug.co.nz [203.173.203.216]) by smtp2.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id LAA32421 for ; Thu, 30 Aug 2001 11:41:58 +1200 X-Authentication-Warning: smtp2.ihug.co.nz: Host 203-173-203-216.nzwide.ihug.co.nz [203.173.203.216] claimed to be neoprene Message-ID: <003201c130e4$1819b820$0a00a8c0@neoprene> From: "Matthew Luckie" To: Subject: aic6360 Date: Thu, 30 Aug 2001 11:41:09 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 I'm not sure if cards with the aic6360 chipset are supported in freebsd. aic0: at port 0x340-0x35f irq 12 on isa0 aic0: aic6360, dma, disconnection, parity check Anyway, i have two ISA scsi controllers with this chip on it - the mighty aha1502i SB and the equally mighty aha1505. Both of them are jumpered to irq 12 and port 0x340. I am wanting to run an old 1gb scsi drive in my pc that will hold /usr/src to free up space on my 2gb IDE drive so i can install more ports. I am running FreeBSD 4.4-RC cvsup'd 5 days ago. da0 at aic0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 5.000MB/s transfers (5.000MHz, offset 8), Tagged Queueing Enabled da0: 1013MB (2074880 512 byte sectors: 64H 32S/T 1013C) this drive had a fat partition on it; i copied all my data off it and then added the disk to freebsd with /stand/sysinstall as laid out in the handbook. the drive now has a freebsd file system on it. everything was going good with the drive and the cheap controller until i wanted to put usr/src on it. to start with i did this: cd /usr && tar -czf src.tar.gz src/ i then copied the 85mb tar over to the 1gb drive. the tar went over perfectly (sequential I/O). then i tried to extract the tar. the drive will work for about 10 seconds doing heavy random i/o and then hang. the light on the front of the drive remains on for about 10seconds and then goes off. I get messages such as the following: Aug 29 22:43:53 lycra /kernel: (da0:aic0:0:6:0): ccb 0xc0a8a000 - timed out, nexus 0xc0bd7800, phase 0xc6, state 4 Aug 29 22:45:08 lycra /kernel: (da0:aic0:0:6:0): ccb 0xc0a8c400 - timed out, nexus 0xc0bc1000, phase 0x84, state 4 While the machine is still responsive to do anything else, if i try and shutdown -h now the machine it doesnt seem to ever shut down, and i have to power cycle it. I am reasonably sure that I have the scsi bus terminated correctly: i have tried with a terminator and a zip drive that can be jumpered to terminate. This is my dmesg output at boot 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-RC #9: Wed Aug 29 14:35:21 NZST 2001 root@lycra:/usr/src/sys/compile/MATTHEW Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (180.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping = 7 Features=0xfbff real memory = 134217728 (131072K bytes) avail memory = 127152128 (124172K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0378000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 18 -> irq 16 pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 12.0 irq 2 ed0: port 0x7f40-0x7f5f irq 16 at device 14.0 on pci0 ed0: address 00:00:21:10:49:c1, type NE2000 (16 bit) orm0: