Hi Anton,
On Mon, 2005-10-31 at 14:22 +0000, Anton Altaparmakov wrote:
> And people: please try it before Linus releases 2.6.15 and report back
> (especially if you find bugs but even a "it works" would be nice to hear
> from a few more people)...
One more bug, steps to reproduce:
1) Create fragmented file with DATA attribute split on several records.
(using windows or ntfsmount)
2) Overwrite this file with some small (few bytes, but non-zero) file.
(using kernel driver)
After this cp segfaults on my system and I receive following in dmesg:
NTFS-fs error (device hda4): ntfs_truncate(): Cannot truncate inode 0x169e, attribute type 0x80, because the attribute is highly fragmented (it consists of multiple extents) and this case is not implemented yet.
Unable to handle kernel NULL pointer dereference at virtual address 00000029
printing eip:
c01ece9e
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: ltserial ltmodem fglrx vmmon subfs
CPU: 0
EIP: 0060:[<c01ece9e>] Tainted: P VLI
EFLAGS: 00010246 (2.6.14-ck1)
EIP is at ntfs_prepare_pages_for_non_resident_write+0x4ce/0x1f70
eax: 00000200 ebx: 00000000 ecx: c78ebcd8 edx: 00000029
esi: c774e9c4 edi: 00000000 ebp: 00000000 esp: c78ebbec
ds: 007b es: 007b ss: 0068
Process cp (pid: 2420, threadinfo=c78ea000 task=c9178ad0)
Stack: c87c1b44 c774e9c4 00000000 ceee43c0 cf596030 c04fd960 00000001 00000000
00000096 00000000 cf603f3c 00000001 c78ebc5c c90bbc54 c78ea000 00000000
00001000 00000000 c90bbc20 09003200 00000000 00000000 00000000 00000000
Call Trace:
[<c01c40c7>] journal_end+0xa7/0x100
[<c01218f1>] current_fs_time+0x51/0x70
[<c017d453>] inode_update_time+0xb3/0xe0
[<c01f04d6>] ntfs_file_aio_write_nolock+0x216/0x260
[<c013f5e1>] __generic_file_aio_read+0x1f1/0x230
[<c013f310>] file_read_actor+0x0/0xe0
[<c01f06c2>] ntfs_file_writev+0xc2/0x140
[<c01320e0>] autoremove_wake_function+0x0/0x60
[<c01f0777>] ntfs_file_write+0x37/0x40
[<c0160c57>] vfs_write+0xa7/0x180
[<c0160e01>] sys_write+0x51/0x80
[<c01032e1>] syscall_call+0x7/0xb
Code: 00 00 00 39 4c 24 74 0f 87 66 ff ff ff 8b 6c 24 58 85 ed 75 69 c7 44 24 5c 00 00 00 00 8b 5c 24 5c 8b b4 24 08 01 00 00 8b 14 9e <8b> 02 f6 c4 08 74 42 8b 52 0c 89 54 24 78 89 d5 89 f6 8b 45 00
BTW, great work, but IMHO to early for mainline.
--
Best regards,
Yura
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]