From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 23:20:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 666BD16C for ; Fri, 7 Dec 2012 23:20:13 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id E430A8FC0C for ; Fri, 7 Dec 2012 23:20:12 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 8 Dec 2012 00:20:09 +0100 Message-ID: <50C279A9.1070509@ose.nl> Date: Sat, 08 Dec 2012 00:20:09 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9.1-RC3 LiveCD missing features References: <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 23:20:13 -0000 On 12/08/12 00:05, Tomek CEDRO wrote: On 12/07/12 23:11, Chuck Burns wrote: > On 12/7/2012 3:50 PM, CeDeROM wrote: >> Hello >> >> I have tried to chceck for badblocks on my / but I did not find >> badblocks >> program on LiveCD and there is no option to install it. This is very >> useful >> utility, please add it as part of LiveCD >> >> Also there is a problem with DHCP based workstations using LiveCD - >> although interface gets configured it is impossible to update >> /etc/resolv.conf (by dhclient and by hand) and so this workstation >> pretty >> useless for IPv4 (is it more usable on IPv6?). Please update >> >> Thank you >> Tomek >> >> > > dd if=/dev/zer of=/dev/ada0 > > ^^^ There's your "badblocks" program. Any hard drive made in the last > decade have been self-remapping.. Attempting to write to a bad block > will cause the hard drive to remap an unused sector into it's place, > until the drive runs out of said "unused" backup sectors, and at that > time, will begin simply begin just "losing" storage space... IE the > number of total sectors on the drive will begin to shrink. > /dev/zero Badblocks is outdated for more than 17 years I guess The dd mentioned above will let the firmware remap all bad sectors until there are no spare sectors left (and wipe anything on disk as a bonus ;then you can begin to think about replacing your harddrive. As for DHCP, it works for me when booting from a netinstall for instance or going to fixit. Tomek, please try to describe more accurately what you are doing and try to accomplish > As I get ffs_valloc kernel panic on my / I want to check for badblocks but > cannot do that from the system itself so I need another FreeBSD instance to > run badblocks on unmounted /. There are no badblocks on LiveCD and I cannot > simply download it with pkg_add -r. Installing another system just to test > existing one seems silly. It would be nice to finally have swiss army knife > on generic LiveCD FreeBSD install, not using linux windows hirens etc :-) > > I have just started dd if=root of=root from LiveCD, Ill let you know if > that worked :-) I will be surprised what that will do for you I have lloked at the picture and all I can come up wih is either bad hardware or a very strange software/system configuration. Good luck Please reply to this list if any