Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"scons run" fails on Ubuntu with "asdev_open device <lin/socket/0> failed" #38

Closed
CM0804 opened this issue Apr 23, 2021 · 1 comment
Closed

Comments

@CM0804
Copy link

CM0804 commented Apr 23, 2021

I am running Ubuntu14.04 on virtual box (Hosted on Windows).
Have set following environment variables:
export BOARD=posix
export RELEASE=ascore

Able to build but while trying to run, it gives below error:

:~/cm_workspace/as/as$ scons run
scons: Reading SConscript files ...
!!!LWIP run on pthreads!!!
start application BUILD @ Apr 23 2021 22:08:49
cpu is little endian
XCP MTA memory address 0x977700
mount asblk1 on / okay
mount asblk0 on /dos okay
Connection refused
WARNING :connect function failed with error: 111
asdev_open device <lin/socket/0> failed!
STDERR :assert error on condition(0) at line 555 of asdev_open com/as.tool/lua/device/lasdevlib.c

Tried to understand the flow and it seems,
Lin_InitChannel -> asdev_open fails with "lin/socket/0".

Will you please give any pointers what could be wrong / how can I resolve?
Thank you in advance.

@CM0804
Copy link
Author

CM0804 commented May 1, 2021

I could understand the problem, on Ubuntu Lin socket server has to be started manually. I think on Windows its automatically taken care.
I will close this issue with this.

Further problems:
on the cluster display, speed and rpm gauge niddle are steady

Server side logs:

H: Lin Error: timeout type H pid=0x20
F: pid=50,dlc=08,data=[00,00,00,00,00,00,00,00,] checksum=AF [........] @ 42.378494 s
H: Lin Error: timeout type H pid=0x20
F: pid=50,dlc=08,data=[00,00,00,00,00,00,00,00,] checksum=AF [........] @ 44.965824 s

Client side error:

LINIFE :Rx FAILED for 20 @ 22121
SDSERVER:Offer Service 1236:5678
LINIFE :Rx FAILED for 20 @ 24151
SDSERVER:Offer Service 1236:5678
LINIFE :Rx FAILED for 20 @ 26155

I will debug this further or raise separate issue.

Amazing work @parai. Thanks a lot.

@CM0804 CM0804 closed this as completed May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant