Re: panic: System call lstat returning with 1 locks held

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Attilio Rao <attilio@...>
Cc: Kostik Belousov <kostikbel@...>, Yar Tikhiy <yar@...>, <freebsd-current@...>
Date: Tuesday, January 29, 2008 - 7:42 pm

Attilio Rao wrote:

Yes, sorry I wasn't clear. I'm using UFS2, NFS, MSDOSFS (occasionally)
CD9660 (occasionally) and NTFS (when it doesn't explode). No ZFS.


Ok, let me know when it's ready for a mere mortal like me to test. :)

BTW, I had something very odd happen just now. I had some time where I
didn't need to be at the keyboard, so I exited X, and at the console I
ran the following:

for file in /mnt/ad0s1/<blah>/*; do
cp $file /tmp/
cmp $file /tmp/${file##*/}
rm /tmp/${file##*/}
done

where the <blah> directory has thousands of jpegs, and /tmp is a
memory disk, in case it matters. I repeated this 4-6 times (not sure
exactly) and it never crashed. But when I tried to restart X I got all
sorts of odd errors, all related in some way to files (e.g.,
/var/log/Xorg.0.log rename, hsetroot not being able to find my desktop
background jpeg and dumping core, xauth not being able to lock and/or
rename ~/.Xauthority, etc.).

I finally gave up and rebooted, now everything is back to normal.
Unfortunately it just occurred to me that I should have tried
unmounting the NTFS volume first, d'oh. But there is definitely
something wrong with the NTFS code if it can scramble things that
badly even when it's not being accessed.

Doug

-- 

    This .signature sanitized for your protection

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
panic: System call lstat returning with 1 locks held, Scot Hetzel, (Tue Jan 15, 9:52 am)
Re: panic: System call lstat returning with 1 locks held, Kostik Belousov, (Tue Jan 15, 10:39 am)
Re: panic: System call lstat returning with 1 locks held, Doug Barton, (Tue Jan 29, 7:42 pm)
Re: panic: System call lstat returning with 1 locks held, Pawel Jakub Dawidek, (Thu Jan 17, 7:40 am)
Re: panic: System call lstat returning with 1 locks held, Norikatsu Shigemura, (Fri Jan 18, 12:55 pm)
Re: panic: System call lstat returning with 1 locks held, Kris Kennaway, (Wed Jan 16, 5:55 am)
Re: panic: System call lstat returning with 1 locks held, John Baldwin, (Wed Jan 16, 11:11 am)