From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Gerum In-Reply-To: References: Content-Type: text/plain Date: Tue, 08 Sep 2009 20:56:25 +0200 Message-Id: <1252436185.2693.93.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Kernel panic with xenomai 2.4.7 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Meier, Hans" Cc: xenomai@xenomai.org On Tue, 2009-09-08 at 19:48 +0200, Meier, Hans wrote: > Hi, > > we have been using xenomai for a long time and now for the first time we > have a kernel panic we would like you to have a look at (see below). > > The panic (if all is the same thing) up to now has only occurred after > >5h and <48h up time of our application on a core duo with linux > 2.6.28.7 patched with xenomai 2.4.7. Other, very recent tests with linux > 2.6.30 and xenomai 2.4.9 and xenomai 2.4.9.1 haven't shown any trouble > up to now, and reached >60h with the first trial. Other versions we > haven't tested yet. > > So could you please take a look at the panic output (the only one we > could see on the screen up to now, originally just a screen photographed > with a mobile ...)? Might this be anything known and maybe fixed in > xenomai 2.4.9? If not, can you guess what that might be from those few > lines? This would help a lot! .config is attached, if you need more > info, we will certainly provide it. Regarding this particular issue, I would suspect a CPU migration bug we had until I-pipe 2.6.29.4-x86-2.4-00. You may want to try this patch with 2.4.7 to see if I'm right. Aside of this, 2.4.7 -> 2.4.9 closed quite a few bugs as well, but I would rather think of a pipeline issue in the case below. > > Thanks in advance > > Hans > > -- > > [] ? stop_this_cpu+0x0/0x48 > [] smp_call_function+0x2a/0x53 > [] native_smp_send_stop+0x20/0x65 > [] panic+0x5d/0xf4 > [] oops_end+0x81/0x95 > [] die+0x5c/0x64 > [] do_page_fault+0x5aa/0x660 > [] __ipipe_handle_exception+0x1c6/0x209 > [] ? _spin_unlock_irq+0x19/0x2d > [] error_code+0x77/0x84 > [] ? _spin_unlock_irq+0x19/0x2d > [] ? krb5_encrypt+0xd8/0xde > [] ? profile_pc+0x32/0x3b > [] profile_tick+0x4a/0x63 > [] tick_periodic+0x66/0x68 > [] tick_handle_periodic+0x1d/0x60 > [] smp_apic_timer_interrupt+0x61/0x74 > [] ? smp_apic_timer_interrupt+0x0/0x74 > [] __ipipe_sync_stage+0x139/0x13e > [] ? smp_apic_timer_interrupt+0x0/0x74 > [] ? __xirq_end+0x0/0x45 > [] ipipe_suspend_domain+0x98/0xdb > [] __ipipe_walk_pipeline+0x87/0xc8 > [] __ipipe_dispatch_wired_nocheck+0x8b/0x92 > [] __ipipe_dispatch_wired+0x64/0x67 > [] __ipipe_handle_irq+0xb2/0x1d7 > [] ipipe_ipi3+0x35/0x58 > [] dev_hard_start_xmit+0x261/0x268 > [] ? __qdisc_run+0xcc/0x1af > [] dev_queue_xmit+0x311/0x42b > [] ? ip_finish_output+0x21f/0x259 > [] ? ipipe_check_context+0xa/0xec > [] ? ip_output+0x71/0x76 > [] ? ip_local_out+0x1d/0x20 > [] ? ip_queue_xmit+0x2b0/0x317 > [] ? default_wake_function+0x0/0x12 > [] ? __ipipe_unstall_iret_root+0x64/0x68 > [] ? restore_nocheck_notrace+0x0/0xe > [] ? __copy_skb_header+0xe/0xe0 > [] ? __tcp_select_window+0xe/0x126 > [] ? ipipe_check_context+0xa/0xec > [] ? tcp_transmit_skb+0x564/0x59e > [] ? native_apic_mem_write+0x8/0x1a > [] ? __tcp_push_pending_frames+0x626/0x6c4 > [] ? tcp_current_mss+0xa2/0xc3 > [] ? __copy_from_user_ll+0xa/0xd8 > [] ? copy_from_user+0x3b/0x5e > [] ? tcp_sendmsg+0x7d3/0x8b4 > [] ? unmask_IO_APIC_irq+0xab/0xb2 > [] ? sock_aio_write+0xe5/0xee > [] ? do_sync_readv_writev+0xae/0xec > [] ? autoremove_wake_funtion+0x0/0x35 > [] ? __copy_from_user_ll+0xa/0xd8 > [] ? copy_from_user+0x3b/0x5e > [] ? cap_file_permission+0x8/0xc > [] ? security_file_permission+0x14/0x16 > [] ? do_readv_writev+0x86/0x141 > [] ? sock_aio_write+0x0/0xee > [] ? Iosyscall_event+0xe/0x168 > [] ? vfs_writev+0x3e/0x4e > [] ? sys_writev+0x40/0x65 > [] ? sysenter_do_call+0x12/0x16 > ---[ end trace a1134258cad770fd ]--- > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe.