linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Bug using new ntfs3 file system driver (5.15.2 on Arch Linux)
@ 2021-11-27 14:13 Mohan R
  2021-11-27 14:50 ` Matthew Wilcox
  0 siblings, 1 reply; 8+ messages in thread
From: Mohan R @ 2021-11-27 14:13 UTC (permalink / raw)
  To: uwe.sauter.de; +Cc: almaz.alexandrovich, linux-fsdevel, ntfs3, willy

Hi,

I confirm this issue. I tried to rsync between two ntfs3 mounts, but
rsync got killed unexpectedly.

Nov 27 19:21:53 mohanlaptop0 kernel: BUG: unable to handle page fault
for address: ffffb9c24fb74000
Nov 27 19:21:53 mohanlaptop0 kernel: #PF: supervisor read access in kernel mode
Nov 27 19:21:53 mohanlaptop0 kernel: #PF: error_code(0x0000) - not-present page
Nov 27 19:21:53 mohanlaptop0 kernel: PGD 100000067 P4D 100000067 PUD
1001bd067 PMD 10460a067 PTE 0
Nov 27 19:21:53 mohanlaptop0 kernel: Oops: 0000 [#2] PREEMPT SMP NOPTI
Nov 27 19:21:53 mohanlaptop0 kernel: CPU: 5 PID: 144039 Comm: rsync
Not tainted 5.15.5-arch1-1 #1 f0168f793e3f707b46715a62fafabd6a40826924
Nov 27 19:21:53 mohanlaptop0 kernel: Hardware name: Dell Inc. Inspiron
14 5410/0CKN95, BIOS 2.2.1 07/27/2021
Nov 27 19:21:53 mohanlaptop0 kernel: RIP: 0010:show_trace_log_lvl+0x1a4/0x32d
Nov 27 19:21:53 mohanlaptop0 kernel: Code: c7 14 60 a5 86 e8 0f be 00
00 4d 85 ed 74 41 0f b6 95 37 ff ff ff 4c 89 f1 4c 89 ee 48 8d bd 50
ff ff ff e8 dc fd ff ff eb 26 <4c> 8b 3b 48 8d bd 70 ff ff ff e8 2e 4e
52 ff 4c 89 ff 48 89 85 28
Nov 27 19:21:53 mohanlaptop0 kernel: RSP: 0018:ffffb9c24fb738d8 EFLAGS: 00010012
Nov 27 19:21:53 mohanlaptop0 kernel: RAX: 0000000000000000 RBX:
ffffb9c24fb73fff RCX: 0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: RDX: 0000000000000000 RSI:
0000000000000000 RDI: 0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: RBP: ffffb9c24fb739b8 R08:
0000000000000000 R09: 0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: R10: 0000000000000000 R11:
0000000000000000 R12: ffff949c432b0000
Nov 27 19:21:53 mohanlaptop0 kernel: R13: 0000000000000000 R14:
ffffffff86a7d25f R15: 0000000000002b00
Nov 27 19:21:53 mohanlaptop0 kernel: FS:  00007f40259b8580(0000)
GS:ffff949dc7740000(0000) knlGS:0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Nov 27 19:21:53 mohanlaptop0 kernel: CR2: ffffb9c24fb74000 CR3:
00000001b114c005 CR4: 0000000000770ee0
Nov 27 19:21:53 mohanlaptop0 kernel: PKRU: 55555554
Nov 27 19:21:53 mohanlaptop0 kernel: Call Trace:
Nov 27 19:21:53 mohanlaptop0 kernel:  <TASK>
Nov 27 19:21:53 mohanlaptop0 kernel:  __die_body.cold+0x1a/0x1f
Nov 27 19:21:53 mohanlaptop0 kernel:  page_fault_oops+0x19e/0x310
Nov 27 19:21:53 mohanlaptop0 kernel:  exc_page_fault+0xda/0x180
Nov 27 19:21:53 mohanlaptop0 kernel:  asm_exc_page_fault+0x1e/0x30
Nov 27 19:21:53 mohanlaptop0 kernel: RIP: 0010:0xffffff8586d685ff
Nov 27 19:21:53 mohanlaptop0 kernel: Code: Unable to access opcode
bytes at RIP 0xffffff8586d685d5.
Nov 27 19:21:53 mohanlaptop0 kernel: RSP: 0018:ffffb9c24fb73b4f EFLAGS: 00010246
Nov 27 19:21:53 mohanlaptop0 kernel: RAX: 0000000000000000 RBX:
0000000000001700 RCX: 0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: RDX: 0000000000000000 RSI:
0000000000000000 RDI: 0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: RBP: ffb9c24fb73c3800 R08:
0000000000000000 R09: 0000000000000000
Nov 27 19:21:53 mohanlaptop0 kernel: R10: 0000000000000000 R11:
0000000000000000 R12: ff949b43a8426800
Nov 27 19:21:53 mohanlaptop0 kernel: R13: 00000001112ccaff R14:
fff6a0c99d400000 R15: 00000000000056ff
Nov 27 19:21:53 mohanlaptop0 kernel:  ? page_cache_ra_unbounded+0x1c5/0x250
Nov 27 19:21:53 mohanlaptop0 kernel:  ? filemap_get_pages+0x269/0x730
Nov 27 19:21:53 mohanlaptop0 kernel:  ? filemap_read+0xb9/0x360
Nov 27 19:21:53 mohanlaptop0 kernel:  ? new_sync_read+0x156/0x1f0
Nov 27 19:21:53 mohanlaptop0 kernel:  ? vfs_read+0xff/0x1a0
Nov 27 19:21:53 mohanlaptop0 kernel:  ? ksys_read+0x67/0xf0
Nov 27 19:21:53 mohanlaptop0 kernel:  ? do_syscall_64+0x59/0x90
Nov 27 19:21:53 mohanlaptop0 kernel:  ? do_syscall_64+0x69/0x90
Nov 27 19:21:53 mohanlaptop0 kernel:  ? syscall_exit_to_user_mode+0x23/0x50
Nov 27 19:21:53 mohanlaptop0 kernel:  ? do_syscall_64+0x69/0x90
Nov 27 19:21:53 mohanlaptop0 kernel:  ? syscall_exit_to_user_mode+0x23/0x50
Nov 27 19:21:53 mohanlaptop0 kernel:  ? do_syscall_64+0x69/0x90
Nov 27 19:21:53 mohanlaptop0 kernel:  ? syscall_exit_to_user_mode+0x23/0x50
Nov 27 19:21:53 mohanlaptop0 kernel:  ? do_syscall_64+0x69/0x90
Nov 27 19:21:53 mohanlaptop0 kernel:  ? do_syscall_64+0x69/0x90
Nov 27 19:21:53 mohanlaptop0 kernel:  ? entry_SYSCALL_64_after_hwframe+0x44/0xae

Thanks,
Mohan R

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Bug using new ntfs3 file system driver (5.15.2 on Arch Linux)
@ 2021-11-19  7:48 Uwe Sauter
  2021-11-19 13:13 ` Matthew Wilcox
  0 siblings, 1 reply; 8+ messages in thread
From: Uwe Sauter @ 2021-11-19  7:48 UTC (permalink / raw)
  To: almaz.alexandrovich, ntfs3, linux-fsdevel

Dear devs and maintainers,

during the first heavy usage of the new ntfs3 driver I experienced the following kernel bug.
I wanted to rsync several GB from a NTFS file system stored on a ZFS volume to another NTFS file system on a plain 
partition.
Both drives were connected to a SAS controller (LSISAS2008, mpt2sas). The host has ECC memory.

After this bug I remounted both file systems using the FUSE NTFS-3g driver and sync'd the data without problems.

I'm not sure if this really is ntfs3 related but being the most prominent change in my workflow, this is my best bet.



Thanks for your work,

   Uwe Sauter


#### snip ####
[ 1132.645038] BUG: unable to handle page fault for address: 0000000000400000
[ 1132.645045] #PF: supervisor instruction fetch in kernel mode
[ 1132.645047] #PF: error_code(0x0010) - not-present page
[ 1132.645050] PGD 0 P4D 0
[ 1132.645053] Oops: 0010 [#1] PREEMPT SMP PTI
[ 1132.645057] CPU: 7 PID: 429941 Comm: rsync Tainted: P           OE     5.15.2-arch1-1 #1 
e3bfbeb633edc604ba956e06f24d5659e31c294f
[ 1132.645061] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./C226 WS, BIOS P3.40 06/25/2018
[ 1132.645063] RIP: 0010:0x400000
[ 1132.645067] Code: Unable to access opcode bytes at RIP 0x3fffd6.
[ 1132.645068] RSP: 0018:ffffac7e63a7fab8 EFLAGS: 00010246
[ 1132.645071] RAX: 0000000000000000 RBX: ffff95e55b7e3f80 RCX: 0000000000000000
[ 1132.645074] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 1132.645075] RBP: ffff95e55b7e3f80 R08: 0000000000000000 R09: 0000000000000000
[ 1132.645077] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002
[ 1132.645079] R13: ffffac7e63a7fb30 R14: ffffee3e0e250380 R15: ffffffffb4e09158
[ 1132.645081] FS:  00007fa8065b7580(0000) GS:ffff95ec003c0000(0000) knlGS:0000000000000000
[ 1132.645084] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1132.645086] CR2: 0000000000400000 CR3: 0000000264e28002 CR4: 00000000001706e0
[ 1132.645089] Call Trace:
[ 1132.645093]  ? io_schedule+0x42/0x70
[ 1132.645100]  ? wait_on_page_bit_common+0x10d/0x3c0
[ 1132.645105]  ? __page_cache_alloc+0x90/0x90
[ 1132.645109]  ? filemap_get_pages+0x6ed/0x730
[ 1132.645113]  ? filemap_read+0xb9/0x360
[ 1132.645117]  ? pty_write+0x8e/0x90
[ 1132.645123]  ? new_sync_read+0x159/0x1f0
[ 1132.645128]  ? vfs_read+0xff/0x1a0
[ 1132.645131]  ? ksys_read+0x67/0xf0
[ 1132.645135]  ? do_syscall_64+0x5c/0x90
[ 1132.645140]  ? ksys_write+0x67/0xf0
[ 1132.645143]  ? syscall_exit_to_user_mode+0x23/0x50
[ 1132.645146]  ? do_syscall_64+0x69/0x90
[ 1132.645150]  ? syscall_exit_to_user_mode+0x23/0x50
[ 1132.645153]  ? do_syscall_64+0x69/0x90
[ 1132.645156]  ? exit_to_user_mode_prepare+0x12d/0x180
[ 1132.645161]  ? syscall_exit_to_user_mode+0x23/0x50
[ 1132.645163]  ? __x64_sys_close+0xd/0x50
[ 1132.645168]  ? do_syscall_64+0x69/0x90
[ 1132.645171]  ? do_syscall_64+0x69/0x90
[ 1132.645174]  ? do_syscall_64+0x69/0x90
[ 1132.645178]  ? entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 1132.645183] Modules linked in: ntfs3 dm_mod vhost_net vhost vhost_iotlb tap tun xt_MASQUERADE xt_CHECKSUM 
ip6table_mangle iptable_mangle bridge stp llc ip6table_nat ip6t_REJECT nf_reject_ipv6 ip6table_filter ip6_tables 
iptable_nat nf_nat ipt_REJECT nf_reject_ipv4 xt_multiport xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 
nf_defrag_ipv4 libcrc32c crc32c_generic iptable_filter rpcrdma sunrpc rdma_ucm ib_iser libiscsi scsi_transport_iscsi 
ib_umad rdma_cm ib_ipoib iw_cm ib_cm mlx4_en mlx4_ib ib_uverbs ib_core intel_rapl_msr intel_rapl_common 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel tda18212 cxd2841er kvm irqbypass snd_hda_codec_realtek 
snd_ice1712 crct10dif_pclmul snd_hda_codec_generic snd_cs8427 iTCO_wdt intel_spi_platform intel_spi ledtrig_audio 
crc32_pclmul crc32c_intel snd_i2c spi_nor snd_ice17xx_ak4xxx snd_hda_intel intel_pmc_bxt ddbridge ghash_clmulni_intel 
snd_ak4xxx_adda at24 mtd iTCO_vendor_support mei_hdcp snd_intel_dspcfg snd_ac97_codec aesni_intel
[ 1132.645256]  snd_intel_sdw_acpi dvb_core crypto_simd videobuf2_vmalloc snd_hda_codec snd_mpu401_uart cryptd 
snd_rawmidi videobuf2_memops rapl snd_hda_core snd_seq_device intel_cstate ac97_bus intel_uncore snd_hwdep 
videobuf2_common pcspkr snd_pcm i2c_i801 videodev snd_timer i2c_smbus joydev mousedev mc igb lpc_ich mei_me snd dca 
mlx4_core mei soundcore ie31200_edac mac_hid acpi_pad vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) sg crypto_user fuse 
bpf_preload ip_tables x_tables hid_microsoft ff_memless usbhid raid1 md_mod xhci_pci xhci_pci_renesas zfs(POE) 
zunicode(POE) zzstd(OE) zlua(OE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) mpt3sas raid_class 
scsi_transport_sas i915 video ttm intel_agp intel_gtt
[ 1132.645320] CR2: 0000000000400000
[ 1132.645323] ---[ end trace 08a4d6a7ac863916 ]---
[ 1132.648651] RIP: 0010:0x400000
[ 1132.648654] Code: Unable to access opcode bytes at RIP 0x3fffd6.
[ 1132.648655] RSP: 0018:ffffac7e63a7fab8 EFLAGS: 00010246
[ 1132.648657] RAX: 0000000000000000 RBX: ffff95e55b7e3f80 RCX: 0000000000000000
[ 1132.648658] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 1132.648659] RBP: ffff95e55b7e3f80 R08: 0000000000000000 R09: 0000000000000000
[ 1132.648660] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002
[ 1132.648661] R13: ffffac7e63a7fb30 R14: ffffee3e0e250380 R15: ffffffffb4e09158
[ 1132.648662] FS:  00007fa8065b7580(0000) GS:ffff95ec003c0000(0000) knlGS:0000000000000000
[ 1132.648663] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1132.648676] CR2: 0000000000400000 CR3: 0000000264e28002 CR4: 00000000001706e0
[ 1132.648678] note: rsync[429941] exited with preempt_count 1
#### snap ####



#### Environment ####
Arch Linux with packages:
linux 5.15.2.arch1-1
ntfs-3g 2021.8.22-1
zfs-linux-git 2021.11.13.r7179.g8ac58c3f56_5.15.2.arch1.1-1
zfs-utils-git 2021.11.13.r7179.g8ac58c3f56-1
rsync 3.2.3-4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-06 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-27 14:13 Bug using new ntfs3 file system driver (5.15.2 on Arch Linux) Mohan R
2021-11-27 14:50 ` Matthew Wilcox
2021-12-28 21:00   ` August Wikerfors
2021-12-29  1:13     ` Matthew Wilcox
2022-01-03 15:20       ` Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
2021-11-19  7:48 Uwe Sauter
2021-11-19 13:13 ` Matthew Wilcox
2021-11-19 14:19   ` Uwe Sauter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).