intel / iotg_tsn_ref_sw

IOTG Time-Sensitive Networking Reference Software
BSD 3-Clause "New" or "Revised" License
140 stars 68 forks source link

Intel nuc stacked with vs1a setup #29

Open cz1974 opened 1 year ago

cz1974 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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