Date: Mon, 19 Nov 2001 18:13:18 +0100 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: scsi@FreeBSD.org Subject: weird problems with on-board Adaptec 7880 Message-ID: <20011119181318.C337@v-ger.we.lc.ehu.es>
next in thread | raw e-mail | index | archive | help
I have a system based on a three-year-old Iwill PIILS motherboard. This mobo includes an AIC7880 controller, which supplies a Ultra Wide SCSI channel. There are two SCSI connectors (68-pin wide and 50-pin narrow) on the motherboard. A few days ago I transplanted the motherboard to another system and I attached some devices to its SCSI channel. I inmediately got speed negotiation problems, and I tried several bus arrangements to no avail. This is *not* a cabling or termination problem; I borrowed an Adaptec 2940U card from another machine, and I attached the same devices using the *same* cables and arrangement. Obviously, everything worked fine. In particular, the speed negotiated by the 2940U with an external DLT 4000 was 10 MB/s (10 MHz) (there were also a CD-ROM and CD-RW, both Ultra SCSI 20 MB/s, 20 MHz). Currently I have *only* one device attached: the external DLT 4000 unit (fast narrow SCSI). There is a flat 50-way cable from the appropriate connector on the motherboard to an external micro-SCSI connector; from here to the DLT there is a single standard SCSI cable, and I attached an active terminator to the DLT's free SCSI connector, of course. Everything is correct. I entered the SCSI-select utility of the onboard AIC7880 and tried all kind of things. Surprisingly, sometimes I achieved the 10 MHz sync speed after enforcing a limit of 5 MB/s (!) for the DLT target. Weird. Anyway, it did not work at all. Even a simple "mt status" gets hung until I reset the bus. I am suspecting of problems with the SEEPROM. Maybe the ahc(4) driver does not understand correctly the settings it reads from the SEEPROM... I don't know. I found a option called "AHC_DUMP_EEPROM"; I can turn it on if it could be useful. Here is an excerpt from the "boot -v" messages: ahc2: <Adaptec aic7880 Ultra SCSI adapter> port 0xe400-0xe4ff mem 0xe5903000-0xe5903fff irq 14 at device 20.0 on pci0 ahc2: Reading SEEPROM...done. ahc2: Low byte termination Enabled ahc2: High byte termination Enabled ahc2: Downloading Sequencer Program... 439 instructions downloaded aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs ... Waiting 15 seconds for SCSI devices to settle noperiph:ahc2:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. ... (ahc2:A:5:0): Sending SDTR period 2b, offset f (ahc2:A:5:0): Received SDTR period 2b, offset f Filtered to period 2b, offset f ahc2: target 5 synchronous at 5.7MHz, offset = 0xf (ahc2:A:5:0): Sending SDTR period 2b, offset f (ahc2:A:5:0): Received SDTR period 2b, offset f Filtered to period 2b, offset f sa0 at ahc2 bus 0 target 5 lun 0 sa0: <Quantum DLT4000 D782> Removable Sequential Access SCSI-2 device sa0: Serial Number DK937R0392 sa0: 5.813MB/s transfers (5.813MHz, offset 15) **NOTE:** the SCSI-select utility offers only two choices for bus termination: "High ON/Low Auto" or "High OFF/Low OFF". If I attach devices to both SCSI onboard connectors (wide and narrow), the "boot -v" messages keep saying "Low byte termination enabled". Is that the expected behavior? I forgot to say that this machine is running 4.4-STABLE (dated November 14th). I am willing to try *anything*. I can modify the ahc(4) sources if needed. Any help, idea or suggestion will be greatly welcome! Thanks in advance, JMA -- ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** 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?20011119181318.C337>