Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 09:01:29 -0400
From:      Ken Smith <kensmith@cse.Buffalo.EDU>
To:        Pyun YongHyeon <yongari@kt-is.co.kr>
Cc:        sparc64@freebsd.org
Subject:   Re: HEADS UP [Re: Insta-panic with recent -current on Ultra10]
Message-ID:  <20040827130129.GB17409@electra.cse.Buffalo.EDU>
In-Reply-To: <20040827101551.GA16220@kt-is.co.kr>
References:  <41238FB0.9000909@samsco.org> <200408270811.i7R8BB4B048745@postoffice.e-easy.com.au> <20040827101551.GA16220@kt-is.co.kr>

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



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