From paul@itchy.mpn.cp.philips.com Mon Apr 20 18:59:03 1998 Received: from gw-nl1.philips.com (gw-nl1.philips.com [192.68.44.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13687 for ; Mon, 20 Apr 1998 18:58:59 GMT (envelope-from paul@itchy.mpn.cp.philips.com) Received: (from nobody@localhost) by gw-nl1.philips.com (8.6.10/8.6.10-0.994n-08Nov95) id UAA01374 for ; Mon, 20 Apr 1998 20:58:54 +0200 Received: from smtprelay-nl1.philips.com(130.139.36.3) by gw-nl1.philips.com via smap (V1.3+ESMTP) with ESMTP id sma001329; Mon Apr 20 20:58:23 1998 Received: from itchy.mpn.cp.philips.com (itchy.mpn.cp.philips.com [130.139.64.191]) by smtprelay-nl1.philips.com (8.8.5/8.6.10-1.2.2m-970826) with ESMTP id UAA05276 for ; Mon, 20 Apr 1998 20:58:22 +0200 (MET DST) Received: (from paul@localhost) by itchy.mpn.cp.philips.com (8.8.7/8.8.7/GIGA) id UAA00706; Mon, 20 Apr 1998 20:58:22 +0200 (CEST) (envelope-from Paul.Hernaus@nl.origin-it.com) Message-Id: <199804201858.UAA00706@itchy.mpn.cp.philips.com> Date: Mon, 20 Apr 1998 20:58:22 +0200 (CEST) From: paul.hernaus@nl.origin-it.com Reply-To: paul.hernaus@nl.origin-it.com To: FreeBSD-gnats-submit@freebsd.org Subject: FreeBSD 2.2.6 Release tries to mount root fs from wrong disk X-Send-Pr-Version: 3.2 >Number: 6362 >Category: kern >Synopsis: Kernel tries to mount root fs from wrong disk and panics >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 20 12:00:01 PDT 1998 >Closed-Date: Tue Apr 21 23:31:29 PDT 1998 >Last-Modified: Tue Apr 21 23:31:41 PDT 1998 >Originator: Paul Hernaus >Release: FreeBSD 2.2.6-RELEASE i386 >Organization: Origin >Environment: Pentium 200MHz system, with 64MB RAM, and two hard disks (primary master and secondary master, with FreeBSD 2.2.6 Release installed on the latter), 1 cdrom player (primary slave). >Description: After successfully loading the kernel from wd2 (secondary master) it tries to mount the root fs from wd1 (primary slave, doesn't exist on my system) and then of course panics. The kernel config file contains the following line: config kernel root on wd2 The kernel should therefore know that the root fs is on wd2 and not on wd1. >How-To-Repeat: Configure your system as follows: 2 IDE disks, primary and secondary master. 1 CDrom player, primary slave. Install FreeBSD 2.2.6 Release on the secondary master, labeled with autodefaults. My first disk contains Windows 95 (FAT 32). (Yes, I know, I should get rid of it, I will :) Install the boot manager on both disks (otherwise it is not possible to boot from the second disk). Install a customized kernel. I have used the config file at the end of this section. Reboot, et voila. Kernel panic while trying to mount root fs from wd1. >Fix: Work around: Put the following line in /boot.config: 1:wd(2,a)/kernel >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: phk State-Changed-When: Tue Apr 21 23:31:29 PDT 1998 State-Changed-Why: see 6363 >Unformatted: