Cannot start CAN2

I’m building application with PX4. And uavcannode works fine with CAN1 (if NUM_IFACES=1). But, if I define CAN2 (and NUM_IFACES=2) all uavcannode doesnt works. No CAN 1 and CAN2 both.
But both of them must start. I think, this trouble caused, that CAN1 cannot start correctly (no connected line to it). And of course CAN2 also go to fail.

I assume that when you say that there is no connected line you mean that there is no CAN driver connected to the CAN1 interface. If this assumption is correct then it makes sense. Something must pull the CAN_RX line towards the recessive level in order for the controller to initialize successfully.