Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1314782 > unrolled thread

Re: [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)

Started byArd Biesheuvel <ard.biesheuvel@linaro.org>
First post2016-01-22 08:00 +0100
Last post2016-01-27 07:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL  pointer dereference at (null) Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-01-22 08:00 +0100
    Re: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null) "Huang\, Ying" <ying.huang@intel.com> - 2016-01-27 01:50 +0100
      Re: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel  NULL pointer dereference at (null) Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-01-27 07:50 +0100

#1314782 — Re: [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)

FromArd Biesheuvel <ard.biesheuvel@linaro.org>
Date2016-01-22 08:00 +0100
SubjectRe: [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)
Message-ID<qTDRo-hX-11@gated-at.bofh.it>
On 22 January 2016 at 03:20, kernel test robot
<ying.huang@linux.intel.com> wrote:
> FYI, we noticed the below changes on
>
> https://git.linaro.org/people/ard.biesheuvel/linux-arm kallsyms-text-relative
> commit 06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d ("kallsyms: add support for relative offsets in kallsyms address table")
>
>
> +-----------------------------------------------------------+------------+------------+
> |                                                           | 30f05309bd | 06862f34f6 |
> +-----------------------------------------------------------+------------+------------+
> | boot_successes                                            | 0          | 0          |
> | boot_failures                                             | 6          | 8          |
> | Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 4          |            |
> | BUG:kernel_test_oversize                                  | 2          |            |
> | BUG:unable_to_handle_kernel                               | 0          | 8          |
> +-----------------------------------------------------------+------------+------------+
>
>
>
> [    0.568228] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
> [    0.568971] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
> [    0.569835] CPU: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1)
> [    0.598441] BUG: unable to handle kernel NULL pointer dereference at           (null)
> [    0.599646] IP:
> [    0.599884] BUG: unable to handle kernel NULL pointer dereference at           (null)
> [    0.610184] IP:
> Elapsed time: 10
> qemu-system-x86_64 -enable-kvm -cpu SandyBridge -kernel /pkg/linux/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/vmlinuz-4.4.0-10063-g06862f34 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-x86_64-62/bisect_boot-1-yocto-minimal-x86_64.cgz-x86_64-randconfig-s4-01220217-06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d-20160122-39812-uowsx2-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s4-01220217 branch=linux-devel/devel-spot-201601220143 commit=06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/vmlinuz-4.4.0-10063-g06862f34 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-x86_64/yocto-minimal-x86_64.cgz/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/0 LKP_SERVER=inn 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 rw ip=::::vm-kbuild-yocto-x86_64-62::dhcp drbd.minor_count=8'  -initrd /fs/sdg1/initrd-vm-kbuild-yocto-x86_64-62 -m 320 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sdg1/disk0-vm-kbuild-yocto-x86_64-62,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-x86_64-62 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-x86_64-62 -daemonize -display none -monitor null
>

Hello Ying,

Thanks for the report. Is this a clean build? I cannot reproduce the
issue with the attached config. Do you have the vmlinux file available
for inspection?

Thanks,
Ard.

[toc] | [next] | [standalone]


#1318506 — Re: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)

From"Huang\, Ying" <ying.huang@intel.com>
Date2016-01-27 01:50 +0100
SubjectRe: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)
Message-ID<qVmt4-3Rj-11@gated-at.bofh.it>
In reply to#1314782
Ard Biesheuvel <ard.biesheuvel@linaro.org> writes:

> On 22 January 2016 at 03:20, kernel test robot
> <ying.huang@linux.intel.com> wrote:
>> FYI, we noticed the below changes on
>>
>> https://git.linaro.org/people/ard.biesheuvel/linux-arm kallsyms-text-relative
>> commit 06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d ("kallsyms: add
>> support for relative offsets in kallsyms address table")
>>
>>
>> +-----------------------------------------------------------+------------+------------+
>> |                                                           | 30f05309bd | 06862f34f6 |
>> +-----------------------------------------------------------+------------+------------+
>> | boot_successes                                            | 0          | 0          |
>> | boot_failures                                             | 6          | 8          |
>> | Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 4          |            |
>> | BUG:kernel_test_oversize                                  | 2          |            |
>> | BUG:unable_to_handle_kernel                               | 0          | 8          |
>> +-----------------------------------------------------------+------------+------------+
>>
>>
>>
>> [    0.568228] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
>> [    0.568971] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
>> [    0.569835] CPU: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1)
>> [    0.598441] BUG: unable to handle kernel NULL pointer dereference at           (null)
>> [    0.599646] IP:
>> [    0.599884] BUG: unable to handle kernel NULL pointer dereference at           (null)
>> [    0.610184] IP:
>> Elapsed time: 10
>> qemu-system-x86_64 -enable-kvm -cpu SandyBridge -kernel
>> /pkg/linux/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/vmlinuz-4.4.0-10063-g06862f34
>> -append 'root=/dev/ram0 user=lkp
>> job=/lkp/scheduled/vm-kbuild-yocto-x86_64-62/bisect_boot-1-yocto-minimal-x86_64.cgz-x86_64-randconfig-s4-01220217-06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d-20160122-39812-uowsx2-0.yaml
>> ARCH=x86_64 kconfig=x86_64-randconfig-s4-01220217
>> branch=linux-devel/devel-spot-201601220143
>> commit=06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d
>> BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/vmlinuz-4.4.0-10063-g06862f34
>> max_uptime=600
>> RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-x86_64/yocto-minimal-x86_64.cgz/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/0
>> LKP_SERVER=inn 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 rw
> ip=::::vm-kbuild-yocto-x86_64-62::dhcp drbd.minor_count=8' -initrd
> /fs/sdg1/initrd-vm-kbuild-yocto-x86_64-62 -m 320 -smp 1 -device
> e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot
> -watchdog i6300esb -rtc base=localtime -drive
> file=/fs/sdg1/disk0-vm-kbuild-yocto-x86_64-62,media=disk,if=virtio
> -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-x86_64-62 -serial
> file:/dev/shm/kboot/serial-vm-kbuild-yocto-x86_64-62 -daemonize
> -display none -monitor null
>>
>
> Hello Ying,
>
> Thanks for the report. Is this a clean build?

It's not clean build.

> I cannot reproduce the
> issue with the attached config. Do you have the vmlinux file available
> for inspection?

Sorry, we have no vmlinux file available.

BTW, we use gcc-5 to compile kernel.  Do you use gcc-5 or gcc-4?

Best Regards,
Huang, Ying

> Thanks,
> Ard.
> _______________________________________________
> LKP mailing list
> LKP@lists.01.org
> https://lists.01.org/mailman/listinfo/lkp

[toc] | [prev] | [next] | [standalone]


#1318704 — Re: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)

FromArd Biesheuvel <ard.biesheuvel@linaro.org>
Date2016-01-27 07:50 +0100
SubjectRe: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)
Message-ID<qVs5r-7WF-1@gated-at.bofh.it>
In reply to#1318506
On 27 January 2016 at 01:45, Huang, Ying <ying.huang@intel.com> wrote:
> Ard Biesheuvel <ard.biesheuvel@linaro.org> writes:
>
>> On 22 January 2016 at 03:20, kernel test robot
>> <ying.huang@linux.intel.com> wrote:
>>> FYI, we noticed the below changes on
>>>
>>> https://git.linaro.org/people/ard.biesheuvel/linux-arm kallsyms-text-relative
>>> commit 06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d ("kallsyms: add
>>> support for relative offsets in kallsyms address table")
>>>
>>>
>>> +-----------------------------------------------------------+------------+------------+
>>> |                                                           | 30f05309bd | 06862f34f6 |
>>> +-----------------------------------------------------------+------------+------------+
>>> | boot_successes                                            | 0          | 0          |
>>> | boot_failures                                             | 6          | 8          |
>>> | Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 4          |            |
>>> | BUG:kernel_test_oversize                                  | 2          |            |
>>> | BUG:unable_to_handle_kernel                               | 0          | 8          |
>>> +-----------------------------------------------------------+------------+------------+
>>>
>>>
>>>
>>> [    0.568228] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
>>> [    0.568971] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
>>> [    0.569835] CPU: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1)
>>> [    0.598441] BUG: unable to handle kernel NULL pointer dereference at           (null)
>>> [    0.599646] IP:
>>> [    0.599884] BUG: unable to handle kernel NULL pointer dereference at           (null)
>>> [    0.610184] IP:
>>> Elapsed time: 10
>>> qemu-system-x86_64 -enable-kvm -cpu SandyBridge -kernel
>>> /pkg/linux/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/vmlinuz-4.4.0-10063-g06862f34
>>> -append 'root=/dev/ram0 user=lkp
>>> job=/lkp/scheduled/vm-kbuild-yocto-x86_64-62/bisect_boot-1-yocto-minimal-x86_64.cgz-x86_64-randconfig-s4-01220217-06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d-20160122-39812-uowsx2-0.yaml
>>> ARCH=x86_64 kconfig=x86_64-randconfig-s4-01220217
>>> branch=linux-devel/devel-spot-201601220143
>>> commit=06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d
>>> BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/vmlinuz-4.4.0-10063-g06862f34
>>> max_uptime=600
>>> RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-x86_64/yocto-minimal-x86_64.cgz/x86_64-randconfig-s4-01220217/gcc-5/06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d/0
>>> LKP_SERVER=inn 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 rw
>> ip=::::vm-kbuild-yocto-x86_64-62::dhcp drbd.minor_count=8' -initrd
>> /fs/sdg1/initrd-vm-kbuild-yocto-x86_64-62 -m 320 -smp 1 -device
>> e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot
>> -watchdog i6300esb -rtc base=localtime -drive
>> file=/fs/sdg1/disk0-vm-kbuild-yocto-x86_64-62,media=disk,if=virtio
>> -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-x86_64-62 -serial
>> file:/dev/shm/kboot/serial-vm-kbuild-yocto-x86_64-62 -daemonize
>> -display none -monitor null
>>>
>>
>> Hello Ying,
>>
>> Thanks for the report. Is this a clean build?
>
> It's not clean build.
>
>> I cannot reproduce the
>> issue with the attached config. Do you have the vmlinux file available
>> for inspection?
>
> Sorry, we have no vmlinux file available.
>
> BTW, we use gcc-5 to compile kernel.  Do you use gcc-5 or gcc-4?
>

Thank you Ying

The problem has already been found and fixed: it had to do with the
fact that this is a x86_64 non-SMP build.

Thanks,
Ard.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web