[KLUG Members] SCSI problems

Hagen Fenstermaker members@kalamazoolinux.org
Wed, 25 Jun 2003 09:11:37 -0400


I am trying to add an Adaptec 1540 SCSI card to a fairly new RH 9 install.
There was no SCSI hardware installed when the installation was performed.
The card is at scsi id 7 and the hd at id 0.

I have added the following to /etc/modules.conf
  alias scsi_hostadapter aha1542


The following related lines show up in /var/log/messages from boot up(61
lines edited for brevity).
Jun 24 11:21:54 charlie kernel: SCSI subsystem driver Revision: 1.00
Jun 24 11:21:54 charlie kernel: Configuring Adaptec (SCSI-ID 7) at IO:330,
IRQ 11, DMA priority 5
Jun 24 11:21:54 charlie kernel: scsi0 : Adaptec 1542
Jun 24 11:21:54 charlie kernel: aha1542.c: Unable to abort command for
target 0
Jun 24 11:21:54 charlie kernel: aha1542.c: Trying device reset for target 0
Jun 24 11:21:54 charlie kernel: aha1542.c: Unable to abort command for
target 0
Jun 24 11:21:54 charlie kernel: Sent BUS RESET to scsi host 0
Jun 24 11:21:54 charlie kernel: aha1542.c: Unable to abort command for
target 0
Jun 24 11:21:54 charlie kernel: scsi: device set offline - not ready or
command retry failed after host reset: host 0 channel 0 id 0 lun 0
Jun 24 11:21:54 charlie kernel:   Vendor: QUANTUM   Model: FIREBALL SE2.1S
Rev: PJ0A
Jun 24 11:21:54 charlie kernel:   Type:   Direct-Access
ANSI SCSI revision: 02
.............
Jun 24 11:21:58 charlie kernel: aha1542.c: Unable to abort command for
target 6
Jun 24 11:21:58 charlie kernel: aha1542.c: Trying device reset for target 6
Jun 24 11:21:58 charlie kernel: aha1542.c: Unable to abort command for
target 6
Jun 24 11:21:58 charlie kernel: Sent BUS RESET to scsi host 0
Jun 24 11:21:58 charlie kernel: aha1542.c: Unable to abort command for
target 6
Jun 24 11:21:58 charlie kernel: scsi: device set offline - not ready or
command retry failed after host reset: host 0 channel 0 id 6 lun 0
Jun 24 11:21:58 charlie kernel:   Vendor: QUANTUM   Model: FIREBALL SE2.1S
Rev: PJ0A
Jun 24 11:21:58 charlie kernel:   Type:   Direct-Access
ANSI SCSI revision: 02
Jun 24 11:21:58 charlie kernel: scsi : 0 hosts left.

After booting there does not appear to be any reference to the card or drive
in the system.

Issuing a "modprobe scsi_hostadapter" displays the same info as logged above
minus the "..device set offline.." line, the same entries appear in
/var/log/messages, but it creates /proc/scsi which contains the files scsi
and aha1542/0.

$ cat /proc/scsi/scsi produces
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: QUANTUM  Model: FIREBALL SE2.1S  Rev: PJ0A
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: QUANTUM  Model: FIREBALL SE2.1S  Rev: PJ0A
  Type:   Direct-Access                    ANSI SCSI revision: 02
......
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: QUANTUM  Model: FIREBALL SE2.1S  Rev: PJ0A
  Type:   Direct-Access

$ cat /proc/scsi/aha1542/0 produces
The driver does not yet support the proc-fs

It looks like the system aware to some extent that the drive & card exist
but I'm having no luck getting to it.
I should be able to access /dev/sda (or similar) yes/no?  No drive appears
to be available.

Any help would be appreciated.

Thanks

Hagen