From owner-freebsd-scsi Wed Jan 10 11:57:57 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA26447 for freebsd-scsi-outgoing; Wed, 10 Jan 1996 11:57:57 -0800 (PST) Received: from gaudi.diatel.upm.es (gaudi.diatel.upm.es [138.100.49.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA26420 for ; Wed, 10 Jan 1996 11:56:46 -0800 (PST) Received: by gaudi.diatel.upm.es (4.1/SMI-4.1) Wed, 10 Jan 96 20:51:39 +0100 X400-Received: by mta diatel.upm in /PRMD=/ADMD=/C=/; Relayed; Wed, 10 Jan 1996 20:51:36 UTC+0100 X400-Received: by /PRMD=iris/ADMD=mensatex/C=es/; Relayed; Wed, 10 Jan 1996 20:51:36 UTC+0100 Date: Wed, 10 Jan 1996 20:51:36 UTC+0100 X400-Originator: jmrueda@diatel.upm.es X400-Recipients: non-disclosure:; X400-Content-Type: P2-1984 (2) X400-Mts-Identifier: [/PRMD=iris/ADMD=mensatex/C=es/;960110205136] Content-Identifier: 881 From: Javier Martin Rueda To: freebsd-scsi@freebsd.org Message-Id: <881*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS> Subject: The Adaptec 2842 no longer probes my DAT drive Mime-Version: 1.0 (Generated by Ean X.400 to MIME gateway) Sender: owner-freebsd-scsi@freebsd.org Precedence: bulk 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: 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: cd0: could not get size cd0: drive empty ahc0 targ 6 lun 0: type 1(sequential) removable SCSI2 ahc0 targ 6 lun 0: 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?