Date: Mon, 5 Dec 2005 17:34:34 +0100 From: Christian Wurst <christian.wurst@gmail.com> To: Wojciech Puchar <wojtek@tensor.3miasto.net> Cc: freebsd-questions@freebsd.org Subject: Re: Problems with 170MB HD (FreeBSD 6.0) Message-ID: <370076f10512050834s617f4be2se7860766f17a855d@mail.gmail.com> In-Reply-To: <20051205103725.M35628@chylonia.3miasto.net> References: <370076f10512041312u27835972n806937f4e710534e@mail.gmail.com> <20051205103725.M35628@chylonia.3miasto.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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<something> 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<READY,DSC,ERROR> error=3D5<ABORTED,ILLEGAL_LENGTH> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?370076f10512050834s617f4be2se7860766f17a855d>