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: <55cbfd13.8JQZIpWVnvzmToqO%fengguang.wu@intel.com>
Date:	Thu, 13 Aug 2015 10:12:35 +0800
From:	kernel test robot <fengguang.wu@...el.com>
To:	Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc:	LKP <lkp@...org>, linux-kernel@...r.kernel.org,
	"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
	wfg@...ux.intel.com
Subject: [auxdisplay: ks0108]  BUG: unable to handle kernel

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master

commit 4edd70c133f3921c594883d8f9da31a7261f8b4f
Author:     Sudip Mukherjee <sudipm.mukherjee@...il.com>
AuthorDate: Mon Jul 20 17:27:24 2015 +0530
Commit:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CommitDate: Wed Aug 5 13:36:49 2015 -0700

    auxdisplay: ks0108: use new parport device model
    
    Modify auxdisplay driver to use the new parallel port device model.
    
    Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

+------------------------------------------+------------+------------+------------+
|                                          | c9efdbe634 | 4edd70c133 | edd64b4503 |
+------------------------------------------+------------+------------+------------+
| boot_successes                           | 72         | 0          | 0          |
| boot_failures                            | 0          | 32         | 25         |
| BUG:unable_to_handle_kernel              | 0          | 32         | 25         |
| Oops                                     | 0          | 32         | 25         |
| EIP_is_at_ks0108_writecontrol            | 0          | 32         | 25         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 32         | 25         |
| backtrace:cfag12864b_page                | 0          | 32         | 25         |
| backtrace:cfag12864b_init                | 0          | 32         | 25         |
| backtrace:kernel_init_freeable           | 0          | 32         | 25         |
+------------------------------------------+------------+------------+------------+

[    1.140515] device id = 2670
[    1.141175] slram: not enough parameters.
[    1.141175] slram: not enough parameters.
[    1.142788] BUG: unable to handle kernel 
[    1.142788] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer dereference at 00000368
 at 00000368
[    1.143975] IP:
[    1.143975] IP: [<41505410>] ks0108_writecontrol+0x20/0x30
 [<41505410>] ks0108_writecontrol+0x20/0x30
[    1.144830] *pde = 00000000 
[    1.144830] *pde = 00000000 

[    1.145293] Oops: 0000 [#1] 
[    1.145293] Oops: 0000 [#1] DEBUG_PAGEALLOC DEBUG_PAGEALLOC 

[    1.145971] Modules linked in:
[    1.145971] Modules linked in:

[    1.146464] CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-rc4-00102-g4edd70c #567
[    1.146464] CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-rc4-00102-g4edd70c #567
[    1.147606] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[    1.147606] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[    1.149150] task: 4026a040 ti: 40278000 task.ti: 40278000
[    1.149150] task: 4026a040 ti: 40278000 task.ti: 40278000
[    1.149974] EIP: 0060:[<41505410>] EFLAGS: 00010247 CPU: 0
[    1.149974] EIP: 0060:[<41505410>] EFLAGS: 00010247 CPU: 0
[    1.150809] EIP is at ks0108_writecontrol+0x20/0x30
[    1.150809] EIP is at ks0108_writecontrol+0x20/0x30
[    1.151552] EAX: 00000000 EBX: 4197800a ECX: 00000000 EDX: 0000000a
[    1.151552] EAX: 00000000 EBX: 4197800a ECX: 00000000 EDX: 0000000a
[    1.152499] ESI: 00000000 EDI: 4e52eb00 EBP: 40279eec ESP: 40279ee8
[    1.152499] ESI: 00000000 EDI: 4e52eb00 EBP: 40279eec ESP: 40279ee8
[    1.153453]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    1.153453]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    1.154273] CR0: 80050033 CR2: 00000368 CR3: 01c2e000 CR4: 001406d0
[    1.154273] CR0: 80050033 CR2: 00000368 CR3: 01c2e000 CR4: 001406d0
[    1.155236] Stack:
[    1.155236] Stack:
[    1.155548]  41978000
[    1.155548]  41978000 40279ef4 40279ef4 415055f7 415055f7 40279f00 40279f00 4150561c 4150561c 41978040 41978040 40279f10 40279f10 41bc9eb0 41bc9eb0

[    1.156821]  419780c0
[    1.156821]  419780c0 41bc9de7 41bc9de7 40279f84 40279f84 41000442 41000442 000000d0 000000d0 418b5342 418b5342 41bc9de7 41bc9de7 00000160 00000160

[    1.158093]  41971508
[    1.158093]  41971508 40279f70 40279f70 410693af 410693af 00000000 00000000 00000000 00000000 40279f44 40279f44 4108940b 4108940b 00000006 00000006

[    1.159368] Call Trace:
[    1.159368] Call Trace:
[    1.159749]  [<415055f7>] cfag12864b_e+0x37/0x40
[    1.159749]  [<415055f7>] cfag12864b_e+0x37/0x40
[    1.160459]  [<4150561c>] cfag12864b_page+0x1c/0x30
[    1.160459]  [<4150561c>] cfag12864b_page+0x1c/0x30
[    1.161211]  [<41bc9eb0>] cfag12864b_init+0xc9/0x127
[    1.161211]  [<41bc9eb0>] cfag12864b_init+0xc9/0x127
[    1.161978]  [<41bc9de7>] ? ks0108_init+0x16/0x16
[    1.161978]  [<41bc9de7>] ? ks0108_init+0x16/0x16
[    1.162708]  [<41000442>] do_one_initcall+0x82/0x1f0
[    1.162708]  [<41000442>] do_one_initcall+0x82/0x1f0
[    1.163470]  [<41bc9de7>] ? ks0108_init+0x16/0x16
[    1.163470]  [<41bc9de7>] ? ks0108_init+0x16/0x16
[    1.164185]  [<410693af>] ? parse_args+0x1df/0x410
[    1.164185]  [<410693af>] ? parse_args+0x1df/0x410
[    1.164918]  [<4108940b>] ? trace_hardirqs_on+0xb/0x10
[    1.164918]  [<4108940b>] ? trace_hardirqs_on+0xb/0x10
[    1.165703]  [<41b9ac44>] ? kernel_init_freeable+0x16c/0x209
[    1.165703]  [<41b9ac44>] ? kernel_init_freeable+0x16c/0x209
[    1.166575]  [<41b9ac64>] kernel_init_freeable+0x18c/0x209
[    1.166575]  [<41b9ac64>] kernel_init_freeable+0x18c/0x209
[    1.167415]  [<4168cbe0>] kernel_init+0x10/0xe0
[    1.167415]  [<4168cbe0>] kernel_init+0x10/0xe0
[    1.168108]  [<41073827>] ? schedule_tail+0x17/0x60
[    1.168108]  [<41073827>] ? schedule_tail+0x17/0x60
[    1.168853]  [<416a2de0>] ret_from_kernel_thread+0x20/0x30
[    1.168853]  [<416a2de0>] ret_from_kernel_thread+0x20/0x30
[    1.169692]  [<4168cbd0>] ? rest_init+0x120/0x120
[    1.169692]  [<4168cbd0>] ? rest_init+0x120/0x120
[    1.170413] Code:
[    1.170413] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 55 89 89 e5 e5 53 53 3e 3e 8d 8d 74 74 26 26 00 00 88 88 c3 c3 a1 a1 60 60 9d 9d b1 b1 41 41 80 80 f3 f3 0b 0b e8 e8 78 78 60 60 e9 e9 ff ff a1 a1 b4 b4 e5 e5 4c 4c 42 42 0f 0f b6 b6 d3 d3 <8b> <8b> 88 88 68 68 03 03 00 00 00 00 ff ff 51 51 08 08 5b 5b 5d 5d c3 c3 8d 8d 74 74 26 26 00 00 55 55 89 89 e5 e5 83 83 ec ec

[    1.174047] EIP: [<41505410>] 
[    1.174047] EIP: [<41505410>] ks0108_writecontrol+0x20/0x30ks0108_writecontrol+0x20/0x30 SS:ESP 0068:40279ee8
 SS:ESP 0068:40279ee8
[    1.175861] CR2: 0000000000000368
[    1.175861] CR2: 0000000000000368
[    1.176733] ---[ end trace 056a83ef0ca6f477 ]---
[    1.176733] ---[ end trace 056a83ef0ca6f477 ]---

git bisect start edd64b4503c85c2d642642794ab1c64407c72488 f7644cbfcdf03528f0f450f3940c4985b2291f49 --
git bisect good 46b1af674a6ee5e8328b91d951e528abfa680bf9  # 07:48     20+      0  Merge remote-tracking branch 'libata/for-next'
git bisect good 46793eca8e66413b01ba764287873676b0f675bf  # 07:56     22+      0  Merge remote-tracking branch 'dwmw2-iommu/master'
git bisect good 9609a634ad3be39e30538d98b1a6d9ff2dc2127d  # 08:04     22+      0  Merge remote-tracking branch 'xen-tip/linux-next'
git bisect good 4c6aa4371b3a17bdbe8ab8dee2de788b38ae9235  # 08:18     22+      2  Merge remote-tracking branch 'tty/tty-next'
git bisect good e3274851f81a7691f8def456b5f1511a814a29a1  # 08:21     20+      0  Merge remote-tracking branch 'staging/staging-next'
git bisect  bad 9fd60ea25e73d0ad2522226084e0edbef8da17b9  # 08:27      0-     20  Merge remote-tracking branch 'extcon/extcon-next'
git bisect  bad 184e046f36dc25859b57140eb9f5de565de65be2  # 08:28      0-     13  Merge remote-tracking branch 'char-misc/char-misc-next'
git bisect good cc2dd4027a43bb36c846f195a764edabc0828602  # 08:37     20+      0  mshyperv: fix recognition of Hyper-V guest crash MSR's
git bisect good 414a1417d7b35e0e72edb16e45840e242cb6b52e  # 08:49     20+      0  coresight-etm3x: Change the name of the ctxid_val to ctxid_pid
git bisect  bad 2af38ab572b031a4111f01153cc020b1038b427b  # 08:56      0-     12  nvmem: Add bindings for simple nvmem framework
git bisect good d25ded8d3c6ecc3043763d4330c964603dc61bd4  # 09:06     22+      0  char/nvram: Use bitwise OR to obtain Atari video mode data
git bisect  bad 4edd70c133f3921c594883d8f9da31a7261f8b4f  # 09:15      0-     18  auxdisplay: ks0108: use new parport device model
git bisect good 7faad1dfbbe008fe564d94c1b154695fcc13d748  # 09:17     22+      0  auxdisplay: ks0108: start using pr_*
git bisect good c9efdbe63410984668a4983cc46e31a7b3f0c74e  # 09:31     22+      0  auxdisplay: ks0108: use min_t
# first bad commit: [4edd70c133f3921c594883d8f9da31a7261f8b4f] auxdisplay: ks0108: use new parport device model
git bisect good c9efdbe63410984668a4983cc46e31a7b3f0c74e  # 09:41     61+      0  auxdisplay: ks0108: use min_t
# extra tests with DEBUG_INFO
git bisect  bad 4edd70c133f3921c594883d8f9da31a7261f8b4f  # 09:49      0-     38  auxdisplay: ks0108: use new parport device model
# extra tests on HEAD of linux-next/master
git bisect  bad c1a0c66f231dcfd156cee1233709e62cb0a13378  # 09:49      0-     28  Add linux-next specific files for 20150812
# extra tests on tree/branch linux-next/master
git bisect  bad c1a0c66f231dcfd156cee1233709e62cb0a13378  # 09:49      0-     28  Add linux-next specific files for 20150812
# extra tests with first bad commit reverted
git bisect good bdcdcda8490c19adf40e96a2b499cce221449929  # 10:02     63+      0  Revert "auxdisplay: ks0108: use new parport device model"
# extra tests on tree/branch linus/master
git bisect good 30065bfda900a844d9c88bc4d5d298025a4fef5e  # 10:12     66+      0  Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
# extra tests on tree/branch linux-next/master
git bisect  bad c1a0c66f231dcfd156cee1233709e62cb0a13378  # 10:12      0-     28  Add linux-next specific files for 20150812


This script may reproduce the error.

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

kernel=$1
initrd=yocto-minimal-i386.cgz

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

kvm=(
	qemu-system-x86_64
	-enable-kvm
	-cpu Haswell,+smep,+smap
	-kernel $kernel
	-initrd $initrd
	-m 256
	-smp 1
	-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-yocto-ivb41-97:20150813090834:i386-randconfig-i0-201532:4.2.0-rc4-00102-g4edd70c:567" of type "text/plain" (48413 bytes)

View attachment "config-4.2.0-rc4-00102-g4edd70c" of type "text/plain" (78554 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ