[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150129182558.GA11745@wfg-t540p.sh.intel.com>
Date: Thu, 29 Jan 2015 10:25:58 -0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: David Howells <dhowells@...hat.com>
Cc: LKP <lkp@...org>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [vfs] kernel BUG at fs/namei.c:1066!
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs file-pin
commit 1bdc0d05755a7b261658f4d7b9d5e5a66773fa72
Author: David Howells <dhowells@...hat.com>
AuthorDate: Wed Jan 28 11:56:45 2015 +0000
Commit: David Howells <dhowells@...hat.com>
CommitDate: Wed Jan 28 12:06:23 2015 +0000
VFS: Split DCACHE_FILE_TYPE into regular and special types
Split DCACHE_FILE_TYPE into DCACHE_REGULAR_TYPE (dentries representing regular
files) and DCACHE_SPECIAL_TYPE (representing blockdev, chardev, FIFO and
socket files).
d_is_reg() and d_is_special() are added to detect these subtypes and
d_is_file() is left as the union of the two.
This allows a number of places that use S_ISREG(dentry->d_inode->i_mode) to
use d_is_reg(dentry) instead.
Signed-off-by: David Howells <dhowells@...hat.com>
+----------------------------------------------------------------------------+------------+------------+------------+
| | d0d43c410c | 1bdc0d0575 | 9db15cd36c |
+----------------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 653 | 0 | 0 |
| boot_failures | 487 | 300 | 12 |
| Out_of_memory:Kill_process | 486 | | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 7 | | |
| backtrace:vfs_fstatat | 4 | | |
| backtrace:SyS_newfstatat | 4 | | |
| WARNING:at_net/netlink/genetlink.c:#genl_unbind() | 1 | | |
| backtrace:do_group_exit | 1 | | |
| backtrace:SyS_exit_group | 1 | | |
| backtrace:iterate_dir | 2 | | |
| backtrace:SyS_getdents | 2 | | |
| Kernel_panic-not_syncing:VFS:Unable_to_mount_root_fs_on_unknown-block(#,#) | 0 | 14 | 7 |
| backtrace:prepare_namespace | 0 | 4 | 7 |
| backtrace:kernel_init_freeable | 0 | 167 | 7 |
| BUG:unable_to_handle_kernel | 0 | 188 | |
| Oops | 0 | 188 | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 163 | 2 |
| backtrace:user_path_at | 0 | 163 | |
| backtrace:SyS_fchownat | 0 | 163 | |
| backtrace:SyS_chown | 0 | 163 | |
| backtrace:populate_rootfs | 0 | 163 | |
| WARNING:at_fs/dcache.c:#dput() | 0 | 15 | |
| kernel_BUG_at_fs/namei.c | 0 | 98 | 5 |
| invalid_opcode | 0 | 98 | 5 |
| RIP:follow_managed | 0 | 83 | 5 |
| backtrace:vfs_stat | 0 | 16 | 2 |
| backtrace:SyS_newstat | 0 | 16 | 2 |
| backtrace:do_sys_open | 0 | 0 | 1 |
| backtrace:SyS_open | 0 | 0 | 1 |
+----------------------------------------------------------------------------+------------+------------+------------+
[ 773.211462] EDD information not available.
[ 774.839766] debug: unmapping init [mem 0xffffffff82329000-0xffffffff82417fff]
[ 778.114489] ------------[ cut here ]------------
[ 778.116386] kernel BUG at fs/namei.c:1066!
[ 778.116386] invalid opcode: 0000 [#1] DEBUG_PAGEALLOC
[ 778.116386] Modules linked in:
[ 778.116386] CPU: 0 PID: 904 Comm: grep Not tainted 3.19.0-rc3-g1bdc0d0 #181
[ 778.116386] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[ 778.116386] task: ffff88000b4dce90 ti: ffff88000b4e0000 task.ti: ffff88000b4e0000
[ 778.116386] RIP: 0010:[<ffffffff8117196f>] [<ffffffff8117196f>] follow_managed+0x3ef/0x410
Elapsed time: 755
qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel /kernel/x86_64-randconfig-s1-01260504/1bdc0d05755a7b261658f4d7b9d5e5a66773fa72/vmlinuz-3.19.0-rc3-g1bdc0d0 -append 'hung_task_panic=1 earlyprintk=ttyS0,115200 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/x86_64-randconfig-s1-01260504/linux-devel:devel-snb-smoke-201501290306:1bdc0d05755a7b261658f4d7b9d5e5a66773fa72:bisect-linux-7/.vmlinuz-1bdc0d05755a7b261658f4d7b9d5e5a66773fa72-20150129094102-141-ivb41 branch=linux-devel/devel-snb-smoke-201501290306 BOOT_IMAGE=/kernel/x86_64-randconfig-s1-01260504/1bdc0d05755a7b261658f4d7b9d5e5a66773fa72/vmlinuz-3.19.0-rc3-g1bdc0d0 drbd.minor_count=8' -initrd /kernel-tests/initrd/yocto-minimal-x86_64.cgz -m 320 -smp 1 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-yocto-ivb41-1 -serial file:/dev/shm/kboot/serial-yocto-ivb41-1 -daemonize -display none -monitor null
git bisect start 9db15cd36c0640c61809774ccf0c3fe3a6fff9f4 26bc420b59a38e4e6685a73345a0def461136dce --
git bisect good 326c3294b747bb6c6cc6df185fdffe518d859ba3 # 04:17 20+ 0 Merge 'arm-soc/at91/cleanup3' into devel-snb-smoke-201501290306
git bisect good 482b9fa512d33c0c07792a547ce83e6d6c231df4 # 04:32 20+ 12 Merge 'drm-intel/drm-intel-nightly' into devel-snb-smoke-201501290306
git bisect good f90772a3bee3a482c1f31dcd931796bb1340d68b # 05:05 20+ 0 Merge 'soc-thermal/fixes' into devel-snb-smoke-201501290306
git bisect good 968376a77da823fbf465b7f69e052e5810ab691e # 06:01 20+ 14 Merge 'mvebu/mvebu/fixes-5' into devel-snb-smoke-201501290306
git bisect bad 82cd423b4864f6f3351e1d3cc218d0458249aea3 # 06:42 0- 6 Merge 'dhowells-fs/file-pin-devel' into devel-snb-smoke-201501290306
git bisect good 756b237af0f1ce838e6a3697c71505d25b5180e4 # 07:04 20+ 18 VFS: Introduce inode-getting helpers for layered/unioned fs environments
git bisect bad b62488d2fffcaffba029cf685b4f5841bc66a896 # 07:45 7- 10 Smack: Use d_is_positive() rather than testing dentry->d_inode
git bisect bad 27fdb8024f22410e209e4b19d8faa8b84fcae884 # 07:57 22- 23 Overlayfs: Use dentry layer pinning
git bisect good d0d43c410c279cbd9505afcbcc48b396d1e5e3b9 # 08:46 240+ 161 VFS: Add lower layer pinning in dcache
git bisect bad 107f1c40a47dcdf054c925317f786aaaf20ee6e1 # 09:33 67- 69 Overlayfs: Use DCACHE_WHITEOUT_TYPE
git bisect bad 1bdc0d05755a7b261658f4d7b9d5e5a66773fa72 # 09:46 163- 164 VFS: Split DCACHE_FILE_TYPE into regular and special types
# first bad commit: [1bdc0d05755a7b261658f4d7b9d5e5a66773fa72] VFS: Split DCACHE_FILE_TYPE into regular and special types
git bisect good d0d43c410c279cbd9505afcbcc48b396d1e5e3b9 # 10:32 900+ 487 VFS: Add lower layer pinning in dcache
# extra tests with DEBUG_INFO
# extra tests on HEAD of linux-devel/devel-snb-smoke-201501290306
git bisect bad 9db15cd36c0640c61809774ccf0c3fe3a6fff9f4 # 10:41 0- 12 0day head guard for 'devel-snb-smoke-201501290306'
# extra tests on tree/branch dhowells-fs/file-pin
# extra tests on tree/branch linus/master
git bisect good c59c961ca511dc7ee2f4f7e9c224d16f5c76ca6e # 12:32 900+ 367 Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
# extra tests on tree/branch next/master
git bisect good 30720bbeca0d197b639bb2b347f31238d829aa90 # 13:22 900+ 340 Add linux-next specific files for 20150128
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=yocto-minimal-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-initrd $initrd
-m 320
-smp 1
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
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[*]}"
----------------------------------------------------------------------------
Thanks,
Fengguang
View attachment "dmesg-yocto-ivb41-1:20150129095321:x86_64-randconfig-s1-01260504:3.19.0-rc3-g1bdc0d0:181" of type "text/plain" (102919 bytes)
View attachment "config-3.19.0-rc3-g1bdc0d0" of type "text/plain" (113611 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists