From owner-freebsd-current Wed Oct 20 3:12:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from main.avias.com (avias-gw.corbina.net [195.14.40.4]) by hub.freebsd.org (Postfix) with ESMTP id 650F61B2D8 for ; Wed, 20 Oct 1999 03:12:09 -0700 (PDT) (envelope-from camel@avias.com) Received: from camel.avias.com (camel.avias.com [195.14.38.87]) by main.avias.com (8.9.3/8.9.3) with ESMTP id OAA02590; Wed, 20 Oct 1999 14:11:53 +0400 (MSD) (envelope-from camel@avias.com) Date: Wed, 20 Oct 1999 14:11:53 +0400 (MSD) From: Ilya Naumov To: Luoqi Chen Cc: current@FreeBSD.ORG Subject: Re: luoqi's aic driver problem In-Reply-To: <199910191925.PAA22615@lor.watermarkgroup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Oct 1999, Luoqi Chen wrote: > > i've tried new "camfied" aic driver today and failed. here is a brief > > report. > > > > results: > > > > aic controller was successfully found by the kernel, but after "Waiting 15 > > seconds for SCSI devices to settle" message it said the following: > > The request sense command clobbered the original command, I've changed the > code from doing that, please download a new copy of aic.c file. i have just tried it. the kernel boots successfully: aic0 at port 0x340-0x35f irq 9 on isa0 ... Waiting 15 seconds for SCSI devices to settle [here the CD-ROM drive flashes with its busy LED] (probe0:aic0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:aic0:0:0:0): UNIT ATTENTION info?:1 asc:29,0 (probe0:aic0:0:0:0): Power on, reset, or bus device reset occurred (probe0:aic0:0:0:1): INQUIRY. CDB: 12 20 0 0 24 0 (probe0:aic0:0:0:1): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:1): Logical unit not supported (probe0:aic0:0:0:2): INQUIRY. CDB: 12 40 0 0 24 0 (probe0:aic0:0:0:2): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:2): Logical unit not supported (probe0:aic0:0:0:3): INQUIRY. CDB: 12 60 0 0 24 0 (probe0:aic0:0:0:3): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:3): Logical unit not supported (probe0:aic0:0:0:4): INQUIRY. CDB: 12 80 0 0 24 0 (probe0:aic0:0:0:4): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:4): Logical unit not supported (probe0:aic0:0:0:5): INQUIRY. CDB: 12 a0 0 0 24 0 (probe0:aic0:0:0:5): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:5): Logical unit not supported (probe0:aic0:0:0:6): INQUIRY. CDB: 12 c0 0 0 24 0 (probe0:aic0:0:0:6): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:6): Logical unit not supported (probe0:aic0:0:0:7): INQUIRY. CDB: 12 e0 0 0 24 0 (probe0:aic0:0:0:7): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:7): Logical unit not supported ... cd0 at aic0 bus 0 target 0 lun 0 cd0: Removable Worm SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [1 x 77747 byte records] but, unfortunately, scsi probe precedure seems to be relatively unstable. _sometimes_ (often enough) the kernel doesn't boot with the following diagnostics: (probe0:aic0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:aic0:0:0:0): UNIT ATTENTION info?:1 asc:29,0 (probe0:aic0:0:0:0): Power on, reset, or bus device reset occured (probe0:aic0:0:0:1): INQURY. CDB: 12 20 0 0 24 0 (probe0:aic0:0:0:1): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:1): Logical unit not supported (probe0:aic0:0:0:2): INQURY. CDB: 12 40 0 0 24 0 (probe0:aic0:0:0:2): ILLEGAL REQUEST asc:25,0 (probe0:aic0:0:0:2): Logical unit not supported ccb 0xc0a23400 - timed out ccb 0xc0a23400 - timed out however, even after successful boot, the kernel traps after attempts to mount CD-ROM (mount_cd9660 /dev/cd0c /mnt). here is debug diags: (cd0:aic0:0:0:0): Vendor Specific Command. CDB: 43 0 0 0 0 0 b5 0 64 0 (cd0:aic0:0:0:0): ILLEGAL REQUEST asc:25,0 (cd0:aic0:0:0:0): Logical unit not supported (cd0:aic0:0:0:0): Vendor Specific Command. CDB: 43 0 0 0 0 0 b5 0 64 0 (cd0:aic0:0:0:0): ILLEGAL REQUEST asc:25,0 (cd0:aic0:0:0:0): Logical unit not supported (cd0:aic0:0:0:0): ccb 0xc0a23400 - timed out (cd0:aic0:0:0:0): ccb 0xc0a23400 - timed out then mount_cd9660 dies (cannot be killed with kill -9). > > (probe0:aic0:0:0:2): ccb 0xc09c3000 - timed out > > (probe0:aic0:0:0:2): ccb 0xc09c3000 - timed out > > Was there a long period between these two messages and the previous ones? yes, it was. > > what is possible reason of such behaviour and what should i try to do to > > make my aic/cdrom combination working? > > > For now you could add a quirk entry for this drive to prevent multi-lun > probing, ok, but how? :) sincerely, ilya naumov (at work) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message