您尚未登录。

楼主 # 2022-09-26 21:10:12

liuxingkeji
会员
注册时间: 2020-10-21
已发帖子: 24
积分: 40

d1s和d1哪吒跑QT4.8.7不起来,有一回在D1S上起来了,但文件系统被我刷了,现在就是要么报OOM要么就是报环境问题

root@TinaLinux:/overlay/riscv-qt/examples/widgets/analogclock# ./analogclock -qw
s
[  535.653672] analogclock invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[  535.735642] CPU: 0 PID: 606 Comm: analogclock Not tainted 5.4.61 #9
[  535.742633] Call Trace:
[  535.773553] [<ffffffe0000303ce>] walk_stackframe+0x0/0xa0
[  535.822020] [<ffffffe0000305b0>] show_stack+0x2a/0x34
[  535.849855] [<ffffffe000650328>] dump_stack+0x20/0x28
[  536.016984] [<ffffffe00008c3c8>] dump_header+0x48/0x1a4
[  536.112921] [<ffffffe00008bc86>] oom_kill_process+0x2d8/0x2da
[  536.119713] [<ffffffe00008c0f4>] out_of_memory+0x92/0x2c4
[  536.167666] [<ffffffe0000b7b3c>] __alloc_pages_slowpath+0x6c6/0x79a
[  536.174712] [<ffffffe0000b7d52>] __alloc_pages_nodemask+0x142/0x174
[  536.181734] [<ffffffe000088724>] pagecache_get_page+0xd0/0x212
[  536.347335] [<ffffffe00008909c>] filemap_fault+0x352/0x61c
[  536.353465] [<ffffffe000143c16>] ext4_filemap_fault+0x28/0x40
[  536.543747] [<ffffffe0000a522a>] __do_fault+0x26/0xba
[  536.549387] [<ffffffe0000a838c>] __handle_mm_fault+0x52c/0x91a
[  536.565250] [<ffffffe0000a87a2>] handle_mm_fault+0x28/0x32
[  536.629199] [<ffffffe00003183e>] do_page_fault+0xb8/0x2de
[  536.635347] [<ffffffe00002f018>] ret_from_exception+0x0/0xc
[  536.643622] Mem-Info:
[  536.646275] active_anon:246617 inactive_anon:10 isolated_anon:0
[  536.646275]  active_file:108 inactive_file:266 isolated_file:0
[  536.646275]  unevictable:0 dirty:0 writeback:0 unstable:0
[  536.646275]  slab_reclaimable:912 slab_unreclaimable:2821
[  536.646275]  mapped:57 shmem:11 pagetables:612 bounce:0
[  536.646275]  free:1140 free_pcp:76 free_cma:0
[  536.781031] Node 0 active_anon:986468kB inactive_anon:40kB active_file:512kB inactive_file:516kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:292kB dirty:0kB writeback:0kB shmem:44kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
[  536.963967] DMA32 free:4640kB min:4036kB low:5052kB high:6068kB active_anon:986468kB inactive_anon:40kB active_file:472kB inactive_file:520kB unevictable:0kB writepending:0kB present:1048576kB managed:1021640kB mlocked:0kB kernel_stack:1024kB pagetables:2448kB bounce:0kB free_pcp:700kB local_pcp:700kB free_cma:0kB
[  537.046957] lowmem_reserve[]: 0 0 0
[  537.050861] DMA32: 0*4kB 27*8kB (UME) 25*16kB (ME) 8*32kB (UE) 9*64kB (UME) 3*128kB (E) 1*256kB (E) 2*512kB (UM) 1*1024kB (M) 0*2048kB 0*4096kB = 4136kB
[  537.120014] Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10
[  537.299830] zone    DMA32, type    Unmovable      0      1      0      1      3      0      0      1      0      0      0
[  537.312258] zone    DMA32, type      Movable      0     32     11      1      1      0      0      1      1      0      0
[  537.325388] zone    DMA32, type  Reclaimable      1     11     13      7      5      3      1      0      0      0      0
[  537.362566] zone    DMA32, type          CMA      0      0      0      0      0      0      0      0      0      0      0
[  537.379133] zone    DMA32, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
[  537.515948] zone    DMA32, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
[  537.528385] 475 total pagecache pages
[  537.532467] 0 pages in swap cache
[  537.536209] Swap cache stats: add 0, delete 0, find 0/0
[  537.542033] Free swap  = 0kB
[  537.545279] Total swap = 0kB
[  537.548507] 262144 pages RAM
[  537.551713] 0 pages HighMem/MovableOnly
[  537.556018] 6734 pages reserved
[  537.559516] 2048 pages cma reserved
[  537.563398] Tasks state (memory values in pages):
[  537.569772] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[  537.661056] [    125]     0   125      415       40    28672        0         -1000 ubusd
[  537.670304] [    137]     0   137      671       41    32768        0             0 ash
[  537.691685] [    138]     0   138      406       31    28672        0             0 askfirst
[  537.811592] [    238]     0   238      524       51    24576        0             0 dbus-daemon
[  537.821745] [    239]     0   239    55716       37    49152        0             0 adbd
[  537.833362] [    450]     0   450      465       66    28672        0         -1000 netifd
[  537.842679] [    464]     0   464     2462       30    24576        0             0 MtpDaemon
[  537.854214] [    503]     0   503      374       23    24576        0             0 swupdate-progre
[  537.930775] [    545]     0   545      677       34    32768        0             0 ntpd
[  538.028849] [    564]     0   564    21388      131    40960        0             0 tt
[  538.037731] [    579]     0   579      773       51    28672        0         -1000 wpa_supplicant
[  538.047774] [    606]     0   606   277845   245997  2256896        0             0 analogclock
[  538.057736] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=analogclock,pid=606,uid=0
[  538.067564] Out of memory: Killed process 606 (analogclock) total-vm:1111380kB, anon-rss:983984kB, file-rss:4kB, shmem-rss:0kB, UID:0 pgtables:2204kB oom_score_adj:0
[  538.615413] oom_reaper: reaped process 606 (analogclock), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Killed

环境变量如果不配置全就提示这个。

export QWS_DISPLAY="LinuxFB:mmWidth200:0"

FluxBB bbcode 测试
使能了这句就会出现这样的现象。就跑成功过一次,还没记录。
现在在mq上和哪吒上都不行了。
不过qt5是可以起来的。
FluxBB bbcode 测试
这是编译配置。

#!/bin/sh
PWD=`pwd`
mkdir riscv-qt
./configure  \
            -prefix $PWD/riscv-qt \
            -opensource \
            -release \
            -shared \
            -Declarative \
            -fast \
            -no-largefile \
            -qt-sql-sqlite \
            -qt3support \
            -exceptions \
            -no-xmlpatterns \
            -no-script \
            -no-scripttools \
            -no-glib \
            -no-phonon \
            -svg \
            -no-webkit \
            -qt-zlib \
            -qt-libtiff \
            -qt-libpng \
            -qt-libjpeg \
            -make libs \
            -nomake tools \
            -make examples \
            -make docs \
            -nomake demos \
            -no-nis \
            -no-cups \
            -no-iconv \
            -no-dbus \
            -xplatform qws/linux-arm-gnueabi-g++ \
            -embedded riscv \
            -little-endian \
            -qt-freetype \
            -depths 16,24,32 \
            -qt-gfx-linuxfb \
            -qt-gfx-transformed \
            -qt-gfx-multiscreen \
            -qt-gfx-vnc \
	    -plugin-gfx-vnc \
            -plugin-gfx-linuxfb \
            -no-gfx-qvfb \
            -qt-kbd-linuxinput \
            -qt-kbd-tty  \
            -no-kbd-qvfb \
            -armfpa \
	    -no-openssl \
            -no-opengl  \
            -no-accessibility \
            -optimized-qmake  \
            -no-mouse-qvfb \
            -qt-mouse-linuxtp \
            -qt-mouse-tslib \
            -pch \
            -DQT_QLOCALE_USES_FCVT \
            -I/home/d1-nezha/QT/tslib-1.21/riscv-tslib/include \
            -L/home/d1-nezha/QT/tslib-1.21/riscv-tslib/lib  \
            -confirm-license  

麻烦大家看看了。

最近编辑记录 liuxingkeji (2022-09-26 21:12:13)

离线

楼主 #1 2022-09-26 21:31:14

liuxingkeji
会员
注册时间: 2020-10-21
已发帖子: 24
积分: 40

Re: d1s和d1哪吒跑QT4.8.7不起来,有一回在D1S上起来了,但文件系统被我刷了,现在就是要么报OOM要么就是报环境问题

qt4.8.7.tar.xz
编译好的文件如上。

最近编辑记录 liuxingkeji (2022-09-26 21:33:32)

离线

楼主 #4 2022-09-27 10:35:22

liuxingkeji
会员
注册时间: 2020-10-21
已发帖子: 24
积分: 40

Re: d1s和d1哪吒跑QT4.8.7不起来,有一回在D1S上起来了,但文件系统被我刷了,现在就是要么报OOM要么就是报环境问题

哇酷小二 说:

我这边想办法跟进处理一下。

嗯嗯,好的,谢谢,感觉像文件系统问题,但是之前的被刷了,没发测了

离线

楼主 #6 2022-10-11 11:26:21

liuxingkeji
会员
注册时间: 2020-10-21
已发帖子: 24
积分: 40

Re: d1s和d1哪吒跑QT4.8.7不起来,有一回在D1S上起来了,但文件系统被我刷了,现在就是要么报OOM要么就是报环境问题

哇酷小二 说:
liuxingkeji 说:
哇酷小二 说:

我这边想办法跟进处理一下。

嗯嗯,好的,谢谢,感觉像文件系统问题,但是之前的被刷了,没发测了

64M内存爆了,可能前面处于临界状态,刚好能用.

我这边实测Qt5, 也跑不起来.

我测试时候是QT5能起来,等我回去发下D1S QT跑起来的图片

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn