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>] [day] [month] [year] [list]
Message-ID: <20160531081021.GB11635@yexl-desktop>
Date:	Tue, 31 May 2016 16:10:21 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Eduardo Valentin <edubezval@...il.com>
Cc:	0day robot <fengguang.wu@...el.com>,
	Zhang Rui <rui.zhang@...el.com>,
	LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [thermal] 1c3ceab5a8: WARNING: CPU: 0 PID: 1 at
 fs/sysfs/group.c:61 internal_create_group+0x1e4/0x420



FYI, we noticed the following commit:

https://github.com/0day-ci/linux Eduardo-Valentin/thermal-reorganizing-thermal-core/20160531-063319
commit 1c3ceab5a8e7bcd807696d94f8863dd4e400c8c5 ("thermal: core: use dev.groups to manage always present tz attributes")


on test machine: vm-vp-quantal-i386: 1 threads qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap with 360M memory

caused below changes:


+------------------------------------------------------------------+------------+------------+
|                                                                  | ed5838d224 | 1c3ceab5a8 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 0          | 0          |
| boot_failures                                                    | 12         | 10         |
| invoked_oom-killer:gfp_mask=0x                                   | 12         |            |
| Mem-Info                                                         | 12         |            |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 12         |            |
| backtrace:btrfs_test_extent_io                                   | 12         |            |
| backtrace:init_btrfs_fs                                          | 12         |            |
| backtrace:kernel_init_freeable                                   | 12         | 10         |
| page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_NORETRY) | 1          |            |
| warn_alloc_failed+0x                                             | 1          |            |
| backtrace:ring_buffer_consumer_thread                            | 1          |            |
| WARNING:at_fs/sysfs/group.c:#internal_create_group               | 0          | 10         |
| BUG:unable_to_handle_kernel                                      | 0          | 10         |
| Oops                                                             | 0          | 10         |
| EIP_is_at_string                                                 | 0          | 10         |
| Kernel_panic-not_syncing:Fatal_exception                         | 0          | 10         |
| backtrace:power_supply_register                                  | 0          | 10         |
| backtrace:test_power_init                                        | 0          | 10         |
+------------------------------------------------------------------+------------+------------+



[   20.597358] __power_supply_register: Expected proper parent device for 'test_ac'
[   20.601762] __power_supply_register: Expected proper parent device for 'test_battery'
[   20.607055] ------------[ cut here ]------------
[   20.612928] WARNING: CPU: 0 PID: 1 at fs/sysfs/group.c:61 internal_create_group+0x1e4/0x420
[   20.627436] BUG: unable to handle kernel paging request at 6c756d65
[   20.629794] IP: [<c1685a0c>] string+0x2c/0xb0
[   20.631621] *pdpt = 0000000000000000 *pde = 0000000000000000 
[   20.634330] Oops: 0000 [#1] PREEMPT SMP 
[   20.638711] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-rc6-00055-g1c3ceab #1
[   20.641928] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   20.645710] task: d42d8040 ti: d42d4000 task.ti: d42d4000
[   20.647635] EIP: 0060:[<c1685a0c>] EFLAGS: 00010086 CPU: 0
[   20.655603] EIP is at string+0x2c/0xb0
[   20.657415] EAX: c2e111ca EBX: d42d5de8 ECX: 6c756d65 EDX: ffffffff
[   20.660981] ESI: fffffffe EDI: ffff0a00 EBP: d42d5cdc ESP: d42d5cbc
[   20.663074]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[   20.665387] CR0: 80050033 CR2: 6c756d65 CR3: 02899000 CR4: 000406f0
[   20.670149] Stack:
[   20.671374]  c10b44a9 00000282 ffff0a00 ffffff04 c2e115a0 d42d5de8 c23d5bcc c2e111ca
[   20.676025]  d42d5d18 c168710a ffffff04 ffff0a00 00000000 00000001 c2e111c0 000003e0
[   20.680279]  00000002 c2e115a0 ffffff04 ffff0a00 00000000 000003e0 00000000 d42d5d2c
[   20.687079] Call Trace:
[   20.688916]  [<c10b44a9>] ? do_raw_spin_unlock+0xc9/0x100
[   20.690756]  [<c168710a>] vsnprintf+0x1fa/0x410
[   20.692577]  [<c16877c7>] vscnprintf+0x17/0x50
[   20.698734]  [<c10c4bde>] vprintk_emit+0x2fe/0x560
[   20.700766]  [<c125a724>] ? internal_create_group+0x1e4/0x420
[   20.702701]  [<c10c4e7d>] vprintk+0x3d/0x40
[   20.717325]  [<c10623c8>] __warn+0xa8/0x100
[   20.720974]  [<c125a724>] ? internal_create_group+0x1e4/0x420
[   20.723777]  [<c106245b>] warn_slowpath_fmt+0x3b/0x40
[   20.727559]  [<c125a724>] internal_create_group+0x1e4/0x420
[   20.731361]  [<c125aa69>] sysfs_create_groups+0x39/0x90
[   20.734687]  [<c181c1f5>] device_add+0x5d5/0x610
[   20.737403]  [<c182d0ac>] ? pm_runtime_init+0xfc/0x110
[   20.741928]  [<c181c327>] device_register+0x17/0x20
[   20.744590]  [<c1bb1f78>] thermal_zone_device_register+0x178/0x840
[   20.748612]  [<c1b4d103>] __power_supply_register+0x273/0x3a0
[   20.752551]  [<c1b4d5b7>] power_supply_register+0x17/0x20
[   20.757049]  [<c27d4858>] test_power_init+0x21/0xa0
[   20.759699]  [<c27d4837>] ? wm831x_power_driver_init+0x11/0x11
[   20.763614]  [<c277fc78>] do_one_initcall+0xf7/0x1b8
[   20.767399]  [<c10b44a9>] ? do_raw_spin_unlock+0xc9/0x100
[   20.770765]  [<c277fea9>] ? kernel_init_freeable+0x170/0x214
[   20.777180]  [<c277fec5>] kernel_init_freeable+0x18c/0x214
[   20.795488]  [<c1ef2260>] kernel_init+0x10/0x110
[   20.800411]  [<c1efb289>] ret_from_kernel_thread+0x21/0x38
[   20.806318]  [<c1ef2250>] ? rest_init+0xb0/0xb0
[   20.812016] Code: 89 e5 57 56 53 83 ec 14 8b 7d 0c 8b 75 08 89 55 f0 89 fa 89 75 ec 89 7d e8 c1 fa 10 81 f9 ff 0f 00 00 8d 72 ff 76 58 85 d2 74 46 <0f> b6 19 8d 79 01 84 db 75 1a eb 3a 90 8d b4 26 00 00 00 00 83
[   20.840640] EIP: [<c1685a0c>] string+0x2c/0xb0 SS:ESP 0068:d42d5cbc
[   20.844714] CR2: 000000006c756d65
[   20.848276] ---[ end trace c01e283b9f8d84d6 ]---
[   20.850775] Kernel panic - not syncing: Fatal exception


FYI, raw QEMU command line is:

	qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -kernel /pkg/linux/i386-randconfig-x0-05310913/gcc-6/1c3ceab5a8e7bcd807696d94f8863dd4e400c8c5/vmlinuz-4.6.0-rc6-00055-g1c3ceab -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-i386-41/bisect_boot-1-quantal-core-i386.cgz-i386-randconfig-x0-05310913-1c3ceab5a8e7bcd807696d94f8863dd4e400c8c5-20160531-120469-1d4e5q5-0.yaml ARCH=i386 kconfig=i386-randconfig-x0-05310913 branch=linux-devel/devel-catchup-201605311016 commit=1c3ceab5a8e7bcd807696d94f8863dd4e400c8c5 BOOT_IMAGE=/pkg/linux/i386-randconfig-x0-05310913/gcc-6/1c3ceab5a8e7bcd807696d94f8863dd4e400c8c5/vmlinuz-4.6.0-rc6-00055-g1c3ceab max_uptime=600 RESULT_ROOT=/result/boot/1/vm-vp-quantal-i386/quantal-core-i386.cgz/i386-randconfig-x0-05310913/gcc-6/1c3ceab5a8e7bcd807696d94f8863dd4e400c8c5/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-vp-quantal-i386-41::dhcp drbd.minor_count=8'  -initrd /fs/sde1/initrd-vm-vp-quantal-i386-41 -m 360 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-vp-quantal-i386-41 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-i386-41 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.6.0-rc6-00055-g1c3ceab" of type "text/plain" (111419 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (13868 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ