Re: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception
by Thomas Gleixner
On Thu, 20 Sep 2018, Pu Wen wrote:
> On 2018/9/20 8:26, Rong Chen wrote:
> > On 09/19/2018 09:53 PM, Pu Wen wrote:
> > > I cannot reproduce this panic on Hygon Dhyana platform. I tired lkp-tests
> > > both in Ubuntu 16.04 (with gcc-5) and Ubuntu 18.04 (with gcc-7).
> > > What kind of host do you use to run the qemu? A Intel one or AMD one?
> > It's a Intel one,
> >
> > model: Nehalem-EX
> > memory: 224G
> > nr_node: 4
> > nr_cpu: 64
> > nr_socket: 4
> > brand: Intel(R) Xeon(R) CPU X7560 @ 2.27GHz
>
> I reproduced the PANIC by running lkp-tests with a Intel machine.
>
> The reason is that the function early_is_amd_nb is called even if
> running on Intel machine. At this case the misc_ids is NULL so the
> PANIC occur.
>
> I'll rework a patch to solve this problem, either restore the default
> value of misc_ids with the original AMD one or not call early_is_amd_nb
> on Intel platform.
Return when !AMD and !HYGON is the right thing to do. No point in checking
device ids which cannot happen in the first place.
Thanks,
tglx
3 years, 8 months
cde50a6739 [16.916169] WARNING: bad unlock balance detected!
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit cde50a67397c0da7d11795d4b4418384022ab8e6
Author: Levin, Alexander (Sasha Levin) <alexander.levin(a)verizon.com>
AuthorDate: Sun Jun 18 14:06:01 2017 +0000
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Tue Jun 20 11:53:09 2017 +0200
locking/rtmutex: Don't initialize lockdep when not required
pi_mutex isn't supposed to be tracked by lockdep, but just
passing NULLs for name and key will cause lockdep to spew a
warning and die, which is not what we want it to do.
Skip lockdep initialization if the caller passed NULLs for
name and key, suggesting such initialization isn't desired.
Signed-off-by: Sasha Levin <alexander.levin(a)verizon.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Fixes: f5694788ad8d ("rt_mutex: Add lockdep annotations")
Link: http://lkml.kernel.org/r/20170618140548.4763-1-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
018956d641 locking/selftest: Add RT-mutex support
cde50a6739 locking/rtmutex: Don't initialize lockdep when not required
5b945fd2c3 Merge tag 'trace-v4.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
f8dcd02792 Add linux-next specific files for 20180913
+------------------------------------------------------------------+------------+------------+------------+---------------+
| | 018956d641 | cde50a6739 | 5b945fd2c3 | next-20180913 |
+------------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 900 | 488 | 309 | 320 |
| boot_failures | 10 | 84 | 0 | 2 |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 8 | | | |
| EIP:lockdep_init_map | 8 | | | |
| INFO:rcu_preempt_detected_stalls_on_CPUs/tasks | 1 | | | |
| BUG:kernel_hang_in_test_stage | 1 | | | |
| BUG:kernel_hang_in_boot_stage | 1 | | | |
| WARNING:bad_unlock_balance_detected | 0 | 79 | | |
| is_trying_to_release_lock(rcu_preempt_state)at | 0 | 79 | | |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#fpu__restore | 0 | 2 | | |
| EIP:fpu__restore | 0 | 2 | | |
| invoked_oom-killer:gfp_mask=0x | 0 | 2 | 0 | 2 |
| Mem-Info | 0 | 7 | 0 | 2 |
| EIP:__copy_user_ll | 0 | 1 | 0 | 2 |
| EIP:__put_user_4 | 0 | 1 | | |
| Out_of_memory:Kill_process | 0 | 1 | 0 | 2 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 1 | | |
| calltrace:SyS_setpriority | 0 | 8 | | |
| WARNING:at_drivers/pci/pci-sysfs.c:#pci_mmap_resource | 0 | 2 | | |
| EIP:pci_mmap_resource | 0 | 2 | | |
| calltrace:SyS_kill | 0 | 1 | | |
| EIP:strncpy_from_user | 0 | 1 | | |
| Out_of_memory_and_no_killable_processes | 0 | 0 | 0 | 2 |
| Kernel_panic-not_syncing:System_is_deadlocked_on_memory | 0 | 0 | 0 | 2 |
+------------------------------------------------------------------+------------+------------+------------+---------------+
/etc/rcS.d/S00fbsetup: line 3: /sbin/modprobe: No such file or directory
Starting udev
/etc/rcS.d/S03udev: line 72: /proc/sys/kernel/hotplug: No such file or directory
[ 16.911383]
[ 16.915139] =====================================
[ 16.916169] WARNING: bad unlock balance detected!
[ 16.917205] 4.12.0-rc4-00028-gcde50a6 #28 Not tainted
[ 16.918273] -------------------------------------
[ 16.919311] udevd/356 is trying to release lock (rcu_preempt_state) at:
[ 16.920697] [<c10d79d8>] rcu_read_unlock_special+0x348/0x360
[ 16.921890] but there are no more locks to release!
[ 16.923010]
[ 16.923010] other info that might help us debug this:
[ 16.924549] 1 lock held by udevd/356:
[ 16.938455] #0: (rcu_read_lock){......}, at: [<c1072bef>] SyS_setpriority+0x2f/0x470
[ 16.940232]
[ 16.940232] stack backtrace:
[ 16.941469] CPU: 0 PID: 356 Comm: udevd Not tainted 4.12.0-rc4-00028-gcde50a6 #28
[ 16.943148] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 16.944986] Call Trace:
[ 16.945685] dump_stack+0x7d/0xb2
[ 16.946490] ? rcu_read_unlock_special+0x348/0x360
[ 16.947525] print_unlock_imbalance_bug+0xe5/0xf0
[ 16.948555] ? rcu_read_unlock_special+0x348/0x360
[ 16.949595] ? rcu_read_unlock_special+0x348/0x360
[ 16.950656] ? rcu_read_unlock_special+0x348/0x360
[ 16.951690] lock_release+0x17c/0x3e0
[ 16.965655] ? swake_up+0x39/0x50
[ 16.966566] rt_mutex_unlock+0x2f/0xa0
[ 16.967477] rcu_read_unlock_special+0x348/0x360
[ 16.968533] ? preempt_schedule_common+0x1c/0x30
[ 16.969620] __rcu_read_unlock+0x67/0x70
[ 16.970588] SyS_setpriority+0x27c/0x470
[ 16.971552] ? SyS_setpriority+0x2f/0x470
[ 16.972533] ? SyS_rt_sigprocmask+0xc6/0xf0
[ 16.973550] do_int80_syscall_32+0x61/0x140
[ 16.974558] entry_INT80_32+0x36/0x36
[ 16.975454] EIP: 0x47f3e3e4
[ 16.976223] EFLAGS: 00000202 CPU: 0
[ 16.977085] EAX: ffffffda EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 16.991464] ESI: 08069008 EDI: 00000004 EBP: 08081fa0 ESP: bff6c548
[ 16.992831] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 17.325200] blk_update_request: I/O error, dev fd0, sector 0
[ 17.326376] floppy: error -5 while reading block 0
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.13 v4.12 --
git bisect bad 63a86362130f4c17eaa57f3ef5171ec43111a54e # 07:47 B 11 1 0 0 Merge tag 'pm-4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect bad 090a81d8766e21d33ab3e4d24e6c8e5eedf086dd # 08:05 B 100 2 0 0 Merge branch 'for-spi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect bad 3bad2f1c676581d01e7645eb03e9b27e28b0a92e # 08:23 B 106 1 2 2 Merge branch 'work.misc-set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect bad 362f6729cbb1d6bbab59e069f19441b0622ff7ec # 08:47 B 77 1 0 0 Merge tag 'usb-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect bad 6553698be05983056f5561cef6aaee0cc6afe7a0 # 09:13 B 86 1 1 1 Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 892ad5acca0b2ddb514fae63fa4686bf726d2471 # 09:41 B 75 1 0 0 Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 26d3a77d2cb3cb31bbaa2de37b7a4e6375f204ee # 10:10 G 310 0 1 1 Merge tag 'edac_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
git bisect good 330e9e46253cbfab178450c976aa90ef0f3ae940 # 10:40 G 301 0 1 1 Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 162b246eb420d2ca2002a50917c897b10c9aba09 # 11:06 G 300 0 0 0 Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 12d83f7361724e5aa4299bb28e4caadc62ae482b # 11:49 G 305 0 0 81 tools/include: Add (mostly) empty include/linux/sched/mm.h
git bisect good 3942b77121986519ee52ab4dd4ae8f4383dfe765 # 12:14 G 309 0 0 74 MAINTAINERS: Claim atomic*_t maintainership
git bisect bad cde50a67397c0da7d11795d4b4418384022ab8e6 # 12:20 B 11 1 0 21 locking/rtmutex: Don't initialize lockdep when not required
git bisect good cfb6133399a490419cda55fcdcf9dbbca65eacba # 12:54 G 303 0 4 167 locking/selftest: Remove the bad unlock ordering test
git bisect good 018956d6419be3e5ff5aacc60b2a3cff585adee1 # 13:15 G 310 0 0 0 locking/selftest: Add RT-mutex support
# first bad commit: [cde50a67397c0da7d11795d4b4418384022ab8e6] locking/rtmutex: Don't initialize lockdep when not required
git bisect good 018956d6419be3e5ff5aacc60b2a3cff585adee1 # 13:45 G 909 0 9 9 locking/selftest: Add RT-mutex support
# extra tests with debug options
git bisect bad cde50a67397c0da7d11795d4b4418384022ab8e6 # 13:54 B 40 2 0 0 locking/rtmutex: Don't initialize lockdep when not required
# extra tests on HEAD of internal-chrome-os/chromeos-4.14
git bisect bad 398e4407ff49740beb32f7e4b062a1eea57d9487 # 13:54 B 73 2 0 4 CHROMIUM: arm64: dts: qcom: Switch edp regulator to load switch
# extra tests on tree/branch linus/master
git bisect good 5b945fd2c34c6324752fc793266b4598a307d765 # 14:22 G 306 0 5 5 Merge tag 'trace-v4.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
# extra tests with first bad commit reverted
git bisect good c4ed1913cb01110119247ed7b1a098626a954418 # 14:48 G 304 0 305 305 Revert "locking/rtmutex: Don't initialize lockdep when not required"
# extra tests on tree/branch linux-next/master
git bisect good f8dcd02792146c5047419ff4c856651acd04f7c6 # 15:13 G 310 0 0 2 Add linux-next specific files for 20180913
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 8 months
Re: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception
by Rong Chen
On 09/19/2018 09:53 PM, Pu Wen wrote:
> On 2018/9/19 11:19, kernel test robot wrote:
>> [ 0.800215] AGP: No AGP bridge found
>> PANIC: early exception 0xe3 IP 10:ffffffff8294623f error 0 cr2 0x0
>> [ 0.815262] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.0-rc2-00018-g7ffb318 #1
>> [ 0.826860] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
>> [ 0.839894] RIP: 0010:early_is_amd_nb+0x30/0x4b
>> [ 0.846986] Code: 15 07 3e c8 ff 0f b7 cf 48 c7 c0 c0 6a 01 82 80 fa 02 74 13 80 fa 09 48 c7 c0 20 69 01 82 ba 00 00 00 00 48 0f 45 c2 c1 ef 10 <8b> 10 85 d2 74 0f 39 ca 75 05 39 78 04 74 09 48 83 c0 20 eb eb 31
>> [ 0.876321] RSP: 0000:ffffffff82403e38 EFLAGS: 00010017 ORIG_RAX: 0000000000000000
>> [ 0.888131] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000ffff
>> [ 0.899187] RDX: 0000000000000000 RSI: 000000000000c000 RDI: 000000000000ffff
>> [ 0.910233] RBP: 0000000000000018 R08: 0000000000000002 R09: 0000000000000000
>> [ 0.921388] R10: ffffffff829ecc40 R11: ffffffff82aeed87 R12: 0000000000000000
>> [ 0.932476] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
>> [ 0.943658] FS: 0000000000000000(0000) GS:ffffffff82909000(0000) knlGS:0000000000000000
>> [ 0.956271] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> [ 0.965216] CR2: 0000000000000000 CR3: 00000000029a2000 CR4: 00000000000006a0
>> [ 0.976358] Call Trace:
>> [ 0.980238] ? early_gart_iommu_check+0xef/0x2c5
>> [ 0.987493] ? setup_arch+0x4fa/0xc67
>> [ 0.993231] ? printk+0x52/0x6e
>> [ 0.998157] ? start_kernel+0x6e/0x4dc
>> [ 1.004044] ? load_ucode_bsp+0x42/0x12e
>> [ 1.010145] ? secondary_startup_64+0xa4/0xb0
>> BUG: kernel hang in boot stage
>>
>> Elapsed time: 700
>>
>> #!/bin/bash
>>
>>
>>
>> To reproduce:
>>
>> git clone https://github.com/intel/lkp-tests.git
>> cd lkp-tests
>> bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
> I cannot reproduce this panic on Hygon Dhyana platform. I tired lkp-tests
> both in Ubuntu 16.04 (with gcc-5) and Ubuntu 18.04 (with gcc-7).
> What kind of host do you use to run the qemu? A Intel one or AMD one?
It's a Intel one,
model: Nehalem-EX
memory: 224G
nr_node: 4
nr_cpu: 64
nr_socket: 4
brand: Intel(R) Xeon(R) CPU X7560 @ 2.27GHz
Best Regards,
Rong Chen
3 years, 8 months
[lkp-robot] 048a5ca579 [ 57.925504] BUG: unable to handle kernel paging request at ffffa22f56e1f000
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Feng-Tang/x86-mm-Expand-static-p...
commit 048a5ca57972eefccec1c57b00c9f24bd75b8cec
Author: Feng Tang <feng.tang(a)intel.com>
AuthorDate: Mon Sep 17 17:14:23 2018 +0800
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Mon Sep 17 17:40:31 2018 +0800
x86/mm: Expand static page table for fixmap space
We met a kernel panic when enabling earlycon, which is due to
the fixmap address of earlycon is not statically setup.
Currently the static fixmap setup in head_64.S only covers 2M
virtual address space, while it acutually could be in 4M space
with different kernel configurations.
So increase the static space to 4M for now by defining FIXMAP_PMD_NUM
to 2, and add a build time check for future possible overflow so that
the macro could be increased accordingly.
Suggested-by: Thomas Gleixner <tglx(a)linutronix.de>
Reviewed-by: Juergen Gross <jgross(a)suse.com> (Xen parts)
Signed-off-by: Feng Tang <feng.tang(a)intel.com>
bef459026b lkdtm: Test copy_to_user() on bad kernel pointer under KERNEL_DS
048a5ca579 x86/mm: Expand static page table for fixmap space
+--------------------------------------------------------------------------------------+------------+------------+
| | bef459026b | 048a5ca579 |
+--------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 41 | 1 |
| boot_failures | 0 | 15 |
| BUG:kernel_hang_in_early-boot_stage,last_printk:Probing_EDD(edd=off_to_disable)...ok | 0 | 8 |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 0 | 1 |
| RIP:note_page | 0 | 1 |
| BUG:unable_to_handle_kernel | 0 | 6 |
| Oops:#[##] | 0 | 6 |
| RIP:ptdump_walk_pgd_level_core | 0 | 6 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 6 |
+--------------------------------------------------------------------------------------+------------+------------+
[ 57.906959] BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
[ 57.908440] debug: unmapping init [mem 0xffffffff976ff000-0xffffffff97821fff]
[ 57.911623] Write protecting the kernel read-only data: 30720k
[ 57.913109] debug: unmapping init [mem 0xffffffff96203000-0xffffffff963fffff]
[ 57.914070] debug: unmapping init [mem 0xffffffff96ca1000-0xffffffff96dfffff]
[ 57.925504] BUG: unable to handle kernel paging request at ffffa22f56e1f000
[ 57.926358] PGD 95db067 P4D 95db067 PUD 95dc067 PMD 1f949067 PTE 800fffffe91e0060
[ 57.927263] Oops: 0000 [#1] DEBUG_PAGEALLOC
[ 57.927772] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.0-rc2-00012-g048a5ca #1
[ 57.928657] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 57.929650] RIP: 0010:ptdump_walk_pgd_level_core+0x2f6/0x43a
[ 57.930330] Code: 0f 00 00 48 be 00 00 00 00 00 00 00 80 41 b8 05 00 00 00 48 01 c8 48 8b 0d 03 5e c4 01 4c 89 e7 48 81 e2 00 f0 ff ff 48 f7 d2 <48> 23 14 08 48 8b 4c 24 08 48 8b 44 24 08 83 e1 06 48 09 d0 48 21
[ 57.932531] RSP: 0018:ffffa22f5e87fe80 EFLAGS: 00010206
[ 57.933152] RAX: 0000000016e1f000 RBX: 0000000016e1f067 RCX: ffffa22f40000000
[ 57.934005] RDX: fff0000000000fff RSI: 8000000000000000 RDI: 0000000000000000
[ 57.934853] RBP: ffffffff96e1aff8 R08: 0000000000000005 R09: 0000000000000000
[ 57.935700] R10: ffffa22f5e888000 R11: 8000000000000100 R12: 0000000000000000
[ 57.936551] R13: 00000000000001ff R14: 0000000000000ff8 R15: 0000000000000fd8
[ 57.937399] FS: 0000000000000000(0000) GS:ffffffff96e41000(0000) knlGS:0000000000000000
[ 57.938388] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 57.939064] CR2: ffffa22f56e1f000 CR3: 000000000781a001 CR4: 00000000001606b0
[ 57.940027] Call Trace:
[ 57.940339] ? rest_init+0xc8/0xc8
[ 57.940749] kernel_init+0x22/0xe6
[ 57.941160] ret_from_fork+0x35/0x40
[ 57.941598] CR2: ffffa22f56e1f000
[ 57.942002] ---[ end trace 06de9b5b70b65eb4 ]---
[ 57.942562] RIP: 0010:ptdump_walk_pgd_level_core+0x2f6/0x43a
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start b9c65f97a13bbb6f17daabd7a9453a12bf9dc231 7876320f88802b22d4e2daf7eb027dd14175a0f8 --
git bisect good e8d3f3a64047bbb45bab2fc36e505e3a37bbf0b3 # 08:25 G 14 0 0 0 Merge 'hwmon/hwmon-next' into devel-spot-201809180610
git bisect bad efb3be6643316f263b292eae419c7394df5c674b # 08:41 B 0 2 16 0 Merge 'renesas/arm-soc-for-v4.20' into devel-spot-201809180610
git bisect bad 4be96bf03336c87032f2c9d989ce8801b51fdd28 # 08:56 B 0 3 17 0 Merge 'sailus-media/for-4.20-3' into devel-spot-201809180610
git bisect good 3aa555edd5cea24f80e9a4a4a73fee40501c9dda # 09:18 G 14 0 0 0 Merge 'linux-review/Oder-Chiou/ASoC-rt5514-spi-Get-the-period_bytes-in-the-copy-work-to-make-sure-the-value-correctly/20180917-191321' into devel-spot-201809180610
git bisect bad 888c60b78e9326012a6d56a56671cac53a84c586 # 09:37 B 0 4 19 1 Merge 'linux-review/Gao-Xiang/lib-lz4-update-LZ4-decompressor-module/20180917-175302' into devel-spot-201809180610
git bisect bad 6e83b0274c57337c368fba0fff8381e13d248844 # 09:52 B 0 8 22 0 Merge 'linux-review/Feng-Tang/x86-mm-Expand-static-page-table-for-fixmap-space/20180917-174030' into devel-spot-201809180610
git bisect good 348a9bc56dfb44b23d3924bde23d0fd0f9e86e7f # 10:10 G 14 0 0 0 Merge 'hverkuil-media/for-v4.20c' into devel-spot-201809180610
git bisect bad 048a5ca57972eefccec1c57b00c9f24bd75b8cec # 10:21 B 0 6 20 0 x86/mm: Expand static page table for fixmap space
# first bad commit: [048a5ca57972eefccec1c57b00c9f24bd75b8cec] x86/mm: Expand static page table for fixmap space
git bisect good bef459026b161fbc39d20dcba698ed0cfffbac38 # 10:39 G 42 0 1 1 lkdtm: Test copy_to_user() on bad kernel pointer under KERNEL_DS
# extra tests with debug options
git bisect bad 048a5ca57972eefccec1c57b00c9f24bd75b8cec # 10:51 B 0 5 19 0 x86/mm: Expand static page table for fixmap space
# extra tests on HEAD of linux-devel/devel-spot-201809180610
git bisect bad b9c65f97a13bbb6f17daabd7a9453a12bf9dc231 # 10:51 B 0 10 33 6 0day head guard for 'devel-spot-201809180610'
# extra tests on tree/branch linux-review/Feng-Tang/x86-mm-Expand-static-page-table-for-fixmap-space/20180917-174030
git bisect bad 048a5ca57972eefccec1c57b00c9f24bd75b8cec # 10:53 B 1 7 0 8 x86/mm: Expand static page table for fixmap space
# extra tests with first bad commit reverted
git bisect good eb6a69571be4864589841d7e5c8f15c595ea4b78 # 11:11 G 17 0 0 0 Revert "x86/mm: Expand static page table for fixmap space"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 8 months
[vfree, kvfree] a79ed8bfb2: BUG:sleeping_function_called_from_invalid_context_at_mm/util.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: a79ed8bfb24e899aa55de42703ae4508ff016311 ("[PATCH 3/3] vfree, kvfree: Add debug might sleeps.")
url: https://github.com/0day-ci/linux/commits/Andrey-Ryabinin/kvfree-Fix-misle...
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -m 384M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------+------------+------------+
| | d835757305 | a79ed8bfb2 |
+----------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 12 | 12 |
| INFO:trying_to_register_non-static_key | 12 | 12 |
| WARNING:at_mm/slab_common.c:#kmalloc_slab | 12 | 12 |
| EIP:kmalloc_slab | 12 | 12 |
| Mem-Info | 12 | 12 |
| WARNING:at_lib/debugobjects.c:#__debug_object_init | 12 | 12 |
| EIP:__debug_object_init | 12 | 12 |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 8 | 8 |
| EIP:note_page | 8 | 8 |
| BUG:sleeping_function_called_from_invalid_context_at_mm/util.c | 0 | 12 |
+----------------------------------------------------------------+------------+------------+
[ 3.265372] BUG: sleeping function called from invalid context at mm/util.c:449
[ 3.288552] in_atomic(): 0, irqs_disabled(): 0, pid: 142, name: rhashtable_thra
[ 3.301548] INFO: lockdep is turned off.
[ 3.302214] Preemption disabled at:
[ 3.302221] [<c163e86f>] get_random_u32+0x4f/0x100
[ 3.327556] CPU: 0 PID: 142 Comm: rhashtable_thra Tainted: G W T 4.19.0-rc3-00266-ga79ed8bf #656
[ 3.328540] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 3.328540] Call Trace:
[ 3.328540] ? dump_stack+0x55/0x7b
[ 3.328540] ? get_random_u32+0x4f/0x100
[ 3.328540] ? ___might_sleep+0x11d/0x170
[ 3.328540] ? kvfree+0x61/0x70
[ 3.328540] ? bucket_table_free+0x18/0x80
[ 3.328540] ? bucket_table_alloc+0x79/0x160
[ 3.328540] ? rhashtable_insert_slow+0x25d/0x2d0
[ 3.328540] ? insert_retry+0x1df/0x320
[ 3.328540] ? threadfunc+0xa3/0x3fe
[ 3.328540] ? kzalloc+0x14/0x14
[ 3.328540] ? _raw_spin_unlock_irqrestore+0x30/0x50
[ 3.328540] ? kthread+0xd1/0x100
[ 3.328540] ? insert_retry+0x320/0x320
[ 3.328540] ? kthread_delayed_work_timer_fn+0x80/0x80
[ 3.328540] ? ret_from_fork+0x2e/0x38
[ 5.372143] test 3125 add/delete pairs into rhlist
[ 5.403746] test 3125 random rhlist add/delete operations
[ 5.424742] Started 10 threads, 0 failed, rhltable test returns 0
[ 5.428940] test passed
[ 5.429422] test_printf: crng possibly not yet initialized. plain 'p' buffer contains "(ptrval)"
[ 5.429582] test_printf: all 240 tests passed
[ 5.431911] test_bitmap: test 13: input is '0-2047:128/256' OK, Time: 1362
[ 5.437605] test_bitmap: all 1524 tests passed
[ 5.439117] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[ 5.439954] crc32: self tests passed, processed 225944 bytes in 182273 nsec
[ 5.441271] crc32c: CRC_LE_BITS = 64
[ 5.441916] crc32c: self tests passed, processed 225944 bytes in 91343 nsec
[ 5.461018] crc32_combine: 8373 self tests passed
[ 5.484112] crc32c_combine: 8373 self tests passed
[ 5.485066] rbtree testing
[ 5.493229] -> test 1 (latency of nnodes insert+delete): 21966 cycles
[ 5.500638] -> test 2 (latency of nnodes cached insert+delete): 15776 cycles
[ 5.502454] -> test 3 (latency of inorder traversal): 1708 cycles
[ 5.503461] -> test 4 (latency to fetch first node)
[ 5.504259] non-cached: 24 cycles
[ 5.504920] cached: 0 cycles
[ 5.556187] augmented rbtree testing
[ 5.566165] -> test 1 (latency of nnodes insert+delete): 26854 cycles
[ 5.575698] -> test 2 (latency of nnodes cached insert+delete): 21175 cycles
[ 5.635774] gpio_it87: no device
[ 5.638713] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 5.639917] ACPI: Power Button [PWRF]
[ 5.672299] r3964: Philips r3964 Driver $Revision: 1.10 $
[ 5.673230] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 5.706897] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 5.739763] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 5.741939] Non-volatile memory driver v1.3
[ 5.742810] platform pc8736x_gpio.0: NatSemi pc8736x GPIO Driver Initializing
[ 5.743991] platform pc8736x_gpio.0: no device found
[ 5.744831] nsc_gpio initializing
[ 5.745389] telclk_interrupt = 0xf non-mcpbl0010 hw.
[ 5.746210] smapi::smapi_init, ERROR invalid usSmapiID
[ 5.747395] mwave: tp3780i::tp3780I_InitializeBoardData: Error: SMAPI is not available on this machine
[ 5.748867] mwave: mwavedd::mwave_init: Error: Failed to initialize board data
[ 5.750018] mwave: mwavedd::mwave_init: Error: Failed to initialize
[ 5.754673] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
[ 5.757691] dummy-irq: no IRQ given. Use irq=N
[ 5.758451] lkdtm: No crash points registered, enable through debugfs
[ 5.759598] Silicon Labs C2 port support v. 0.51.0 - (C) 2007 Rodolfo Giometti
[ 5.760838] c2port c2port0: C2 port uc added
[ 5.761530] c2port c2port0: uc flash has 30 blocks x 512 bytes (15360 bytes total)
[ 5.764561] Uniform Multi-Platform E-IDE driver
[ 5.765335] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
[ 5.777597] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 5.783572] db_root: cannot open: /etc/target
[ 5.784598] HSI/SSI char device loaded
[ 5.785210] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 5.787551] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 5.925519] PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 6.275394] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[ 6.276503] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 6.277645] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 6.278591] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 6.279569] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 6.280684] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 6.281610] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
[ 6.282850] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[ 6.287717] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 6.289972] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 6.291592] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 6.387914] mousedev: PS/2 mouse device common for all mice
[ 6.388921] evbug: Connected device: input0 (Power Button at LNXPWRBN/button/input0)
[ 6.390631] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 6.392093] evbug: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[ 6.394182] rtc_cmos 00:00: RTC can wake from S4
[ 6.397608] rtc_cmos 00:00: registered as rtc0
[ 6.398375] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[ 6.400602] rtc-test rtc-test.0: registered as rtc1
[ 6.401534] rtc-test rtc-test.1: registered as rtc2
[ 6.402471] rtc-test rtc-test.2: registered as rtc3
[ 6.403374] i2c /dev entries driver
[ 6.404051] i2c-parport-light: adapter type unspecified
[ 6.404994] Driver for 1-wire Dallas network protocol.
[ 6.405923] w1_f0d_init()
[ 6.406772] intel_powerclamp: CPU does not support MWAIT
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Rong Chen
3 years, 8 months
[x86/pci] 7ffb31888c: PANIC:early_exception
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 7ffb31888cbaab36ec464fc43ecf5ddecdbd55ac ("[PATCH v7 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge")
url: https://github.com/0day-ci/linux/commits/Pu-Wen/Add-support-for-Hygon-Dhy...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | 89989434ce | 7ffb31888c |
+-------------------------------------------------+------------+------------+
| boot_successes | 5 | 6 |
| boot_failures | 1 | 4 |
| BUG:kernel_reboot-without-warning_in_boot_stage | 1 | |
| PANIC:early_exception | 0 | 4 |
| RIP:early_is_amd_nb | 0 | 4 |
| BUG:kernel_hang_in_boot_stage | 0 | 4 |
+-------------------------------------------------+------------+------------+
[ 0.009828] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.037528] tsc: Detected 2260.998 MHz processor
[ 0.057832] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.069238] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.800215] AGP: No AGP bridge found
PANIC: early exception 0xe3 IP 10:ffffffff8294623f error 0 cr2 0x0
[ 0.815262] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.0-rc2-00018-g7ffb318 #1
[ 0.826860] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 0.839894] RIP: 0010:early_is_amd_nb+0x30/0x4b
[ 0.846986] Code: 15 07 3e c8 ff 0f b7 cf 48 c7 c0 c0 6a 01 82 80 fa 02 74 13 80 fa 09 48 c7 c0 20 69 01 82 ba 00 00 00 00 48 0f 45 c2 c1 ef 10 <8b> 10 85 d2 74 0f 39 ca 75 05 39 78 04 74 09 48 83 c0 20 eb eb 31
[ 0.876321] RSP: 0000:ffffffff82403e38 EFLAGS: 00010017 ORIG_RAX: 0000000000000000
[ 0.888131] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000ffff
[ 0.899187] RDX: 0000000000000000 RSI: 000000000000c000 RDI: 000000000000ffff
[ 0.910233] RBP: 0000000000000018 R08: 0000000000000002 R09: 0000000000000000
[ 0.921388] R10: ffffffff829ecc40 R11: ffffffff82aeed87 R12: 0000000000000000
[ 0.932476] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 0.943658] FS: 0000000000000000(0000) GS:ffffffff82909000(0000) knlGS:0000000000000000
[ 0.956271] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.965216] CR2: 0000000000000000 CR3: 00000000029a2000 CR4: 00000000000006a0
[ 0.976358] Call Trace:
[ 0.980238] ? early_gart_iommu_check+0xef/0x2c5
[ 0.987493] ? setup_arch+0x4fa/0xc67
[ 0.993231] ? printk+0x52/0x6e
[ 0.998157] ? start_kernel+0x6e/0x4dc
[ 1.004044] ? load_ucode_bsp+0x42/0x12e
[ 1.010145] ? secondary_startup_64+0xa4/0xb0
BUG: kernel hang in boot stage
Elapsed time: 700
#!/bin/bash
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Rong Chen
3 years, 8 months
[kernel] 7b00cf1438: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 7b00cf1438939b7138bff621ebd908adb97a7e9a ("[PATCH] kernel: prevent submission of creds with higher privileges inside container")
url: https://github.com/0day-ci/linux/commits/My-Name/kernel-prevent-submissio...
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -m 256M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------+------------+------------+
| | f3c0b8ce48 | 7b00cf1438 |
+----------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 11 | 10 |
| WARNING:at_mm/page_alloc.c:#__alloc_pages_nodemask | 11 | 10 |
| RIP:__alloc_pages_nodemask | 11 | 10 |
| Mem-Info | 11 | 10 |
| WARNING:at_lib/debugobjects.c:#__debug_object_init | 11 | 10 |
| RIP:__debug_object_init | 11 | 10 |
| BUG:unable_to_handle_kernel | 0 | 10 |
| Oops:#[##] | 0 | 10 |
| RIP:commit_creds | 0 | 10 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
+----------------------------------------------------+------------+------------+
[ 18.834644] BUG: unable to handle kernel NULL pointer dereference at 0000000000000858
[ 18.835981] PGD 0 P4D 0
[ 18.836440] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 18.837332] CPU: 0 PID: 1 Comm: init Tainted: G W 4.19.0-rc3-00248-g7b00cf1 #1
[ 18.838783] RIP: 0010:commit_creds+0x86/0x3b5
[ 18.839543] Code: b8 b0 01 00 00 fe ff ff ef 74 16 e8 6d 1e 08 00 8b 43 14 39 45 14 0f 83 a7 00 00 00 e9 25 03 00 00 e8 57 1e 08 00 49 8b 45 10 <81> b8 58 08 00 00 ff ff ff ef 75 d5 e8 42 1e 08 00 49 8b 45 18 81
[ 18.842689] RSP: 0000:ffff88000ec37cf8 EFLAGS: 00010293
[ 18.843585] RAX: 0000000000000000 RBX: ffff88000ec23600 RCX: ffff88000ec30000
[ 18.844795] RDX: 0000000000000001 RSI: ffffffff810f8280 RDI: 0000000000000246
[ 18.846006] RBP: ffff88000df90b40 R08: ffff88000ec30b80 R09: 00000000e7627858
[ 18.847215] R10: 00000000ccc7e984 R11: 000000003a478b6c R12: ffff88000ec30000
[ 18.848431] R13: ffffffff82847080 R14: 0000000000000008 R15: 0000000000000000
[ 18.849643] FS: 0000000000000000(0000) GS:ffff88000f000000(0000) knlGS:0000000000000000
[ 18.851012] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.851995] CR2: 0000000000000858 CR3: 000000000ca60000 CR4: 00000000000406f0
[ 18.853211] Call Trace:
[ 18.853655] install_exec_creds+0x15/0x6d
[ 18.854346] load_elf_binary+0x428/0x1288
[ 18.855042] ? kvm_sched_clock_read+0x5/0xd
[ 18.855773] ? check_preemption_disabled+0x10d/0x116
[ 18.856625] search_binary_handler+0x6f/0xfe
[ 18.857364] load_script+0x24d/0x263
[ 18.857987] search_binary_handler+0x6f/0xfe
[ 18.858727] __do_execve_file+0x66a/0x87f
[ 18.859529] do_execve+0x30/0x37
[ 18.860090] kernel_init+0x6d/0x13d
[ 18.860698] ? rest_init+0x14e/0x14e
[ 18.861317] ret_from_fork+0x1f/0x30
[ 18.861940] CR2: 0000000000000858
[ 18.862625] ---[ end trace ec415db54a2fdc9c ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Rong Chen
3 years, 8 months
[drm/atomic] 3c499ea0c6: general_protection_fault:#[##]
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 3c499ea0c662e2f38aafbd4f516b08aab8cfa0e5 ("drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation")
git://anongit.freedesktop.org/drm/drm-misc drm-misc-fixes
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -m 256M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------+------------+------------+
| | 6ee67e351c | 3c499ea0c6 |
+-------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 4 | 8 |
| WARNING:at_mm/slab_common.c:#kmalloc_slab | 4 | 8 |
| RIP:kmalloc_slab | 4 | 8 |
| Mem-Info | 4 | 8 |
| general_protection_fault:#[##] | 0 | 8 |
| RIP:drm_debugfs_init | 0 | 8 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 8 |
+-------------------------------------------+------------+------------+
[ 15.704476] mwave: tp3780i::tp3780I_InitializeBoardData: Error: SMAPI is not available on this machine
[ 15.706048] mwave: mwavedd::mwave_init: Error: Failed to initialize board data
[ 15.707157] mwave: mwavedd::mwave_init: Error: Failed to initialize
[ 15.708707] kasan: CONFIG_KASAN_INLINE enabled
[ 15.709533] kasan: GPF could be caused by NULL-ptr deref or user memory access
[ 15.710689] general protection fault: 0000 [#1] SMP KASAN PTI
[ 15.711532] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W T 4.19.0-rc2-00017-g3c499ea #1
[ 15.712278] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 15.712278] RIP: 0010:drm_debugfs_init+0x2b4/0x3dd
[ 15.712278] Code: c1 ea 03 80 3c 02 00 74 05 e8 30 e9 03 ff 4d 8b bd d0 03 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 20 48 89 fa 48 c1 ea 03 <80> 3c 02 00 74 05 e8 09 e9 03 ff 49 83 7f 20 00 75 85 e8 d6 c0 ef
[ 15.712278] RSP: 0000:ffff88000c4ffc18 EFLAGS: 00010202
[ 15.712278] RAX: dffffc0000000000 RBX: ffff88000bd98480 RCX: ffffffff8d99b31c
[ 15.712278] RDX: 0000000000000004 RSI: ffff88000c4f2e00 RDI: 0000000000000020
[ 15.712278] RBP: ffff88000c4ffcd0 R08: ffffed00017b3097 R09: 0000000000000000
[ 15.712278] R10: ffffed00017b3096 R11: 0000000000000001 R12: 1ffff1000189ff85
[ 15.712278] R13: ffff880001708300 R14: 0000000000000000 R15: 0000000000000000
[ 15.712278] FS: 0000000000000000(0000) GS:ffff88000c800000(0000) knlGS:0000000000000000
[ 15.712278] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 15.712278] CR2: 0000000000000000 CR3: 000000000a226000 CR4: 00000000000406f0
[ 15.712278] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 15.712278] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 15.712278] Call Trace:
[ 15.712278] ? drm_debugfs_create_files+0x30a/0x30a
[ 15.712278] ? kasan_check_read+0x11/0x13
[ 15.712278] ? mutex_lock+0x93/0xc3
[ 15.712278] ? drm_minor_register+0x14/0x1a2
[ 15.712278] drm_minor_register+0x9e/0x1a2
[ 15.712278] drm_dev_register+0x77/0x54e
[ 15.712278] ? dma_direct_map_page+0xac/0xac
[ 15.712278] vgem_init+0x3c9/0x45e
[ 15.712278] ? ttm_init+0x99/0x99
[ 15.712278] ? device_register+0x1d/0x20
[ 15.712278] ? drm_class_device_register+0x70/0x79
[ 15.712278] ? ttm_init+0x99/0x99
[ 15.712278] do_one_initcall+0xf2/0x214
[ 15.712278] ? start_kernel+0x66f/0x66f
[ 15.712278] ? __might_sleep+0x155/0x161
[ 15.712278] ? __usermodehelper_set_disable_depth+0xc/0x45
[ 15.712278] kernel_init_freeable+0x46c/0x525
[ 15.712278] ? rest_init+0xf4/0xf4
[ 15.712278] kernel_init+0x11/0x161
[ 15.712278] ? rest_init+0xf4/0xf4
[ 15.712278] ret_from_fork+0x35/0x40
[ 15.744474] ---[ end trace b88d561d7d6e5ac0 ]---
[ 15.745184] RIP: 0010:drm_debugfs_init+0x2b4/0x3dd
[ 15.745905] Code: c1 ea 03 80 3c 02 00 74 05 e8 30 e9 03 ff 4d 8b bd d0 03 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 20 48 89 fa 48 c1 ea 03 <80> 3c 02 00 74 05 e8 09 e9 03 ff 49 83 7f 20 00 75 85 e8 d6 c0 ef
[ 15.748433] RSP: 0000:ffff88000c4ffc18 EFLAGS: 00010202
[ 15.749244] RAX: dffffc0000000000 RBX: ffff88000bd98480 RCX: ffffffff8d99b31c
[ 15.750279] RDX: 0000000000000004 RSI: ffff88000c4f2e00 RDI: 0000000000000020
[ 15.751308] RBP: ffff88000c4ffcd0 R08: ffffed00017b3097 R09: 0000000000000000
[ 15.752342] R10: ffffed00017b3096 R11: 0000000000000001 R12: 1ffff1000189ff85
[ 15.753369] R13: ffff880001708300 R14: 0000000000000000 R15: 0000000000000000
[ 15.754494] FS: 0000000000000000(0000) GS:ffff88000c800000(0000) knlGS:0000000000000000
[ 15.755791] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 15.756659] CR2: 0000000000000000 CR3: 000000000a226000 CR4: 00000000000406f0
[ 15.757763] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 15.758857] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 15.759882] Kernel panic - not syncing: Fatal exception
[ 15.760648] Kernel Offset: 0xb600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Elapsed time: 20
#!/bin/bash
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Rong Chen
3 years, 8 months
[ipc] 61224adcd2: general_protection_fault:#[##]
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: 61224adcd25b0abd01f02459e82b30735161e723 ("ipc: Convert mqueue fs to fs_context")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -m 256M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 06b65926cc | 61224adcd2 |
+------------------------------------------+------------+------------+
| boot_successes | 10 | 2 |
| boot_failures | 0 | 8 |
| general_protection_fault:#[##] | 0 | 8 |
| RIP:mqueue_get_tree | 0 | 8 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 8 |
+------------------------------------------+------------+------------+
[ 20.437395] random: get_random_u64 called from load_elf_binary+0x5c1/0x1d80 with crng_init=0
[ 20.442445] random: get_random_u64 called from arch_rnd+0x43/0x70 with crng_init=0
[ 21.597487] _warn_unseeded_randomness: 10 callbacks suppressed
[ 21.597499] random: get_random_u64 called from randomize_page+0xad/0xc6 with crng_init=0
[ 21.729408] trinity-main uses obsolete (PF_INET,SOCK_PACKET)
[ 21.768562] general protection fault: 0000 [#1] PTI
[ 21.769291] CPU: 0 PID: 698 Comm: trinity-c2 Tainted: G T 4.19.0-rc2-00211-g61224ad #1
[ 21.770624] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 21.771715] RIP: 0010:mqueue_get_tree+0x41/0x110
[ 21.772345] Code: 29 4d 63 01 48 8b 45 00 4c 8b 20 31 c0 4d 85 e4 0f 95 c0 48 83 c0 02 48 83 04 c5 e8 af 02 83 01 4d 85 e4 74 50 e8 ef 13 be ff <49> 8b 04 24 4c 8b a0 40 04 00 00 31 c0 4d 85 e4 0f 95 c0 48 83 c0
[ 21.775896] RSP: 0018:ffffc90000a5bd90 EFLAGS: 00010293
[ 21.776588] RAX: 0000000000000000 RBX: ffff88000f61ee88 RCX: 0000000000000000
[ 21.777477] RDX: ffff88000e80dd00 RSI: ffffffff81606341 RDI: ffff88000f61ee88
[ 21.778446] RBP: ffff88000013bc40 R08: ffffffff82f1dee0 R09: ffff88000013bc40
[ 21.779585] R10: ffffc90000a5bd00 R11: ffff88000013aed0 R12: 6b6b6b6b6b6b6b6b
[ 21.780645] R13: ffff88000010ea88 R14: 0000000000000000 R15: ffffffff82c1c540
[ 21.781537] FS: 000000000104a880(0000) GS:ffffffff82c3c000(0000) knlGS:0000000000000000
[ 21.782585] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 21.783332] CR2: 00000000011ebbc8 CR3: 00000000001c6000 CR4: 00000000000406b0
[ 21.784225] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 21.785113] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 21.786001] Call Trace:
[ 21.786400] vfs_get_tree+0xe6/0x320
[ 21.786928] mq_init_ns+0xef/0x220
[ 21.787422] copy_ipcs+0x19c/0x250
[ 21.787920] create_new_namespaces+0x18b/0x4f0
[ 21.788520] unshare_nsproxy_namespaces+0xaa/0x140
[ 21.789169] ksys_unshare+0x3e3/0x6a0
[ 21.789690] __x64_sys_unshare+0x17/0x20
[ 21.790243] do_syscall_64+0xbc/0xa10
[ 21.790771] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 21.791438] RIP: 0033:0x458527
[ 21.791897] Code: 00 00 00 b8 63 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 72 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8d 72 00 00 c3 66 2e 0f 1f 84 00 00 00 00
[ 21.794140] RSP: 002b:00007ffc508c6678 EFLAGS: 00000217 ORIG_RAX: 0000000000000110
[ 21.795149] RAX: ffffffffffffffda RBX: 00000000011ee520 RCX: 0000000000458527
[ 21.796037] RDX: 0000000001045510 RSI: 00007ffc508c665c RDI: 0000000008000000
[ 21.796927] RBP: 00000000000002ba R08: 00000000010454e4 R09: 0000000001045560
[ 21.797817] R10: 0000000000456697 R11: 0000000000000217 R12: 00000000004b7820
[ 21.798703] R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
[ 21.799588] Modules linked in:
[ 21.800090] ---[ end trace 7fe80d62a340273f ]---
[ 21.800732] RIP: 0010:mqueue_get_tree+0x41/0x110
[ 21.801366] Code: 29 4d 63 01 48 8b 45 00 4c 8b 20 31 c0 4d 85 e4 0f 95 c0 48 83 c0 02 48 83 04 c5 e8 af 02 83 01 4d 85 e4 74 50 e8 ef 13 be ff <49> 8b 04 24 4c 8b a0 40 04 00 00 31 c0 4d 85 e4 0f 95 c0 48 83 c0
[ 21.803610] RSP: 0018:ffffc90000a5bd90 EFLAGS: 00010293
[ 21.804300] RAX: 0000000000000000 RBX: ffff88000f61ee88 RCX: 0000000000000000
[ 21.805320] RDX: ffff88000e80dd00 RSI: ffffffff81606341 RDI: ffff88000f61ee88
[ 21.806413] RBP: ffff88000013bc40 R08: ffffffff82f1dee0 R09: ffff88000013bc40
[ 21.807478] R10: ffffc90000a5bd00 R11: ffff88000013aed0 R12: 6b6b6b6b6b6b6b6b
[ 21.808371] R13: ffff88000010ea88 R14: 0000000000000000 R15: ffffffff82c1c540
[ 21.809276] FS: 000000000104a880(0000) GS:ffffffff82c3c000(0000) knlGS:0000000000000000
[ 21.810338] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 21.811088] CR2: 00000000011ebbc8 CR3: 00000000001c6000 CR4: 00000000000406b0
[ 21.812012] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 21.812933] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 21.813835] Kernel panic - not syncing: Fatal exception
[ 21.814518] Kernel Offset: disabled
Elapsed time: 30
#!/bin/bash
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
3 years, 8 months
[security] 8762c83c14: BUG:kernel_hang_in_test_stage
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: 8762c83c14e566226b11c68bf01ce7d5d70fee29 ("security: Kill off the sb_copy_data hook")
https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git btrfs-mount-api
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------+------------+------------+
| | 5188a60c8b | 8762c83c14 |
+-------------------------------+------------+------------+
| boot_successes | 10 | 0 |
| boot_failures | 0 | 6 |
| BUG:kernel_hang_in_test_stage | 0 | 6 |
+-------------------------------+------------+------------+
[ 2370.677861] Writes: Total: 432288082 Max/Min: 0/0 Fail: 0
[ 2432.120045] Writes: Total: 443901340 Max/Min: 0/0 Fail: 0
[ 2493.558520] Writes: Total: 454808781 Max/Min: 0/0 Fail: 0
[ 2555.028062] Writes: Total: 466382884 Max/Min: 0/0 Fail: 0
[ 2616.438626] Writes: Total: 477022512 Max/Min: 0/0 Fail: 0
BUG: kernel hang in test stage
Elapsed time: 2620
#!/bin/bash
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
3 years, 8 months