aic7xxx scsi init

tilo winkler (twinkler@snafu.owl.de)
Thu, 30 Oct 1997 20:59:00 +0100 (MET)


Hi,

I have a small problem with my Exabyte Streamer: it is not being
recognized when the machine boots after power-on. Apparently, the Exabyte
needs quite some time to initialize, so the driver prints TARGET BUSY (for
details see below).

Is there a possibility to reset the first SCSI channel later (i.e. when
the machine has booted) and would the Exabyte then be recognized?

I'm using kernel 2.0.30 with no significant changes.

btw: Why is it that the aic7xxx driver has such a short timeout? IMHO it
would be better if the driver would keep trying for a couple of minutes if
a device was busy...

Any help would be appreciated.

This is what it looks like when the Exabyte is not being recognized:

Oct 30 18:23:14 snafu kernel: aic7xxx: AHA-2940 Rev B.
Oct 30 18:23:14 snafu kernel: aic7xxx: devconfig = 0x580.
Oct 30 18:23:14 snafu kernel: aic7xxx: Reading SEEPROM...done.
Oct 30 18:23:14 snafu kernel: aic7xxx: Extended translation enabled.
Oct 30 18:23:14 snafu kernel: aic7xxx: Memory check yields 16 SCBs, paging not enabled.
Oct 30 18:23:14 snafu kernel: AHA-2940 (PCI-bus), I/O 0x6000, Mem 0xe0804000:
Oct 30 18:23:14 snafu kernel: irq 11
Oct 30 18:23:14 snafu kernel: bus release time 40 bclks
Oct 30 18:23:14 snafu kernel: data fifo threshold 100
Oct 30 18:23:14 snafu kernel: SCSI CHANNEL A:
Oct 30 18:23:14 snafu kernel: scsi id 7
Oct 30 18:23:14 snafu kernel: scsi selection timeout 256 ms
Oct 30 18:23:14 snafu kernel: scsi bus reset at power-on enabled
Oct 30 18:23:14 snafu kernel: scsi bus parity enabled
Oct 30 18:23:14 snafu kernel: scsi bus termination (low byte) enabled
Oct 30 18:23:14 snafu kernel: aic7xxx: Downloading sequencer code...done.
Oct 30 18:23:14 snafu kernel: aic7xxx: BurstLen = 8 DWDs, Latency Timer = 32 PCLKS
Oct 30 18:23:14 snafu kernel: aic7xxx: AIC-7880 Ultra Rev B.
Oct 30 18:23:14 snafu kernel: aic7xxx: devconfig = 0x1580.
Oct 30 18:23:14 snafu kernel: aic7xxx: Reading SEEPROM...
Oct 30 18:23:14 snafu kernel: aic7xxx: Unable to read SEEPROM; using leftover BIOS values.
Oct 30 18:23:14 snafu kernel: aic7xxx: Extended translation disabled.
Oct 30 18:23:14 snafu kernel: aic7xxx: Memory check yields 16 SCBs, paging not enabled.
Oct 30 18:23:14 snafu kernel: aic7xxx: Enabling wide channel of AIC-7880 Ultra-Wide.
Oct 30 18:23:14 snafu kernel: AIC-7880 Ultra-WIDE (PCI-bus), I/O 0x6400, Mem 0xe0805000:
Oct 30 18:23:14 snafu kernel: irq 12
Oct 30 18:23:14 snafu kernel: bus release time 40 bclks
Oct 30 18:23:14 snafu kernel: data fifo threshold 100
Oct 30 18:23:14 snafu kernel: SCSI CHANNEL A:
Oct 30 18:23:14 snafu kernel: scsi id 7
Oct 30 18:23:14 snafu kernel: scsi selection timeout 256 ms
Oct 30 18:23:14 snafu kernel: scsi bus reset at power-on enabled
Oct 30 18:23:14 snafu kernel: scsi bus parity enabled
Oct 30 18:23:14 snafu kernel: aic7xxx: Downloading sequencer code...done.
Oct 30 18:23:14 snafu kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
Oct 30 18:23:14 snafu kernel: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
Oct 30 18:23:14 snafu kernel: scsi : 2 hosts.
Oct 30 18:23:14 snafu kernel: scsi0: Scanning channel A for devices.
Oct 30 18:23:14 snafu kernel: scsi0: Target 0, channel A, refusing synchronous negotiation; using asynchronous transfers.
Oct 30 18:23:14 snafu kernel: scsi0: Target busy, TCL=0x0.
Oct 30 18:23:14 snafu kernel: scsi0: Target busy, TCL=0x0.
Oct 30 18:23:14 snafu kernel: scsi0 channel 0 : resetting for second half of retries.
Oct 30 18:23:14 snafu kernel: SCSI bus is being reset for host 0 channel 0.
Oct 30 18:23:14 snafu kernel: aic7xxx: (reset) target/channel 0/0
Oct 30 18:23:14 snafu kernel: aic7xxx: (reset_device) target/channel -1/A, active_scb 0
Oct 30 18:23:14 snafu kernel: aic7xxx: (reset_channel) Resetting current channel A
Oct 30 18:23:14 snafu kernel: aic7xxx: (reset_channel) Channel reset, sequencer restarted
Oct 30 18:23:14 snafu kernel: scsi0: Target 0, channel A, refusing synchronous negotiation; using asynchronous transfers.
Oct 30 18:23:14 snafu kernel: scsi0: Target busy, TCL=0x0.
Oct 30 18:23:14 snafu kernel: scsi0: Target busy, TCL=0x0.
Oct 30 18:23:14 snafu kernel: Vendor: TANDBERG Model: TDC 3600 Rev: -06:
Oct 30 18:23:14 snafu kernel: Type: Sequential-Access ANSI SCSI revision: 01
Oct 30 18:23:14 snafu kernel: Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
Oct 30 18:23:14 snafu kernel: scsi1: Scanning channel A for devices.
Oct 30 18:23:14 snafu kernel: scsi1: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
Oct 30 18:23:14 snafu kernel: Vendor: Quantum Model: XP34300 Rev: L912
Oct 30 18:23:14 snafu kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 30 18:23:14 snafu kernel: Detected scsi disk sda at scsi1, channel 0, id 0, lun 0
Oct 30 18:23:14 snafu kernel: scsi1: Target 2, channel A, now synchronous at 10.0MHz, offset 15.
Oct 30 18:23:14 snafu kernel: Vendor: SEAGATE Model: ST52160N Rev: 0285
Oct 30 18:23:14 snafu kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 30 18:23:14 snafu kernel: Detected scsi disk sdb at scsi1, channel 0, id 2, lun 0
Oct 30 18:23:14 snafu kernel: scsi : detected 1 SCSI tape 2 SCSI disks total.
Oct 30 18:23:14 snafu kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 8399520 [4101 MB] [4.1 GB]
Oct 30 18:23:14 snafu kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4238282 [2069 MB] [2.1 GB]

This is a "warm" boot when the Exabyte does not need time for its
initialization:

Oct 30 18:27:30 snafu kernel: aic7xxx: AHA-2940 Rev B.
Oct 30 18:27:30 snafu kernel: aic7xxx: devconfig = 0x580.
Oct 30 18:27:30 snafu kernel: aic7xxx: Reading SEEPROM...done.
Oct 30 18:27:30 snafu kernel: aic7xxx: Extended translation enabled.
Oct 30 18:27:30 snafu kernel: aic7xxx: Memory check yields 16 SCBs, paging not enabled.
Oct 30 18:27:30 snafu kernel: AHA-2940 (PCI-bus), I/O 0x6000, Mem 0xe0804000:
Oct 30 18:27:30 snafu kernel: irq 11
Oct 30 18:27:30 snafu kernel: bus release time 40 bclks
Oct 30 18:27:30 snafu kernel: data fifo threshold 100
Oct 30 18:27:30 snafu kernel: SCSI CHANNEL A:
Oct 30 18:27:30 snafu kernel: scsi id 7
Oct 30 18:27:30 snafu kernel: scsi selection timeout 256 ms
Oct 30 18:27:30 snafu kernel: scsi bus reset at power-on enabled
Oct 30 18:27:30 snafu kernel: scsi bus parity enabled
Oct 30 18:27:30 snafu kernel: scsi bus termination (low byte) enabled
Oct 30 18:27:30 snafu kernel: aic7xxx: Downloading sequencer code...done.
Oct 30 18:27:30 snafu kernel: aic7xxx: BurstLen = 8 DWDs, Latency Timer = 32 PCLKS
Oct 30 18:27:30 snafu kernel: aic7xxx: AIC-7880 Ultra Rev B.
Oct 30 18:27:30 snafu kernel: aic7xxx: devconfig = 0x1580.
Oct 30 18:27:30 snafu kernel: aic7xxx: Reading SEEPROM...
Oct 30 18:27:30 snafu kernel: aic7xxx: Unable to read SEEPROM; using leftover BIOS values.
Oct 30 18:27:30 snafu kernel: aic7xxx: Extended translation disabled.
Oct 30 18:27:30 snafu kernel: aic7xxx: Memory check yields 16 SCBs, paging not enabled.
Oct 30 18:27:30 snafu kernel: aic7xxx: Enabling wide channel of AIC-7880 Ultra-Wide.
Oct 30 18:27:30 snafu kernel: AIC-7880 Ultra-WIDE (PCI-bus), I/O 0x6400, Mem 0xe0805000:
Oct 30 18:27:30 snafu kernel: irq 12
Oct 30 18:27:30 snafu kernel: bus release time 40 bclks
Oct 30 18:27:30 snafu kernel: data fifo threshold 100
Oct 30 18:27:30 snafu kernel: SCSI CHANNEL A:
Oct 30 18:27:30 snafu kernel: scsi id 7
Oct 30 18:27:30 snafu kernel: scsi selection timeout 256 ms
Oct 30 18:27:30 snafu kernel: scsi bus reset at power-on enabled
Oct 30 18:27:30 snafu kernel: scsi bus parity enabled
Oct 30 18:27:30 snafu kernel: aic7xxx: Downloading sequencer code...done.
Oct 30 18:27:30 snafu kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
Oct 30 18:27:30 snafu kernel: scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
Oct 30 18:27:30 snafu kernel: scsi : 2 hosts.
Oct 30 18:27:30 snafu kernel: scsi0: Scanning channel A for devices.
Oct 30 18:27:30 snafu kernel: scsi0: Target 0, channel A, refusing synchronous negotiation; using asynchronous transfers.
Oct 30 18:27:30 snafu kernel: Vendor: EXABYTE Model: EXB-8200 Rev: 2618
Oct 30 18:27:30 snafu kernel: Type: Sequential-Access ANSI SCSI revision: 01
Oct 30 18:27:30 snafu kernel: Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0
Oct 30 18:27:30 snafu kernel: Vendor: TANDBERG Model: TDC 3600 Rev: -06:
Oct 30 18:27:30 snafu kernel: Type: Sequential-Access ANSI SCSI revision: 01
Oct 30 18:27:30 snafu kernel: Detected scsi tape st1 at scsi0, channel 0, id 6, lun 0
Oct 30 18:27:30 snafu kernel: scsi1: Scanning channel A for devices.
Oct 30 18:27:30 snafu kernel: scsi1: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
Oct 30 18:27:30 snafu kernel: Vendor: Quantum Model: XP34300 Rev: L912
Oct 30 18:27:30 snafu kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 30 18:27:30 snafu kernel: Detected scsi disk sda at scsi1, channel 0, id 0, lun 0
Oct 30 18:27:30 snafu kernel: scsi1: Target 2, channel A, now synchronous at 10.0MHz, offset 15.
Oct 30 18:27:30 snafu kernel: Vendor: SEAGATE Model: ST52160N Rev: 0285
Oct 30 18:27:30 snafu kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 30 18:27:30 snafu kernel: Detected scsi disk sdb at scsi1, channel 0, id 2, lun 0
Oct 30 18:27:30 snafu kernel: scsi : detected 2 SCSI tapes 2 SCSI disks total.