[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <55c53f33.nPUWcDKuf/Aacij0%fengguang.wu@intel.com>
Date: Sat, 08 Aug 2015 07:28:51 +0800
From: kernel test robot <fengguang.wu@...el.com>
To: Gavin Guo <gavin.guo@...onical.com>
Cc: LKP <lkp@...org>, linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Linux Memory Management List <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>, wfg@...ux.intel.com
Subject: [mm/slab_common] BUG: kernel early-boot crashed early console in
setup code
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77
Author: Gavin Guo <gavin.guo@...onical.com>
AuthorDate: Wed Jun 24 16:55:54 2015 -0700
Commit: Linus Torvalds <torvalds@...ux-foundation.org>
CommitDate: Wed Jun 24 17:49:40 2015 -0700
mm/slab_common: support the slub_debug boot option on specific object size
The slub_debug=PU,kmalloc-xx cannot work because in the
create_kmalloc_caches() the s->name is created after the
create_kmalloc_cache() is called. The name is NULL in the
create_kmalloc_cache() so the kmem_cache_flags() would not set the
slub_debug flags to the s->flags. The fix here set up a kmalloc_names
string array for the initialization purpose and delete the dynamic name
creation of kmalloc_caches.
[akpm@...ux-foundation.org: s/kmalloc_names/kmalloc_info/, tweak comment text]
Signed-off-by: Gavin Guo <gavin.guo@...onical.com>
Acked-by: Christoph Lameter <cl@...ux.com>
Cc: Pekka Enberg <penberg@...nel.org>
Cc: David Rientjes <rientjes@...gle.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@....com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
+-----------------------------------------------------------+------------+------------+------------+
| | 3693a84d3b | 4066c33d03 | e4bc13adfd |
+-----------------------------------------------------------+------------+------------+------------+
| boot_successes | 377 | 14 | 2 |
| boot_failures | 0 | 116 | 27 |
| BUG:kernel_early-boot_crashed_early_console_in_setup_code | 0 | 116 | 22 |
| IP-Config:Auto-configuration_of_network_failed | 0 | 0 | 5 |
+-----------------------------------------------------------+------------+------------+------------+
early console in setup code
Elapsed time: 10
BUG: kernel early-boot crashed early console in setup code
Linux version 4.1.0-03324-g4066c33 #5
Command line: hung_task_panic=1 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 root=/dev/ram0 rw link=/kbuild-tests/run-queue/kvm/i386-randconfig-sb0-08051454/linux-devel:devel-spot-201508051145:4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77:bisect-linux-5/.vmlinuz-4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77-20150808052740-53-ivb41 branch=linux-devel/devel-spot-201508051145 BOOT_IMAGE=/pkg/linux/i386-randconfig-sb0-08051454/gcc-4.9/4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77/vmlinuz-4.1.0-03324-g4066c33 drbd.minor_count=8
qemu-system-x86_64 -enable-kvm -cpu kvm64 -kernel /pkg/linux/i386-randconfig-sb0-08051454/gcc-4.9/4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77/vmlinuz-4.1.0-03324-g4066c33 -append 'hung_task_panic=1 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 root=/dev/ram0 rw link=/kbuild-tests/run-queue/kvm/i386-randconfig-sb0-08051454/linux-devel:devel-spot-201508051145:4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77:bisect-linux-5/.vmlinuz-4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77-20150808052740-53-ivb41 branch=linux-devel/devel-spot-201508051145 BOOT_IMAGE=/pkg/linux/i386-randconfig-sb0-08051454/gcc-4.9/4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77/vmlinuz-4.1.0-03324-g4066c33 drbd.minor_count=8' -initrd /osimage/quantal/quantal-core-i386.cgz -m 300 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sda5/disk0-quantal-ivb41-22,media=disk,if=virtio -drive file=/fs/sda5/disk1-quantal-ivb41-22,media=disk,if=virtio -drive file=/fs/sda5/disk2-quantal-ivb41-22,media=disk,if=virtio -drive file=/fs/sda5/disk3-quantal-ivb41-22,media=disk,if=virtio -drive file=/fs/sda5/disk4-quantal-ivb41-22,media=disk,if=virtio -drive file=/fs/sda5/disk5-quantal-ivb41-22,media=disk,if=virtio -drive file=/fs/sda5/disk6-quantal-ivb41-22,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-quantal-ivb41-22 -serial file:/dev/shm/kboot/serial-quantal-ivb41-22 -daemonize -display none -monitor null
git bisect start e4bc13adfd016fc1036838170288b5680d1a98b0 v4.1 --
git bisect good acd53127c4adbd34570b221e7ea1f7fc94aea923 # 04:28 22+ 0 Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
git bisect good e0456717e483bb8a9431b80a5bdc99a928b9b003 # 04:34 22+ 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 266da6f14232638b9caafb7facf2a7333895dd05 # 04:39 22+ 0 Merge tag 'please-pull-pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
git bisect bad d857da7b70b3a38a846211b30442aad10ce577bd # 04:45 20- 2 Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect bad 55a7d4b85ca1f723d26b8956e8faeff730d0d240 # 04:50 0- 8 Merge tag 'for-4.2' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux
git bisect bad aefbef10e3ae6e2c6e3c54f906f10b34c73a2c66 # 04:55 0- 9 Merge branch 'akpm' (patches from Andrew)
git bisect bad 415c64c1453aa2bbcc7e30a38f8894d0894cb8ab # 05:02 42- 24 mm/memory-failure: split thp earlier in memory error handling
git bisect good 8c07a308ec5284fe41aefe48ac2ef4cfcd71ddbf # 05:14 130+ 0 sparc: use for_each_sg()
git bisect bad 36f881883c57941bb32d25cea6524f9612ab5a2c # 05:23 13- 29 mm: fix mprotect() behaviour on VM_LOCKED VMAs
git bisect bad 4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77 # 05:28 0- 94 mm/slab_common: support the slub_debug boot option on specific object size
git bisect good fe4ba3c34352b7e8068b7f18eb233444aed17011 # 05:37 130+ 2 watchdog: add watchdog_cpumask sysctl to assist nohz
git bisect good 3693a84d3b8b2fd4db1f1b22f33793eb84a66420 # 05:48 123+ 0 xtensa: use for_each_sg()
# first bad commit: [4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77] mm/slab_common: support the slub_debug boot option on specific object size
git bisect good 3693a84d3b8b2fd4db1f1b22f33793eb84a66420 # 06:03 377+ 0 xtensa: use for_each_sg()
# extra tests on HEAD of linux-devel/devel-spot-201508051145
git bisect good 305e39bb08c27f5a2ce7cf7cef18b212e071a0ff # 06:31 370+ 377 0day head guard for 'devel-spot-201508051145'
# extra tests on tree/branch linus/master
git bisect good 49d7c6559bf2ab4f1d56be131ab9571a51fc71bd # 06:58 370+ 370 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
# extra tests on tree/branch linus/master
git bisect good 49d7c6559bf2ab4f1d56be131ab9571a51fc71bd # 07:24 370+ 740 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
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
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
View attachment "dmesg-quantal-ivb41-22:20150808052044:i386-randconfig-sb0-08051454:4.1.0-03324-g4066c33:5" of type "text/plain" (2523 bytes)
View attachment "config-4.1.0-03324-g4066c33" of type "text/plain" (72418 bytes)
Powered by blists - more mailing lists