From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 27 13:01:41 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F378E16A4CE for ; Fri, 27 Aug 2004 13:01:40 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E1F43D53 for ; Fri, 27 Aug 2004 13:01:40 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i7RD1UTH017837; Fri, 27 Aug 2004 09:01:30 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i7RD1TDI017836; Fri, 27 Aug 2004 09:01:29 -0400 (EDT) Date: Fri, 27 Aug 2004 09:01:29 -0400 From: Ken Smith To: Pyun YongHyeon Message-ID: <20040827130129.GB17409@electra.cse.Buffalo.EDU> References: <41238FB0.9000909@samsco.org> <200408270811.i7R8BB4B048745@postoffice.e-easy.com.au> <20040827101551.GA16220@kt-is.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040827101551.GA16220@kt-is.co.kr> User-Agent: Mutt/1.4.1i cc: Chris Knight cc: sparc64@freebsd.org Subject: Re: HEADS UP [Re: Insta-panic with recent -current on Ultra10] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 13:01:41 -0000 On Fri, Aug 27, 2004 at 07:15:51PM +0900, Pyun YongHyeon wrote: > On Fri, Aug 27, 2004 at 06:03:02PM +1000, Chris Knight wrote: > > Howdy, > > > > I'm still getting this panic on sources updated just before > > you tagged newvers.sh for BETA2. > > > > ad0: 8693MB [17662/16/63] at ata2-master WDMA2 > ^^^^^ > Since you still use DMA on ad device, I'm afraid your kernel is not > updated with latest loader. > (src/sys/boot/sparc64/loader/main.c, rev 1.24 or 1.23.2.1) > Please re-cvsup and try again. > This is most likely the problem but it might not be a re-cvsup problem. If you are following The Right Way To Update (which virtually none of us do... :-) then you're installing the new kernel and rebooting before running installworld. It's installworld that takes care of installing the new loader, which has hardcoded in it something that turns off ata DMA. You can get around this by stopping the loader before it boots the kernel (where it's typically counting down from 10), and do this: set hw.ata.ata_dma=0 boot That will let the new kernel boot. And then you can go ahead with the installworld. The current version of the loader will be installed then, and this step shouldn't be necessary any more. Scott was able to locate the problem that makes this necessary yesterday. It turned out to be something in the new ATA code after all and not what he had originally thought. He sent the report of what's happening to Soeren, but it definitely won't be fixed by BETA2 which is building now... -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |