1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
Problems running x86_64 programs on loongarch64 platform
Description of problem:
There is also a running service program on the platform, and **gate_svr** program needs to communicate with it. The following problem occurs:
```
ERROR:../plugins/core.c:220:qemu_plugin_vcpu_init_hook: assertion failed: (success)
Bail out! ERROR:../plugins/core.c:220:qemu_plugin_vcpu_init_hook: assertion failed: (success)
```
The following is the log:
```
[root@localhost bin]# ./gate_svr -y 0 -g 1 -p 18700 -i 127.0.0.1 -l 127.0.0.1,18082
V4.3.20.1-build-20240126.210622
NdsGate : start
yan_lis:0
unix_domain_name=/tmp/test_1.ss
conf dir: /root/sql_proxy/gate/conf
indicate port:18700
indicate ipv6_support:0
indicate link-ctl:127.0.0.1,18082
directory:/root/operating/oci_test/bin
processname:gate_svr
model_path_in:/root/operating/oci_test/conf/in model_path_out:/root/operating/oci_test/conf/out
tr: 写入错误: 断开的管道
tr: 写入错误
----------------------------------------------------------------------
Create SGA, shmid = 53608511
----------------------------------------------------------------------
Attach SGA, shmid = 53608511, sga_address = 0xffb5700000
----------------------------------------------------------------------
Init SGA, shmid = 53608511, sga_address = 0xffb5700000,ret = 0
----------------------------------------------------------------------
tr: 写入错误: 断开的管道
tr: 写入错误
fc_shmid:50003996
tr: 写入错误: 断开的管道
tr: 写入错误
ai_shmid:50036765
/tmp/alarm_report_log is exist, no need create
NdsGate : start thread->>anhua_lock_detecter sucess! shmid_t=53608511 loop_time=3
new NCSocket sk_:6
-------------Detect Mutex-----------
mypid = 20953
ControllerClient::startConnect ip:127.0.0.1, port:18082
connect success, socket:6
NdsGate : connect to controller ok, send handshake packet ...sk:6
check cen_time_enable 0 0
NdsGate : handshake ok, gate id is 1
get_node_name->gid=1,node_name=configuration_1
shm get ok, config_store len: 9924
start config init...
----------------------------------------------------------------------
Ƥ׃½㏶א...
~~~~~~~~~~~~~~~~~~~~~~log1
~~~~~~~~~~~~~~~~~~~~~~log2
~~~~~~~~~~~~~~~~~~~~~~log3
~~~~~~~~~~~~~~~~~~~~~~log4
~~~~~~~~~~~~~~~~~~~~~~log5
~~~~~~~~~~~~~~~~~~~~~~log6
~~~~~~~~~~~~~~~~~~~~~~log7
~~~~~~~~~~~~~~~~~~~~~~log8
Ƥ׃½㏶ºŊ±: 0.000000(s)
----------------------------------------------------------------------
log file name->./nds.log_0
g_ai_check=0
nds_config_rule_database_creatºŊ±: 0.000000(s)
nds_config_app_rule_database_creatºŊ±: 0.000000(s)
nds_config_real_database_creatºŊ±: 0.000000(s)
nds_config_virtual_database_creatºŊ±: 0.000000(s)
nds_config_app_creatºŊ±: 0.000000(s)
nds_config_app_server_createºŊ±: 0.000000(s)
app-vdb-ip config list:
inner_list=1
default_list=2
----------------------------------------------------------------------
Start attach, shmid = 53608511
----------------------------------------------------------------------
Attach SGA, shmid = 53608511, sga_address = 0xff65000000
----------------------------------------------------------------------
1
Load rules, shmid = 53608511, sga_address = 0xff65000000,ret = -1
2----------------------------------------------------------------------
SqlEngine_AppRulesMap ret=0
----------------------------------------------------------------------
gate disconnect from ctl ok
ctl config trans_mode=1
getReadBufferLength bev is null !! sock:-646169440
gate_net_name:bond1
grep: /etc/keepalived/keepalived.conf: 没有那个文件或目录
get_bond_ip->cmd=grep -w -A 2 'virtual_ipaddress' /etc/keepalived/keepalived.conf|grep bond1|grep -v 'virtual_ipaddress'|awk '{print $1}'
grep: /etc/keepalived/keepalived.conf: 没有那个文件或目录
get_bond_ip->cmd=grep -w -A 2 'virtual_ipaddress' /etc/keepalived/keepalived.conf|grep bond1|grep -v 'virtual_ipaddress'|awk '{print $1}'
grep: /etc/keepalived/keepalived.conf: 没有那个文件或目录
get_bond_ip->cmd=grep -w -A 2 'virtual_ipaddress_excluded' /etc/keepalived/keepalived.conf|grep bond1|grep -v 'virtual_ipaddress_excluded'|awk '{print $1}'
grep: /etc/keepalived/keepalived.conf: 没有那个文件或目录
get_bond_ip->cmd=grep -w -A 2 'virtual_ipaddress_excluded' /etc/keepalived/keepalived.conf|grep bond1|grep -v 'virtual_ipaddress_excluded'|awk '{print $1}'
grep: /etc/keepalived/keepalived.conf: 没有那个文件或目录
get_bond_ip->cmd=grep -w -A 2 'virtual_ipaddress' /etc/keepalived/keepalived.conf|grep bond1|grep -v 'virtual_ipaddress'|awk '{print $1}'
grep: /etc/keepalived/keepalived.conf: 没有那个文件或目录
get_bond_ip->cmd=grep -w -A 2 'virtual_ipaddress' /etc/keepalived/keepalived.conf|grep bond1|grep -v 'virtual_ipaddress'|awk '{print $1}'
listen_ip(ipv4):0.0.0.0
gate_epoll_start...
**
ERROR:../plugins/core.c:220:qemu_plugin_vcpu_init_hook: assertion failed: (success)
Bail out! ERROR:../plugins/core.c:220:qemu_plugin_vcpu_init_hook: assertion failed: (success)
```
Additional information:
|