From owner-freebsd-current Sun May 24 13:15:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05653 for freebsd-current-outgoing; Sun, 24 May 1998 13:15:54 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05647 for ; Sun, 24 May 1998 13:15:49 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id UAA14481; Sun, 24 May 1998 20:15:47 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id WAA28107; Sun, 24 May 1998 22:15:32 +0200 (MET DST) Message-ID: <19980524221531.08545@follo.net> Date: Sun, 24 May 1998 22:15:31 +0200 From: Eivind Eklund To: "Jordan K. Hubbard" , Tom Jackson Cc: current@FreeBSD.ORG Subject: Re: panic: locking against myself (on very straight kernel) References: <19980523151000.43935@TOJ.org> <13937.895971636@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <13937.895971636@time.cdrom.com>; from Jordan K. Hubbard on Sat, May 23, 1998 at 06:00:36PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, May 23, 1998 at 06:00:36PM -0700, Jordan K. Hubbard wrote: > > Got this also with sysinstall. As far as I can see, /stand/sysinstall is > > unuesable for setting slices and partitions. After I manually set a sd1s1e > > partition, devfs/slice chokes on it. I've learned the hard way *NOT* to run > > fsck on the partition when slice chokes on a partition ;-> > > Any attempt to use sysinstall with the new SLICE or DEVFS code is > almost certainly doomed to fail since it has not been made aware of > those additions, nor are their semantics 100% backwards compatible > with the previous. Sorry I if didn't Cc: you on this previously. libdisk doesn't work with DEVFS/SLICE. It is not just 'almost certain' - it plain doesn't work, and it won't work until we've done either a compatibility hack in SLICE, or have updated libdisk to work with SLICE. I think the a compatibility hack would be the wrong solution - the two models don't map too well on each other. Julian is in favour of making libdisk walk /dev/ and pick out information that way - I'm not certain that is a good idea, either, but I agree that the right part to upgrade is libdisk. The panic() is probably due to a bug in the locking semantics for mount(), and some way sysinstall doing wrong calls. I got a patch from Tor Egge to fix the kernel end of this (so it won't panic()). Eivind, who did his homework this time :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message