Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 1996 20:51:36 UTC+0100
From:      Javier Martin Rueda <jmrueda@diatel.upm.es>
To:        freebsd-scsi@freebsd.org
Subject:   The Adaptec 2842 no longer probes my DAT drive
Message-ID:  <881*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS>

next in thread | raw e-mail | index | archive | help
I've just received my FreeBSD 2.1 CD. I tried installing the system, but
I had problems with the SCSI subsystem.

Under FreeBSD 2.0, in the same computer, everything works fine. These are
the messages output by the kernel while it is probing for devices under
FreeBSD 2.0:

ahc0: reading board settings
ahc0: 284x Single Channel, 4 SCBs, int=11, SCSI Id=7
ahc0: Downloading Sequencer Program
ahc0 at 0x1000-0x1fff irq 11 on eisa
ahc0 targ 0 lun 0: type 0(direct) fixed SCSI2
ahc0 targ 0 lun 0: <CONNER  CFP1060S 1.05GB 2035>
sd0: 1013MB (2074880 total sec), 2756 cyl, 8 head, 94 sec, bytes/sec 512
ahc0 targ 3 lun 0: type 5(readonly) removable SCSI2
ahc0 targ 3 lun 0: <TOSHIBA CD-ROM XM-5201TA3014>
cd0: could not get size
cd0: drive empty
ahc0 targ 6 lun 0: type 1(sequential) removable SCSI2
ahc0 targ 6 lun 0: <ARCHIVE Python 25501-XXX2.66>
st0: density code 0x13,  drive empty

As you can see, I'm using an Adaptec 2842 (VESA local bus), a hard disk,
a CD-ROM reader, and a DAT tape drive (2 GB, no compression).

This has been working mostly OK since I installed FreeBSD 2.0, when it
was released.

However, when I boot FreeBSD 2.1 with the GENERIC kernel, the system
panics when it is probing for the DAT tape drive. If I disconnect the
DAT tape drive, there is no problem. I've installed FreeBSD 2.1 on
another computer, compiled a new kernel with just the hardware
configuration of my computer (just in case some of the unsuccesful
probes of the GENERIC kernel was interacting badly with the 2842, but
the results are exactly the same). The messages that are output are the
following (they are copied by hand, so don't expect exact format, number
of spaces, etc. as on screen):

ahc1: 284x Single Channel, SCSI Id=7, aic7770 >= Rev E, 4 SCBs
ahc1 at 0x1000-0x10ff irq11 on eisa slot1
ahc1 waiting for scsi devices to settle
(ahc1:0:0): "CONNER CFP1060S 1.05GB 2035" type 0 fixed SCSI 2
sd0(ahc1:0:0): Direct-Access 1013 MB (2074880 512 byte sectors)
(ahc0:3:0): "TOSHIBA CD-ROM XM-5201TA 3014" type 5 removable SCSI 2
cd0(ahc0:3:0):  Logical unit is in process of becoming ready

... now, the computer halts for a long time (1 minute, maybe) ...

ahc1: board not responding
cmd fail
(ahc1:6:0): BUS DEVICE RESET message queued
ahc1: board not responding

... more delay ...

cmd fail
cmd fail
ahc1: Issued Channel A Bus Reset #2. 0 SCBs aborted
(ahc1:6:0): UNIT ATTENTION asc:29,0
(ahc1:6:0): Power on, reset, or bus device reset occurred field
replaceable unit: 14
(ahc1:6:0): "unknown unknown ????" type 0 fixed SCSI 0
sd1(ahc1:2:0): Direct-Access panic: ahc1: brkadrint, Illegal Sequencer
Address referenced at seqaddr = 0xa

Automatic reboot in 15 seconds - press any key...etc, etc.

Looking at the kernel sources, I turned on SCSI debugging, by editing
/sys/scsi/scsi_debug.h, defining SCSIDEBUG, setting DEBUGLEVEL to
SDEV_DB1 through SDEV_DB4, and setting DEBUGTARG to 6 (the DAT
drive). The results, when the system gets to probing the DAT tape drive,
are:

probe0(ahc0:6:0): scsi_cmd
probe0(ahc0:6:0): get_xs
probe0(ahc0:6:0): returning
xs(0xf057ea80):
flg(0x63)sc_link(0xf057e880)retr(0x2)timo(0x186a0)cmd(0xf057ead8)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)(ahc0:6:0):
command: 0,0,0,0,0,0-[0 bytes]
probe0(ahc0:6:0): ahc_scsi_cmd
probe0(ahc0:6:0): start scb(0xf06dd000)
scb:0xf06dd000control:0x50 tcl:0x60 cmdlen:6 cmdpointer:0x30ad8 datlen:0
data:0x0 res:0x0 segs:0x0 segp:0x0 sg_addr:308ac sg_len:44 size:32
probe0(ahc0:6:0): cmd_wait
scb:0xf06dd000control:0x58 tcl:0x60 cmdlen:6 cmdpointer:0x30ad8 datlen:0
data:0x0 res:0x0 segs:0x0 segp:0x0 sg_addr:308ac sg_len:44 size:32
(ahc0:6:0): requests Check Status
(ahc0:6:0): Sending Sense

And now's when the system halts for a long time, and eventually panics.

Does anyone know what to do, please?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?881*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/>