From owner-freebsd-current Wed Sep 16 15:48:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29871 for freebsd-current-outgoing; Wed, 16 Sep 1998 15:48:11 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29835 for ; Wed, 16 Sep 1998 15:47:59 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id AAA16054; Thu, 17 Sep 1998 00:47:31 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Thu, 17 Sep 1998 00:47:30 +0200 (MET DST) Mime-Version: 1.0 To: Timo Geusch Cc: current@FreeBSD.ORG Subject: Re: DEVFS & SLICE? References: <19980915094251.B204@prestel.co.uk> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling =?iso-8859-1?Q?Co=EFdan?= =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 17 Sep 1998 00:47:29 +0200 In-Reply-To: Timo Geusch's message of "Tue, 15 Sep 1998 09:42:51 +0100" Message-ID: Lines: 37 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id PAA29854 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Timo Geusch writes: > After cvsupping yesterday (2300 BST, to be exact), config(8) does not recognize > 'option SLICE' anymore. Unfortunately, removing SLICE from my config file > stops the newly created kernel dead at the point where it switches the root > device to the hard drive (yes, I checked that it is switching to the correct > device). cp /usr/src/etc/etc.i386/MAKEDEV /dev cd /dev sh MAKEDEV all BTW, you're gonna have a widdle bit more trouble than just that. Your kernel will no longer config and compile unless you rewrite your kernel config to use CAM. I'd recommend: (edit, config, build kernel) (edit /etc/fstab -> replace sdX with daX, stX with saX) cd /dev rm -rf * cp /usr/src/etc/etc.i386/MAKEDEV . sh MAKEDEV all shutdown -r now "New world and kernel" At the "edit, config, build kernel" stage, you'll need to replace all SCSI devices with the corresponding CAM devices (sd -> da, st -> sa, od is out, ssc and su are out), add "options SCSI_CAM", convert your SCSI_DELAY from seconds to milliseconds (i.e. multiply by 1000), and set the boot device right (sd -> da). Oh, and remember to create enough vty device nodes or init(8) will go nuts when you reboot. YMMV. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message