On 03.08.21 13:18, Lange Norbert via Xenomai wrote: > Hello, > > There is some bigger kernel oops when an rtnet device is unbound from > linux but still accessible via ioctl. > Effect and backtrace depends on timing, usually the rt_igb module will not > decrease its reference count, and a following soft reboot might hang. > > To repoduce, for example with rt_igb (doubt its driver specific): > > echo "0000:01:00.0" > /sys/bus/pci/drivers/rt_igb/bind > # rtifconfig has to run in background > echo "0000:01:00.0" > /sys/bus/pci/drivers/rt_igb/unbind & rtifconfig rteth0 > up >
So, running one after the other (rtifconfig up first) will not trigger this? Then it would sounds like a race between rtnet or the driver preventing the unbind and the ongoing ifup. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux