Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2001 11:41:09 +1200
From:      "Matthew Luckie" <kluckie@ihug.co.nz>
To:        <scsi@freebsd.org>
Subject:   aic6360
Message-ID:  <003201c130e4$1819b820$0a00a8c0@neoprene>

next in thread | raw e-mail | index | archive | help
Hi

I'm not sure if cards with the aic6360 chipset are supported in freebsd.

aic0: <Adaptec 6260/6360 SCSI controller> 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: <CONNER CFP1060S 1.05GB 2035> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 18 -> irq 16
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xffa0-0xffaf at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <S3 Trio graphics accelerator> at 12.0 irq 2
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x7f40-0x7f5f irq 16 at
device 14.0 on pci0
ed0: address 00:00:21:10:49:c1, type NE2000 (16 bit)
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xf1000-0xf1fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
aic0: <Adaptec 6260/6360 SCSI controller> at port 0x340-0x35f irq 12 on isa0
aic0: aic6360, dma, disconnection, parity check
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
ad0: 2014MB <QUANTUM FIREBALL_TM2110A> [4092/16/63] at ata0-master WDMA2
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a
da0 at aic0 bus 0 target 6 lun 0
da0: <CONNER CFP1060S 1.05GB 2035> 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 is my kernel config:

I have tried a kernel compiled with SMP and without SMP.  Same results.
I have tried both controllers and they both are detected identically in
FreeBSD and have the same problem.

I have tried several kernel configurations: this is my scsi section at the
moment:

# SCSI Controllers
device          ahb             # EISA AHA1742 family
device          ahc             # AHA2940 and onboard AIC7xxx devices
device          amd             # AMD 53C974 (Tekram DC-390(T))
device          isp             # Qlogic family
device          ncr             # NCR/Symbios Logic
device          sym             # NCR/Symbios Logic (newer chipsets)
options         SYM_SETUP_LP_PROBE_MAP=0x40
                                # Allow ncr to attach legacy NCR devices
when
                                # both sym and ncr are configured

device          adv0    at isa?
device          adw
device          bt0     at isa?
device          aha0    at isa?
device          aic0    at isa? port 0x340 irq 12

device          ncv             # NCR 53C500
device          nsp             # Workbit Ninja SCSI-3
device          stg             # TMC 18C30/18C50

# SCSI peripherals
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

=====

for what it's worth, i tried compiling just the aic device in without any of
the other controllers with SMP and when the kernel booted it panic'd at the
copyright line with uptime 0s.
if this is not supposed to happen i am happy to help debug this by actually
getting a full copy of the panic message by hand and posting it seperately.

Any help is appreciated.
if you could cc: me that would be helpful.

Matthew




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?003201c130e4$1819b820$0a00a8c0>