Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.infradead.org/users/hch/scsi.git sg-cleanups
commit 197930e0b6542460e8b47b7329e495211b692474
Author: Dan Williams <dan.j.williams(a)intel.com>
AuthorDate: Thu Jul 30 12:54:34 2015 -0400
Commit: Christoph Hellwig <hch(a)lst.de>
CommitDate: Fri Aug 7 10:06:51 2015 +0200
acpi: switch from ioremap_cache to memremap
In preparation for deprecating ioremap_cache() convert its usage in
drivers/acpi and include/acpi/ to memremap. This includes dropping the
__iomem annotation throughout ACPI since the memremap can be treated as
a normal memory pointer.
Finally, memremap automatically handles requests to map normal memory
pages, so this also drops the calls to "should_use_kmap()".
It seems ARM had a local definition of acpi_os_ioremap() to handle RAM
addresses, but it can be deleted now that memremap() handles this
generically.
Cc: Bob Moore <robert.moore(a)intel.com>
Cc: Lv Zheng <lv.zheng(a)intel.com>
Cc: Russell King <rmk+kernel(a)arm.linux.org.uk>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
Signed-off-by: Dan Williams <dan.j.williams(a)intel.com>
+------------------------------------------+------------+------------+------------+
| | 383b57148f | 197930e0b6 | c7c5e31573 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 63 | 0 | 0 |
| boot_failures | 0 | 22 | 17 |
| WARNING:at_kernel/memremap.c:#memremap() | 0 | 22 | 17 |
| backtrace:acpi_os_get_root_pointer | 0 | 22 | 17 |
| backtrace:broadcom_postcore_init | 0 | 22 | 17 |
| backtrace:kernel_init_freeable | 0 | 22 | 17 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 0 | 0 | 2 |
| invalid_opcode | 0 | 0 | 2 |
| EIP_is_at__phys_addr | 0 | 0 | 2 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 0 | 2 |
| backtrace:SYSC_mmap_pgoff | 0 | 0 | 2 |
| backtrace:SyS_mmap_pgoff | 0 | 0 | 2 |
| BUG:kernel_boot_hang | 0 | 0 | 2 |
+------------------------------------------+------------+------------+------------+
[ 0.043138] cpuidle: using governor menu
[ 0.043363] ------------[ cut here ]------------
[ 0.043363] ------------[ cut here ]------------
[ 0.044136] WARNING: CPU: 0 PID: 1 at kernel/memremap.c:53 memremap+0x89/0x1e0()
[ 0.044136] WARNING: CPU: 0 PID: 1 at kernel/memremap.c:53 memremap+0x89/0x1e0()
[ 0.045646] memremap attempted on mixed range 0x000000000009f000 size: 4096
[ 0.045646] memremap attempted on mixed range 0x000000000009f000 size: 4096
[ 0.046674] CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-rc4-00016-g197930e #6
[ 0.046674] CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-rc4-00016-g197930e #6
[ 0.047880] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.7.5-20140531_083030-gandalf 04/01/2014
[ 0.047880] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.7.5-20140531_083030-gandalf 04/01/2014
[ 0.050006] 00000001
[ 0.050006] 00000001 8f5fde90 8f5fde90 8f5fa000 8f5fa000 8f5fde64 8f5fde64 81cbce05
81cbce05 8f5fde80 8f5fde80 81040ac7 81040ac7 00000035 00000035
[ 0.051376] 810d52ff
[ 0.051376] 810d52ff 00001000 00001000 00000001 00000001 00000001 00000001 8f5fde98
8f5fde98 81040b27 81040b27 00000009 00000009 8f5fde90 8f5fde90
[ 0.052740] 82397891
[ 0.052740] 82397891 8f5fdeac 8f5fdeac 8f5fdec8 8f5fdec8 810d52ff 810d52ff 823978c2
823978c2 00000035 00000035 82397891 82397891 8f5fdeb4 8f5fdeb4
[ 0.054209] Call Trace:
[ 0.054209] Call Trace:
[ 0.054623] [<81cbce05>] dump_stack+0x16/0x18
[ 0.054623] [<81cbce05>] dump_stack+0x16/0x18
[ 0.055368] [<81040ac7>] warn_slowpath_common+0xac/0xc3
[ 0.055368] [<81040ac7>] warn_slowpath_common+0xac/0xc3
[ 0.056263] [<810d52ff>] ? memremap+0x89/0x1e0
[ 0.056263] [<810d52ff>] ? memremap+0x89/0x1e0
[ 0.056674] [<81040b27>] warn_slowpath_fmt+0x2b/0x2f
[ 0.056674] [<81040b27>] warn_slowpath_fmt+0x2b/0x2f
[ 0.057518] [<810d52ff>] memremap+0x89/0x1e0
[ 0.057518] [<810d52ff>] memremap+0x89/0x1e0
[ 0.058245] [<81cb96f6>] acpi_os_map_iomem+0x10c/0x17d
[ 0.058245] [<81cb96f6>] acpi_os_map_iomem+0x10c/0x17d
[ 0.059109] [<81cb9774>] acpi_os_map_memory+0xd/0xf
[ 0.059109] [<81cb9774>] acpi_os_map_memory+0xd/0xf
[ 0.060009] [<82b55e53>] acpi_find_root_pointer+0x8b/0x1c8
[ 0.060009] [<82b55e53>] acpi_find_root_pointer+0x8b/0x1c8
[ 0.060924] [<82b53f73>] acpi_os_get_root_pointer+0x46/0x52
[ 0.060924] [<82b53f73>] acpi_os_get_root_pointer+0x46/0x52
[ 0.061856] [<82b89e07>] broadcom_postcore_init+0x8/0x71
[ 0.061856] [<82b89e07>] broadcom_postcore_init+0x8/0x71
[ 0.062747] [<82b22f15>] do_one_initcall+0x130/0x212
[ 0.062747] [<82b22f15>] do_one_initcall+0x130/0x212
[ 0.063340] [<82b89dff>] ? cnb20le_res+0x2ee/0x2ee
[ 0.063340] [<82b89dff>] ? cnb20le_res+0x2ee/0x2ee
[ 0.064314] [<8105f1b4>] ? parse_args+0x347/0x40e
[ 0.064314] [<8105f1b4>] ? parse_args+0x347/0x40e
[ 0.065098] [<82b230df>] ? kernel_init_freeable+0xe8/0x1c5
[ 0.065098] [<82b230df>] ? kernel_init_freeable+0xe8/0x1c5
[ 0.066674] [<82b230ff>] kernel_init_freeable+0x108/0x1c5
[ 0.066674] [<82b230ff>] kernel_init_freeable+0x108/0x1c5
[ 0.067587] [<81cb86b3>] kernel_init+0xe/0x139
[ 0.067587] [<81cb86b3>] kernel_init+0xe/0x139
[ 0.068331] [<81ccf9c0>] ret_from_kernel_thread+0x20/0x30
[ 0.068331] [<81ccf9c0>] ret_from_kernel_thread+0x20/0x30
[ 0.069232] [<81cb86a5>] ? rest_init+0xa7/0xa7
[ 0.069232] [<81cb86a5>] ? rest_init+0xa7/0xa7
[ 0.070011] ---[ end trace f92808836c27e864 ]---
[ 0.070011] ---[ end trace f92808836c27e864 ]---
git bisect start c7c5e3157322ce40230054acb3a14a6d3eea3bc5
f7644cbfcdf03528f0f450f3940c4985b2291f49 --
git bisect bad 0b1021e04c1221368a14c07d743559554062b9f4 # 14:46 0- 5 Merge
'char-misc/kdbus' into devel-spot-201508110113
git bisect bad 358ce893f63ae2c61f11ad9c3a413cb8bb607b87 # 14:56 0- 22 Merge
'cgroup/review-cgroup2' into devel-spot-201508110113
git bisect good 00b695205039ec3eefb1a4578a57454b91f3f23a # 15:05 22+ 0 Merge
'pm/bleeding-edge' into devel-spot-201508110113
git bisect bad eb7d7490461242ba46daf96b114ec9f49c5d48b8 # 15:14 0- 22 Merge
'hwmon/watchdog-timer' into devel-spot-201508110113
git bisect bad 0df4d650c74a823f191155edf8c36ff06a111731 # 15:27 0- 21 Merge
'hch-scsi/sg-cleanups' into devel-spot-201508110113
git bisect good 3ae1b627865c10ce44189f2038a6dbf5e9e086b0 # 15:36 22+ 0 Merge
'tip/core/efi' into devel-spot-201508110113
git bisect good ab109016a8226067af4243626e1629aa36c547a5 # 15:46 22+ 0 Merge
'iio/fixes-togreg' into devel-spot-201508110113
git bisect good 362639c3565bcb50ffaa6f0175d794718dbba290 # 16:03 22+ 0 arm:
switch from ioremap_cache to memremap
git bisect bad 8b8800fa396c0e5539b8bb093eaf14398b79a18c # 16:16 0- 21
memconsole: fix __iomem mishandling, switch to memremap
git bisect good 383b57148f4367871b6f58261066c71a71841748 # 16:32 22+ 0 i915:
switch from acpi_os_ioremap to memremap
git bisect bad 0a0f6dc7ec2b5551f8ceda7d34168cefd7a2e92b # 16:47 0- 22 toshiba
laptop: replace ioremap_cache with ioremap
git bisect bad 197930e0b6542460e8b47b7329e495211b692474 # 22:12 0- 22 acpi:
switch from ioremap_cache to memremap
# first bad commit: [197930e0b6542460e8b47b7329e495211b692474] acpi: switch from
ioremap_cache to memremap
git bisect good 383b57148f4367871b6f58261066c71a71841748 # 22:15 63+ 0 i915:
switch from acpi_os_ioremap to memremap
# extra tests with DEBUG_INFO
git bisect bad 197930e0b6542460e8b47b7329e495211b692474 # 23:23 0- 29 acpi:
switch from ioremap_cache to memremap
# extra tests on HEAD of linux-devel/devel-spot-201508110113
git bisect bad c7c5e3157322ce40230054acb3a14a6d3eea3bc5 # 23:23 0- 17 0day
head guard for 'devel-spot-201508110113'
# extra tests on tree/branch hch-scsi/sg-cleanups
git bisect bad a76aa388f32e6a42d5fd3382646f7793236f3edc # 23:57 0- 66
scatterlist: use sg_phys()
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
git bisect good 58ccab91342c1cc1fe08da9b198ac5d763706c2e # 00:18 66+ 0 Merge
tag 'localmodconfig-v4.2-rc6' of
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-kconfig
# extra tests on tree/branch linux-next/master
git bisect good c1a0c66f231dcfd156cee1233709e62cb0a13378 # 00:32 66+ 0 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