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

Intel nuc stacked with vs1a setup #29

Open
cz1974 opened this issue Apr 14, 2023 · 2 comments
Open

Intel nuc stacked with vs1a setup #29

cz1974 opened this issue Apr 14, 2023 · 2 comments

Comments

@cz1974
Copy link

cz1974 commented Apr 14, 2023

Hi all,
I'm trying to test the code with a system based on 2 Nucs with i225 cards. When I launch

./run.sh i225 enp88s0 vs1a setup

I got:
Run.sh selected: vs1a
/var/log folder for logging exists.
combined unmodified, ignoring
no channel parameters changed.
current values: rx 0 tx 0 other 1 combined 4
Mapping socket priority N to VLAN priority N for enp88s0
Setting IRQ affinity based on /home/nuc01/iotg_tsn_ref_sw/shell/../common/irq_affinity_4c_4TxRx.map
Echo-ing 0x01 > /proc/irq/157/smp_affinity --> enp88s0:TxRx-0
Echo-ing 0x04 > /proc/irq/159/smp_affinity --> enp88s0:TxRx-2
Echo-ing 0x08 > /proc/irq/160/smp_affinity --> enp88s0:TxRx-3
Running PTP4L & PHC2SYS
Using gPTP_i225-1G.cfg
Run: tc qdisc replace dev enp88s0 parent root handle 100 taprio num_tc 4 map 3 1 0 2 3 3 3 3 3 3 3 3 3 3 3 3 queues 1@0 1@1 1@2 1@3 base-time 1681459807475613954 sched-entry S 0F 1000000 flags 0x2
Run: tc qdisc replace dev enp88s0 parent 100:3 etf clockid CLOCK_TAI delta 700000 offload
/home/nuc01/iotg_tsn_ref_sw/shell/helpers.sh: line 299: 1694 Killed $CMD

And then the machine cannot be used and it needs a hardware reset.
The station B, an identical nuc, proceeds correctly until the end of the setup script.

Thank you in advance
Claudio Zunino

@AzuraTarmiziIntel
Copy link
Contributor

Please check what is being executed at line 299. Echo the command and run exit right after. You can try to execute the command manually in a shell .

@cz1974
Copy link
Author

cz1974 commented May 3, 2023

Please check what is being executed at line 299. Echo the command and run exit right after. You can try to execute the command manually in a shell .

There is the call to setup_etf()
I tested also another simpler configuration and the problem is the flag 0x2 and etf together. At least with kernel 5.19.

Thank you
Claudio

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

2 participants