Re: Kernel Oops

Shahbaz Youssefi <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <CALeOzZ_vg21opZaO2Aa1+-ZSwxQFQKf2WAxsdh9fb+Q5vfk+Dw@mail.gmail.com>
Your problem is here:

[   46.026872] I-pipe: high-resolution clock not working
[   46.026872] I-pipe: head domain RTAI registered.
[   46.026872] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[   46.026872] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[   46.026872] SYSINFO: CPUs 1, LINUX APIC IRQ -1, TIM_FREQ 0, CLK_FREQ 0,
CPU_FREQ 0
[   46.026872] RTAI_APIC_TIMER_IPI: RTAI DEFINED 33026, VECTOR 33027;
LINUX_APIC_TIMER_IPI: RTAI DEFINED 33025, VECTOR 33025

The high-resolution timer is "not working", the clock frequency seen by
RTAI is 0, and you can imagine that's not good. In my experience, this had
to do with the kernel configuration.

On Wed, Mar 30, 2016 at 4:37 AM, Paolo Mantegazza <
[email protected]> wrote:

> It seem that the module rtai_hal.ko is not matching the hardware. Can you
> cross check with a different, highly numbered kernel?
>
> Paolo
>
>
> On 03/30/2016 09:35 AM, Bunjes Friedemann wrote:
>
> Hi,
>
> I am getting the following Kernel error when trying to run the
> testsuite/kern/latency  on a freshly compiled 3.14.33 kernel.
>
> [   46.026872] I-pipe: high-resolution clock not working
> [   46.026872] I-pipe: head domain RTAI registered.
> [   46.026872] RTAI[hal]: compiled with gcc version 4.7.2 (Debian
> 4.7.2-5) .
> [   46.026872] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
> IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
> [   46.026872] SYSINFO: CPUs 1, LINUX APIC IRQ -1, TIM_FREQ 0, CLK_FREQ
> 0, CPU_FREQ 0
> [   46.026872] RTAI_APIC_TIMER_IPI: RTAI DEFINED 33026, VECTOR 33027;
> LINUX_APIC_TIMER_IPI: RTAI DEFINED 33025, VECTOR 33025
> [   46.026872] BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000028
> [   46.026872] IP: [<ffffffff810a662c>] ipipe_timer_name+0x12/0x17
> [   46.026872] PGD 0
> [   46.026872] Oops: 0000 [#1] SMP
> [   46.026872] Modules linked in: rtai_hal(O+) rfcomm bnep bluetooth
> 6lowpan_iphc rfkill binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs
> lockd fscache sunrpc loop hid_apple hid_generic usbhid hid nvidia(PO)
> snd_hda_codec_realtek x86_pkg_temp_thermal snd_hda_codec_generic
> thermal_sys coretemp crc32c_intel ghash_clmulni_intel snd_hda_intel
> snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer aesni_intel aes_x86_64
> snd_seq_device ablk_helper drm snd soundcore cryptd lrw gf128mul
> glue_helper microcode psmouse serio_raw evdev i2c_core shpchp pcspkr ext4
> crc16 jbd2 mbcache sg sd_mod sr_mod cdrom crc_t10dif crct10dif_common r8169
> mii ahci libahci libata scsi_mod xhci_hcd usbcore usb_common
> [   46.026872] CPU: 0 PID: 3332 Comm: insmod Tainted: P           O
> 3.14.33rtai #1
> [   46.026872] Hardware name: Gigabyte Technology Co., Ltd. To be filled
> by O.E.M./H110M-S2H-CF, BIOS F1 09/08/2015
> [   46.026872] task: ffff88026cfea8e0 ti: ffff8802625e8000 task.ti:
> ffff8802625e8000
> [   46.026872] RIP: 0010:[<ffffffff810a662c>]  [<ffffffff810a662c>]
> ipipe_timer_name+0x12/0x17
> [   46.026872] RSP: 0018:ffff8802625ebcf0  EFLAGS: 00010296
> [   46.026872] RAX: 0000000000000000 RBX: 00000000ffffffff RCX:
> ffff880275a00000
> [   46.026872] RDX: ffff880275a00000 RSI: 0000000000000200 RDI:
> 0000000000000000
> [   46.026872] RBP: 0000000000000000 R08: 0000000000000002 R09:
> 0000000000000000
> [   46.026872] R10: 0000000000000000 R11: 0000000000000000 R12:
> 0000000000000000
> [   46.026872] R13: 000000000000362c R14: 0000000000000001 R15:
> ffff8802625ebf08
> [   46.026872] FS:  00007f93f7268700(0000) GS:ffff880275a00000(0000)
> knlGS:0000000000000000
> [   46.026872] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [   46.026872] CR2: 0000000000000028 CR3: 000000026aa9c000 CR4:
> 00000000003407f0
> [   46.026872] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [   46.026872] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
> 0000000000000400
> [   46.026872] I-pipe domain Linux
> [   46.026872] Stack:
> [   46.026872]  ffffffffa0e5fa0b ffff88026cfea8e0 ffffffff00000001
> 0000000000000000
> [   46.026872]  0000000000000000 0000000000000000 000000009ac15d93
> ffffffffa0e60c60
> [   46.026872]  00000000ffffffff ffffffffa0e5e2a3 0000000000000000
> ffffffffa0e5f77b
> [   46.026872] Call Trace:
> [   46.026872]  [<ffffffffa0e5fa0b>] ? __rtai_hal_init+0x290/0x2e7
> [rtai_hal]
> [   46.026872]  [<ffffffffa0e5e2a3>] ? rt_printk+0x83/0x83 [rtai_hal]
> [   46.026872]  [<ffffffffa0e5f77b>] ? ack_bad_irq+0x37/0x37 [rtai_hal]
> [   46.026872]  [<ffffffff810002bb>] ? do_one_initcall+0x78/0x101
> [   46.026872]  [<ffffffff8102f2d2>] ? change_page_attr_set+0x23/0x28
> [   46.026872]  [<ffffffff81054113>] ?
> __blocking_notifier_call_chain+0x4f/0x5d
> [   46.026872]  [<ffffffff8108ccf8>] ? load_module+0x198d/0x1c6e
> [   46.026872]  [<ffffffff8108a4d8>] ? show_initstate+0x41/0x41
> [   46.026872]  [<ffffffff81348579>] ? page_fault+0x29/0x70
> [   46.026872]  [<ffffffff8108d069>] ? SyS_init_module+0x90/0x9b
> [   46.026872]  [<ffffffff8134d1b8>] ? system_call_fastpath+0x16/0x1b
> [   46.026872] Code: 00 00 48 c7 c0 00 28 09 00 48 8b 3c 02 48 85 ff 74
> 06 48 8b 47 20 ff e0 c3 48 8b 15 5f 7c 5e 00 48 c7 c0 00 28 09 00 48 8b 04
> 10 <48> 8b 40 28 c3 53 48 c7 c1 00 28 09 00 65 48 8b 04 25 e0 bd 00
> [   46.026872] RIP  [<ffffffff810a662c>] ipipe_timer_name+0x12/0x17
> [   46.026872]  RSP <ffff8802625ebcf0>
> [   46.026872] CR2: 0000000000000028
> [   46.026872] ---[ end trace 17d927cf08e1f42c ]---
>
>
> Sincerely,
>
> Friedemann
>
>
> --
> Dr. rer. nat. Friedemann Bunjes
> EDV Entwicklung und Koordination
> Hertie-Institut für Klinische Hirnforschung
> Zentrum für Neurologie
> Universitätsklinikum Tübingen
> Otfried-Müller-Str. 25
> 72076 Tübingen
> Tel. +49-7071-29-81999
> Fax +49-7071-29-25010
>
>
>
> _______________________________________________
> Rtai mailing [email protected]://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
>
>
> _______________________________________________
> Rtai mailing list
> [email protected]
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>

_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.