From: Edward Shishkin Subject: Re: reiser4: BUG during a backup (sequentially reading the whole fs) on 4.9 Date: Mon, 27 Feb 2017 17:17:43 +0100 Message-ID: References: <1488211296.5395.2.camel@intelfx.name> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=FoiSy3QFhcU+UWlbxmBMDi6YreDtaa6x0GpbIJLjRns=; b=pda1RYgLJc82b4qSO4eydMNkDOi8QZSrIwGY2wpcATFk8NonlJSvuxBJCFAj4gcYVr 607zstg9YBzlqr+X/Mkd+MYciuughDcy1UegbW0hvO+YibsoVmABd3irq5nU6tD6/G35 BFaeZBug0Lk5mUdZhezXCNK28Icgl5kUCXs56QJn7wfsCRBpU/JJehVDoxY+UR8SnC6a J4OY2PBo7R2NKvHKhH9EN8Rw+6rljf1FacQ/pmC0GSGb2xgiaxJZy2dIU09O5pyAxI8o mxaMuXlloDr7UduASQsH8Tp3y/ylAdXP0/AVQ0+0JJtaCB7K8t808YCmc+L6EZ/Un+K7 MB0g== In-Reply-To: <1488211296.5395.2.camel@intelfx.name> Sender: reiserfs-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: intelfx@intelfx.name, Reiserfs development mailing list There are 4 patches for 4.9. Which one do you use? Or please provide commit id, if you use git. Thanks, Edward. On 02/27/2017 05:01 PM, Ivan Shapovalov wrote: > Hi, > > I've just encountered this crash when I was doing a full-fs backup > (linux 4.9): > > [ 3125.760693] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 > [ 3125.760722] IP: [] internal_at+0x1/0x30 [reiser4] > [ 3125.760749] PGD 1dc4d8067 > [ 3125.760756] PUD 119275067 > [ 3125.760764] PMD 0 > > [ 3125.760772] Oops: 0000 [#1] PREEMPT SMP > [ 3125.760782] Modules linked in: ext4 jbd2 mbcache ctr ccm fuse cmac arc4 acpi_call(O) bnep ipheth btusb uvcvideo btintel bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev uas crc16 bbswitch(O) coretemp i > ntel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek kvm_intel snd_hda_codec_generic mei_wdt snd_hda_codec_hdmi kvm irqbypass crc32_pclmul ghash_clmulni_intel iTCO_wdt aesni_intel iTCO_vendor_support aes_x86_64 lrw gf128mul ath10k_pci snd_hda_intel glue_helper ath10k_core snd_hda_codec ablk_helper cryptd ath mac80211 cfg80211 psmouse snd_hwdep snd_hda_core thinkpad_acpi input_leds pcspkr e1000e i2c_i801 snd_pcm i2c_smbus nvram mei_me snd_timer mei rtsx_pci_ms lpc_ich snd memstick ptp led_class pps_core tpm_tis hwmon tpm_tis_core rfkill wmi soundcore > [ 3125.761006] thermal ac tpm evdev battery sch_fq_codel vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) usbserial usbip_host usbip_core sg efivarfs ip_tables x_tables autofs4 reiser4 sd_mod hid_logitech_hidpp hid_logitech_dj usbhid hid usb_storage rtsx_pci_sdmmc mmc_core crc32c_intel ahci libahci libata xhci_pci serio_raw ehci_pci scsi_mod xhci_hcd ehci_hcd rtsx_pci mfd_core usbcore usb_common i915 video backlight button intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm agpgart > [ 3125.761152] CPU: 2 PID: 8033 Comm: borg Tainted: G O 4.9.0-pf5-intelfx-00118-g3ef102e15022 #1 > [ 3125.761173] Hardware name: LENOVO 20BEA008RT/20BEA008RT, BIOS GMET75WW (2.23 ) 03/16/2016 > [ 3125.761191] task: ffff9a35d33aa4c0 task.stack: ffffaf93c3fac000 > [ 3125.761205] RIP: 0010:[] [] internal_at+0x1/0x30 [reiser4] > [ 3125.761231] RSP: 0018:ffffaf93c3faf978 EFLAGS: 00010202 > [ 3125.761243] RAX: 00000000000003a8 RBX: ffffaf93c3faf9d8 RCX: ffffffffc0774980 > [ 3125.761259] RDX: ffff9a3601130000 RSI: ffffaf93c3faf9d8 RDI: 0000000000000000 > [ 3125.761275] RBP: ffff9a35886035a0 R08: 0000000000000000 R09: 0000000000000000 > [ 3125.761291] R10: ffffffffc0750300 R11: 0000000000000000 R12: ffffaf93c3fafb40 > [ 3125.761308] R13: 0000000000000001 R14: ffffaf93c3faf9d8 R15: 0000000000000000 > [ 3125.761324] FS: 00007f71f7e82400(0000) GS:ffff9a373e280000(0000) knlGS:0000000000000000 > [ 3125.761342] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 3125.761355] CR2: 0000000000000010 CR3: 0000000215878000 CR4: 00000000001406e0 > [ 3125.761371] Stack: > [ 3125.761377] ffffaf93c3faf9d8 ffffffffc075d149 ffff9a3601130000 ffffffffc07519b0 > [ 3125.761397] ffffaf93c3faf9d8 000000000000000f ffff9a3601130010 ffffd79000000001 > [ 3125.761417] 00000000006f7534 0043616e6f6e2057 000000000006f75f ffffffffffffffff > [ 3125.761437] Call Trace: > [ 3125.761449] [] ? has_pointer_to_internal+0x9/0x20 [reiser4] > [ 3125.761471] [] ? find_disk_cluster+0x190/0x3a0 [reiser4] > [ 3125.761492] [] ? do_readpage_ctail+0x235/0x490 [reiser4] > [ 3125.761511] [] ? prepare_page_cluster+0x178/0x270 [reiser4] > [ 3125.761531] [] ? ctail_readpages_filler+0xe5/0x250 [reiser4] > [ 3125.761549] [] ? read_cache_pages+0xb3/0x180 > [ 3125.761567] [] ? do_readpage_ctail+0x490/0x490 [reiser4] > [ 3125.761584] [] ? __kmalloc+0x167/0x1d0 > [ 3125.761602] [] ? readpages_ctail+0x133/0x340 [reiser4] > [ 3125.761621] [] ? readpages_cryptcompress+0x34/0x60 [reiser4] > [ 3125.761638] [] ? __do_page_cache_readahead+0x1b7/0x2a0 > [ 3125.761655] [] ? ondemand_readahead+0xc8/0x240 > [ 3125.761670] [] ? pagecache_get_page+0x2b/0x2a0 > [ 3125.761685] [] ? generic_file_read_iter+0x619/0x880 > [ 3125.761701] [] ? new_sync_read+0xd2/0x120 > [ 3125.761718] [] ? read_cryptcompress+0x5c/0xa0 [reiser4] > [ 3125.761738] [] ? reiser4_read_dispatch+0x54/0x130 [reiser4] > [ 3125.761755] [] ? vfs_read+0x85/0x150 > [ 3125.761768] [] ? SyS_read+0x4d/0xc0 > [ 3125.761782] [] ? SyS_ioctl+0x36/0x70 > [ 3125.761795] [] ? entry_SYSCALL_64_fastpath+0x13/0x94 > [ 3125.761810] Code: 76 c0 48 c7 04 24 65 fb 76 c0 bb fb ff ff ff e8 7d 55 9b e0 eb 96 0f 1f 40 00 41 b8 01 00 00 00 31 c9 48 89 f2 e9 b0 e7 fc ff 53 <83> 7f 10 ff 48 89 fb 74 09 48 89 df 5b e9 fd 7d 00 00 e8 d8 7d > [ 3125.761910] RIP [] internal_at+0x1/0x30 [reiser4] > [ 3125.761930] RSP > [ 3125.761939] CR2: 0000000000000010 > [ 3125.774256] ---[ end trace b060c22fa881072e ]--- > > > Is this something known to you? I'll try to reproduce, but not yet. >