Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 11:15:49 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA)
Cc:        freebsd-current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp, gibbs@pluto.plutotech.com
Subject:   Re: CAM and ncr driver - my story
Message-ID:  <199809221715.LAA15738@panzer.plutotech.com>
In-Reply-To: <199809221306.WAA17527@zodiac.mech.utsunomiya-u.ac.jp> from Kazutaka YOKOTA at "Sep 22, 98 10:06:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809221715.LAA15738>