[fsck -B problem]

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Dec 12 03:06:05 PST 2004


In message <20041210034850.C2440 at unix.local>, Nguyen Tam Chinh writes:

>Hmm, I think the problem is still there, or maybe I misunderstanding 
>something ...
>See the result:
>-------------------------------------------
>unix# dmesg | grep WARN
>WARNING: /root was not properly dismounted
>WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
>unix# fsck -B ad0s1h
>Can't stat /root/.snap/fsck_snapshot: No such file or directory
>unix# uname -a
>FreeBSD unix.hackers 6.0-CURRENT FreeBSD 6.0-CURRENT #10: Fri Dec 10 
>02:42:45 MSK 2004 
>root at unix.hackers:/mnt/unix/Temp/obj/usr/src/sys/kernel  i386
>unix#
>-------------------------------------------
>I must reboot in single user mode to manually run fsck other slides, but 
>I left /root to verify the background fsck.

Ok, found it: fsck_ffs passed random stack bits to the kernel as
mountoptions.

Try with -current now, and make sure to recompile fsck_ffs/main.c 1.43

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list