From owner-freebsd-questions@FreeBSD.ORG Sat Nov 5 20:13:48 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 5C52B16A41F for ; Sat, 5 Nov 2005 20:13:48 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from psmtp02.wxs.nl (psmtp02.wxs.nl [195.121.247.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDD2A43D45 for ; Sat, 5 Nov 2005 20:13:47 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from smtp.planet.nl (ip51cc8423.speed.planet.nl [81.204.132.35]) by psmtp02.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IPI005FM06X2L@psmtp02.wxs.nl> for freebsd-questions@freebsd.org; Sat, 05 Nov 2005 21:13:46 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by smtp.planet.nl (8.13.3/8.13.3) with ESMTP id jA5KDjpA069398; Sat, 05 Nov 2005 21:13:45 +0100 Received: (from akruijff@localhost) by Alex.lan (8.13.3/8.13.3/Submit) id jA5KDi68069397; Sat, 05 Nov 2005 21:13:44 +0100 Content-return: prohibited Date: Sat, 05 Nov 2005 21:13:44 +0100 From: Alex de Kruijff In-reply-to: <20051105_160733_071454.alicornio@ig.com.br> To: alicornio Message-id: <20051105201344.GD837@Alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20051105_160733_071454.alicornio@ig.com.br> X-Authentication-warning: Alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f Cc: freebsd-questions@freebsd.org Subject: Re: Problems on start of my system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@akruijff.dds.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 20:13:48 -0000 Please don't toppost, that way its easier for other to read and learn from this example. On Sat, Nov 05, 2005 at 02:07:33PM -0200, alicornio wrote: > Em (11:42:20), freebsd@akruijff.dds.nl escreveu: > > > >On Sat, Nov 05, 2005 at 02:02:49AM -0200, alicornio wrote: > >> I have a problem on start of my system, appear this mesage: > >> > >> Staring file system checks: > >> /dev/ad0s1a: 1304 files, 18242 used, 300053 free (1149 frags, 37363 > >blocks, > >> 0.4% fragmentation) > >> /dev/ad0s1g: DEFER FOR BACKGROUND CHECKING > >> /dev/ad0s1f: DEFER FOR BACKGROUND CHECKING > >> /dev/ad0s1d: DEFER FOR BACKGROUND CHECKING > >> /dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS > >> /dev/ad0s1e: clean, 57112 free (40 frags, 7134 bloks, 0,1% fragmentation) > >> WARNING: /home was not properly dismounted > >> ad0: FAILURE - READ-DMA status=51 ERROR=40 > >> LBA=2398527 > >> mount: /dev/ad0s1: input/output error > >> WARNING: /usr was not properly dismounted > >> WARNING: /var was not properly dismounted > >> mounting /etc/fstab filesystems failed, start up aborted > >> ad0: FAILURE - READ-DMA status=51 ERROR=40 > >> LBA=2191743 > >> boot interruped > >> enter full pathname of shell or return for /bin/sh: > >> > >> I type something and the system reboot after this mesages: > >> > >> panic: vrele: negative refe cnt > >> cannot dump: no dump device defined > >> > >> Someone can help me whith this problem? what?s happenig? how i can solve > >> this? > > > >It seems your system is not able to mount certain filesystems as stated > >in fstabs. You could try /sbin/fsck -y (say yes to everything) afther > >you enter the shell. Also check /etc/fstabs to see if it contains > >errors. > > > I try every combination of fsck and fsck_ffs, somes: > > #mkdir /teste > #mount -f /dev/ad0s1 /teste > #fsck -t ffs -Fy /teste > fstab: /etc/fstab:0: No such file or directory > fstab: /etc/fstab:0: No such file or directory > ** /dev/ad0s1 (NO WRITE) > ** Last Mounted on /teste > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connentivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 1304 files, 18242 used, 300053 free (1149 frags, 37363 blocks, 0.4% > fragmentation) > > #fsck -t ffs -p /teste > /dev/ad0s1: NO WRITE ACCESS > /dev/ad0s1: UNEXPECTED ICONSISTENCY; RUN fsck MANUALLY Root is mounted with read only acces. Do this fsck -p mount -u / fsck /dev/ad0s1 -- Alex Please copy the original recipients, otherwise I may not read your reply. Howto's based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://www.kruijff.org/alex/FreeBSD/