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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 7 Oct 2014 13:03:48 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Jet Chen <jet.chen@...el.com>, Su Tao <tao.su@...el.com>,
	Yuanhan Liu <yuanhan.liu@...el.com>, LKP <lkp@...org>,
	linux-kernel@...r.kernel.org, Dave Jones <davej@...hat.com>
Subject: Re: [perf] BUG: unable to handle kernel NULL pointer dereference at
 00000085

> > [  267.547006] debug: unmapping init [mem 0xc28f9000-0xc2b03fff]
> > [  267.694378] random: init urandom read with 4 bits of entropy available
> > [  279.465522] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT
> > [  285.269144] BUG: unable to handle kernel NULL pointer dereference at 00000085
> > [  285.273002] IP: [<c11259a1>] perf_prepare_sample+0x33e/0x496
> > [  285.276062] *pde = 00000000 
> > [  285.279106] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
> > [  285.279106] Modules linked in:
> > [  285.279106] CPU: 1 PID: 1583 Comm: trinity-main Not tainted 3.17.0-rc4-00210-ga54b3e2 #1
> > [  285.279106] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
> > [  285.279106] task: c9475e80 ti: c9670000 task.ti: c9670000
> > [  285.279106] EIP: 0060:[<c11259a1>] EFLAGS: 00010046 CPU: 1
> > [  285.279106] EIP is at perf_prepare_sample+0x33e/0x496
> > [  285.279106] EAX: 00000000 EBX: 00000000 ECX: 00000049 EDX: 00000000
> > [  285.279106] ESI: cfd71c40 EDI: cfd71b84 EBP: cfd71b58 ESP: cfd71b34
> > [  285.279106]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > [  285.279106] CR0: 80050033 CR2: 00000085 CR3: 095b4000 CR4: 000006d0
> > [  285.279106] DR0: 41000043 DR1: 00000000 DR2: 00000000 DR3: 00000000
> > [  285.279106] DR6: ffff0ff0 DR7: 00010602
 
[snip]

> > "${kvm[@]}" --append "${append[*]}"
> > ----------------------------------------------------------------------------
> 
> What is lacking is the actual .config.

Sorry, attached the .config. I expected the script to auto attach it,
but obviously it's not yet perfect and failed to attach .config in
this case.

> Also the times above (~285 seconds) seem to suggest userspace needs to
> do something ?

It's trinity. I'll try upgrade it, but it seems be valid for trinity
to feed kernel with any parameters that it can accept -- unless the
kernel completely rejects it one day.

> I tried with i386-defconfig and the above receptie gives me:
> 
> ...
> [    4.887413] tsc: Refined TSC clocksource calibration: 2693.765 MHz
> [    5.257469] hwclock (874) used greatest stack depth: 6624 bytes left
> [    5.299754] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
> [    5.911225] Switched to clocksource tsc
> [    6.613714] init: Failed to create pty - disabling logging for job
> [    6.615490] init: Temporary process spawn error: No space left on device
> [    8.058431] initctl (926) used greatest stack depth: 6192 bytes left
> [    9.084036] init: plymouth-log main process (940) terminated with
> status 1
> Kernel tests: Boot OK!
> [   71.302525] reboot: Restarting system
> 
> 
> Which I take is 'good', right?

Yes, that looks good.

Thanks,
Fengguang

View attachment "config-3.17.0-rc4-00211-ga567907" of type "text/plain" (94435 bytes)

Powered by blists - more mailing lists