lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171030074055.wd56v3wiy2aveh2p@wfg-t540p.sh.intel.com>
Date:   Mon, 30 Oct 2017 08:40:55 +0100
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Dan Williams <dan.j.williams@...el.com>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Vishal Verma <vishal.l.verma@...el.com>
Subject: [pmem_attach_disk] WARNING: CPU: 46 PID: 518 at
 kernel/memremap.c:363 devm_memremap_pages+0x350/0x4b0

CC nvdimm maintainers.

On Sun, Oct 29, 2017 at 11:51:55PM +0100, Fengguang Wu wrote:
>Hi Linus,
>
>Up to now we see the below boot error/warnings when testing v4.14-rc6.
>
>They hit the RC release mainly due to various imperfections in 0day's
>auto bisection. So I manually list them here and CC the likely easy to
>debug ones to the corresponding maintainers in the followup emails.
>
>boot_successes: 4700
>boot_failures: 247

[...]

>WARNING:at_kernel/memremap.c:#devm_memremap_pages: 1

Bisect failed, hope it's not hard to debug:

         Start
[   18.989316] devm_memremap_pages attempted on mixed region [mem 0x680000000-0x103dffffff flags 0x200]
[   19.000802] ------------[ cut here ]------------
[   19.005965] WARNING: CPU: 46 PID: 518 at kernel/memremap.c:363 devm_memremap_pages+0x350/0x4b0
ing udev Kernel 
[   19.017134] Modules linked in: irqbypass nd_pmem(O+) crct10dif_pclmul crc32_pclmul dax_pmem(O) crc32c_intel syscopyarea ahci snd_pcm device_dax(O) nd_btt(O) sysfillrect sysimgblt ghash_clmulni_intel isci snd_timer fb_sys_fops nd_e820(O) pcbc libahci libsas snd scsi_transport_sas aesni_intel crypto_simd soundcore ipmi_si libnvdimm(O) glue_helper drm ipmi_devintf cryptd nfit_test_iomap(O) pcspkr libata shpchp wmi ipmi_msghandler ip_tables
Device Manager..
[   19.061856] CPU: 46 PID: 518 Comm: systemd-udevd Tainted: G           O    4.14.0-rc6 #1
.
reprocess NFS co
[   19.093600] RIP: 0010:devm_memremap_pages+0x350/0x4b0
nfiguration.
] Reached target
[   19.117685] RDX: ffff880648596180 RSI: ffff88064858e018 RDI: ffff88064858e018
 NFS client serv
[   19.127194] RBP: ffffc9000570ba68 R08: 0000000000000000 R09: 00000000000005ba
ices.
ed udev Kernel D
[   19.155740] FS:  00007f831194c8c0(0000) GS:ffff880648580000(0000) knlGS:0000000000000000
evice Manager.
[   19.166322] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
0m] Started Jour
[   19.180217] ata2: SATA link down (SStatus 0 SControl 300)
nal Service.
[   19.180248] ata1: SATA link down (SStatus 0 SControl 300)
[   19.180278] ata5: SATA link down (SStatus 0 SControl 300)
[   19.180310] ata4: SATA link down (SStatus 0 SControl 300)
[   19.180338] ata3: SATA link down (SStatus 0 SControl 300)
[   19.181202] ata6: SATA link down (SStatus 0 SControl 300)
[   19.222866] Call Trace:
[   19.222874]  __wrap_devm_memremap_pages+0x88/0xa0 [nfit_test_iomap]
[   19.222877]  pmem_attach_disk+0x1c4/0x530 [nd_pmem]
[   19.222880]  ? kfree_const+0x21/0x30
[   19.222883]  ? kobject_put+0xb8/0x190
[   19.222886]  ? put_device+0x17/0x20
[   19.222895]  ? nd_dax_probe+0x10d/0x140 [libnvdimm]
[   19.222896] Error: Driver 'pcspkr' is already registered, aborting...
[   19.222898]  nd_pmem_probe+0x7e/0x170 [nd_pmem]
[   19.222906]  nvdimm_bus_probe+0x71/0x120 [libnvdimm]
[   19.222909]  driver_probe_device+0x29c/0x450
[   19.222910]  __driver_attach+0xdf/0xf0
[   19.222912]  ? driver_probe_device+0x450/0x450
[   19.222913]  bus_for_each_dev+0x60/0xa0
[   19.222915]  driver_attach+0x1e/0x20
[   19.222916]  bus_add_driver+0x170/0x260
[   19.222918]  driver_register+0x60/0xe0
[   19.222919]  ? 0xffffffffa00da000
[   19.222922]  __nd_driver_register+0x3b/0x80 [libnvdimm]
[   19.222924]  pmem_init+0x1e/0x1000 [nd_pmem]
[   19.222926]  do_one_initcall+0x43/0x170
[   19.222928]  ? __might_sleep+0x4a/0x80
[   19.222931]  ? kmem_cache_alloc_trace+0x16f/0x1c0
[   19.222933]  do_init_module+0x5f/0x1fe
[   19.222935]  load_module+0x1586/0x1c90
[   19.222937]  ? kernel_read_file+0x160/0x180
[   19.222939]  SYSC_finit_module+0xbc/0xf0
[   19.222941]  ? SYSC_finit_module+0xbc/0xf0
[   19.222943]  SyS_finit_module+0xe/0x10
[   19.222944]  entry_SYSCALL_64_fastpath+0x1a/0xa5
[   19.222945] RIP: 0033:0x7f83107c7d49
[   19.222946] RSP: 002b:00007ffe140c4b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   19.222947] RAX: ffffffffffffffda RBX: 000055f9dd5843d0 RCX: 00007f83107c7d49
[   19.222948] RDX: 0000000000000000 RSI: 00007f83110e3525 RDI: 0000000000000010
[   19.222948] RBP: 00007f83110e3525 R08: 0000000000000000 R09: 00007ffe140c50b0
[   19.222949] R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000
[   19.222949] R13: 000055f9dd571640 R14: 0000000000020000 R15: 000055f9dbfa95b3
[   19.222951] Code: 00 49 c7 c4 fa ff ff ff 0f 85 02 ff ff ff 48 89 da 48 c7 c6 e0 92 a3 81 48 c7 c7 70 87 cb 81 c6 05 ef 59 e7 00 01 e8 b1 ab f3 ff <0f> ff e9 de fe ff ff 48 8b 7d c8 89 c1 48 c7 c2 e0 92 a3 81 48 
[   19.222966] ---[ end trace 0a5b3bdfcc982038 ]---
[   19.223193] nd_pmem namespace1.0: unable to guarantee persistence of writes

Thanks,
Fengguang

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ