Jump to content

wisebear

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by wisebear

  1. Several requests have already been made on the forum (Link 1 and Link 2) to add support for CH340 USB to TTL converter. I have already sent a request also to Limetech, but haven't received any feedback yet. Enabling the driver that should be present in the kernel, would allow the use of cheap arduino boards for home automation purposes.
  2. I am also having issues with Arduino mega 2560 driver in unRAID. I can't load ch341 module. root@unRAID:~# modprobe ch341 modprobe: FATAL: Module ch341 not found in directory /lib/modules/4.14.13-unRAID Any ideas what else to try?
  3. Anyone here with CH340 chip properly assigned and working on unRAID? I have replaced USB cable and tried with USB 2.0 port but it doesn't help. On the other hand Arduino is detected properly under Windows. Do you have any idea what else to try?
  4. Another request to add extra drivers. For home automation (RF Link gateway) I use Arduino Mega 2560 with CH340G USB to TTL converter. When I connect it to unRAID 6.4.0_rc21b Arduino is recognized as: Bus 004 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter I want to pass it through to Domoticz container but setting extra paramerer as ''--device=/dev/bus/usb/004/002'' doesn't work. I suspect it is due to lack of CH340G driver in unRAID as device doesn't get assigned as TTYUSB. Am I missing something here? Is there any chance to include CH340 driver to unRAID so it could be more for appropriate as a base OS for DIY home automation projects?
  5. I want to use an existing topic as I am also getting Call Traces errors. Attached you can find diagnostic files. From the system log I can see errors like this: python[12239]: segfault at 2aadb4b2dff8 ip 00002aadb00d96d1 sp 00002aadb4b2e000 error 6 in libpython2.7.so.1.0[2aadb006b000+342000] and call trace like this Aug 5 21:52:47 unRAID kernel: CPU: 2 PID: 20342 Comm: Plex Media Serv Not tainted 4.9.30-unRAID #1 Aug 5 21:52:47 unRAID kernel: Hardware name: HP ProLiant MicroServer Gen8, BIOS J06 11/02/2015 Aug 5 21:52:47 unRAID kernel: ffffc900037fbb28 ffffffff813a4a1b 0000000000000001 0000000000000000 Aug 5 21:52:47 unRAID kernel: ffffc900037fbbb8 ffffffff810cb5b1 024201ca810c9d8d ffffffff8193d4e2 Aug 5 21:52:47 unRAID kernel: ffffc900037fbb50 0000000000000010 ffffc900037fbbc8 ffffc900037fbb68 Aug 5 21:52:47 unRAID kernel: Call Trace: Aug 5 21:52:47 unRAID kernel: [<ffffffff813a4a1b>] dump_stack+0x61/0x7e Aug 5 21:52:47 unRAID kernel: [<ffffffff810cb5b1>] warn_alloc+0x102/0x116 Aug 5 21:52:47 unRAID kernel: [<ffffffff810cbb67>] __alloc_pages_nodemask+0x541/0xc71 Aug 5 21:52:47 unRAID kernel: [<ffffffff810c4d78>] ? __page_cache_alloc+0x89/0x9f Aug 5 21:52:47 unRAID kernel: [<ffffffff810d0c59>] ? __do_page_cache_readahead+0xf1/0x21f Aug 5 21:52:47 unRAID kernel: [<ffffffff81102d82>] alloc_pages_current+0xbe/0xe8 Aug 5 21:52:47 unRAID kernel: [<ffffffff810c4d78>] __page_cache_alloc+0x89/0x9f Aug 5 21:52:47 unRAID kernel: [<ffffffff810c6971>] filemap_fault+0x23d/0x458 Aug 5 21:52:47 unRAID kernel: [<ffffffff810e8f38>] __do_fault+0x68/0xbb Aug 5 21:52:47 unRAID kernel: [<ffffffff810edf55>] handle_mm_fault+0x6b1/0xf96 Aug 5 21:52:47 unRAID kernel: [<ffffffff81042252>] __do_page_fault+0x24a/0x3ed Aug 5 21:52:47 unRAID kernel: [<ffffffff81042438>] do_page_fault+0x22/0x27 Aug 5 21:52:47 unRAID kernel: [<ffffffff81680f18>] page_fault+0x28/0x30 Aug 5 21:52:47 unRAID kernel: Mem-Info: Aug 5 21:52:47 unRAID kernel: active_anon:544347 inactive_anon:4280 isolated_anon:0 Aug 5 21:52:47 unRAID kernel: active_file:2776096 inactive_file:556184 isolated_file:64 Aug 5 21:52:47 unRAID kernel: unevictable:0 dirty:549263 writeback:1161 unstable:0 Aug 5 21:52:47 unRAID kernel: slab_reclaimable:59359 slab_unreclaimable:36902 Aug 5 21:52:47 unRAID kernel: mapped:19104 shmem:109773 pagetables:5079 bounce:0 Aug 5 21:52:47 unRAID kernel: free:50809 free_pcp:0 free_cma:0 Aug 5 21:52:47 unRAID kernel: Node 0 active_anon:2177388kB inactive_anon:17120kB active_file:11104384kB inactive_file:2224736kB unevictable:0kB isolated(anon):0kB isolated(file):256kB mapped:76416kB dirty:2197052kB writeback:4644kB shmem:439092kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 950272kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no Aug 5 21:52:47 unRAID kernel: Node 0 DMA free:15892kB min:132kB low:164kB high:196kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15976kB managed:15892kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Aug 5 21:52:47 unRAID kernel: lowmem_reserve[]: 0 2609 15785 15785 Aug 5 21:52:47 unRAID kernel: Node 0 DMA32 free:74956kB min:22320kB low:27900kB high:33480kB active_anon:369616kB inactive_anon:96kB active_file:1911428kB inactive_file:409868kB unevictable:0kB writepending:407484kB present:2832272kB managed:2822276kB mlocked:0kB slab_reclaimable:38480kB slab_unreclaimable:9904kB kernel_stack:1360kB pagetables:1168kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Aug 5 21:52:47 unRAID kernel: lowmem_reserve[]: 0 0 13176 13176 Aug 5 21:52:47 unRAID kernel: Node 0 Normal free:112388kB min:112712kB low:140888kB high:169064kB active_anon:1807772kB inactive_anon:17024kB active_file:9193200kB inactive_file:1814604kB unevictable:0kB writepending:1794212kB present:13762556kB managed:13493108kB mlocked:0kB slab_reclaimable:198956kB slab_unreclaimable:137704kB kernel_stack:14720kB pagetables:19148kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Aug 5 21:52:47 unRAID kernel: lowmem_reserve[]: 0 0 0 0 Aug 5 21:52:47 unRAID kernel: Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (U) 3*4096kB (M) = 15892kB Aug 5 21:52:47 unRAID kernel: Node 0 DMA32: 5136*4kB (UME) 2462*8kB (UME) 526*16kB (UME) 218*32kB (UME) 57*64kB (UME) 37*128kB (UE) 19*256kB (UME) 5*512kB (U) 0*1024kB 2*2048kB (M) 0*4096kB = 75536kB Aug 5 21:52:47 unRAID kernel: Node 0 Normal: 5217*4kB (UMEH) 2065*8kB (UMEH) 575*16kB (UMEH) 814*32kB (UMEH) 526*64kB (UMEH) 38*128kB (MEH) 3*256kB (E) 0*512kB 1*1024kB (E) 0*2048kB 0*4096kB = 112956kB Aug 5 21:52:47 unRAID kernel: 3442409 total pagecache pages Aug 5 21:52:47 unRAID kernel: 0 pages in swap cache Aug 5 21:52:47 unRAID kernel: Swap cache stats: add 0, delete 0, find 0/0 Aug 5 21:52:47 unRAID kernel: Free swap = 0kB Aug 5 21:52:47 unRAID kernel: Total swap = 0kB Aug 5 21:52:47 unRAID kernel: 4152701 pages RAM Aug 5 21:52:47 unRAID kernel: 0 pages HighMem/MovableOnly Aug 5 21:52:47 unRAID kernel: 69882 pages reserved Do you have any idea what is causing the errors? unraid-diagnostics-20170808-1305.zip