Problems on start of my system

Alex de Kruijff freebsd at akruijff.dds.nl
Sat Nov 5 20:13:48 GMT 2005


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 at 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/



More information about the freebsd-questions mailing list