From owner-freebsd-current@FreeBSD.ORG Tue Mar 17 16:28:43 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07E6E106566B for ; Tue, 17 Mar 2009 16:28:43 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 622C98FC13 for ; Tue, 17 Mar 2009 16:28:42 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by nf-out-0910.google.com with SMTP id b11so20125nfh.33 for ; Tue, 17 Mar 2009 09:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8ITBYXdRN78UgUy1U6ex68rfXproT9qML/9raHK5Ssw=; b=tWq0y/h8EIOKix7KNsCMQ6COhyFW+qD7ZPp+WUNgylX+E1PiJh3AvkwoVtvcfShIps ad8R2b0BVJ2BwlJM0lk+nBrH9X0d7GXU3mWSzrsIy9mIM2psrEh1OTbAI81sNozq6wMd lornFzxLFFo0ya9UAzu1vWyPXnpAq229tZSYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AbOaVgKoaimx704R09wwTI6dIT4ueseL1yKZisnXGmYjJsAvg4PEHbDlOiM+GfiGSV Pl/2uYKHv+Vr2l+GcuChf2ickO1JpQA7/8oD8i3DbdbtjZyqAxN4Lixn6NkIwRk9IGnA gdSWw3lArNioXIALz5MjCGzdfBgta0alcH3iM= MIME-Version: 1.0 Received: by 10.210.36.10 with SMTP id j10mr4637930ebj.31.1237307321436; Tue, 17 Mar 2009 09:28:41 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Mar 2009 17:28:41 +0100 Message-ID: <3a142e750903170928r51b07ce5u154c163df987049@mail.gmail.com> From: "Paul B. Mahol" To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: A trio of problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 17 Mar 2009 16:28:43 -0000 On 3/17/09, Ivan Voras wrote: > Marcel Moolenaar wrote: >> >> On Mar 16, 2009, at 4:28 PM, Ivan Voras wrote: >> >>> 2. I can't set a kernel coredump directory. The setup is not unusual (no >>> gmirror, etc.) - simply partitions handled by GPART. The error is in >>> ioctl(DIOCSKERNELDUMP): Device not configured. The only thing that comes >>> to my mind is that the swap device is 2 GB while the machine has 4 GB >>> RAM but AFAIK minidumps should work? If I can get coredumps to work I >>> could provide more information on the first problem. >> >> What's the partition type of the partition you're trying to dump >> to? > > It's ad8s2b from our earlier conversation. > > 2. Name: ad8s2b > Mediasize: 2147483648 (2.0G) > Sectorsize: 512 > Mode: r1w1e0 > rawtype: 7 > length: 2147483648 > offset: 19327352832 > type: freebsd-ufs > index: 2 > end: 41943039 > start: 37748736 > > I see it's labeled as freebsd-ufs. AFAIK I created this file system with > sysinstall. > > Do I need to change the type? Any special instructions? Yes. change the type as follows: sudo gpart modify -t freebsd-swap -i 2 ad8s2b dumpon should work then. -- Paul