From owner-freebsd-current@FreeBSD.ORG Thu Dec 30 09:04:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDAF016A4CE for ; Thu, 30 Dec 2004 09:04:57 +0000 (GMT) Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9A5143D3F for ; Thu, 30 Dec 2004 09:04:57 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd5mr8so.prod.shaw.ca (pd5mr8so-qfe3.prod.shaw.ca [10.0.141.184]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9J006H12JM0D70@l-daemon> for current@freebsd.org; Thu, 30 Dec 2004 02:04:34 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd5mr8so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9J00BSY2JML1L0@pd5mr8so.prod.shaw.ca> for current@freebsd.org; Thu, 30 Dec 2004 02:04:34 -0700 (MST) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.233.42]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I9J00J4D2JLZJ@l-daemon> for current@freebsd.org; Thu, 30 Dec 2004 02:04:34 -0700 (MST) Date: Thu, 30 Dec 2004 01:04:33 -0800 From: Colin Percival In-reply-to: <20041230085250.GB59271@xor.obsecurity.org> To: Kris Kennaway Message-id: <41D3C4A1.4020808@wadham.ox.ac.uk> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <20041230085250.GB59271@xor.obsecurity.org> User-Agent: Mozilla Thunderbird 0.9 (X11/20041107) cc: current@freebsd.org Subject: Re: mdmfs: mdconfig (attach) exited with error code 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 09:04:58 -0000 Kris Kennaway wrote: > I get the following error while trying to diskless boot: > > mdmfs: mdconfig (attach) exited with error code 1 > > Did someone break mdconfig binary compatibility? Yes, pjd changed the ABI to be compatible with RELENG_5 (and thus incompatible with recent -currents): :pjd 2004-12-27 17:20:06 UTC : : FreeBSD src repository : : Modified files: : sys/dev/md md.c : sys/sys mdioctl.h : sbin/mdconfig mdconfig.c : Log: : Rewrite piece of code which I committed some time ago that allows to : show file name for 'mdconfig -l -u ' command. : This allows to preserve API/ABI compatibility with version 0 (that's why : I changed version number back to 0) and will allow to merge this change : to RELENG_5. Colin Percival