From owner-freebsd-stable Fri Jun 2 0:53:49 2000 Delivered-To: freebsd-stable@freebsd.org Received: from sinia.com (c1.sinia.com [64.14.20.139]) by hub.freebsd.org (Postfix) with ESMTP id 2CE0B37B989 for ; Fri, 2 Jun 2000 00:53:45 -0700 (PDT) (envelope-from bharat@sinia.com) Received: from firebrand (localhost.sinia.com [127.0.0.1]) by sinia.com (8.9.3/8.9.3) with SMTP id AAA62297 for ; Fri, 2 Jun 2000 00:55:25 -0700 (PDT) (envelope-from bharat@sinia.com) From: "Bharat Mediratta" To: Subject: 3.4-STABLE -> 4.0-RELEASE upgrade: unable to mount root partition Date: Fri, 2 Jun 2000 00:53:31 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy. I am in the process of source upgrading my machine from 3.4-STABLE to 4.0-RELEASE. I have been doing my level best to follow the directions, but frankly there are a ton of different sets of directions out there. The directions that come with the 4.0-RELEASE tag are different from those that come with 4.0-STABLE, and about 4 different people have sent me a variety of different variations of those by email. I'm tryin' here. Basically I've done this: # cd /usr/src # make buildworld # cd sbin/mknod # make install # cd sys/modules # make (which fails:) ... ===> ccd make: don't know how to make /usr/src/sys/modules/ccd/../../kern/vnode_if.sh. Stop *** Error code 2 Since the 4.0-RELEASE /usr/src/UPDATING file doesn't tell me to do the sys/modules make install, I figure I'll just keep going. I figure that I might see some failures when I boot into multi-user later on, but I can deal with that. # make installkernel (mv /MY-KERNEL /kernel, etc) Now I am supposed to rebuild my /dev entries so I do this (following the instructions:) # cp /usr/src/etc/MAKEDEV /dev # cd /dev # MAKEDEV ad0 # MAKEDEV ad0s1a; MAKEDEV ad0s2a; ... MAKEDEV ad0s7a # MAKEDEV ad1 # MAKEDEV ad1s1a; MAKEDEV ad1s2a; ... MAKEDEV ad1s7a Now I figure that my devices are in order so: # reboot Here's what happens: ------------------------------- ad0: 8063MB [16383/16/63] at ata0-master using UDMA33 ad1: 19595MB [39813/16/63] at ata0-slave using UDMA33 acd0: CDROM at ata1-slave using PIO4 Mounting root from ufs:wd0s1a wd0: bad sector table not supported wd0s1: bad sector table not supported Root mount failed: 22 Mounting root from ufs:wd0a wd0: bad sector table not supported wd0s1: bad sector table not supported Root mount failed: 22 Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0s1a ? List valid disk boot devices Abort manual input mountroot> ------------------------------- So now what do I do? I've tried "ufs:/dev/ad0s1a", "ufs:ad0s1a", "ufs:ad0a" and a bunch of other variations, but it always replies: ----------------- panic: Root mount failed, startup aborted. syncing disks... ----------------- I can't seem to get it to recognize the new ad devices. Nor can I get it to use the old wd devices. What am I missing here? Argh, this is frustrating! Thanks, -Bharat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message