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: <20140625091744.GA27280@localhost>
Date:	Wed, 25 Jun 2014 17:17:44 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Mark Brown <broonie@...aro.org>
Cc:	Jet Chen <jet.chen@...el.com>, Yuanhan Liu <yuanhan.liu@...el.com>,
	LKP <lkp@...org>, linux-kernel@...r.kernel.org,
	"Su, Tao" <tao.su@...el.com>
Subject: [regulator] BUG: kernel early hang without any printk output

Hi Mark,

It seems this merge commit makes the kernel not 100% bootable.
5 out of 53 boots block w/o any dmesg output.

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
commit a920677c35627d1baac9776dfba0286e7a1e1f0f
Merge: 3b9f3f3 ce44beb 03187c7 c969faa 53ddddc
Author:     Mark Brown <broonie@...aro.org>
AuthorDate: Sun Jun 22 11:58:45 2014 +0100

    Merge remote-tracking branches 'regulator/topic/88pm800', 'regulator/topic/ab8500', 'regulator/topic/bcm590xx' and 'regulator/topic/ltc3589' into regulator-next

Attached dmesg for the parent commit, too, to help confirm whether it is a noise error.

+------------------------------------------------------------+------------+------------+------------+------------+------------+------------+------------------+
|                                                            | 3b9f3f33ad | ce44beb7c0 | 03187c72db | c969faadf0 | 53ddddcad5 | a920677c35 | v3.16-rc2_062302 |
+------------------------------------------------------------+------------+------------+------------+------------+------------+------------+------------------+
| boot_successes                                             | 0          | 306        | 0          | 391        | 0          | 0          | 0                |
| boot_failures                                              | 408        | 0          | 306        | 17         | 408        | 102        | 53               |
| genirq:Flags_mismatch_irq.(serial)vs.(goldfish_pdev_bus)   | 408        | 0          | 306        | 0          | 408        | 96         | 48               |
| WARNING:CPU:PID:at_kernel/events/core.c:perf_swevent_add() | 0          | 0          | 0          | 16         |            |            |                  |
| WARNING:CPU:PID:at_mm/slab_common.c:kmalloc_slab()         | 0          | 0          | 0          | 1          |            |            |                  |
| backtrace:netlink_setsockopt                               | 0          | 0          | 0          | 1          |            |            |                  |
| backtrace:SyS_setsockopt                                   | 0          | 0          | 0          | 1          |            |            |                  |
| backtrace:SyS_socketcall                                   | 0          | 0          | 0          | 1          |            |            |                  |
| BUG:kernel_early_hang_without_any_printk_output            | 0          | 0          | 0          | 0          | 0          | 6          | 5                |
+------------------------------------------------------------+------------+------------+------------+------------+------------+------------+------------------+

BUG: kernel early hang without any printk output
Command line: hung_task_panic=1 earlyprintk=ttyS0,115200 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=10 softlockup_panic=1 nmi_watchdog=panic  prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal  root=/dev/ram0 rw link=/kbuild-tests/run-queue/kvm/i386-randconfig-c1-06230242/linux-devel:devel-hourly-2014062302:a920677c35627d1baac9776dfba0286e7a1e1f0f:bisect-linux4/.vmlinuz-a920677c35627d1baac9776dfba0286e7a1e1f0f-20140623053514-40-ivb42 branch=linux-devel/devel-hourly-2014062302 BOOT_IMAGE=/kernel/i386-randconfig-c1-06230242/a920677c35627d1baac9776dfba0286e7a1e1f0f/vmlinuz-3.16.0-rc1-00017-ga920677 drbd.minor_count=8
Early hang kernel: vmlinuz-3.16.0-rc1-00017-ga920677 3.16.0-rc1-00017-ga920677 #6
Elapsed time: 35

git bisect start 375e99ffd57ef530588f58288bc5fe39cf94cbae a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee --
git bisect good b3aa7a29807dac2dd7355ac97eb1462e97acf9e0  # 03:43    102+    102  Merge 'rcu/dev.2014.06.19c' into devel-hourly-2014062302
git bisect  bad 9e6424f1b56fc78818b92a5954fe8e37da497f32  # 04:05      0-      1  Merge 'regulator/for-next' into devel-hourly-2014062302
git bisect good e9ffadad61b2af6372be2e06802c0faeb5550250  # 04:26    102+    102  Merge 'arm-jcooper/irqchip/urgent' into devel-hourly-2014062302
git bisect good 12318f8cc77eab9ca20188257664a2fc9f63a8a9  # 04:48    102+    102  Merge 'arm-soc/for-next' into devel-hourly-2014062302
git bisect good 222980021ed94fe1201ad129ac7672cb7275ecec  # 05:05    102+    102  Merge 'spi/for-next' into devel-hourly-2014062302
git bisect good 3b9f3f33ad71b863673388f88cd2ba7df803e730  # 05:20    102+    102  Merge remote-tracking branch 'regulator/topic/core' into regulator-next
git bisect  bad a920677c35627d1baac9776dfba0286e7a1e1f0f  # 05:48      0-      1  Merge remote-tracking branches 'regulator/topic/88pm800', 'regulator/topic/ab8500', 'regulator/topic/bcm590xx' and 'regulator/topic/ltc3589' into regulator-next
git bisect good c969faadf02076641a81197f2e8641c40d232edd  # 06:07    102+      3  regulator: bcm590xx: remove unnecessary OOM messages
git bisect good ce44beb7c0b12d33ce88b396aeaea0ba4ca1bbfc  # 06:29    102+      0  regulator: 88pm800: remove duplicate PM800_BUCK3 define
git bisect good 53ddddcad5a4fc41db3e2f16c22344d8da58cf74  # 06:44    102+    102  regulator: ltc3589: Staticize ltc3589_reg_defaults
# first bad commit: [a920677c35627d1baac9776dfba0286e7a1e1f0f] Merge remote-tracking branches 'regulator/topic/88pm800', 'regulator/topic/ab8500', 'regulator/topic/bcm590xx' and 'regulator/topic/ltc3589' into regulator-next
git bisect good 3b9f3f33ad71b863673388f88cd2ba7df803e730  # 06:52    306+    408  Merge remote-tracking branch 'regulator/topic/core' into regulator-next
git bisect good ce44beb7c0b12d33ce88b396aeaea0ba4ca1bbfc  # 06:57    306+      0  regulator: 88pm800: remove duplicate PM800_BUCK3 define
git bisect good 03187c72db60e20354aca6802bc5cc3e42c1d6e1  # 07:10    306+    306  regulator: ab8500: Remove ab8500_regulator_debug_init/exit()
git bisect good c969faadf02076641a81197f2e8641c40d232edd  # 07:16    306+     17  regulator: bcm590xx: remove unnecessary OOM messages
git bisect good 53ddddcad5a4fc41db3e2f16c22344d8da58cf74  # 07:23    306+    408  regulator: ltc3589: Staticize ltc3589_reg_defaults
git bisect  bad 375e99ffd57ef530588f58288bc5fe39cf94cbae  # 07:23      0-     53  0day head guard for 'devel-hourly-2014062302'
git bisect good a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee  # 07:41    306+    408  Linux 3.16-rc2
git bisect good 633594bb2d3890711a887897f2003f41735f0dfa  # 08:08    306+    306  Add linux-next specific files for 20140620


This script may reproduce the error.

-----------------------------------------------------------------------------
#!/bin/bash

kernel=$1

kvm=(
	qemu-system-x86_64 -cpu kvm64 -enable-kvm 
	-kernel $kernel
	-smp 2
	-m 256M
	-net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio
	-net user,vlan=0
	-net nic,vlan=1,model=e1000
	-net user,vlan=1
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-serial stdio
	-display none
	-monitor null
)

append=(
	debug
	sched_debug
	apic=debug
	ignore_loglevel
	sysrq_always_enabled
	panic=10
	prompt_ramdisk=0
	earlyprintk=ttyS0,115200
	console=ttyS0,115200
	console=tty0
	vga=normal
	root=/dev/ram0
	rw
)

"${kvm[@]}" --append "${append[*]}"
-----------------------------------------------------------------------------

Thanks,
Fengguang

View attachment "dmesg-quantal-ivb42-110:20140623054910:i386-randconfig-c1-06230242:3.16.0-rc1-00017-ga920677:6" of type "text/plain" (1958 bytes)

View attachment "dmesg-quantal-ivb41-100:20140623064903:i386-randconfig-c1-06230242:3.16.0-rc1-00011-g3b9f3f3:5" of type "text/plain" (39025 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ