zultron / rtai-deb

RTAI Debian packaging
Other
2 stars 1 forks source link

procfs code still broken? #7

Closed mhaberler closed 9 years ago

mhaberler commented 9 years ago

not sure this should go into mk issues or here, so:

machinekit 04cbb9e3ce486e3a24e5760603190988424ac9f2

Linux dumpster 3.16.0-4-rtai.x86-686-pae #1 SMP Debian 3.16.7-1~1jessie.bleeding~1da (2015-05-30) i686 GNU/Linux

an aging Athlon with jessie

mah@dumpster:~/machinekit$ realtime start
insmod: ERROR: could not insert module /home/mah/machinekit/rtlib/rtai-kernel/3.16.0-4-rtai.x86-686-pae/hal_lib.ko: Invalid parameters
halcmd: cant connect to rtapi_app: -1 (uri= uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.log
halcmd: the msgd:0 logger demon is not running - please investigate /var/log/linuxcnc.log

console:

dumpster login: [   32.924922] I-pipe: head domain RTAI registered.
[   32.929655] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0, LINUX CPU ISOLATED MAP: 0).
[   32.936918] SYSINFO - # CPUs: 1, TIMER NAME: 'lapic', TIMER IRQ: 2305, TIMER FREQ: 16705499, CLOCK NAME: 'tsc', CLOCK FREQ: 1536911000, CPU FREQ: 1536911000, LINUX TIMER IRQ: 2305.
[   32.984486] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[   32.991659] , kstacks pool size = 524288 bytes.
[   32.996325] RTAI[sched]: hard timer type/freq = lapic/16705499(Hz); timing: oneshot; linear timed lists.
[   33.005881] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1536911000 hz.
[   33.013652] RTAI[sched]: timer setup = 59 ns, resched latency = 0 ns.
[   33.047313] Xenomai math [rtapi_math] loaded
[   33.103236] ------------[ cut here ]------------
[   33.108041] WARNING: CPU: 0 PID: 940 at /build/linux-Xjmp9i/linux-3.16.7/debian/build/source_rtai.x86/fs/proc/generic.c:434 proc_create_data+0x7e/0xa0()
[   33.121749] Modules linked in: hal_lib(O+) rtapi(O) rtapi_math(O) rtai_sched(O) rtai_hal(O) shmdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ppdev evdev serio_raw snd_w
avefront sg snd_cs4236 snd_opl3_lib snd_hwdep 8139too snd_trident snd_util_mem snd_wss_lib snd_ac97_codec snd_pcm snd_mpu401_uart snd_rawmidi snd_timer snd_seq_device snd soundcore i2c_sis630 ac9
7_bus ns558 i2c_core gameport parport_pc parport shpchp 8139cp mii button loop vcan can_raw can can_dev ext4 crc16 mbcache jbd2 sr_mod sd_mod crc_t10dif cdrom crct10dif_generic crct10dif_common a
ta_generic ohci_pci uhci_hcd ehci_pci ohci_hcd ehci_hcd pata_sis sata_sil libata usbcore scsi_mod usb_common autofs4
[   33.185796] CPU: 0 PID: 940 Comm: insmod Tainted: G           O  3.16.0-4-rtai.x86-686-pae #1 Debian 3.16.7-1~1jessie.bleeding~1da
[   33.197591] Hardware name: System Manufacturer System Name/A7S-VM, BIOS ASUS ACPI BIOS Revision 1006vm 07/25/2001
[   33.207912]  00000009 c13df7ba 00000000 c1041809 c149d9a4 00000000 000003ac c14abc00
[   33.215996]  000001b2 c1169a7e c1169a7e 00004000 00000004 dce01da2 dce01ddc c10418bb
[   33.224124]  00000009 00000000 c1169a7e 0000007b dadfe520 00000001 e0280dbb 00000000
[   33.232222] Call Trace:
[   33.234729]  [<c13df7ba>] ? dump_stack+0x3e/0x4e
[   33.239397]  [<c1041809>] ? warn_slowpath_common+0x79/0x90
[   33.244928]  [<c1169a7e>] ? proc_create_data+0x7e/0xa0
[   33.250114]  [<c1169a7e>] ? proc_create_data+0x7e/0xa0
[   33.255301]  [<c10418bb>] ? warn_slowpath_null+0x1b/0x20
[   33.260663]  [<c1169a7e>] ? proc_create_data+0x7e/0xa0
[   33.265894]  [<e0280dbb>] ? hal_proc_init+0x2b/0x80 [hal_lib]
[   33.271697]  [<e0285627>] ? hal_xinit+0x577/0xb30 [hal_lib]
[   33.277323]  [<c11f807f>] ? string.isra.7+0x2f/0xb0
[   33.282246]  [<c11f956a>] ? vsnprintf+0x24a/0x430
[   33.287007]  [<e027c2d0>] ? halpr_autorelease_mutex+0x50/0x50 [hal_lib]
[   33.293675]  [<e02d92b6>] ? rtapi_print_loc+0x86/0x90 [rtapi]
[   33.299470]  [<e027c2d0>] ? halpr_autorelease_mutex+0x50/0x50 [hal_lib]
[   33.306133]  [<e027c344>] ? init_module+0x74/0x120 [hal_lib]
[   33.311842]  [<c1000462>] ? do_one_initcall+0xc2/0x210
[   33.317033]  [<e027c2d0>] ? halpr_autorelease_mutex+0x50/0x50 [hal_lib]
[   33.323696]  [<c10d9ce4>] ? free_pages_prepare+0xd4/0x130
[   33.329153]  [<c10ff4bc>] ? free_vmap_area_noflush+0x1c/0x60
[   33.334860]  [<c1100610>] ? __vunmap+0x80/0xe0
[   33.339360]  [<c10a30d3>] ? load_module+0x1c23/0x22c0
[   33.344472]  [<c10a38d5>] ? SyS_finit_module+0x75/0xc0
[   33.349668]  [<c118b565>] ? security_mmap_file+0x25/0x70
[   33.355038]  [<c13e45fd>] ? sysenter_do_call+0x12/0x12
[   33.360226] ---[ end trace cfa7a9060132afa6 ]---
zultron commented 9 years ago

Not sure why the error is reported in a different way, but I guess this is the same procfs problem in machinekit/machinekit#653.