On Wednesday 2003 March 12 11:38, Szakacsits Szabolcs wrote:
> On Wed, 12 Mar 2003, Attila Tajti wrote:
> > I have a problem using an NTFS volume using the Gentoo kernel.
>
> They patch heavily, I've been in contact with Gentoo kernel
> developers. The most weird ntfsresize problem was due to a Gentoo
> kernel read() returned more data then it was requested and overflow
> the passed buffer.
I am not (yet?) interested in ntfsresize... so I hope that issue doesn't
affect the kernel NTFS driver.
> > I tried it with the original 2.4.20-gentoo-r1 kernel I had (with
> > linux-ntfs driver 2.1.0a IIRC), and also with the
> > ntfs-2.1.0a-2.1.1a.patch applied (thus having linux-ntfs 2.1.1a).
>
> At least the gentoo-rc3 definitely had the broken new NTFS driver
> (hung) but they switched to the fixed 2.1.1a one recently, at least in
> the development.
Yes, I saw it had 2.1.0a, that is why I applied ntfs-2.1.0a-2.1.1a.patch to
it. According to emerge (emerge -p sys-kernel/gentoo-sources) I have the
newest Gentoo kernel (2.4.20-gentoo-r1).
> Are you sure you're running 2.1.1a? [it just happened yesterday,
> somebody reported hangs in latest ntfs driver but turned out it was
> an older driver]
>
> % dmesg | grep NTFS
I tried the thing with vanilla + ntfs applied (I added the -ntfs part manually
to the kernel EXTRAVERSION) and the problem seems to persist. There is a
difference, though: df still doesn't return, but the system seem to remain
usable. But CPU is 100% busy, I found that kdeinit started df for some
reason.
attis # mount /mnt/windows
attis # uname -a
Linux attisx.lan 2.4.20-ntfs #3 Wed Mar 12 12:08:29 CET 2003 i686 AMD
Athlon(tm) processor AuthenticAMD GNU/Linux
attis # dmesg | grep NTFS
NTFS driver 2.1.1a [Flags: R/O MODULE].
NTFS volume version 3.1.
attis #
> > Accessing files from console works, but if I check the free space
> > with df, the system hangs before outputting the the line for the
> > ntfs partition and keeps hogging the HDD.
>
> If it's 2.1.1a then please enable NTFS debug during kernel config then
> do 'echo 1 > /proc/sys/fs/ntfs-debug' and send the output when it
> hangs.
Now I enabled NTFS_DEBUG on both my gentoo and vanilla+ntfs kernels, attached
two logs with my results. The first one is completely useless (I think)
because it shows the same message in each line... any hint how could I
increase the size of the kernel debug buffer? The second attachment shows the
results of mounting and umounting the NTFS partition in question.
Thank you,
Attila
|