From owner-freebsd-current Tue Sep 22 10:16:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA13667 for freebsd-current-outgoing; Tue, 22 Sep 1998 10:16:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA13640 for ; Tue, 22 Sep 1998 10:16:32 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id LAA15738; Tue, 22 Sep 1998 11:15:49 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809221715.LAA15738@panzer.plutotech.com> Subject: Re: CAM and ncr driver - my story In-Reply-To: <199809221306.WAA17527@zodiac.mech.utsunomiya-u.ac.jp> from Kazutaka YOKOTA at "Sep 22, 98 10:06:20 pm" To: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA) Date: Tue, 22 Sep 1998 11:15:49 -0600 (MDT) Cc: freebsd-current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp, gibbs@pluto.plutotech.com X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kazutaka YOKOTA wrote... > I have the following SCSI devices in my box. > > scsi id 0 Seagate ST-32550N (fast SCSI hd) > scsi id 2 Seagate ST-15150N (fast SCSI hd) > scsi id 6 Pioneer DR-U12X (CD-ROM) > > The SCSI host adapter is Diamond FirePort 20 (NCR 875j). > > The source tree was cvsupped on 19 Sept. ncr.c was of v1.129. > > The kernel with CAM support didn't boot. It printed the following > error messages (I noted the messages by hand). > > ncr0: restart (scsi reset) > (probe6:ncr0:6:0) INQUIERY. CDB: 12 1 80 ff 0 > (probe6:ncr0:6:0) ILLEGAL REQUEST asc:24,0 > (probe6:ncr0:6:0) Invalid field in CDB > ncr0: timeout nccb = f07bd200 (skip) > ...(lots of timeout messages) > > I turned off the CD-ROM drive and restarted the machine in vain. > I got: > > ncr0:2: ERRROR (a0:0) (7-a3-2) (e0/5) @ (mem a00001ac:a00001ac) > ncr0: regdump da 10 80 05 47 e0 00 0f 01 07 82 a3 80 00 03 00 > ncr0: restart (fatal error) > (probe2:ncr0:0:2:0) COMMAND FAILED (9 ff) @ f07bda00 > (probe2:ncr0:0:0:0) COMMAND FAILED (9 2) @ f07bde00 There are known problems with ncr.c before version 1.130. > I just cvsupped again. ncr.c is now up to date; it's v1.132. > This time the kernel panics: > > Fatal trap 12: page fault while in kernel mode. > fault virtual address: 0x0 > ... > _ncr_script_copy_and_bind + 0x46: movl %esi,0(%ebx,%edi,1) > > Any ideas? Try downgrading from version 1.132 to version 1.130 of ncr.c. It could be that some of the Alpha fixes I put in (revision 1.131) or the cleanups that Justin did (1.132) have broken something. Let me (and Justin) know whether downgrading works for you. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message