Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 20:58:22 +0200 (CEST)
From:      paul.hernaus@nl.origin-it.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/6362: FreeBSD 2.2.6 Release tries to mount root fs from wrong disk
Message-ID:  <199804201858.UAA00706@itchy.mpn.cp.philips.com>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 20 12:00:01 PDT 1998
>Last-Modified:
>Originator:     Paul Hernaus
>Organization:
Origin
>Release:        FreeBSD 2.2.6-RELEASE i386
>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


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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