All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frans Klaver <fransklaver@gmail.com>
To: Huang Ying <ying.huang@intel.com>
Cc: Brian Norris <computersforpeace@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>, LKP ML <lkp@01.org>
Subject: Re: [LKP] [mtd] 6b44d910ae7: WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3547 check_flags+0xae/0x17b()
Date: Tue, 28 Apr 2015 23:37:01 +0200	[thread overview]
Message-ID: <20150428213700.GA10945@bugger.home> (raw)
In-Reply-To: <1429162034.6726.688.camel@intel.com>

On Thu, Apr 16, 2015 at 01:27:14PM +0800, Huang Ying wrote:
> FYI, we noticed the below changes on
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> commit 6b44d910ae7de5316fcf1fc828ff4a8d48cac5e2 ("mtd: core: set some defaults when dev.parent is set")
> 
> 
> [    5.566033] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.566033] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.567490] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.567490] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.568935] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.568935] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.570362] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.570362] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.571786] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.571786] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.573195] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.573195] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
> [    5.574628] nand: device found, Manufacturer ID: 0x98, Chip ID: 0x39
> [    5.574628] nand: device found, Manufacturer ID: 0x98, Chip ID: 0x39
> [    5.575662] nand: Toshiba NAND 128MiB 1,8V 8-bit
> [    5.575662] nand: Toshiba NAND 128MiB 1,8V 8-bit
> [    5.576417] nand: 128 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
> [    5.576417] nand: 128 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
> [    5.577576] flash size: 128 MiB
> [    5.577576] flash size: 128 MiB
> [    5.578060] page size: 512 bytes
> [    5.578060] page size: 512 bytes
> [    5.578556] OOB area size: 16 bytes
> [    5.578556] OOB area size: 16 bytes
> [    5.579085] sector size: 16 KiB
> [    5.579085] sector size: 16 KiB
> [    5.579568] pages number: 262144
> [    5.579568] pages number: 262144
> [    5.580114] pages per sector: 32
> [    5.580114] pages per sector: 32
> [    5.580659] bus width: 8
> [    5.580659] bus width: 8
> [    5.581067] bits in sector size: 14
> [    5.581067] bits in sector size: 14
> [    5.581605] bits in page size: 9
> [    5.581605] bits in page size: 9
> [    5.582102] bits in OOB size: 4
> [    5.582102] bits in OOB size: 4
> [    5.582593] flash size with OOB: 135168 KiB
> [    5.582593] flash size with OOB: 135168 KiB
> [    5.583235] page address bytes: 4
> [    5.583235] page address bytes: 4
> [    5.583749] sector address bytes: 3
> [    5.583749] sector address bytes: 3
> [    5.584332] options: 0x42
> [    5.584332] options: 0x42
> [    5.586063] Scanning device for bad blocks
> [    5.586063] Scanning device for bad blocks
> [    5.609792] ftl_cs: FTL header not found.
> [    5.609792] ftl_cs: FTL header not found.
> [    5.612150] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit":
> [    5.612150] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit":
> [    5.613131] 0x000000000000-0x000008000000 : "NAND simulator partition 0"
> [    5.613131] 0x000000000000-0x000008000000 : "NAND simulator partition 0"
> [    5.614496] BUG: unable to handle kernel 
> [    5.614496] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer dereference at 00000008
>  at 00000008
> [    5.615637] IP:
> [    5.615637] IP: [<818c8620>] add_mtd_device+0x194/0x313
>  [<818c8620>] add_mtd_device+0x194/0x313
> [    5.616041] *pde = 00000000 
> [    5.616041] *pde = 00000000 
> 
> [    5.616041] Oops: 0000 [#1] 
> [    5.616041] Oops: 0000 [#1] DEBUG_PAGEALLOC DEBUG_PAGEALLOC 
> 
> [    5.616041] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.0.0-08945-gcb973ec #3
> [    5.616041] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.0.0-08945-gcb973ec #3
> [    5.616041] task: 94680000 ti: 94688000 task.ti: 94688000
> [    5.616041] task: 94680000 ti: 94688000 task.ti: 94688000
> [    5.616041] EIP: 0060:[<818c8620>] EFLAGS: 00010202 CPU: 0
> [    5.616041] EIP: 0060:[<818c8620>] EFLAGS: 00010202 CPU: 0
> [    5.616041] EIP is at add_mtd_device+0x194/0x313
> [    5.616041] EIP is at add_mtd_device+0x194/0x313
> [    5.616041] EAX: 8bc100f0 EBX: 00000001 ECX: 00000001 EDX: 00000000
> [    5.616041] EAX: 8bc100f0 EBX: 00000001 ECX: 00000001 EDX: 00000000
> [    5.616041] ESI: 8caf9c20 EDI: 00000001 EBP: 94689ea8 ESP: 94689e98
> [    5.616041] ESI: 8caf9c20 EDI: 00000001 EBP: 94689ea8 ESP: 94689e98
> [    5.616041]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> [    5.616041]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> [    5.616041] CR0: 80050033 CR2: 00000008 CR3: 027cf000 CR4: 00040690
> [    5.616041] CR0: 80050033 CR2: 00000008 CR3: 027cf000 CR4: 00040690
> [    5.616041] Stack:
> [    5.616041] Stack:
> [    5.616041]  00000000
> [    5.616041]  00000000 00000000 00000000 8caf9c20 8caf9c20 00000000 00000000 94689ecc 94689ecc 818cc564 818cc564 00cabab3 00cabab3 00000001 00000001
> 
> [    5.616041]  8bc10000
> [    5.616041]  8bc10000 8c3eb820 8c3eb820 00000001 00000001 8bc10000 8bc10000 8c3eb820 8c3eb820 94689ee4 94689ee4 818c888c 818c888c 8c3eb820 8c3eb820
> 
> [    5.616041]  00000000
> [    5.616041]  00000000 8bc10000 8bc10000 8bc10000 8bc10000 94689f24 94689f24 82772ced 82772ced 8bc1066c 8bc1066c 00000001 00000001 00000000 00000000
> 
> [    5.616041] Call Trace:
> [    5.616041] Call Trace:
> [    5.616041]  [<818cc564>] add_mtd_partitions+0xc2/0xef
> [    5.616041]  [<818cc564>] add_mtd_partitions+0xc2/0xef
> [    5.616041]  [<818c888c>] mtd_device_parse_register+0xed/0x16f
> [    5.616041]  [<818c888c>] mtd_device_parse_register+0xed/0x16f
> [    5.616041]  [<82772ced>] ns_init_module+0x1384/0x13fc
> [    5.616041]  [<82772ced>] ns_init_module+0x1384/0x13fc
> [    5.616041]  [<82771969>] ? probe_docg4+0x626/0x626
> [    5.616041]  [<82771969>] ? probe_docg4+0x626/0x626
> [    5.616041]  [<8271411c>] do_one_initcall+0x128/0x278
> [    5.616041]  [<8271411c>] do_one_initcall+0x128/0x278
> [    5.616041]  [<816610d6>] ? strlen+0x9/0x1c
> [    5.616041]  [<816610d6>] ? strlen+0x9/0x1c
> [    5.616041]  [<82713500>] ? do_early_param+0x92/0xac
> [    5.616041]  [<82713500>] ? do_early_param+0x92/0xac
> [    5.616041]  [<8105f0be>] ? parse_args+0x367/0x45f
> [    5.616041]  [<8105f0be>] ? parse_args+0x367/0x45f
> [    5.616041]  [<827144e4>] kernel_init_freeable+0x278/0x33d
> [    5.616041]  [<827144e4>] kernel_init_freeable+0x278/0x33d
> [    5.616041]  [<81c98a6e>] kernel_init+0xe/0x139
> [    5.616041]  [<81c98a6e>] kernel_init+0xe/0x139
> [    5.616041]  [<81cb0240>] ret_from_kernel_thread+0x20/0x30
> [    5.616041]  [<81cb0240>] ret_from_kernel_thread+0x20/0x30
> [    5.616041]  [<81c98a60>] ? rest_init+0x131/0x131
> [    5.616041]  [<81c98a60>] ? rest_init+0x131/0x131
> [    5.616041] Code:
> [    5.616041] Code: d8 d8 74 74 62 62 82 82 84 84 c9 c9 74 74 65 65 83 83 be be ec ec 00 00 00 00 00 00 00 00 0f 0f 94 94 c1 c1 0f 0f b6 b6 f9 f9 8b 8b 14 14 bd bd c4 c4 74 74 62 62 82 82 42 42 89 89 14 14 bd bd c4 c4 74 74 62 62 82 82 84 84 c9 c9 74 74 0c 0c 8b 8b 50 50 7c 7c <8b> <8b> 52 52 08 08 89 89 96 96 ec ec 00 00 00 00 00 00 83 83 7e 7e 38 38 00 00 0f 0f 94 94 c1 c1 0f 0f b6 b6 f9 f9 8b 8b 14 14
> 
> [    5.616041] EIP: [<818c8620>] 
> [    5.616041] EIP: [<818c8620>] add_mtd_device+0x194/0x313add_mtd_device+0x194/0x313 SS:ESP 0068:94689e98
>  SS:ESP 0068:94689e98
> [    5.616041] CR2: 0000000000000008
> [    5.616041] CR2: 0000000000000008
> [    5.616041] ---[ end trace 1ca0c76386d57ae6 ]---
> [    5.616041] ---[ end trace 1ca0c76386d57ae6 ]---
> [    5.616041] Kernel panic - not syncing: Fatal exception
> [    5.616041] Kernel panic - not syncing: Fatal exception
> [    5.616041] Kernel Offset: disabled
> [    5.616041] Kernel Offset: disabled
> 
> Elapsed time: 10
> qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -kernel /kernel/i386-randconfig-nexs0-04131730+CONFIG_DEBUG_INFO/cb973eca7f9b50e81a5544e4e91e6bf516e10322/vmlinuz-4.0.0-08945-gcb973ec -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-i386-33/rand_boot-1-quantal-core-i386.cgz-i386-randconfig-nexs0-04131730+CONFIG_DEBUG_INFO-cb973eca7f9b50e81a5544e4e91e6bf516e10322-1-20150416-99016-oo4h64.yaml ARCH=i386 kconfig=i386-randconfig-nexs0-04131730+CONFIG_DEBUG_INFO branch=next/master commit=cb973eca7f9b50e81a5544e4e91e6bf516e10322 BOOT_IMAGE=/kernel/i386-randconfig-nexs0-04131730+CONFIG_DEBUG_INFO/cb973eca7f9b50e81a5544e4e91e6bf516e10322/vmlinuz-4.0.0-08945-gcb973ec RESULT_ROOT=/result/vm-vp-quantal-i386/boot/1/quantal-core-i386.cgz/i386-randconfig-nexs0-04131730+CONFIG_DEBUG_INFO/cb973eca7f9b50e81a5544e4e91e6bf516e10322/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-33::dhcp drbd.minor_count=8'  -initrd /fs/sdh1/initrd-vm-vp-quantal-i386-33 -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-33 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-i386-33 -daemonize -display none -monitor null 

I can't seem to reproduce this in qemu. Is there a way to get the same
setup you have so I can investigate?

Thanks,
Frans

  parent reply	other threads:[~2015-04-28 21:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16  5:27 [mtd] 6b44d910ae7: WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3547 check_flags+0xae/0x17b() Huang Ying
2015-04-16  5:27 ` [LKP] " Huang Ying
2015-04-16  7:34 ` Frans Klaver
2015-04-17 14:19   ` Frans Klaver
2015-04-17 16:31     ` Brian Norris
2015-04-17 18:02       ` Frans Klaver
2015-04-28 21:37 ` Frans Klaver [this message]
2015-05-04  2:37   ` Huang Ying
2015-05-04  2:37     ` [LKP] " Huang Ying
2015-05-04 19:15     ` Frans Klaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150428213700.GA10945@bugger.home \
    --to=fransklaver@gmail.com \
    --cc=computersforpeace@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.