From owner-freebsd-stable Fri Jul 26 15:23:50 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08210 for stable-outgoing; Fri, 26 Jul 1996 15:23:50 -0700 (PDT) Received: from Sisyphos (Sisyphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA08191; Fri, 26 Jul 1996 15:23:43 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr3-13.slip.Uni-Koeln.DE) by Sisyphos with SMTP id AA03773 (5.67b/IDA-1.5); Sat, 27 Jul 1996 00:23:29 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.7.5/8.6.9) id AAA00256; Sat, 27 Jul 1996 00:23:26 +0200 (MET DST) Date: Sat, 27 Jul 1996 00:23:26 +0200 (MET DST) Message-Id: <199607262223.AAA00256@x14.mi.uni-koeln.de> From: Stefan Esser To: dg@root.com Subject: Re: ncr53c810 driver in stable/current Cc: current@freebsd.org, stable@freebsd.org, "Marc G. Fournier" In-Reply-To: <199607220803.BAA10665@root.com> References: <199607220803.BAA10665@root.com> Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk David Greenman writes: > > The last time I reported this, someone made mention that > >the cause was the NCR driver not switching modes or something like > >that, so that it can't dump core...? > > > > If anyone remembers this thread, or knows what the hell I'm > >talking about...has this been fixed in -current? > > We've seen this problem on freefall (which uses the NCR controller). It > likes to hang when we try to reboot it. I don't recall any fixes for this, > and I don't know what causes it. Hmmm, it hangs when you try to reboot it ? This is more probably related to some problem with the motherboard than the SCSI controller. (Ie. the (in)famous BROKEN_KEYBOARD_RESET.) But I now know how to make the NCR write a kernel dump in case of a crash: Just leave alone the "hole" between 0xe8000 and 0xfffff ... It seems that the NCR gets some error accessing this addresses. I did not have time to completely analyse the resulting chip status, but it appears that the failed memory access (which is reported to a PCI bus-master on a PCI bus line !) causes the hang. Isn't it dangerous to touch that region from the dump code, anyway ? There might be memory mapped registers that make some device change state when read ... I will try to make the driver ignore the access error in the dump, but it might be a good idea to not include the BIOS region in the dump (???) Regards, STefan