From owner-freebsd-current Sun Nov 21 1:16:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles556.castles.com [208.214.165.120]) by hub.freebsd.org (Postfix) with ESMTP id 96F8F14DF7 for ; Sun, 21 Nov 1999 01:16:34 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id BAA04019; Sun, 21 Nov 1999 01:07:12 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911210907.BAA04019@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Maxim Sobolev Cc: current@FreeBSD.ORG Subject: Re: NewATA on ISA and PCI In-reply-to: Your message of "Sat, 20 Nov 1999 10:27:05 +0200." <38365B59.3D5B2725@altavista.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Nov 1999 01:07:11 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please wrap your messages to 72 columns like other civilised authors. >>>> No, I do not talking about /etc/fstab, I'm talking about what device >>>> kernel is using to mount root *before* starting /sbin/init (e.g. >>>> "changing root device to ..." in dmesg). >>> >>> Hmm, the bootblock or the loader might be responsible.... >> >> This is -current. If the message is "changing root device to..." you >> are out of date and must update before we can help you. >> >> The root mount code has changed quite a lot just recently, and >> debugging the 'old' code isn't practical anymore. > > You are not right - I'm usually rebuilding kernel in one-three days, > and world in a week. My current kernel built from sources sup'ed > (cvsup.freebsd.org) yesterday. There is no room for me to be "not right"; the "changing root device to" message has been gone for quite some time now. If you are seeing it, you are "not right" and are running code built from old sources. To cover your original point; an up-to-date -current kernel correctly booted will mount the device listed in /etc/fstab as the root device "*before* starting /sbin/init". The re-mount of the root filesystem subsequently performed will actually re-use the device that's already mounted there, _not_ the entry from /etc/fstab (this is an enhancement designed to make life easier when /etc/fstab is not quite right, eg. when the kernel has had to guess about the root filesystem, or when it's been moved maually). -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message