From owner-freebsd-sparc Fri Jun 28 21:57:45 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C03F37B400 for ; Fri, 28 Jun 2002 21:57:43 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id A159843E06 for ; Fri, 28 Jun 2002 21:57:42 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost [127.0.0.1]) by k6.locore.ca (8.12.3/8.12.3) with ESMTP id g5T52hDj087125; Sat, 29 Jun 2002 01:02:43 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.3/8.12.3/Submit) id g5T52aLT087124; Sat, 29 Jun 2002 01:02:36 -0400 (EDT) Date: Sat, 29 Jun 2002 01:02:36 -0400 From: Jake Burkholder To: William Lloyd Cc: freebsd-sparc@FreeBSD.ORG Subject: HEADS UP Re: Ultra 5 problems Message-ID: <20020629010236.G71376@locore.ca> References: <000501c21d4c$97ed5a70$0264a8c0@slap.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000501c21d4c$97ed5a70$0264a8c0@slap.net>; from wlloyd@slap.net on Wed, Jun 26, 2002 at 01:03:51PM -0700 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > group. I did a make buildworld yesterday and it worked fine. kernel has > some error with setrootbyname failed. This is all with latest -current I just figured out what this problem is. For some reason, when ATA_STATIC_ID is defined, the ata driver probes the cmd646 controller in ultra 5s and ultra 10s as ata2, which makes the first ata drive show up as ad4, rather than ad0 as one would expect. So, if you build a new kernel and get this error mounting root: Mounting root from ufs:/dev/ad0a setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Manual root filesystem specification: : Mount using filesystem eg. ufs:da0a ? List valid disk boot devices Abort manual input Look at the drive probes just above and you will probably see your drive on ad4: ad4: 4103MB [8894/15/63] at ata2-master WDMA2 To fix this, boot kernel.old, comment out options ATA_STATIC_ID from your kernel config and rebuild your kernel. ATA_STATIC_ID has been removed from GENERIC in rev 1.23. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message