[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141210233121.GF24163@wfg-t540p.sh.intel.com>
Date: Wed, 10 Dec 2014 15:31:21 -0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Dietmar Eggemann <dietmar.eggemann@....com>
Cc: Michael Turquette <mturquette@...erred.io>, LKP <lkp@...org>,
linux-kernel@...r.kernel.org
Subject: [sched] Initramfs unpacking failed: junk in compressed archive
Hi Dietmar,
FYI, one more bisect result.
https://git.linaro.org/people/mturquette/linux.git eas-next
commit e754569101f392e1924d8ce6f087ea4cfad91d69
Author: Dietmar Eggemann <dietmar.eggemann@....com>
AuthorDate: Tue Dec 2 14:06:23 2014 +0000
Commit: Michael Turquette <mturquette@...erred.io>
CommitDate: Tue Dec 9 20:17:29 2014 -0800
sched: Make load tracking frequency scale-invariant
Apply frequency scale-invariance correction factor to load tracking.
Each segment of the sched_avg::runnable_avg_sum geometric series is now
scaled by the current frequency so the sched_avg::load_avg_contrib of each
entity will be invariant with frequency scaling. As a result,
cfs_rq::runnable_load_avg which is the sum of sched_avg::load_avg_contrib,
becomes invariant too. So the load level that is returned by
weighted_cpuload, stays relative to the max frequency of the cpu.
Then, we want the keep the load tracking values in a 32bits type, which
implies that the max value of sched_avg::{runnable|running}_avg_sum must
be lower than 2^32/88761=48388 (88761 is the max weight of a task). As
LOAD_AVG_MAX = 47742, arch_scale_freq_capacity must return a value less
than (48388/47742) << SCHED_CAPACITY_SHIFT = 1037 (SCHED_SCALE_CAPACITY =
1024). So we define the range to [0..SCHED_SCALE_CAPACITY] in order to
avoid overflow.
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@....com>
+-------------------------------------------------------+-------------------+------------+------------+
| | eas-next-20141120 | e754569101 | 31f93659ae |
+-------------------------------------------------------+-------------------+------------+------------+
| boot_successes | 120 | 39 | 0 |
| boot_failures | 0 | 1 | 14 |
| Initramfs_unpacking_failed | 0 | 1 | |
| BUG:unable_to_handle_kernel | 0 | 1 | 8 |
| Oops | 0 | 1 | 8 |
| EIP_is_at__change_page_attr_set_clr | 0 | 1 | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 1 | |
| backtrace:set_memory_np | 0 | 1 | |
| backtrace:free_init_pages | 0 | 1 | |
| backtrace:populate_rootfs | 0 | 1 | |
| backtrace:kernel_init_freeable | 0 | 1 | |
| EIP_is_at_default_scale_cpu_capacity | 0 | 0 | 8 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 0 | 8 |
| backtrace:acpi_ds_auto_serialize_method | 0 | 0 | 1 |
| backtrace:acpi_ds_init_one_object | 0 | 0 | 1 |
| backtrace:acpi_load_tables | 0 | 0 | 4 |
| backtrace:acpi_early_init | 0 | 0 | 5 |
| BUG:kernel_boot_crashed | 0 | 0 | 6 |
| backtrace:kmem_cache_create | 0 | 0 | 2 |
| backtrace:inode_init | 0 | 0 | 1 |
| backtrace:vfs_caches_init | 0 | 0 | 1 |
| backtrace:buffer_init | 0 | 0 | 1 |
| backtrace:acpi_initialize_subsystem | 0 | 0 | 1 |
+-------------------------------------------------------+-------------------+------------+------------+
[ 4.836563] pci 0000:00:02.0: Video device with shadowed ROM
[ 4.837513] PCI: CLS 0 bytes, default 64
[ 4.838440] Unpacking initramfs...
[ 4.859042] Initramfs unpacking failed: junk in compressed archive
[ 4.860067] debug: unmapping init [mem 0x52793000-0x53fd7fff]
[ 4.861238] BUG: unable to handle kernel paging request at 527b0000
[ 4.862291] IP: [<5044b752>] __change_page_attr_set_clr+0x1a0/0xe18
[ 4.863337] *pdpt = 00000000120fa001 *pde = 00000000127ab063 *pte = 80000000127b0062
[ 4.864641] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 4.865444] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc2-ge754569 #16
[ 4.866583] task: 4fc3d2f0 ti: 4fc3e000 task.ti: 4fc3e000
[ 4.867452] EIP: 0060:[<5044b752>] EFLAGS: 00010246 CPU: 1
[ 4.868334] EIP is at __change_page_attr_set_clr+0x1a0/0xe18
[ 4.870989] EAX: 527b0000 EBX: 00000000 ECX: 00000000 EDX: 0001132c
[ 4.870989] ESI: 0001132b EDI: 0001132b EBP: 4fc3fe48 ESP: 4fc3fd74
[ 4.870989] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 4.870989] CR0: 8005003b CR2: 527b0000 CR3: 120ff000 CR4: 000006f0
[ 4.870989] Stack:
[ 4.870989] 00000000 4fc3d201 00013001 4fc3d728 00000000 51b28be8 00000000 00000000
[ 4.870989] 00000246 00000002 00000000 00000000 51b2e800 51b2e880 00000000 4fc3fdc4
[ 4.870989] 12fff000 00000000 00013000 00000200 51b0d000 00000001 51b2e800 4fc3fe78
[ 4.870989] Call Trace:
[ 4.870989] [<5055242a>] ? __purge_vmap_area_lazy+0x3f3/0x3fb
[ 4.870989] [<50553df4>] ? vm_unmap_aliases+0x1c1/0x1ca
[ 4.870989] [<504a2204>] ? do_raw_spin_unlock+0xd6/0x10b
[ 4.870989] [<5044c69c>] change_page_attr_set_clr+0x2d2/0x5c7
[ 4.870989] [<5044d106>] set_memory_np+0x1d/0x1f
[ 4.870989] [<50447e68>] free_init_pages+0xcb/0xd6
[ 4.870989] [<520402f3>] free_initrd_mem+0x26/0x2a
[ 4.870989] [<5202a4d2>] populate_rootfs+0x176/0x199
[ 4.870989] [<52027efc>] do_one_initcall+0x132/0x217
[ 4.870989] [<5202a35c>] ? do_name+0x344/0x344
[ 4.870989] [<5047cc97>] ? parse_args+0x340/0x407
[ 4.870989] [<520280c4>] kernel_init_freeable+0xe3/0x1a5
[ 4.870989] [<512c837d>] kernel_init+0x9/0x137
[ 4.870989] [<512ede21>] ret_from_kernel_thread+0x21/0x30
[ 4.870989] [<512c8374>] ? rest_init+0xa5/0xa5
[ 4.870989] Code: 89 45 88 e8 3f fe ff ff 85 c0 89 45 b4 0f 94 c0 0f b6 c8 84 c0 8b 3c 8d 00 c4 c8 51 8d 57 01 89 14 8d 00 c4 c8 51 75 3a 8b 45 b4 <8b> 00 89 45 a8 8b 45 b4 8b 40 04 89 45 a0 8b 45 a8 8b 55 a0 8d
[ 4.870989] EIP: [<5044b752>] __change_page_attr_set_clr+0x1a0/0xe18 SS:ESP 0068:4fc3fd74
[ 4.870989] CR2: 00000000527b0000
[ 4.870989] ---[ end trace 362599e6ff9cb676 ]---
[ 4.870989] Kernel panic - not syncing: Fatal exception
git bisect start 31f93659aeb2c7a921a25843839490c1e7ec7410 b2776bf7149bddd1f4161f14f79520f17fc1d71d --
git bisect bad 75f8f661cd67d4dbe566d42d94dc6922426e626e # 21:46 16- 24 Merge 'net/master' into devel-lkp-ib03-smoke-201412102113
git bisect good 81688592a51366ea94b9aaf8563f59c6d90c1043 # 22:22 40+ 0 Merge 'renesas/devel' into devel-lkp-ib03-smoke-201412102113
git bisect bad 393dc3ffec7d715f77b0642ab0f8918f278b8642 # 22:33 13- 24 Merge 'clk/eas-next' into devel-lkp-ib03-smoke-201412102113
git bisect good c1a1272dcf10f1bea314226c76245604fbf91c87 # 22:57 40+ 0 sched: updated comments of CLONE_NEWUTS and CLONE_NEWIPC
git bisect good 7c2684baf9042237fa3f72c9f230637911fe9b53 # 23:02 40+ 0 sched: energy_model: simple cpu frequency scaling policy
git bisect good 123c1de3f5f485b44b1b84c50b40cbafe1e379d6 # 23:35 40+ 0 sched: add ftrace for io latency tracking
git bisect bad 318e8cc222050c8c542c7471224fe3ba1ac18062 # 23:50 27- 40 arm: Frequency invariant scheduler load-tracking support
git bisect good b9ed965defe8f8ee2e57e0a9372c70b883a4ea3f # 00:06 40+ 0 Merge remote-tracking branch 'eas-next/eas-next' into sched/cpuidle/eas-next
git bisect bad 1fadb581b0be9420b143e43ff2f4a07ea7e45f6c # 00:38 3- 10 sched: Make usage and load tracking cpu scale-invariant
git bisect bad e754569101f392e1924d8ce6f087ea4cfad91d69 # 00:50 0- 1 sched: Make load tracking frequency scale-invariant
# first bad commit: [e754569101f392e1924d8ce6f087ea4cfad91d69] sched: Make load tracking frequency scale-invariant
git bisect good b9ed965defe8f8ee2e57e0a9372c70b883a4ea3f # 00:53 120+ 0 Merge remote-tracking branch 'eas-next/eas-next' into sched/cpuidle/eas-next
# extra tests on HEAD of linux-devel/devel-lkp-ib03-smoke-201412102113
git bisect bad 31f93659aeb2c7a921a25843839490c1e7ec7410 # 00:53 0- 14 0day head guard for 'devel-lkp-ib03-smoke-201412102113'
# extra tests on tree/branch clk/eas-next
git bisect bad 67cc03886394320689d30d65d65b386756d47e39 # 00:57 65- 120 sched: Include blocked load in weighted_cpuload
# extra tests on tree/branch linus/master
git bisect good 86c6a2fddf0b89b494c7616f2c06cf915c4bff01 # 01:06 120+ 0 Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
# extra tests on tree/branch next/master
git bisect bad 12fd07251e19050ca979d9ce5d4b6bcb41dc00e9 # 01:29 11- 2 Add linux-next specific files for 20141210
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-i386.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-initrd $initrd
-m 320
-smp 2
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
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-client1-15:20141211004900:i386-randconfig-ib0-12102048:3.18.0-rc2-ge754569:16" of type "text/plain" (38000 bytes)
View attachment "config-3.18.0-rc2-ge754569" of type "text/plain" (92178 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists