Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753179AbbDTDpH (ORCPT ); Sun, 19 Apr 2015 23:45:07 -0400 Received: from mxip5-inbound.gatech.edu ([130.207.182.47]:31409 "EHLO mxip5-inbound.gatech.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752359AbbDTDpC convert rfc822-to-8bit (ORCPT ); Sun, 19 Apr 2015 23:45:02 -0400 X-RemoteIP: 130.207.185.165 X-Group: ZimbraSenderGroup X-Policy: $ZIMBRA X-MID: 157581088 X-SBRS: None X-IronPort-AV: E=Sophos;i="5.11,607,1422939600"; d="scan'208";a="157581088" X-GT-Spam-Rating: (0%) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: [LKP] [ocfs2] e2ac55b6a8e: ocfs2_init:1612 ERROR: Unable to create ocfs2 debugfs root From: Chengyu Song In-Reply-To: <1429500330.7977.29.camel@intel.com> Date: Sun, 19 Apr 2015 23:45:00 -0400 Cc: Linus Torvalds , LKML , LKP ML Content-Transfer-Encoding: 8BIT Message-Id: <465C1C8A-0819-4253-9525-6168CCCA133A@gatech.edu> References: <1429500330.7977.29.camel@intel.com> To: Huang Ying X-Mailer: Apple Mail (2.2098) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3069 Lines: 42 Hi Ying, As suggested in the patch, -19 (-ENODEV) happens when debugfs is not configured (see include/linux/debugfs.h). So if debugfs is necessary for the functionality, in Kconfig, we should either declare it as a dependency, or auto select it. Chengyu > On Apr 19, 2015, at 11:25 PM, Huang Ying wrote: > > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6 ("ocfs2: incorrect check for debugfs returns") > > We found something as below in dmesg. > > [ 1.225136] VFS: Disk quotas dquot_6.5.2 > [ 1.225814] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > [ 1.228207] (swapper/0,1,0):ocfs2_init:1612 ERROR: Unable to create ocfs2 debugfs root. > [ 1.232445] (swapper/0,1,0):ocfs2_init:1634 ERROR: status = -19 > [ 1.233223] ocfs2: Registered cluster interface o2cb > [ 1.233994] OCFS2 User DLM kernel interface loaded > [ 1.234618] (swapper/0,1,0):o2hb_debug_init:1318 ERROR: status = -19 > [ 1.236183] gfs2: GFS2 installed > [ 1.238123] Key type asymmetric registered > > BUG: kernel boot hang > Elapsed time: 310 > qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -kernel /kernel/i386-randconfig-ib0-04172352/e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6/vmlinuz-4.0.0-02646-ge2ac55b -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-i386-23/rand_boot-1-quantal-core-i386.cgz-i386-randconfig-ib0-04172352-e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6-1-20150418-31554-1woqtdb.yaml ARCH=i386 kconfig=i386-randconfig-ib0-04172352 branch=linus/master commit=e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6 BOOT_IMAGE=/kernel/i386-randconfig-ib0-04172352/e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6/vmlinuz-4.0.0-02646-ge2ac55b RESULT_ROOT=/result/vm-vp-quantal-i386/boot/1/quantal-core-i386.cgz/i386-randconfig-ib0-04172352/e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 rd.udev.log-priority=err systemd.log_target=journal systemd.log_level=warning 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-23::dhcp drbd.minor_count=8' -initrd /fs/sde1/initrd-vm-vp-quantal-i386-23 -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-23 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-i386-23 -daemonize -display none -monitor null > > Thanks, > Ying Huang > > <.dmesg.txt>_______________________________________________ > LKP mailing list > LKP@linux.intel.com > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/