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>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 08 Jul 2015 01:02:45 +0800
From:	kernel test robot <fengguang.wu@...el.com>
To:	Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Cc:	LKP <lkp@...org>, linux-kernel@...r.kernel.org,
	Felipe Balbi <balbi@...com>, fengguang.wu@...el.com
Subject: [phy]  kernel BUG at drivers/base/driver.c:153!

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 1c14905ef951fb968c8da90e4e64be02c309a2ae
Author:     Heikki Krogerus <heikki.krogerus@...ux.intel.com>
AuthorDate: Wed May 13 15:26:53 2015 +0300
Commit:     Felipe Balbi <balbi@...com>
CommitDate: Wed May 13 12:07:01 2015 -0500

    phy: add driver for TI TUSB1210 ULPI PHY
    
    TUSB1210 ULPI PHY has vendor specific register for eye
    diagram tuning. On some platforms the system firmware has
    set optimized value to it. In order to not loose the
    optimized value, the driver stores it during probe and
    restores it every time the PHY is powered back on.
    
    Signed-off-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
    Acked-by: David Cohen <david.a.cohen@...ux.intel.com>
    Acked-by: Kishon Vijay Abraham I <kishon@...com>
    Signed-off-by: Felipe Balbi <balbi@...com>

+------------------------------------------+------------+------------+-----------------+
|                                          | 723487a6ff | 1c14905ef9 | v4.2-rc1_070716 |
+------------------------------------------+------------+------------+-----------------+
| boot_successes                           | 63         | 0          | 0               |
| boot_failures                            | 0          | 22         | 24              |
| kernel_BUG_at_drivers/base/driver.c      | 0          | 22         | 24              |
| invalid_opcode                           | 0          | 22         | 24              |
| RIP:driver_register                      | 0          | 22         | 24              |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 22         | 24              |
| backtrace:tusb1210_driver_init           | 0          | 22         | 24              |
| backtrace:kernel_init_freeable           | 0          | 22         | 24              |
+------------------------------------------+------------+------------+-----------------+

[    3.291167] xz_dec_test: Create a device node with 'mknod xz_dec_test c 252 0' and write .xz files to it.
[    3.294121] ------------[ cut here ]------------
[    3.294121] ------------[ cut here ]------------
[    3.295386] kernel BUG at drivers/base/driver.c:153!
[    3.295386] kernel BUG at drivers/base/driver.c:153!
[    3.297208] invalid opcode: 0000 [#1] 
[    3.297208] invalid opcode: 0000 [#1] PREEMPT PREEMPT SMP SMP DEBUG_PAGEALLOC DEBUG_PAGEALLOC 

[    3.299013] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.1.0-rc1-00062-g1c14905 #5
[    3.299013] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.1.0-rc1-00062-g1c14905 #5
[    3.300941] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[    3.300941] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[    3.300941] task: ffff8800100ac010 ti: ffff8800100b0000 task.ti: ffff8800100b0000
[    3.300941] task: ffff8800100ac010 ti: ffff8800100b0000 task.ti: ffff8800100b0000
[    3.300941] RIP: 0010:[<ffffffff815c0418>] 
[    3.300941] RIP: 0010:[<ffffffff815c0418>]  [<ffffffff815c0418>] driver_register+0x148/0x1a0
 [<ffffffff815c0418>] driver_register+0x148/0x1a0
[    3.300941] RSP: 0000:ffff8800100b3e80  EFLAGS: 00010202
[    3.300941] RSP: 0000:ffff8800100b3e80  EFLAGS: 00010202
[    3.300941] RAX: 00000000ffffffff RBX: ffffffff827c9910 RCX: 0000000000000000
[    3.300941] RAX: 00000000ffffffff RBX: ffffffff827c9910 RCX: 0000000000000000
[    3.300941] RDX: 0000000000000000 RSI: ffffffff823cd040 RDI: ffffffff82269098
[    3.300941] RDX: 0000000000000000 RSI: ffffffff823cd040 RDI: ffffffff82269098
[    3.300941] RBP: ffff8800100b3e88 R08: 0000000000000000 R09: 0000000000000001
[    3.300941] RBP: ffff8800100b3e88 R08: 0000000000000000 R09: 0000000000000001
[    3.300941] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88000ab40f20
[    3.300941] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88000ab40f20
[    3.300941] R13: 0000000000000000 R14: ffffffff82760768 R15: 0000000000000000
[    3.300941] R13: 0000000000000000 R14: ffffffff82760768 R15: 0000000000000000
[    3.300941] FS:  0000000000000000(0000) GS:ffff880011000000(0000) knlGS:0000000000000000
[    3.300941] FS:  0000000000000000(0000) GS:ffff880011000000(0000) knlGS:0000000000000000
[    3.300941] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    3.300941] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    3.300941] CR2: 0000000000000000 CR3: 0000000002040000 CR4: 00000000000006e0
[    3.300941] CR2: 0000000000000000 CR3: 0000000002040000 CR4: 00000000000006e0
[    3.300941] Stack:
[    3.300941] Stack:
[    3.300941]  ffffffff817bacd1
[    3.300941]  ffffffff817bacd1 ffff8800100b3e98 ffff8800100b3e98 ffffffff8276077f ffffffff8276077f ffff8800100b3f08 ffff8800100b3f08

[    3.300941]  ffffffff82720872
[    3.300941]  ffffffff82720872 0000000000000000 0000000000000000 000000000000097e 000000000000097e 0100010000000000 0100010000000000

[    3.330052]  ffff880012bdb687
[    3.330052]  ffff880012bdb687 ffff8800100b3ee8 ffff8800100b3ee8 0000000000000006 0000000000000006 ffffffff828233c8 ffffffff828233c8

[    3.330052] Call Trace:
[    3.330052] Call Trace:
[    3.330052]  [<ffffffff817bacd1>] ? ulpi_register_driver+0x31/0x50
[    3.330052]  [<ffffffff817bacd1>] ? ulpi_register_driver+0x31/0x50
[    3.330052]  [<ffffffff8276077f>] tusb1210_driver_init+0x17/0x20
[    3.330052]  [<ffffffff8276077f>] tusb1210_driver_init+0x17/0x20
[    3.330052]  [<ffffffff82720872>] do_one_initcall+0x190/0x263
[    3.330052]  [<ffffffff82720872>] do_one_initcall+0x190/0x263
[    3.330052]  [<ffffffff82720c4c>] kernel_init_freeable+0x307/0x3fd
[    3.330052]  [<ffffffff82720c4c>] kernel_init_freeable+0x307/0x3fd
[    3.330052]  [<ffffffff81aaa56f>] ? ret_from_fork+0xf/0x70
[    3.330052]  [<ffffffff81aaa56f>] ? ret_from_fork+0xf/0x70
[    3.330052]  [<ffffffff81a8a4a0>] ? rest_init+0x150/0x150
[    3.330052]  [<ffffffff81a8a4a0>] ? rest_init+0x150/0x150
[    3.330052]  [<ffffffff81a8a4b6>] kernel_init+0x16/0x190
[    3.330052]  [<ffffffff81a8a4b6>] kernel_init+0x16/0x190
[    3.330052]  [<ffffffff81aaa5a2>] ret_from_fork+0x42/0x70
[    3.330052]  [<ffffffff81aaa5a2>] ret_from_fork+0x42/0x70
[    3.330052]  [<ffffffff81a8a4a0>] ? rest_init+0x150/0x150
[    3.330052]  [<ffffffff81a8a4a0>] ? rest_init+0x150/0x150
[    3.330052] Code: 
[    3.330052] Code: ca ca ff ff ff ff 44 44 89 89 e0 e0 48 48 83 83 05 05 cd cd c9 c9 12 12 02 02 01 01 5b 5b 41 41 5c 5c 5d 5d c3 c3 48 48 83 83 05 05 70 70 c9 c9 12 12 02 02 01 01 e9 e9 4e 4e ff ff ff ff ff ff 0f 0f 1f 1f 00 00 48 48 83 83 05 05 28 28 c9 c9 12 12 02 02 01 01 <0f> <0f> 0b 0b 48 48 83 83 05 05 2e 2e c9 c9 12 12 02 02 01 01 48 48 8b 8b 33 33 48 48 c7 c7 c7 c7 10 10 0d 0d fd fd 81 81 31 31 

[    3.330052] RIP 
[    3.330052] RIP  [<ffffffff815c0418>] driver_register+0x148/0x1a0
 [<ffffffff815c0418>] driver_register+0x148/0x1a0
[    3.330052]  RSP <ffff8800100b3e80>
[    3.330052]  RSP <ffff8800100b3e80>
[    3.369997] ---[ end trace b18edfc3ae113a85 ]---
[    3.369997] ---[ end trace b18edfc3ae113a85 ]---

git bisect start fd6b4e109d049421a44fd8aefefd60b2b8125887 v4.1 --
git bisect  bad 47ebed96ff4ff0d9c39d0fea74ade65dbf9cc41c  # 00:44      0-     16  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good cc8a0a943948d1b1bc803b37486831af7b04dd38  # 00:44     22+      0  Merge tag 'upstream-4.2-rc1' of git://git.infradead.org/linux-ubifs
git bisect  bad 93f0824caec09b67fc4f927c8bddd7fabd14a043  # 00:44      0-     22  Merge tag 'dma-buf-for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sumits/dma-buf
git bisect good c11d716218910c3aa2bac1bb641e6086ad649555  # 00:44     22+      0  Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good 099bfbfc7fbbe22356c02f0caf709ac32e1126ea  # 00:47     22+      2  Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
git bisect good 8d7804a2f03dbd34940fcb426450c730adf29dae  # 00:47     22+      0  Merge tag 'driver-core-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect good 8c7febe83915332276cab49e89f6580bb963fb9a  # 00:47     24+      0  Merge tag 'tty-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect  bad 2a298679b41199ae742a77ce69766385dffe816f  # 00:47      0-     16  Merge tag 'usb-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect  bad 24fe86a617c550fb9bdc6c8bd7cf647d3955f8ba  # 00:48      0-     22  phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect
git bisect good d74c23d36e7829ca7517a82c725c493d16328a44  # 00:48     22+      0  usb: gadget: s3c2410_udc: Remove static char buffer, use vsprintf extension %pV
git bisect  bad 591fa9dd3fee3de8c729febca395beb75c8ee819  # 00:48      0-     22  usb: musb: Add pre and post root port reset end callbacks
git bisect good c5cc74e8c12be67ef7f09f77c2b9df6faf7904f0  # 00:48     22+      0  usb: dwc3: soft reset to it's own function
git bisect  bad 1c14905ef951fb968c8da90e4e64be02c309a2ae  # 00:48      0-     22  phy: add driver for TI TUSB1210 ULPI PHY
git bisect good a89d977cc04c77d9aa45d426dbf8de9dd1326c77  # 00:48     22+      0  usb: dwc3: pci: add quirk for Baytrails
git bisect good 723487a6ff50bb88c628a859aeac3fe721f0d1fa  # 00:48     63+      0  phy: helpers for USB ULPI PHY registering
# first bad commit: [1c14905ef951fb968c8da90e4e64be02c309a2ae] phy: add driver for TI TUSB1210 ULPI PHY
git bisect good 723487a6ff50bb88c628a859aeac3fe721f0d1fa  # 00:48     63+      0  phy: helpers for USB ULPI PHY registering
# extra tests with DEBUG_INFO
git bisect  bad 1c14905ef951fb968c8da90e4e64be02c309a2ae  # 00:48      0-     66  phy: add driver for TI TUSB1210 ULPI PHY
# extra tests on HEAD of linux-devel/devel-hourly-2015070716
git bisect  bad fd6b4e109d049421a44fd8aefefd60b2b8125887  # 00:48      0-     24  0day head guard for 'devel-hourly-2015070716'
# extra tests on tree/branch linus/master
# extra tests on tree/branch linus/master
# extra tests on tree/branch next/master
git bisect  bad 8e551e96341aa57779ea93a87c857ae61a057f11  # 01:02      0-     19  Add linux-next specific files for 20150707


This script may reproduce the error.

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

kernel=$1
initrd=quantal-core-x86_64.cgz

wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd

kvm=(
	qemu-system-x86_64
	-enable-kvm
	-cpu kvm64
	-kernel $kernel
	-initrd $initrd
	-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-vp-12:20150707223335:x86_64-randconfig-s0-07071637:4.1.0-rc1-00062-g1c14905:5" of type "text/plain" (61117 bytes)

View attachment "config-4.1.0-rc1-00062-g1c14905" of type "text/plain" (70680 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ