Re: Perf: BUG: kernel NULL pointer dereference, address: 0000000000000198

From: Ravi Bangoria
Date: Wed Oct 26 2022 - 06:06:18 EST


On 25-Oct-22 6:36 PM, Ravi Bangoria wrote:
> On 25-Oct-22 9:59 AM, Ravi Bangoria wrote:
>> On 20-Oct-22 12:24 PM, Naresh Kamboju wrote:
>>> Following kernel BUG noticed while running perf testing on qemu-x86-64.
>>
>> Thanks Naresh. I'm aware of the crash[1] but haven't got a chance to
>> root cause it. Let me try to spend some time on it.
>
> I tried to mimic https://lkft.validation.linaro.org/scheduler/job/5708609.
> However, I don't see a way to download lava-guest.qcow2. So I just used
> rootfs and kernel:
>
> /usr/bin/qemu-system-x86_64 -cpu host -enable-kvm -nographic -net nic,model=virtio,macaddr=DE:AD:BE:EF:66:20 -net user -m 1024 -monitor none -kernel bzImage --append "root=/dev/sda rootwait console=ttyS0,115200" -hda lkft-console-image-intel-corei7-64-20221019172733.rootfs.ext4 -m 4096 -smp 4 -nographic
>
> And I ran perf test inside the guest, which ran fine.

Running perf test in a loop reproduced the issue after some iterations.

Thanks,
Ravi