I have an ASUS laptop
http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtmlwith three hardrives in various state of software and hardware distress, but I get by. Right now, I am
running
# uname -a
FreeBSD kayve-PC 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.e
du:/usr/ob
j/usr/src/
sys/SMP i386
# killall moused
# moused -p /dev/ums0
on a hardrive that makes scary sounds when it over heats.
my shell happens to be pointing to
# pwd
/mnt/usr/home/kayve/cs162
which is one of the four partitions (that was actually a boo boo.. I should have made only one partitiion)
of a newer hardrive that is the subject of this question. I have mounted it on /mnt/usr
I was in a frantic session of svn-ing and java-ing and decided to do a du command. it scrolled and scrolled
and then suddenly everything froze. after that, I haven't been really able to boot that hard drive. I did
a vipw and got my user back, and the way it was booting I would get a character based prompt (no
X) but then after logging in and getting my prompt I would type "startx" and I would get KDE. after
rebooting multiple times it seems I can usually get a prompt (although it rebooted between
the username and password once) .
Here is the interesting output of fsck_ffs -y.. I did this instead of just fsck because fsck "couldn't find
the filesystem type" and I did the -y "constitutive yes" because of what you see...
# moused -p /dev/ums0
# fsck_ffs -y /mnt/usr
** /dev/da0s4 (NO WRITE)
** Last Mounted on /mnt/usr
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=2779162 (4 should be 0)
CORRECT? no
An interesting thing about the whole du thing is that it seems like it fails in the exact same directory, and
I have done the du command while booting THIS harddrive and it deadlocks in a very similar way but this
disk is still able to reboot after that.
I have yet to try the obvious deletion of the nasty directory.. I'll probably get around to doing that when I
have timeto make a backup. {:}
If that's the solution.. EASY POINTS for someone!
Start Free Trial