Hi,

Please find attached the rtcap_panic serial console dump. I have tried a
lot of different setups lately, but as far as I remember the latest
stable rtcap I has been using was Ubuntu 9.04 RTAI 3.7.1 kernel
2.6.29.4.

Thanks a lot for your answers so far. I hope the dump can give you a
clue of the problem.

Best regards

Henrik Slotholt

On 08/05/2010 17:01 <mantega...@aero.polimi.it> wrote:

> > Henrik Slotholt wrote:
> > > Hi,
> > > 
> > > I have been using the rtcap module with Wireshark for a while.
> > > Lately I
> > > upgraded to Ubuntu 10.04, RTAI 3.8.1 and kernel 2.6.32.11,
> 
> With what versions, RTAI, kernel and RTNET, did it work? Asking for it
> to
> trace possible changes that might have caused a regressions. The
> mentioned
> combination of RTAI and kernel has been tested, up the the latest in
> rtnet
> repository, both with examples in RTAI showroom and rtnet, none of
> which
> uses rtcap though.
> 
> paolo
> 
> > when I insmod
> > > the rtcap module the kernel freezes leaving only caps lock and
> > > scroll
> > > lock blinking. The console shows a kernel panic with a callstack
> > > mainly
> > > consisting of rtcap_signal_handler. I'm using the rt_via-rhine
> > > driver on
> > > a pico-itx. Have anyone expericenced the same problems, or have a
> > > suggestion?
> > 
> > (I assume your RTnet version is 0.9.12)
> > 
> > Please post the oops (caught via serial console or netconsole).
> > 
> > Jan
> > 
> > 
> > --------------------------------------------------------------------
> > ----------
> > 
> > _______________________________________________
> > RTnet-users mailing list
> > <RTnet-users@lists.sourceforge.net>
> > <https://lists.sourceforge.net/lists/listinfo/rtnet-users>
> > 
[  124.822763] BUG: unable to handle kernel NULL pointer dereference at 000000c0
[  124.823023] IP: [<ddf5c15a>] rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023] *pde = 09988067 *pte = 00000000 
[  124.823023] Oops: 0000 [#1] PREEMPT 
[  124.823023] last sysfs file: /sys/devices/virtual/net/rtlo/flags
[  124.823023] Modules linked in: rt_via_rhine rtcap tdma rtudp rtipv4 rtpacket 
rt_loopback rtmac rtnet rtai_rtdm rtai_shm rtai_netrpc rtai_msg rtai_mbx 
rtai_sem rtai_fifos rtai_lxrt rtai_hal via binfmt_misc drm ppdev 
snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss 
snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi 
snd_seq_midi_event snd_seq snd_timer snd_seq_device fbcon tileblit font bitblit 
softcursor snd vga16fb soundcore vgastate via_agp snd_page_alloc lp rt3572sta 
i2c_viapro shpchp agpgart parport mii usbhid pata_via hid [last unloaded: 
via_rhine]
[  124.823023] 
[  124.823023] Pid: 1242, comm: load_rtnet Not tainted 
(2.6.32.11+drm33.2-ubuntu-rtai38-via-c7 #1) CX700
[  124.823023] EIP: 0060:[<ddf5c15a>] EFLAGS: 00010046 CPU: 0
[  124.823023] EIP is at rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023] EAX: 000000d8 EBX: c669e880 ECX: 00000000 EDX: 00000000
[  124.823023] ESI: ddf5c110 EDI: 00000000 EBP: c8f7decc ESP: c8f7deac
[  124.823023]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[  124.823023] Process load_rtnet (pid: 1242, ti=c8f7c000 task=c6439980 
task.ti=c8f7c000)
[  124.823023] I-pipe domain Linux
[  124.823023] Stack:
[  124.823023]  000000dc 00000002 dca4c608 c8f7ded4 00000000 c085b500 ddf5c110 
00000000
[  124.823023] <0> c8f7df34 c01900ca 00000025 00000000 c085b500 00000a00 
00000000 ddf5c110
[  124.823023] <0> 00000000 c8f7df34 00000025 0000007b 0000007b 00000000 
000000e0 ffffffff
[  124.823023] Call Trace:
[  124.823023]  [<dca4c608>] ? rtai_handle_isched_lock+0x18/0x20 [rtai_lxrt]
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900ca>] ? __xirq_end+0x4d/0x5a
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900d7>] ? __virq_end+0x0/0x9
[  124.823023]  [<c01906e5>] ? __ipipe_unstall_root+0x25/0x30
[  124.823023]  [<c057e815>] ? do_page_fault+0x255/0x420
[  124.823023]  [<c011c513>] ? __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c057c9c4>] ? error_code+0x70/0x80
[  124.823023] Code: 00 00 8b 53 54 89 15 48 ca f5 dd 50 9d 8b 43 14 8b 40 34 
89 45 e4 6b c0 6c 8b 90 c4 ca f5 dd 8b 88 60 ca f5 dd 89 55 f0 83 e2 fe <f6> 81 
c0 00 00 00 01 0f 45 55 f0 f6 c2 02 89 55 f0 74 15 8b 80 
[  124.823023] EIP: [<ddf5c15a>] rtcap_signal_handler+0x4a/0x260 [rtcap] SS:ESP 
0068:c8f7deac
[  124.823023] CR2: 00000000000000c0
[  124.823023] ---[ end trace 9806bedd9156fe00 ]---
[  124.823023] Kernel panic - not syncing: Fatal exception in interrupt
[  124.823023] Pid: 1242, comm: load_rtnet Tainted: G      D    
2.6.32.11+drm33.2-ubuntu-rtai38-via-c7 #1
[  124.823023] Call Trace:
[  124.823023]  [<c057a214>] panic+0x53/0xed
[  124.823023]  [<c057d55d>] oops_end+0xbd/0xc0
[  124.823023]  [<c011e41e>] no_context+0xbe/0x150
[  124.823023]  [<c011e540>] __bad_area_nosemaphore+0x90/0x130
[  124.823023]  [<c011e5f7>] bad_area_nosemaphore+0x17/0x20
[  124.823023]  [<c057e921>] do_page_fault+0x361/0x420
[  124.823023]  [<c011c513>] __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c01312e9>] ? context_switch+0x109/0x320
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c057c9c4>] error_code+0x70/0x80
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<ddf5c15a>] ? rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023]  [<dca4c608>] ? rtai_handle_isched_lock+0x18/0x20 [rtai_lxrt]
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900ca>] __xirq_end+0x4d/0x5a
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900d7>] ? __virq_end+0x0/0x9
[  124.823023]  [<c01906e5>] __ipipe_unstall_root+0x25/0x30
[  124.823023]  [<c057e815>] do_page_fault+0x255/0x420
[  124.823023]  [<c011c513>] __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c057c9c4>] error_code+0x70/0x80
[  124.823023] BUG: unable to handle kernel NULL pointer dereference at 000000c0
[  124.823023] IP: [<ddf5c15a>] rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023] *pde = 09988067 *pte = 00000000 
[  124.823023] Oops: 0000 [#2] PREEMPT 
[  124.823023] last sysfs file: /sys/devices/virtual/net/rtlo/flags
[  124.823023] Modules linked in: rt_via_rhine rtcap tdma rtudp rtipv4 rtpacket 
rt_loopback rtmac rtnet rtai_rtdm rtai_shm rtai_netrpc rtai_msg rtai_mbx 
rtai_sem rtai_fifos rtai_lxrt rtai_hal via binfmt_misc drm ppdev 
snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss 
snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi 
snd_seq_midi_event snd_seq snd_timer snd_seq_device fbcon tileblit font bitblit 
softcursor snd vga16fb soundcore vgastate via_agp snd_page_alloc lp rt3572sta 
i2c_viapro shpchp agpgart parport mii usbhid pata_via hid [last unloaded: 
via_rhine]
[  124.823023] 
[  124.823023] Pid: 1242, comm: load_rtnet Tainted: G      D    
(2.6.32.11+drm33.2-ubuntu-rtai38-via-c7 #1) CX700
[  124.823023] EIP: 0060:[<ddf5c15a>] EFLAGS: 00010046 CPU: 0
[  124.823023] EIP is at rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023] EAX: 000000d8 EBX: c669ef40 ECX: 00000000 EDX: 00000000
[  124.823023] ESI: ddf5c110 EDI: 00000000 EBP: c8f7dce4 ESP: c8f7dcc4
[  124.823023]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[  124.823023] Process load_rtnet (pid: 1242, ti=c8f7c000 task=c6439980 
task.ti=c8f7c000)
[  124.823023] I-pipe domain Linux
[  124.823023] Stack:
[  124.823023]  c01052bf 00000002 c06c4d18 00000000 00000000 c085b500 ddf5c110 
00000000
[  124.823023] <0> c8f7dd4c c01900ca 00000025 00000000 c085b500 00000a00 
00000000 ddf5c110
[  124.823023] <0> 00000000 c8f7dd4c 00000025 0000007b 0000007b 00000000 
000000e0 ffffffff
[  124.823023] Call Trace:
[  124.823023]  [<c01052bf>] ? dump_trace+0x6f/0xe0
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900ca>] ? __xirq_end+0x4d/0x5a
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900d7>] ? __virq_end+0x0/0x9
[  124.823023]  [<c01906e5>] ? __ipipe_unstall_root+0x25/0x30
[  124.823023]  [<c057a293>] ? panic+0xd2/0xed
[  124.823023]  [<c057d55d>] ? oops_end+0xbd/0xc0
[  124.823023]  [<c011e41e>] ? no_context+0xbe/0x150
[  124.823023]  [<c011e540>] ? __bad_area_nosemaphore+0x90/0x130
[  124.823023]  [<c011e5f7>] ? bad_area_nosemaphore+0x17/0x20
[  124.823023]  [<c057e921>] ? do_page_fault+0x361/0x420
[  124.823023]  [<c011c513>] ? __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c01312e9>] ? context_switch+0x109/0x320
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c057c9c4>] ? error_code+0x70/0x80
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<ddf5c15a>] ? rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023]  [<dca4c608>] ? rtai_handle_isched_lock+0x18/0x20 [rtai_lxrt]
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900ca>] ? __xirq_end+0x4d/0x5a
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900d7>] ? __virq_end+0x0/0x9
[  124.823023]  [<c01906e5>] ? __ipipe_unstall_root+0x25/0x30
[  124.823023]  [<c057e815>] ? do_page_fault+0x255/0x420
[  124.823023]  [<c011c513>] ? __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c057c9c4>] ? error_code+0x70/0x80
[  124.823023] Code: 00 00 8b 53 54 89 15 48 ca f5 dd 50 9d 8b 43 14 8b 40 34 
89 45 e4 6b c0 6c 8b 90 c4 ca f5 dd 8b 88 60 ca f5 dd 89 55 f0 83 e2 fe <f6> 81 
c0 00 00 00 01 0f 45 55 f0 f6 c2 02 89 55 f0 74 15 8b 80 
[  124.823023] EIP: [<ddf5c15a>] rtcap_signal_handler+0x4a/0x260 [rtcap] SS:ESP 
0068:c8f7dcc4
[  124.823023] CR2: 00000000000000c0
[  124.823023] ---[ end trace 9806bedd9156fe01 ]---
[  124.823023] Kernel panic - not syncing: Fatal exception in interrupt
[  124.823023] Pid: 1242, comm: load_rtnet Tainted: G      D    
2.6.32.11+drm33.2-ubuntu-rtai38-via-c7 #1
[  124.823023] Call Trace:
[  124.823023]  [<c057a214>] panic+0x53/0xed
[  124.823023]  [<c057d55d>] oops_end+0xbd/0xc0
[  124.823023]  [<c011e41e>] no_context+0xbe/0x150
[  124.823023]  [<c011e540>] __bad_area_nosemaphore+0x90/0x130
[  124.823023]  [<c0139200>] ? vprintk+0x160/0x3c0
[  124.823023]  [<c0139200>] ? vprintk+0x160/0x3c0
[  124.823023]  [<c011e5f7>] bad_area_nosemaphore+0x17/0x20
[  124.823023]  [<c057e921>] do_page_fault+0x361/0x420
[  124.823023]  [<c0159403>] ? up+0x43/0x80
[  124.823023]  [<c011c513>] __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c057a338>] ? printk+0x8a/0xf2
[  124.823023]  [<c057c9c4>] ? error_code+0x70/0x80
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c057c9c4>] error_code+0x70/0x80
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<ddf5c15a>] ? rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023]  [<c01052bf>] ? dump_trace+0x6f/0xe0
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900ca>] __xirq_end+0x4d/0x5a
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900d7>] ? __virq_end+0x0/0x9
[  124.823023]  [<c01906e5>] __ipipe_unstall_root+0x25/0x30
[  124.823023]  [<c057a293>] panic+0xd2/0xed
[  124.823023]  [<c057d55d>] oops_end+0xbd/0xc0
[  124.823023]  [<c011e41e>] no_context+0xbe/0x150
[  124.823023]  [<c011e540>] __bad_area_nosemaphore+0x90/0x130
[  124.823023]  [<c011e5f7>] bad_area_nosemaphore+0x17/0x20
[  124.823023]  [<c057e921>] do_page_fault+0x361/0x420
[  124.823023]  [<c011c513>] __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c01312e9>] ? context_switch+0x109/0x320
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c057c9c4>] error_code+0x70/0x80
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<ddf5c15a>] ? rtcap_signal_handler+0x4a/0x260 [rtcap]
[  124.823023]  [<dca4c608>] ? rtai_handle_isched_lock+0x18/0x20 [rtai_lxrt]
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900ca>] __xirq_end+0x4d/0x5a
[  124.823023]  [<ddf5c110>] ? rtcap_signal_handler+0x0/0x260 [rtcap]
[  124.823023]  [<c01900d7>] ? __virq_end+0x0/0x9
[  124.823023]  [<c01906e5>] __ipipe_unstall_root+0x25/0x30
[  124.823023]  [<c057e815>] do_page_fault+0x255/0x420
[  124.823023]  [<c011c513>] __ipipe_handle_exception+0xc3/0x220
[  124.823023]  [<c057c9c4>] error_code+0x70/0x80
------------------------------------------------------------------------------

_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to