I am running Linux Mint 13 with the 3.2.0 kernel and etherlab for generic hardware and have connected my EtherCAT bus to a dedicated NIC.
I modified the mini example to recognize the digital I/O devices on my EtherCAT bus and I can successfully read/write to the devices. When I look into the syslog I see a LARGE number of "BUG: scheduling while atomic:" messages followed by what appears to be a crash dump. (see below) If I leave the code running, after a time, the machine locks-up and my only recourse is to pull power to the machine. I have not done any Linux kernel development in the past, so do not know how to approach diagnosing/correcting this problem. Any assistance would be appreciated. - jimzat Nov 3 09:07:04 SCPC70-7 kernel: [249529.868676] BUG: scheduling while atomic: swapper/1/0/0x10000100 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868679] Modules linked in: ec_mini(O) ec_generic(O) ec_master(O) pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm bluetooth binfmt_misc snd_hda_codec_analog dell_wmi ppdev sparse_keymap joydev psmouse dcdbas serio_raw radeon ttm drm_kms_helper drm i2c_algo_bit wmi nvidia(P) snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq parport_pc snd_timer mac_hid snd_seq_device snd soundcore snd_page_alloc i7core_edac edac_core lp parport usbhid hid e1000 tg3 [last unloaded: ec_master] Nov 3 09:07:04 SCPC70-7 kernel: [249529.868711] CPU 1 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868712] Modules linked in: ec_mini(O) ec_generic(O) ec_master(O) pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm bluetooth binfmt_misc snd_hda_codec_analog dell_wmi ppdev sparse_keymap joydev psmouse dcdbas serio_raw radeon ttm drm_kms_helper drm i2c_algo_bit wmi nvidia(P) snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq parport_pc snd_timer mac_hid snd_seq_device snd soundcore snd_page_alloc i7core_edac edac_core lp parport usbhid hid e1000 tg3 [last unloaded: ec_master] Nov 3 09:07:04 SCPC70-7 kernel: [249529.868736] Nov 3 09:07:04 SCPC70-7 kernel: [249529.868738] Pid: 0, comm: swapper/1 Tainted: P O 3.2.0-61-generic #93-Ubuntu Dell Inc. Precision WorkStation T3500 /09KPNV Nov 3 09:07:04 SCPC70-7 kernel: [249529.868742] RIP: 0010:[<ffffffff8137035d>] [<ffffffff8137035d>] intel_idle+0xed/0x150 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868749] RSP: 0018:ffff8801b4f4fe38 EFLAGS: 00000206 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868751] RAX: 0000000000000000 RBX: ffffffff81665c8d RCX: 0000000000000000 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868753] RDX: 0000000000000f90 RSI: 0000000000000000 RDI: 00000000003ccc74 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868755] RBP: ffff8801b4f4fe98 R08: 0000000000000000 R09: 0000000000000f5d Nov 3 09:07:04 SCPC70-7 kernel: [249529.868757] R10: 0000000000001de5 R11: 0000000000000000 R12: 00000000ffffffff Nov 3 09:07:04 SCPC70-7 kernel: [249529.868758] R13: ffff8801b4f4fe64 R14: 0000000000000004 R15: ffff8801b4f4fdb8 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868761] FS: 0000000000000000(0000) GS:ffff8801b9220000(0000) knlGS:0000000000000000 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868763] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Nov 3 09:07:04 SCPC70-7 kernel: [249529.868764] CR2: 00007fcdf00a1688 CR3: 0000000001c05000 CR4: 00000000000006e0 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868766] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868768] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868770] Process swapper/1 (pid: 0, threadinfo ffff8801b4f4e000, task ffff8801b4f51700) Nov 3 09:07:04 SCPC70-7 kernel: [249529.868772] Stack: Nov 3 09:07:04 SCPC70-7 kernel: [249529.868773] 0000000000000000 0000000000000f90 ffff8801b4f4fe98 0000000000000000 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868776] 0000000000000f90 00000001003c1d56 0000000000000000 ffff8801b923ab70 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868779] 00000000fffffff0 0000000000000003 0000000000000001 0000000000000000 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868783] Call Trace: Nov 3 09:07:04 SCPC70-7 kernel: [249529.868788] [<ffffffff8150c651>] cpuidle_idle_call+0xc1/0x290 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868792] [<ffffffff8101322a>] cpu_idle+0xca/0x120 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868797] [<ffffffff8163fc4b>] start_secondary+0xd9/0xdb Nov 3 09:07:04 SCPC70-7 kernel: [249529.868798] Code: d2 ff 4c 29 f8 48 89 c7 e8 b1 df cf ff 4c 69 f0 40 42 0f 00 48 89 45 a0 48 89 55 a8 48 89 45 b8 48 89 55 c0 49 01 d6 fb 66 66 90 <66> 66 90 85 1d 02 b4 8f 00 75 0e 48 8d 75 cc bf 05 00 00 00 e8 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868824] Call Trace: Nov 3 09:07:04 SCPC70-7 kernel: [249529.868826] [<ffffffff8150c651>] cpuidle_idle_call+0xc1/0x290 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868829] [<ffffffff8101322a>] cpu_idle+0xca/0x120 Nov 3 09:07:04 SCPC70-7 kernel: [249529.868832] [<ffffffff8163fc4b>] start_secondary+0xd9/0xdb
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
