[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150430050515.GA19721@wfg-t540p.sh.intel.com>
Date: Thu, 30 Apr 2015 13:05:15 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Yijing Wang <wangyijing@...wei.com>
Cc: fengguang.wu@...el.com, LKP <lkp@...org>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org
Subject: [PCI] BUG: unable to handle kernel paging request at fffffffffffffff8
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/YijingWang/linux-pci.git enumer11
commit 3e13c9fbd94599113876de94efbae2b36ea8f335
Author: Yijing Wang <wangyijing@...wei.com>
AuthorDate: Tue Apr 28 11:52:30 2015 +0800
Commit: Yijing Wang <wangyijing@...wei.com>
CommitDate: Tue Apr 28 12:32:26 2015 +0800
PCI: Remove platform specific pci_domain_nr()
Now pci_host_bridge holds the domain number,
so we could eliminate all platform specific
pci_domain_nr().
Signed-off-by: Yijing Wang <wangyijing@...wei.com>
+---------------------------------------------------------+------------+------------+------------+
| | dbb228bb60 | 3e13c9fbd9 | 3e13c9fbd9 |
+---------------------------------------------------------+------------+------------+------------+
| boot_successes | 0 | 0 | 0 |
| boot_failures | 81 | 11 | 11 |
| PM:Hibernation_image_not_present_or_could_not_be_loaded | 81 | | |
| Unexpected_close,not_stopping_watchdog | 3 | | |
| Out_of_memory:Kill_process | 1 | | |
| BUG:unable_to_handle_kernel | 0 | 11 | 11 |
| Oops | 0 | 11 | 11 |
| RIP:pci_domain_nr | 0 | 11 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 | 11 |
| backtrace:acpi_bus_scan | 0 | 11 | 11 |
| backtrace:acpi_scan_init | 0 | 11 | 11 |
| backtrace:acpi_init | 0 | 11 | 11 |
| backtrace:kernel_init_freeable | 0 | 11 | 11 |
+---------------------------------------------------------+------------+------------+------------+
[ 0.876061] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[ 0.877938] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.880084] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.884016] BUG: unable to handle kernel paging request at fffffffffffffff8
[ 0.886242] IP: [<ffffffff814e80c1>] pci_domain_nr+0xf/0x12
[ 0.888000] PGD 220c067 PUD 220e067 PMD 0
[ 0.888000] Oops: 0000 [#1] SMP
[ 0.888000] Modules linked in:
[ 0.888000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.0-rc1-00012-g3e13c9f #18
[ 0.888000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[ 0.888000] task: ffff880010db8000 ti: ffff880010de0000 task.ti: ffff880010de0000
[ 0.888000] RIP: 0010:[<ffffffff814e80c1>] [<ffffffff814e80c1>] pci_domain_nr+0xf/0x12
[ 0.888000] RSP: 0000:ffff880010de3b70 EFLAGS: 00010293
[ 0.888000] RAX: fffffffffffffff8 RBX: ffff88000fd34400 RCX: 0000000000000000
[ 0.888000] RDX: ffff88000fd34470 RSI: ffff880010db8000 RDI: ffff88000fd34400
[ 0.888000] RBP: ffff880010de3c08 R08: ffff88000f841b58 R09: 000000000000b500
[ 0.888000] R10: 0000000000000001 R11: 000000000000bbaa R12: ffffffff8233efd0
[ 0.888000] R13: 0000000000000000 R14: 0000000000000000 R15: ffff880010de3c48
[ 0.888000] FS: 0000000000000000(0000) GS:ffff880011200000(0000) knlGS:0000000000000000
[ 0.888000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.888000] CR2: fffffffffffffff8 CR3: 000000000220b000 CR4: 00000000000006f0
[ 0.888000] Stack:
[ 0.888000] ffffffff814e5bd1 ffff880010de3c58 ffff880010c17258 ffff88000f841b58
[ 0.888000] 00000000ffffffff ffff880010de3c08 ffffffff81572e4c ffff880010de3bc8
[ 0.888000] ffffffff81f9cd14 ffff880010de3bc0 ffffffff00000010 ffff880010de3c18
[ 0.888000] Call Trace:
[ 0.888000] [<ffffffff814e5bd1>] ? pci_create_root_bus+0x6b/0x389
[ 0.888000] [<ffffffff81572e4c>] ? dev_warn+0x53/0x55
[ 0.888000] [<ffffffff818e865b>] pci_acpi_scan_root+0x4e0/0x53f
[ 0.888000] [<ffffffff81511114>] acpi_pci_root_add+0x394/0x46c
[ 0.888000] [<ffffffff815098e9>] ? acpi_bus_get_status_handle+0x1f/0x3b
[ 0.888000] [<ffffffff8150cb40>] acpi_bus_attach+0xd4/0x173
[ 0.888000] [<ffffffff8150cb9a>] acpi_bus_attach+0x12e/0x173
[ 0.888000] [<ffffffff815762a5>] ? device_attach+0x8d/0x98
[ 0.888000] [<ffffffff8150cb9a>] acpi_bus_attach+0x12e/0x173
[ 0.888000] [<ffffffff8150ccf9>] acpi_bus_scan+0x61/0x6c
[ 0.888000] [<ffffffff82405ed5>] ? acpi_sleep_proc_init+0x2a/0x2a
[ 0.888000] [<ffffffff82406307>] acpi_scan_init+0x7c/0x1b2
[ 0.888000] [<ffffffff82405ed5>] ? acpi_sleep_proc_init+0x2a/0x2a
[ 0.888000] [<ffffffff82405ed5>] ? acpi_sleep_proc_init+0x2a/0x2a
[ 0.888000] [<ffffffff8240612e>] acpi_init+0x259/0x276
[ 0.888000] [<ffffffff82405ed5>] ? acpi_sleep_proc_init+0x2a/0x2a
[ 0.888000] [<ffffffff8100032a>] do_one_initcall+0xfd/0x18f
[ 0.888000] [<ffffffff823be0eb>] kernel_init_freeable+0x1b7/0x23f
[ 0.888000] [<ffffffff81a27a45>] ? rest_init+0x8c/0x8c
[ 0.888000] [<ffffffff81a27a53>] kernel_init+0xe/0xdf
[ 0.888000] [<ffffffff81a38882>] ret_from_fork+0x42/0x70
[ 0.888000] [<ffffffff81a27a45>] ? rest_init+0x8c/0x8c
[ 0.888000] Code: d8 5b 41 5c 5d c3 0f 1f 44 00 00 55 48 89 f7 48 89 d6 48 89 e5 e8 91 ff ff ff 5d c3 0f 1f 44 00 00 55 48 89 e5 e8 63 e7 ff ff 5d <8b> 00 c3 0f 1f 44 00 00 31 c0 81 bf 28 03 00 00 00 01 00 00 0f
[ 0.888000] RIP [<ffffffff814e80c1>] pci_domain_nr+0xf/0x12
[ 0.888000] RSP <ffff880010de3b70>
[ 0.888000] CR2: fffffffffffffff8
[ 0.888000] ---[ end trace eac89ddbfb4c36c7 ]---
[ 0.888000] Kernel panic - not syncing: Fatal exception
git bisect start 3e13c9fbd94599113876de94efbae2b36ea8f335 b787f68c36d49bb1d9236f403813641efa74a031 --
git bisect good a997927183cfd69fd3da8ab60475685544e5303a # 22:50 20+ 22 PCI: Remove deprecated pci_scan_bus_parented()
git bisect good dbececfc2535f46ec98ad4559756cfb63baa0957 # 22:56 20+ 24 PCI: Introduce pci_host_assign_domain_nr() to assign domain
git bisect good 128c719d41c556165e6f6921187c8b327d8e927b # 22:59 20+ 19 PCI: Remove declaration for pci_get_new_domain_nr()
git bisect good dbb228bb60e4407f4d5c9afd297e5689754809e2 # 23:12 20+ 21 PCI: Remove pci_bus_assign_domain_nr()
# first bad commit: [3e13c9fbd94599113876de94efbae2b36ea8f335] PCI: Remove platform specific pci_domain_nr()
git bisect good dbb228bb60e4407f4d5c9afd297e5689754809e2 # 23:18 60+ 81 PCI: Remove pci_bus_assign_domain_nr()
# extra tests with DEBUG_INFO
git bisect bad 3e13c9fbd94599113876de94efbae2b36ea8f335 # 23:22 0- 22 PCI: Remove platform specific pci_domain_nr()
# extra tests on HEAD of yijingwang-pci/enumer11
git bisect good 510ffebb71db123382b4efb2a62601360387bb4c # 23:27 60+ 56 PCI: Rename __pci_create_root_bus() to pci_create_root_bus()
# extra tests on tree/branch yijingwang-pci/enumer11
git bisect good 510ffebb71db123382b4efb2a62601360387bb4c # 23:35 60+ 116 PCI: Rename __pci_create_root_bus() to pci_create_root_bus()
# extra tests on tree/branch linus/master
git bisect good 3d99e3fe13d473ac4578c37f477a59b829530764 # 23:43 60+ 58 Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
# extra tests on tree/branch next/master
git bisect good 6b1330a4f1b25f474aa2b9bcaf941e26abfe30af # 23:50 60+ 80 Add linux-next specific files for 20150429
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-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
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
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
Thanks,
Fengguang
View attachment "dmesg-quantal-ivb42-73:20150429223846:x86_64-lkp:4.1.0-rc1-00012-g3e13c9f:18" of type "text/plain" (34488 bytes)
Powered by blists - more mailing lists