From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 16:34:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EC5016A41F for ; Mon, 5 Dec 2005 16:34:36 +0000 (GMT) (envelope-from christian.wurst@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D7243D62 for ; Mon, 5 Dec 2005 16:34:35 +0000 (GMT) (envelope-from christian.wurst@gmail.com) Received: by wproxy.gmail.com with SMTP id i27so118800wra for ; Mon, 05 Dec 2005 08:34:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PJPxbWCO+pCJA5sTeCaPI/bPWFgo9ggu3CbC5J/pSvnz5o0Wb8y2rgYpESRXGhRcXiwHMZyR54SUz7APqC5xSazHbV125ElT8g8Qay4mUlsaIyNFmUFOORJG/THVdvX9E4BfJgy0PocbSZ61DAXS1cDEfnyfyVCvgq3Gg/vD8sc= Received: by 10.64.204.17 with SMTP id b17mr2886891qbg; Mon, 05 Dec 2005 08:34:34 -0800 (PST) Received: by 10.64.233.1 with HTTP; Mon, 5 Dec 2005 08:34:34 -0800 (PST) Message-ID: <370076f10512050834s617f4be2se7860766f17a855d@mail.gmail.com> Date: Mon, 5 Dec 2005 17:34:34 +0100 From: Christian Wurst To: Wojciech Puchar In-Reply-To: <20051205103725.M35628@chylonia.3miasto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <370076f10512041312u27835972n806937f4e710534e@mail.gmail.com> <20051205103725.M35628@chylonia.3miasto.net> Cc: freebsd-questions@freebsd.org Subject: Re: Problems with 170MB HD (FreeBSD 6.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 16:34:36 -0000 > install as without swap on 10GB drive withour touching this 170MB at all. > > > then (after booting installed system) > > dd if=3D/dev/zero bs=3D512k count=3D1 of=3D/dev/your_170MB_whole_disk (li= ke > /dev/ad1) > > and > > swapon -a /dev/ad1 > > > if it works - put > > /dev/ad1 none swap sw 0 0 > > in /etc/fstab Thanks for the reply. I did as you described above: # dd if=3D/dev/zero bs=3D512 count=3D1 of=3D/dev/ad1 1+0 records in 1+0 records out 512 bytes transferred in 0.01 secs ... which looks good I'd say. But the swapon command returned a warning message: WARNING: reducing size to maximum of 67108864 blocks per swap unit I wasn't sure if that is ok. As a simple test I unpacked a rather big tarball and hoped the system would swap. Eventually it did try to swap it seems, because I got a lot of the following error messages from ad1: ad1: TIMEOUT - WRITE retrying (0 retries left) LBA=3D2152 ad1: FAILURE - SETFEATURES SET TRANSFER MODE status=3D51 error=3D5 These messages are repeated a number of times with different values for LBA, finally it stops with swap_pager: I/O error - pageout failed; blkno 292, size 28627, error 5 Could this be because I didn't tell the system the correct geometry settings and it still thinks I have a 18863/255/63-disk?