10G ethernet

linuxdev:

I am getting the following serial console messages when I use USRP commands
to detect a X300 software defined radio (connected to the Jetson TX2 by a
Startech PEX10000SFP 10G ethernet adapter plugged into the PCIe port. Any suggestions?

Following are the eth1 (10G ethernet, Tehuti Network, tx40xx driver) relevant messages during bootup:

[ 15.096660] tegra-pcie 10003000.pcie-controller: speed change : Gen-1 -> Gen-2
[ 15.178411] tn40xx: Tehuti Network Driver, 0.3.6.14
[ 15.178413] tn40xx: Supported phys : MV88X3120 MV88X3310 MV88E2010 QT2025 TLK10232 AQR105 
[ 15.178529] tn40xx 0000:01:00.0: enabling device (0000 -> 0002)
[ 15.178585] tn40xx: srom 0x0 HWver 16 build 0 lane# 4 max_pl 0x0 mrrs 0x2
[ 15.400295] tn40xx: PHY detected on port 0 ID=40005100 - TLK10232 10Gbps SFP+
[ 15.400297] tn40xx: PHY type by svid 7 found 6
[ 15.673244] tn40xx: fw 0xe
[ 15.673342] tn40xx: eth1, Port A
[ 15.673355] tn40xx: 1 1fc9:4025:1fc9:3015
[ 17.539055] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 15.673359] tn40xx: detected 1 cards, 1 loaded
[ 17.663028] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 17.670954] 8021q: adding VLAN 0 to HW filter on device eth1

Following are the messages after booting and when the Jetson hangs:

nvidia@tegra-ubuntu:~$ [ 34.320449] tn40xx: eth1 Link Up 10G
[ 34.324471] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

nvidia@tegra-ubuntu:~$ 
nvidia@tegra-ubuntu:~$ sudo s[ 56.397263] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

root@tegra-ubuntu:/home/nvidia# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:4b:8c:ac:ff 
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:39 

eth1 Link encap:Ethernet HWaddr 00:0a:cd:2e:4a:4e 
inet6 addr: fe80::88b1:5319:8c63:f001/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3000 
RX bytes:300 (300.0 B) TX bytes:8537 (8.5 KB)
Interrupt:187 Memory:58000000-58010000 

lo Link encap:Local Loopback 
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:245 errors:0 dropped:0 overruns:0 frame:0
TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1 
RX bytes:18719 (18.7 KB) TX bytes:18719 (18.7 KB)

wlan0 Link encap:Ethernet HWaddr 00:04:4b:8c:ac:fd 
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::4fde:cbd9:9f4d:4969/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:6027 (6.0 KB) TX bytes:10586 (10.5 KB)

root@tegra-ubuntu:/home/nvidia# ifconfig eth1 192.168.40.1
root@tegra-ubuntu:/home/nvidia# ifconfig eth1 192.168.40.1e[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Kmtu 9000
[ 136.138822] tn40xx: eth1 Link Up 10G
root@tegra-ubuntu:/home/nvidia# uhd_find_devices
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

[ 148.071080] BUG: Bad page state in process swapper/0 pfn:26bd80
[ 148.077135] page:ffffffbdc9af6000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.085208] flags: 0x4000000000000200(arch_1)
[ 148.089682] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.095893] bad because of flags:
[ 148.099244] flags: 0x200(arch_1)
[ 148.102734] Call trace:
[ 148.105762] Disabling lock debugging due to kernel taint
[ 148.196774] BUG: Bad page state in process swapper/0 pfn:f0900
[ 148.202789] page:ffffffbdc3c24000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.210873] flags: 0x200(arch_1)
[ 148.214194] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.220419] bad because of flags:
[ 148.223780] flags: 0x200(arch_1)
[ 148.227307] Call trace:
[ 148.245625] BUG: Bad page state in process swapper/0 pfn:26a8c0
[ 148.251698] page:ffffffbdc9aa3000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.259777] flags: 0x4000000000000200(arch_1)
[ 148.264294] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.270549] bad because of flags:
[ 148.273939] flags: 0x200(arch_1)
[ 148.277341] Call trace:
[ 148.289123] BUG: Bad page state in process kworker/0:4 pfn:26ab80
[ 148.295352] page:ffffffbdc9aae000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.303445] flags: 0x4000000000000200(arch_1)
[ 148.307917] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.314151] bad because of flags:
[ 148.317515] flags: 0x200(arch_1)
[ 148.320978] Call trace:
[ 148.332902] BUG: Bad page state in process swapper/0 pfn:26a840
[ 148.339036] page:ffffffbdc9aa1000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.347149] flags: 0x4000000000000200(arch_1)
[ 148.351610] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.357835] bad because of flags:
[ 148.361201] flags: 0x200(arch_1)
[ 148.364695] Call trace:
[ 148.377061] BUG: Bad page state in process swapper/0 pfn:26b180
[ 148.383172] page:ffffffbdc9ac6000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.391233] flags: 0x4000000000000200(arch_1)
[ 148.395669] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.401906] bad because of flags:
[ 148.405261] flags: 0x200(arch_1)
[ 148.408693] Call trace:
[ 148.420756] BUG: Bad page state in process swapper/0 pfn:26b140
[ 148.426868] page:ffffffbdc9ac5000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.434953] flags: 0x4000000000000200(arch_1)
[ 148.439402] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.445658] bad because of flags:
[ 148.449020] flags: 0x200(arch_1)
[ 148.452462] Call trace:
[ 148.502306] BUG: Bad page state in process swapper/0 pfn:df180
[ 148.508276] page:ffffffbdc37c6000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.516344] flags: 0x200(arch_1)
[ 148.519652] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.525902] bad because of flags:
[ 148.529263] flags: 0x200(arch_1)
[ 148.532755] Call trace:
[ 148.545324] BUG: Bad page state in process compiz pfn:df1c0
[ 148.551060] page:ffffffbdc37c7000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.559132] flags: 0x200(arch_1)
[ 148.562503] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.568740] bad because of flags:
[ 148.572061] flags: 0x200(arch_1)
[ 148.575456] Call trace:
[ 148.589818] BUG: Bad page state in process swapper/0 pfn:26af80
[ 148.595874] page:ffffffbdc9abe000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.603949] flags: 0x4000000000000200(arch_1)
[ 148.608474] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.614711] bad because of flags:
[ 148.618057] flags: 0x200(arch_1)
[ 148.621441] Call trace:
[ 148.640988] BUG: Bad page state in process swapper/0 pfn:252f80
[ 148.647041] page:ffffffbdc94be000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.655062] flags: 0x4000000000000200(arch_1)
[ 148.659439] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.665618] bad because of flags:
[ 148.668931] flags: 0x200(arch_1)
[ 148.672207] Call trace:
[ 148.717074] BUG: Bad page state in process swapper/0 pfn:26afc0
[ 148.723110] page:ffffffbdc9abf000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.731131] flags: 0x4000000000000200(arch_1)
[ 148.735554] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.741790] bad because of flags:
[ 148.745138] flags: 0x200(arch_1)
[ 148.748488] Call trace:
[ 148.759602] BUG: Bad page state in process swapper/0 pfn:df280
[ 148.765595] page:ffffffbdc37ca000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.773644] flags: 0x200(arch_1)
[ 148.776931] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.783190] bad because of flags:
[ 148.786550] flags: 0x200(arch_1)
[ 148.790003] Call trace:
[ 148.802596] BUG: Bad page state in process swapper/0 pfn:df200
[ 148.808558] page:ffffffbdc37c8000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.816596] flags: 0x200(arch_1)
[ 148.819902] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.826147] bad because of flags:
[ 148.829506] flags: 0x200(arch_1)
[ 148.832940] Call trace:
[ 148.926200] BUG: Bad page state in process swapper/0 pfn:234a80
[ 148.932263] page:ffffffbdc8d2a000 count:0 mapcount:0 mapping: (null) index:0x0
[ 148.940339] flags: 0x4000000000000200(arch_1)
[ 148.944821] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 148.951039] bad because of flags:
[ 148.954386] flags: 0x200(arch_1)
[ 148.957946] Call trace:
[ 148.990297] BUG: Bad page state in process swapper/0 pfn:234b00
[ 148.996351] page:ffffffbdc8d2c000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.004426] flags: 0x4000000000000200(arch_1)
[ 149.008877] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.015117] bad because of flags:
[ 149.018458] flags: 0x200(arch_1)
[ 149.021972] Call trace:
[ 149.044634] BUG: Bad page state in process swapper/0 pfn:234b40
[ 149.050721] page:ffffffbdc8d2d000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.058805] flags: 0x4000000000000200(arch_1)
[ 149.063305] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.069545] bad because of flags:
[ 149.072915] flags: 0x200(arch_1)
[ 149.076347] Call trace:
[ 149.128808] BUG: Bad page state in process ksoftirqd/0 pfn:234bc0
[ 149.135039] page:ffffffbdc8d2f000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.143157] flags: 0x4000000000000200(arch_1)
[ 149.147647] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.153899] bad because of flags:
[ 149.157305] flags: 0x200(arch_1)
[ 149.160665] Call trace:
[ 149.221361] BUG: Bad page state in process swapper/0 pfn:22fc00
[ 149.227417] page:ffffffbdc8bf0000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.235506] flags: 0x4000000000000200(arch_1)
[ 149.239934] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.246189] bad because of flags:
[ 149.249554] flags: 0x200(arch_1)
[ 149.252978] Call trace:
[ 149.271503] BUG: Bad page state in process swapper/0 pfn:df2c0
[ 149.277494] page:ffffffbdc37cb000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.285617] flags: 0x200(arch_1)
[ 149.288945] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.295146] bad because of flags:
[ 149.298485] flags: 0x200(arch_1)
[ 149.301980] Call trace:
[ 149.314087] BUG: Bad page state in process swapper/0 pfn:df300
[ 149.320118] page:ffffffbdc37cc000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.328174] flags: 0x200(arch_1)
[ 149.331510] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.337724] bad because of flags:
[ 149.341064] flags: 0x200(arch_1)
[ 149.344562] Call trace:
[ 149.357763] BUG: Bad page state in process compiz pfn:df340
[ 149.363528] page:ffffffbdc37cd000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.371617] flags: 0x200(arch_1)
[ 149.374950] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.381200] bad because of flags:
[ 149.384536] flags: 0x200(arch_1)
[ 149.387958] Call trace:
[ 149.412943] BUG: Bad page state in process compiz pfn:22fc80
[ 149.418764] page:ffffffbdc8bf2000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.426860] flags: 0x4000000000000200(arch_1)
[ 149.431338] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.437575] bad because of flags:
[ 149.440941] flags: 0x200(arch_1)
[ 149.444353] Call trace:
[ 149.458610] BUG: Bad page state in process swapper/0 pfn:22fd00
[ 149.464673] page:ffffffbdc8bf4000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.472699] flags: 0x4000000000000200(arch_1)
[ 149.477150] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.483405] bad because of flags:
[ 149.486768] flags: 0x200(arch_1)
[ 149.490097] Call trace:
[ 149.501371] BUG: Bad page state in process swapper/0 pfn:22fcc0
[ 149.507394] page:ffffffbdc8bf3000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.515402] flags: 0x4000000000000200(arch_1)
[ 149.519776] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.525971] bad because of flags:
[ 149.529291] flags: 0x200(arch_1)
[ 149.532586] Call trace:
[ 149.560534] BUG: Bad page state in process swapper/0 pfn:22fd80
[ 149.566571] page:ffffffbdc8bf6000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.574578] flags: 0x4000000000000200(arch_1)
[ 149.578959] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.585137] bad because of flags:
[ 149.588449] flags: 0x200(arch_1)
[ 149.591719] Call trace:
[ 149.601750] BUG: Bad page state in process swapper/0 pfn:22fdc0
[ 149.607766] page:ffffffbdc8bf7000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.615763] flags: 0x4000000000000200(arch_1)
[ 149.620154] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.626347] bad because of flags:
[ 149.629671] flags: 0x200(arch_1)
[ 149.633009] Call trace:
[ 149.670152] BUG: Bad page state in process swapper/0 pfn:22fe00
[ 149.676189] page:ffffffbdc8bf8000 count:0 mapcount:0 mapping: (null) index:0x0
[ 149.684209] flags: 0x4000000000000200(arch_1)
[ 149.688625] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 149.694810] bad because of flags:
[ 149.698127] flags: 0x200(arch_1)
[ 149.701467] Call trace:
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: x300
addr: 192.168.40.2
fpga: HGS
name: 
serial: 30A590A
product: X300


root@tegra-ubuntu:/home/nvidia# [ 152.039007] BUG: Bad page state in process NetworkManager pfn:df380
[ 152.045428] page:ffffffbdc37ce000 count:0 mapcount:0 mapping: (null) index:0x0
[ 152.053570] flags: 0x200(arch_1)
[ 152.056948] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 152.063219] bad because of flags:
[ 152.066626] flags: 0x200(arch_1)
[ 152.070061] Call trace:

root@tegra-ubuntu:/home/nvidia# uhd_find_devicese[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Kusrp_probe
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

Error: LookupError: KeyError: No devices found for ----->
Empty Device Address
root@tegra-ubuntu:/home/nvidia# uhd_usrp_probefind_devicesifconfig eth1 mtu 9000192.168.40.1e[K
eth0 Link encap:Ethernet HWaddr 00:04:4b:8c:ac:ff 
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:39 

eth1 Link encap:Ethernet HWaddr 00:0a:cd:2e:4a:4e 
inet6 addr: fe80::88b1:5319:8c63:f001/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:1085 errors:0 dropped:0 overruns:0 frame:0
TX packets:1205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3000 
RX bytes:65100 (65.1 KB) TX bytes:83489 (83.4 KB)
Interrupt:187 Memory:58000000-58010000 

lo Link encap:Local Loopback 
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:297 errors:0 dropped:0 overruns:0 frame:0
TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1 
RX bytes:22987 (22.9 KB) TX bytes:22987 (22.9 KB)

wlan0 Link encap:Ethernet HWaddr 00:04:4b:8c:ac:fd 
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::4fde:cbd9:9f4d:4969/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:112 errors:0 dropped:0 overruns:0 frame:0
TX packets:141 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:9337 (9.3 KB) TX bytes:13649 (13.6 KB)

root@tegra-ubuntu:/home/nvidia# ifconfiguhd_usrp_probefind_devicesifconfig eth1 mtu 9000192.168.40.1e[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Kdown
root@tegra-ubuntu:/home/nvidia# ifconfig eth1 downe[Ke[Ke[Ke[K192.15e[K7e[K68.40.1
[ 207.052047] 8021q: adding VLAN 0 to HW filter on device eth1
root@tegra-ubuntu:/home/nvidia# ifconfig eth1 192.168.40.1e[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Kmtu 9000
root@tegra-ubuntu:/home/nvidia# ifconfig eth1 mtu 9000192.168.40.1e[8Pdowne[Kuhd_usrp_probefind_devices
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

[ 223.821464] BUG: Bad page state in process swapper/0 pfn:22ff80
[ 223.827528] page:ffffffbdc8bfe000 count:0 mapcount:0 mapping: (null) index:0x0
[ 223.835570] flags: 0x4000000000000200(arch_1)
[ 223.839983] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 223.846202] bad because of flags:
[ 223.849577] flags: 0x200(arch_1)
[ 223.852996] Call trace:
[ 223.874400] BUG: Bad page state in process swapper/0 pfn:22ffc0
[ 223.880450] page:ffffffbdc8bff000 count:0 mapcount:0 mapping: (null) index:0x0
[ 223.888502] flags: 0x4000000000000200(arch_1)
[ 223.892946] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 223.899137] bad because of flags:
[ 223.902501] flags: 0x200(arch_1)
[ 223.905917] Call trace:
[ 223.927114] BUG: Bad page state in process swapper/0 pfn:22f800
[ 223.933160] page:ffffffbdc8be0000 count:0 mapcount:0 mapping: (null) index:0x0
[ 223.941192] flags: 0x4000000000000200(arch_1)
[ 223.945654] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 223.951850] bad because of flags:
[ 223.955195] flags: 0x200(arch_1)
[ 223.958596] Call trace:
[ 223.980018] BUG: Bad page state in process swapper/0 pfn:22f840
[ 223.986107] page:ffffffbdc8be1000 count:0 mapcount:0 mapping: (null) index:0x0
[ 223.994145] flags: 0x4000000000000200(arch_1)
[ 223.998570] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.004799] bad because of flags:
[ 224.008149] flags: 0x200(arch_1)
[ 224.011543] Call trace:
[ 224.023300] BUG: Bad page state in process swapper/0 pfn:22f880
[ 224.029337] page:ffffffbdc8be2000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.037422] flags: 0x4000000000000200(arch_1)
[ 224.041912] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.048142] bad because of flags:
[ 224.051487] flags: 0x200(arch_1)
[ 224.054870] Call trace:
[ 224.095984] BUG: Bad page state in process swapper/0 pfn:22f900
[ 224.102080] page:ffffffbdc8be4000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.110149] flags: 0x4000000000000200(arch_1)
[ 224.114578] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.120786] bad because of flags:
[ 224.124140] flags: 0x200(arch_1)
[ 224.127601] Call trace:
[ 224.139894] BUG: Bad page state in process swapper/0 pfn:22f8c0
[ 224.145981] page:ffffffbdc8be3000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.154044] flags: 0x4000000000000200(arch_1)
[ 224.158497] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.164751] bad because of flags:
[ 224.168111] flags: 0x200(arch_1)
[ 224.171596] Call trace:
[ 224.281010] BUG: Bad page state in process swapper/0 pfn:22fa00
[ 224.287117] page:ffffffbdc8be8000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.295166] flags: 0x4000000000000200(arch_1)
[ 224.299590] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.305815] bad because of flags:
[ 224.309164] flags: 0x200(arch_1)
[ 224.312581] Call trace:
[ 224.334252] BUG: Bad page state in process swapper/0 pfn:22fa40
[ 224.340314] page:ffffffbdc8be9000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.348368] flags: 0x4000000000000200(arch_1)
[ 224.352822] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.359018] bad because of flags:
[ 224.362372] flags: 0x200(arch_1)
[ 224.365813] Call trace:
[ 224.377422] BUG: Bad page state in process swapper/0 pfn:22f980
[ 224.383490] page:ffffffbdc8be6000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.391557] flags: 0x4000000000000200(arch_1)
[ 224.395981] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.402206] bad because of flags:
[ 224.405555] flags: 0x200(arch_1)
[ 224.408965] Call trace:
[ 224.420523] BUG: Bad page state in process swapper/0 pfn:22fa80
[ 224.426592] page:ffffffbdc8bea000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.434653] flags: 0x4000000000000200(arch_1)
[ 224.439089] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.445303] bad because of flags:
[ 224.448652] flags: 0x200(arch_1)
[ 224.452084] Call trace:
[ 224.463871] BUG: Bad page state in process swapper/0 pfn:22f9c0
[ 224.469946] page:ffffffbdc8be7000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.477997] flags: 0x4000000000000200(arch_1)
[ 224.482467] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.488696] bad because of flags:
[ 224.492054] flags: 0x200(arch_1)
[ 224.495458] Call trace:
[ 224.507556] BUG: Bad page state in process swapper/0 pfn:22fac0
[ 224.513592] page:ffffffbdc8beb000 count:0 mapcount:0 mapping: (null) index:0x0
[ 224.521656] flags: 0x4000000000000200(arch_1)
[ 224.526116] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 224.532340] bad because of flags:
[ 224.535672] flags: 0x200(arch_1)
[ 224.539053] Call trace:
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: x300
addr: 192.168.40.2
fpga: HGS
name: 
serial: 30A590A
product: X300


root@tegra-ubuntu:/home/nvidia# uhd_find_devicesifconfig eth1 mtu 9000192.168.40.1e[8Pdowne[K
eth0 Link encap:Ethernet HWaddr 00:04:4b:8c:ac:ff 
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:39 

eth1 Link encap:Ethernet HWaddr 00:0a:cd:2e:4a:4e 
inet addr:192.168.40.1 Bcast:192.168.40.255 Mask:255.255.255.0
inet6 addr: fe80::20a:cdff:fe2e:4a4e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:2162 errors:0 dropped:0 overruns:0 frame:0
TX packets:2326 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3000 
RX bytes:129720 (129.7 KB) TX bytes:151945 (151.9 KB)
Interrupt:187 Memory:58000000-58010000 

lo Link encap:Local Loopback 
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:334 errors:0 dropped:0 overruns:0 frame:0
TX packets:334 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1 
RX bytes:26029 (26.0 KB) TX bytes:26029 (26.0 KB)

wlan0 Link encap:Ethernet HWaddr 00:04:4b:8c:ac:fd 
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::4fde:cbd9:9f4d:4969/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:131 errors:0 dropped:0 overruns:0 frame:0
TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:11321 (11.3 KB) TX bytes:15631 (15.6 KB)

root@tegra-ubuntu:/home/nvidia# ifconfiguhd_find_devicesifconfig eth1 mtu 9000192.168.40.1e[8Pdowne[Kuhd_usrp_probe
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

[ 238.309522] BUG: Bad page state in process swapper/0 pfn:ddd00
[ 238.315510] page:ffffffbdc3774000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.323586] flags: 0x200(arch_1)
[ 238.326914] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.333155] bad because of flags:
[ 238.336524] flags: 0x200(arch_1)
[ 238.339961] Call trace:
[ 238.358098] BUG: Bad page state in process swapper/0 pfn:22fb80
[ 238.364192] page:ffffffbdc8bee000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.372238] flags: 0x4000000000000200(arch_1)
[ 238.376664] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.382880] bad because of flags:
[ 238.386239] flags: 0x200(arch_1)
[ 238.389652] Call trace:
[ 238.473690] BUG: Bad page state in process swapper/0 pfn:dddc0
[ 238.479659] page:ffffffbdc3777000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.487731] flags: 0x200(arch_1)
[ 238.491054] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.497274] bad because of flags:
[ 238.500615] flags: 0x200(arch_1)
[ 238.504089] Call trace:
[ 238.516224] BUG: Bad page state in process swapper/0 pfn:ddd40
[ 238.522236] page:ffffffbdc3775000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.530303] flags: 0x200(arch_1)
[ 238.533616] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.539838] bad because of flags:
[ 238.543199] flags: 0x200(arch_1)
[ 238.546662] Call trace:
[ 238.558214] BUG: Bad page state in process swapper/0 pfn:dde00
[ 238.564225] page:ffffffbdc3778000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.572269] flags: 0x200(arch_1)
[ 238.575597] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.581824] bad because of flags:
[ 238.585171] flags: 0x200(arch_1)
[ 238.588570] Call trace:
[ 238.606941] BUG: Bad page state in process swapper/0 pfn:22f480
[ 238.613024] page:ffffffbdc8bd2000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.621067] flags: 0x4000000000000200(arch_1)
[ 238.625543] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.631736] bad because of flags:
[ 238.635065] flags: 0x200(arch_1)
[ 238.638455] Call trace:
[ 238.659618] BUG: Bad page state in process swapper/0 pfn:22f4c0
[ 238.665692] page:ffffffbdc8bd3000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.673741] flags: 0x4000000000000200(arch_1)
[ 238.678163] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.684378] bad because of flags:
[ 238.687736] flags: 0x200(arch_1)
[ 238.691128] Call trace:
[ 238.702792] BUG: Bad page state in process swapper/0 pfn:22f440
[ 238.708830] page:ffffffbdc8bd1000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.716867] flags: 0x4000000000000200(arch_1)
[ 238.721320] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.727547] bad because of flags:
[ 238.730904] flags: 0x200(arch_1)
[ 238.734275] Call trace:
[ 238.789230] BUG: Bad page state in process swapper/0 pfn:dde40
[ 238.795192] page:ffffffbdc3779000 count:0 mapcount:0 mapping: (null) index:0x0
[ 238.803292] flags: 0x200(arch_1)
[ 238.806611] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 238.812806] bad because of flags:
[ 238.816139] flags: 0x200(arch_1)
[ 238.819554] Call trace:
-- X300 initialization sequence...
-- Determining maximum frame size... 8000 bytes.
-- Setup basic communication...
Error: RuntimeError: Expected FPGA compatibility number 19, but got 33:
The FPGA image on your device is not compatible with this host code build.
Download the appropriate FPGA images for this version of UHD.
Please run:

"/usr/lib/uhd/utils/uhd_images_downloader.py"

Then burn a new image to the on-board flash storage of your
USRP X3xx device using the image loader utility. Use this command:

"/usr/bin/uhd_image_loader" --args="type=x300,addr=192.168.40.2"

For more information, refer to the UHD manual:

http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_flash
root@tegra-ubuntu:/home/nvidia# [ 266.039129] BUG: Bad page state in process NetworkManager pfn:22f5c8
[ 266.045643] page:ffffffbdc8bd7200 count:0 mapcount:0 mapping: (null) index:0x0
[ 266.053835] flags: 0x4000000000000200(arch_1)
[ 266.058328] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 266.064558] bad because of flags:
[ 266.067873] flags: 0x200(arch_1)
[ 266.071308] Call trace:
[ 277.764726] BUG: Bad page state in process swapper/0 pfn:22f5d0
[ 277.770826] page:ffffffbdc8bd7400 count:0 mapcount:0 mapping: (null) index:0x0
[ 277.778882] flags: 0x4000000000000200(arch_1)
[ 277.783353] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 277.789564] bad because of flags:
[ 277.792899] flags: 0x200(arch_1)
[ 277.796312] Call trace:
[ 292.776522] BUG: Bad page state in process swapper/0 pfn:22f5d4
[ 292.782615] page:ffffffbdc8bd7500 count:0 mapcount:0 mapping: (null) index:0x0
[ 292.790665] flags: 0x4000000000000200(arch_1)
[ 292.795096] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 292.801310] bad because of flags:
[ 292.804672] flags: 0x200(arch_1)
[ 292.808077] Call trace:

root@tegra-ubuntu:/home/nvidia# 
root@tegra-ubuntu:/home/nvidia# [ 308.031086] BUG: Bad page state in process swapper/0 pfn:22f66c
[ 308.037185] page:ffffffbdc8bd9b00 count:0 mapcount:0 mapping: (null) index:0x0
[ 308.045294] flags: 0x4000000000000200(arch_1)
[ 308.049781] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 308.056059] bad because of flags:
[ 308.059421] flags: 0x200(arch_1)
[ 308.062925] Call trace:
[ 309.878061] BUG: Bad page state in process swapper/0 pfn:ddc20
[ 309.884085] page:ffffffbdc3770800 count:0 mapcount:0 mapping: (null) index:0x0
[ 309.892146] flags: 0x200(arch_1)
[ 309.895472] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 309.901712] bad because of flags:
[ 309.905081] flags: 0x200(arch_1)
[ 309.908504] Call trace:
[ 309.961721] BUG: Bad page state in process Xorg pfn:ddd20
[ 309.967295] page:ffffffbdc3774800 count:0 mapcount:0 mapping: (null) index:0x0
[ 309.975389] flags: 0x200(arch_1)
[ 309.978693] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 309.984914] bad because of flags:
[ 309.988262] flags: 0x200(arch_1)
[ 309.991572] Call trace:
[ 309.998551] BUG: Bad page state in process gdbus pfn:26a864
[ 310.004285] page:ffffffbdc9aa1900 count:0 mapcount:0 mapping: (null) index:0x0
[ 310.012334] flags: 0x4000000000000200(arch_1)
[ 310.016761] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 310.022993] bad because of flags:
[ 310.026344] flags: 0x200(arch_1)
[ 310.029696] Call trace:
[ 310.033277] BUG: Bad page state in process gdbus pfn:26abac
[ 310.038974] page:ffffffbdc9aaeb00 count:0 mapcount:0 mapping: (null) index:0x0
[ 310.047012] flags: 0x4000000000000200(arch_1)
[ 310.051429] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 310.057633] bad because of flags:
[ 310.060970] flags: 0x200(arch_1)
[ 310.064311] Call trace:
[ 310.070070] BUG: Bad page state in process kworker/0:1H pfn:22fc3c
[ 310.076375] page:ffffffbdc8bf0f00 count:0 mapcount:0 mapping: (null) index:0x0
[ 310.084405] flags: 0x4000000000000200(arch_1)
[ 310.088824] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
[ 310.095013] bad because of flags:
[ 310.098339] flags: 0x200(arch_1)
[ 310.101699] Call trace:
[ 310.106805] page:ffffffbdc8d2ae00 count:0 mapcount:0 mapping: (null) index:0x0
[ 310.114800] flags: 0x4000000000000200(arch_1)
[ 310.119170] page dumped because: VM_BUG_ON_PAGE(page->flags & (((1 << 21) - 1) & ~0))
[ 310.126994] Kernel BUG at ffffffc00016f86c [verbose debug info unavailable]
[ 310.133942] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 310.139414] Modules linked in: fuse bnep bluetooth tn40xx(O) bcmdhd pci_tegra bluedroid_pm
[ 310.147741] CPU: 5 PID: 1934 Comm: uhd_usrp_probe Tainted: G B O 4.4.15-tegra #1
[ 310.156073] Hardware name: quill (DT)
[ 310.159727] task: ffffffc0680f3e80 ti: ffffffc1f68fc000 task.ti: ffffffc1f68fc000
[ 310.167196] PC is at free_one_page+0x380/0x3f0
[ 310.171628] LR is at free_one_page+0x3d8/0x3f0
[ 310.176059] pc : [<ffffffc00016f86c>] lr : [<ffffffc00016f8c4>] pstate: 400001c5
[ 310.183437] sp : ffffffc1f68ffb00
[ 310.186742] x29: ffffffc1f68ffb00 x28: ffffffc1edf74b00 
[ 310.192058] x27: 0000000000000018 x26: 0000000000000000 
[ 310.197374] x25: ffffffc00124e180 x24: 0000000000000000 
[ 310.202691] x23: ffffffc00124e700 x22: 0000000000000002 
[ 310.208005] x21: 0000000000234ab8 x20: 0000000000000002 
[ 310.213319] x19: ffffffbdc8d2ae00 x18: 00000000000010d8 
[ 310.218633] x17: 0000007fa774ec68 x16: ffffffc0008e6334 
[ 310.223949] x15: 0007a67c1ea8c33a x14: 26207367616c663e 
[ 310.229265] x13: 2d65676170284547 x12: 41505f4e4f5f4755 
[ 310.234581] x11: 425f4d56203a6573 x10: 7561636562206465 
[ 310.239896] x9 : 0000000000000ae5 x8 : 31202d2029313220 
[ 310.245211] x7 : 0000000000000000 x6 : ffffff8000494f38 
[ 310.250525] x5 : 0000000000000000 x4 : 0000000000000001 
[ 310.255841] x3 : ffffffc1f68ff930 x2 : 0000000000000001 
[ 310.261154] x1 : ffffffc1f68fc000 x0 : 4000000000000200 
[ 310.266469] 
[ 310.267954] Process uhd_usrp_probe (pid: 1934, stack limit = 0xffffffc1f68fc020)
[ 310.275333] Call trace:
[ 310.277773] [<ffffffc00016f86c>] free_one_page+0x380/0x3f0
[ 310.283245] [<ffffffc00016f978>] __free_pages_ok+0x9c/0xb0
[ 310.288718] [<ffffffc00016f9a8>] free_compound_page+0x1c/0x24
[ 310.294450] [<ffffffc000176900>] __put_compound_page+0x38/0x60
[ 310.300270] [<ffffffc000176974>] put_compound_page+0x4c/0x364
[ 310.306002] [<ffffffc00017707c>] put_page+0x58/0x70
[ 310.310868] [<ffffffc0008eefa0>] skb_release_data+0x74/0xe0
[ 310.316427] [<ffffffc0008ef030>] skb_release_all+0x24/0x30
[ 310.321899] [<ffffffc0008ef050>] __kfree_skb+0x14/0x28
[ 310.327025] [<ffffffc0008f2e00>] skb_free_datagram_locked+0x78/0xd8
[ 310.333281] [<ffffffc00097714c>] udp_recvmsg+0x38c/0x694
[ 310.338581] [<ffffffc000982f80>] inet_recvmsg+0x6c/0xc4
[ 310.343794] [<ffffffc0008e5120>] sock_recvmsg+0x44/0x54
[ 310.349006] [<ffffffc0008e63d4>] SyS_recvfrom+0xa0/0x104
[ 310.354307] [<ffffffc000084e70>] el0_svc_naked+0x24/0x28
[ 310.359605] ---[ end trace c63bb006497bdf33 ]---
[ 310.366414] note: uhd_usrp_probe[1934] exited with preempt_count 1
[ 313.132015] bwmgr: clk_set_rate failed for freq 18446744073709551506 Hz with errno -22
[ 315.120014] gk20a 17000000.gp10b: gk20a_channel_timeout_handler: Possible job timeout on ch=507
[ 315.128716] gk20a 17000000.gp10b: gk20a_channel_timeout_handler: Confirmed: job on channel 507 timed out
[ 315.138192] ---- mlocks ----
[ 315.141091] 
[ 315.142576] ---- syncpts ----
[ 315.145550] id 4 (disp_d) min 3728 max 3729 refs 1 (previous client : )
[ 315.152159] id 5 (disp_e) min 1 max 1 refs 1 (previous client : )
[ 315.158248] id 6 (disp_f) min 1 max 1 refs 1 (previous client : )
[ 315.164335] id 7 (vblank1) min 18758 max 0 refs 1 (previous client : )
[ 315.170864] id 18 (17000000.gp10b_507) min 26960 max 26962 refs 1 (previous client : )
[ 315.178771] id 19 (17000000.gp10b_506) min 22 max 22 refs 1 (previous client : )
[ 315.186159] id 20 (17000000.gp10b_505) min 19154 max 19158 refs 1 (previous client : 17000000.gp10b_505)
[ 315.196040] 
[ 315.197525] ---- channels ----
[ 315.200586] 
[ 315.200586] channel 0 - 15810000.se
[ 315.200586] 
[ 315.207020] NvHost basic channel registers:
[ 315.211201] CMDFIFO_STAT_0: 00002040
[ 315.214862] CMDFIFO_RDATA_0: 0c050082
[ 315.218522] CMDP_OFFSET_0: 00000000
[ 315.222182] CMDP_CLASS_0: 00000000
[ 315.225842] CHANNELSTAT_0: 00000000
[ 315.229500] The CDMA sync queue is empty.
[ 315.233506] 
[ 315.234990] 
[ 315.234990] channel 1 - 15820000.se
[ 315.234990] 
[ 315.241426] NvHost basic channel registers:
[ 315.245605] CMDFIFO_STAT_0: 00002040
[ 315.249265] CMDFIFO_RDATA_0: acce2882
[ 315.252924] CMDP_OFFSET_0: 00000000
[ 315.256583] CMDP_CLASS_0: 00000000
[ 315.260241] CHANNELSTAT_0: 00000000
[ 315.263892] The CDMA sync queue is empty.
[ 315.267898] 
[ 315.269393] 
[ 315.269393] channel 2 - 15830000.se
[ 315.269393] 
[ 315.275828] NvHost basic channel registers:
[ 315.280008] CMDFIFO_STAT_0: 00002040
[ 315.283660] CMDFIFO_RDATA_0: 28d00b48
[ 315.287320] CMDP_OFFSET_0: 00000000
[ 315.290979] CMDP_CLASS_0: 00000000
[ 315.294640] CHANNELSTAT_0: 00000000
[ 315.298298] The CDMA sync queue is empty.
[ 315.302303] 
[ 315.303787] 
[ 315.303787] channel 3 - 15840000.se
[ 315.303787] 
[ 315.310223] NvHost basic channel registers:
[ 315.314402] CMDFIFO_STAT_0: 00002040
[ 315.318062] CMDFIFO_RDATA_0: 0009c010
[ 315.321721] CMDP_OFFSET_0: 00000000
[ 315.325381] CMDP_CLASS_0: 00000000
[ 315.329040] CHANNELSTAT_0: 00000000
[ 315.332698] The CDMA sync queue is empty.
[ 315.336703] 
[ 315.338190] 
[ 315.338190] ---- host general irq ----
[ 315.338190] 
[ 315.344887] sync_intc0mask = 0x00000001
[ 315.348716] sync_intmask = 0x50000003
[ 315.352372] 
[ 315.352372] ---- host syncpt irq mask ----
[ 315.352372] 
[ 315.359410] 
[ 315.359410] ---- host syncpt irq status ----
[ 315.359410] 
[ 315.366622] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[ 315.372015] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 315.377404] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 315.382794] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 315.388184] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 315.393573] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 315.398963] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[ 315.404351] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[ 315.409740] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[ 315.415130] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[ 315.420520] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[ 315.425996] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[ 315.431473] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[ 315.436950] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[ 315.442426] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[ 315.447903] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[ 315.453378] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[ 315.458854] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[ 315.464333] 17000000.gp10b pbdma 0: 
[ 315.467726] id: 0 (tsg), next_id: 0 (tsg) status: valid
[ 315.473129] PUT: 0000002000069520 GET: 0000002000069520 FETCH: 00000dfb HEADER: 20000074
[ 315.481204] 
[ 315.482689] 17000000.gp10b eng 0: 
[ 315.485912] id: 0 (tsg), next_id: 0 (tsg), ctx: valid busy 
[ 315.491491] 
[ 315.493162] 17000000.gp10b eng 1: 
[ 315.496385] id: 0 (tsg), next_id: 0 (tsg), ctx: invalid [ 315.501693] 
[ 315.503176] 
[ 319.720003] sdhci-tegra 3440000.sdhci: clock enable is failed, ret: -110
[ 329.727977] mmc1: Timeout waiting for hardware interrupt.
[ 329.733366] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 329.739185] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 329.745005] sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000000
[ 329.750825] sdhci: Argument: 0x92003e01 | Trn mode: 0x00000013
[ 329.756644] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000016
[ 329.762463] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 329.768281] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 329.774099] sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 329.779918] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 329.785737] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 329.791556] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 329.797374] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 329.803191] sdhci: Host ctl2: 0x0000300b
[ 329.807104] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f2100010
[ 329.813614] sdhci: ===========================================
[ 331.371972] INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 331.377630] 0-...: (1 GPs behind) idle=ecb/1/0 softirq=16702/16702 fqs=1243 
[ 331.384747] (detected by 3, t=5252 jiffies, g=6535, c=6534, q=207)
[ 331.391010] Task dump for CPU 0:
[ 331.394228] swapper/0 R running task 0 0 0 0x00000002
[ 331.401278] Call trace:
[ 331.403722] [<ffffffc000085db8>] __switch_to+0xa4/0xb0
[ 331.408851] [<ffffffc0010f7ea0>] init_thread_union+0x3ea0/0x4000
[ 331.414844] rcu_preempt kthread starved for 4007 jiffies! g6535 c6534 f0x0 s3 ->state=0x1
[ 333.111985] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 338.123975] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 339.839961] mmc1: Timeout waiting for hardware interrupt.
[ 339.845347] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 339.851166] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 339.856985] sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000000
[ 339.862803] sdhci: Argument: 0x92003e01 | Trn mode: 0x00000013
[ 339.868621] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000016
[ 339.874439] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 339.880258] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 339.886077] sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 339.891895] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 339.897715] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 339.903533] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 339.909352] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 339.915169] sdhci: Host ctl2: 0x0000300b
[ 339.919082] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f2100010
[ 339.925592] sdhci: ===========================================
[ 342.919985] ata1.00: exception Emask 0x0 SAct 0x2000 SErr 0x0 action 0x6 frozen
[ 342.927290] ata1.00: failed command: READ FPDMA QUEUED
[ 342.932494] ata1.00: cmd 60/70:68:50:86:14/00:00:00:00:00/40 tag 13 ncq 57344 in
[ 342.932494] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 342.947287] ata1.00: status: { DRDY }
[ 342.950986] ata1: hard resetting link
[ 343.135965] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 343.443978] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 348.147958] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 348.161156] Watchdog detected hard LOCKUP on cpu 4
[ 348.161156] ------------[ cut here ]------------
[ 348.161157] WARNING: at ffffffc000137e04 [verbose debug info unavailable]
[ 348.161166] Modules linked in: fuse bnep bluetooth tn40xx(O) bcmdhd pci_tegra bluedroid_pm
[ 348.161166] 
[ 348.161170] CPU: 3 PID: 1258 Comm: compiz Tainted: G B D O 4.4.15-tegra #1
[ 348.161171] Hardware name: quill (DT)
[ 348.161173] task: ffffffc1dcae3e80 ti: ffffffc06a868000 task.ti: ffffffc06a868000
[ 348.161179] PC is at watchdog_timer_fn+0x230/0x33c
[ 348.161182] LR is at watchdog_timer_fn+0x230/0x33c
[ 348.161184] pc : [<ffffffc000137e04>] lr : [<ffffffc000137e04>] pstate: 800001c5
[ 348.161184] sp : ffffffc06a86b5a0
[ 348.161187] x29: ffffffc06a86b5a0 x28: 0000000000000004 
[ 348.161189] x27: ffffffc0010fcb28 x26: ffffffc1ffe2e260 
[ 348.161191] x25: ffffffc0010cf2c0 x24: ffffffc06a86b880 
[ 348.161193] x23: 0000000000000000 x22: 0000000000000000 
[ 348.161195] x21: ffffffc0010fc000 x20: ffffffc0010cf000 
[ 348.161197] x19: ffffffc0010cf248 x18: ffffffc000ad5840 
[ 348.161199] x17: 000000000000000e x16: ffffffc000a6da80 
[ 348.161201] x15: 0000000000000004 x14: 0000000000a41ba3 
[ 348.161203] x13: 00000000009d3000 x12: 0000000000a41ba3 
[ 348.161205] x11: ffffffc000a6d9f0 x10: ffffffc0012bae88 
[ 348.161206] x9 : ffffffc06a86b4f0 x8 : 4c20647261682064 
[ 348.161208] x7 : 6574636574656420 x6 : ffffffc0012bb838 
[ 348.161210] x5 : 000000028877dabe x4 : 0000000000000000 
[ 348.161212] x3 : ffffffc06a86b410 x2 : 0000000000010001 
[ 348.161213] x1 : ffffffc06a868000 x0 : 0000000000000026 
[ 348.161214] 
[ 348.161215] ---[ end trace c63bb006497bdf34 ]---
[ 348.161216] Call trace:
[ 348.161219] [<ffffffc000137e04>] watchdog_timer_fn+0x230/0x33c
[ 348.161223] [<ffffffc00010296c>] __hrtimer_run_queues+0x140/0x350
[ 348.161226] [<ffffffc0001033cc>] hrtimer_interrupt+0x9c/0x1e0
[ 348.161230] [<ffffffc000842b14>] tegra186_timer_isr+0x24/0x30
[ 348.161234] [<ffffffc0000f02f4>] handle_irq_event_percpu+0x84/0x290
[ 348.161236] [<ffffffc0000f0544>] handle_irq_event+0x44/0x74
[ 348.161238] [<ffffffc0000f384c>] handle_fasteoi_irq+0xb4/0x188
[ 348.161241] [<ffffffc0000ef914>] generic_handle_irq+0x24/0x38
[ 348.161243] [<ffffffc0000efc1c>] __handle_domain_irq+0x60/0xb4
[ 348.161245] [<ffffffc0000815dc>] gic_handle_irq+0x5c/0xb4
[ 348.161248] [<ffffffc0000845e8>] el1_irq+0x68/0xd8
[ 348.161250] [<ffffffc0000eeb08>] vprintk_emit+0x318/0x52c
[ 348.161254] [<ffffffc00052c344>] dev_vprintk_emit+0xe0/0x1dc
[ 348.161255] [<ffffffc00052c494>] dev_printk_emit+0x54/0x5c
[ 348.161257] [<ffffffc00052c4e0>] __dev_printk+0x44/0x8c
[ 348.161259] [<ffffffc00052c7f8>] dev_warn+0x64/0x6c
[ 348.161263] [<ffffffc00047f678>] gk20a_wait_until_counter_is_N.isra.12.constprop.24+0x104/0x12c
[ 348.161266] [<ffffffc00048279c>] gk20a_free_channel+0x94/0x5c4
[ 348.161268] [<ffffffc000482d38>] gk20a_channel_release+0x58/0x160
[ 348.161272] [<ffffffc0001bfa2c>] __fput+0x90/0x1bc
[ 348.161273] [<ffffffc0001bfbb4>] ____fput+0xc/0x14
[ 348.161276] [<ffffffc0000bb290>] task_work_run+0xa8/0xc4
[ 348.161279] [<ffffffc000088d08>] do_notify_resume+0x58/0x68
[ 348.161281] [<ffffffc000084d68>] work_pending+0x1c/0x20
[ 348.449812] ata1.00: qc timeout (cmd 0xec)
[ 348.455208] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 348.461306] ata1.00: revalidation failed (errno=-5)
[ 348.466239] ata1: hard resetting link
[ 348.959966] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 349.951944] mmc1: Timeout waiting for hardware interrupt.
[ 349.957332] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 349.963151] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 349.968971] sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000000
[ 349.974789] sdhci: Argument: 0x92003e01 | Trn mode: 0x00000013
[ 349.980609] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000016
[ 349.986427] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 349.992245] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 349.998063] sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 350.003880] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 350.009698] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 350.015516] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 350.021335] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 350.027152] sdhci: Host ctl2: 0x0000300b
[ 350.031064] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f2100010
[ 350.037573] sdhci: ===========================================
[ 353.467949] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 358.479941] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 358.963945] ata1.00: qc timeout (cmd 0xec)
[ 358.968096] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 358.974191] ata1.00: revalidation failed (errno=-5)
[ 358.979132] ata1: limiting SATA link speed to 1.5 Gbps
[ 358.984304] ata1: hard resetting link
[ 359.479949] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 360.063926] mmc1: Timeout waiting for hardware interrupt.
[ 360.069312] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 360.075131] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 360.080949] sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000000
[ 360.086769] sdhci: Argument: 0x12003e00 | Trn mode: 0x00000013
[ 360.092588] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000016
[ 360.098405] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 360.104224] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 360.110042] sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 360.115861] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 360.121679] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 360.127497] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 360.133316] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 360.139134] sdhci: Host ctl2: 0x0000300b
[ 360.143046] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f2100010
[ 360.149555] sdhci: ===========================================
[ 363.491928] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 368.503923] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 370.175908] mmc1: Timeout waiting for hardware interrupt.
[ 370.181293] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 370.187113] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 370.192933] sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000000
[ 370.198751] sdhci: Argument: 0x12003e00 | Trn mode: 0x00000013
[ 370.204570] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000016
[ 370.210388] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 370.216207] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 370.222025] sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 370.227844] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 370.233662] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 370.239479] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 370.245297] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 370.251115] sdhci: Host ctl2: 0x0000300b
[ 370.255028] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f2100010
[ 370.261538] sdhci: ===========================================
[ 373.515913] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 378.527906] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 380.287891] mmc1: Timeout waiting for hardware interrupt.
[ 380.293277] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 380.299097] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 380.304917] sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000000
[ 380.310736] sdhci: Argument: 0x12003e00 | Trn mode: 0x00000013
[ 380.316555] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000016
[ 380.322373] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 380.328191] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 380.334009] sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 380.339826] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 380.345644] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 380.351462] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 380.357280] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 380.363098] sdhci: Host ctl2: 0x0000300b
[ 380.367010] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f2100010
[ 380.373520] sdhci: ===========================================
[ 381.879896] sdhci-tegra 3440000.sdhci: clock enable is failed, ret: -62
[ 383.539899] gk20a 17000000.gp10b: gk20a_wait_until_counter_is_N: gk20a_free_channel: channel 505, still waiting, references left: 5, waiting for: 1
[ 391.409635] Bad mode in Synchronous Abort handler detected, code 0x86000005 -- IABT (current EL)
[ 391.409638] Bad mode in Synchronous Abort handler detected, code 0x86000006 -- IABT (current EL)
[ 391.409640] Bad mode in Synchronous Abort handler detected, code 0x86000006 -- IABT (current EL)
[ 391.409642] Bad mode in Synchronous Abort handler detected, code 0x86000005 -- IABT (current EL)
[ 391.409644] Internal error: Oops - bad mode: 0 [#2] PREEMPT SMP
[ 391.409653] Modules linked in: fuse bnep bluetooth tn40xx(O) bcmdhd pci_tegra bluedroid_pm
[ 391.409657] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B D W O 4.4.15-tegra #1
[ 391.409658] Hardware name: quill (DT)
[ 391.409660] task: ffffffc001104530 ti: ffffffc0010f4000 task.ti: ffffffc0010f4000
[ 391.409663] PC is at 0x0
[ 391.409668] LR is at get_page_from_freelist+0x738/0xa6c
[ 391.409670] pc : [<0000000000000000>] lr : [<ffffffc000171880>] pstate: 200000c5
[ 391.409671] sp : ffffffc0010f77b0
[ 391.409673] x29: ffffffc0010f77b0 x28: ffffffc00124e180 
[ 391.409676] x27: 0000000000000003 x26: 0000000021020002 
[ 391.409678] x25: ffffffc00124e700 x24: 0000000000000008 
[ 391.409680] x23: ffffffc0010fc000 x22: 0000000002095220 
[ 391.409682] x21: 00000000020b5220 x20: 0000000000000000 
[ 391.409684] x19: 0000000000000003 x18: 0000000003200031 
[ 391.409685] x17: 0000007fabbadf18 x16: ffffffc000a6da80 
[ 391.409687] x15: 0000000000000001 x14: 0000000000008948 
[ 391.409689] x13: 0000000000000008 x12: ffffff8000f45128 
[ 391.409691] x11: ffffff8001000064 x10: 0000000000000003 
[ 391.409693] x9 : 0000000000000000 x8 : 0000000000000068 
[ 391.409695] x7 : ffffffc00124e3d8 x6 : 0000000000000004 
[ 391.409696] x5 : ffffffc00124e3c8 x4 : 0000000000006705 
[ 391.409698] x3 : 0000000000000003 x2 : 0000000000000040 
[ 391.409700] x1 : 0000000067066705 x0 : ffffffc00124e700 
[ 391.409701] 
[ 391.409702] Process swapper/0 (pid: 0, stack limit = 0xffffffc0010f4020)
[ 391.409703] Call trace:
[ 391.409704] [< (null)>] (null)
[ 391.409707] [<ffffffc000171ce8>] __alloc_pages_nodemask+0x134/0x9f4
[ 391.409709] [<ffffffc000172620>] __alloc_page_frag+0x78/0x178
[ 391.409713] [<ffffffc0008f1fe4>] __napi_alloc_skb+0xb8/0x10c
[ 391.409717] [<ffffffc0008feec8>] napi_get_frags+0x38/0x50
[ 391.409736] [<ffffffbffcf52f20>] bdx_poll+0x2c8/0xca8 [tn40xx]
[ 391.409739] [<ffffffc00090130c>] net_rx_action+0x12c/0x364
[ 391.409742] [<ffffffc0000a41bc>] __do_softirq+0x10c/0x368
[ 391.409744] [<ffffffc0000a4668>] irq_exit+0x84/0xdc
[ 391.409747] [<ffffffc0000efc28>] __handle_domain_irq+0x6c/0xb4
[ 391.409749] [<ffffffc0000815dc>] gic_handle_irq+0x5c/0xb4
[ 391.409751] [<ffffffc0000845e8>] el1_irq+0x68/0xd8
[ 391.409757] [<ffffffc0007368d0>] cpuidle_enter+0x18/0x20
[ 391.409760] [<ffffffc0000e3040>] call_cpuidle+0x28/0x50
[ 391.409762] [<ffffffc0000e31e4>] cpu_startup_entry+0x17c/0x340
[ 391.409765] [<ffffffc000a5cd54>] rest_init+0x84/0x8c
[ 391.409770] [<ffffffc000fba97c>] start_kernel+0x39c/0x3b0
[ 391.409771] [<0000000080a63000>] 0x80a63000
[ 391.409775] ---[ end trace c63bb006497bdf35 ]---
[ 391.409776] Internal error: Oops - bad mode: 0 [#3] PREEMPT SMP
[ 391.411542] Modules linked in: fuse bnep bluetooth tn40xx(O) bcmdhd pci_tegra bluedroid_pm
[ 391.411546] CPU: 5 PID: 717 Comm: in:imklog Tainted: G B D W O 4.4.15-tegra #1
[ 391.411547] Hardware name: quill (DT)
[ 391.411549] task: ffffffc070685780 ti: ffffffc1eb018000 task.ti: ffffffc1eb018000
[ 391.411550] PC is at 0x0
[ 391.411553] LR is at get_page_from_freelist+0x4fc/0xa6c
[ 391.411555] pc : [<0000000000000000>] lr : [<ffffffc000171644>] pstate: 600000c5
[ 391.411555] sp : ffffffc1eb01ba50
[ 391.411558] x29: ffffffc1eb01ba50 x28: ffffffc00124e180 
[ 391.411559] Kernel panic - not syncing: Fatal exception in interrupt
[ 391.411561] x27: ffffffc0010d8088 x26: 0000000000000020 
[ 391.411563] x25: 00000001fed81000 x24: 0000000000000001 
[ 391.411565] x23: ffffffc0010fc000 x22: 00000000024200ca 
[ 391.411567] x21: ffffffc1ffe590a8 x20: 0000000000000001 
[ 391.411569] x19: ffffffc1ffe59088 x18: 0000000000000014 
[ 391.411570] x17: 0000007f7d434760 x16: 000000000048f6b8 
[ 391.411572] x15: 00000000000001db x14: 2ce33e6c02ce33e7 
[ 391.411574] x13: 000000000000016d x12: a3d70a3d70a3d70b 
[ 391.411576] x11: 00000000000000b9 x10: 0000000000000045 
[ 391.411578] x9 : 0000000000000002 x8 : 0000000000000000 
[ 391.411579] x7 : 0000000000000000 x6 : 0000000000000000 
[ 391.411581] x5 : 000000000012f3af x4 : 0000000000000080 
[ 391.411583] x3 : 0000000000006705 x2 : 0000000000000002 
[ 391.411584] x1 : 0000000067076705 x0 : ffffffc00124e700 
[ 391.411585] 
[ 391.411587] Process in:imklog (pid: 717, stack limit = 0xffffffc1eb018020)
[ 391.411587] Call trace:
[ 391.411588] [< (null)>] (null)
[ 391.411591] [<ffffffc000171ce8>] __alloc_pages_nodemask+0x134/0x9f4
[ 391.411595] [<ffffffc0001966cc>] handle_mm_fault+0x1200/0x1598
[ 391.411598] [<ffffffc00009ab74>] do_page_fault+0x1c8/0x444
[ 391.411600] [<ffffffc00008139c>] do_mem_abort+0x40/0xa0
[ 391.411602] [<ffffffc000084adc>] el0_da+0x18/0x1c
[ 391.411603] ---[ end trace c63bb006497bdf36 ]---
[ 391.411605] Internal error: Oops - bad mode: 0 [#4] PREEMPT SMP
[ 391.413391] Modules linked in: fuse bnep bluetooth tn40xx(O) bcmdhd pci_tegra bluedroid_pm
[ 391.413394] CPU: 3 PID: 169 Comm: kworker/u12:5 Tainted: G B D W O 4.4.15-tegra #1
[ 391.413395] Hardware name: quill (DT)
[ 391.413401] Workqueue: events_unbound call_usermodehelper_exec_work
[ 391.413402] task: ffffffc1f4025780 ti: ffffffc1ef764000 task.ti: ffffffc1ef764000
[ 391.413404] PC is at 0x0
[ 391.413406] LR is at get_page_from_freelist+0x738/0xa6c
[ 391.413407] pc : [<0000000000000000>] lr : [<ffffffc000171880>] pstate: 200000c5
[ 391.413408] sp : ffffffc1ef767970
[ 391.413411] x29: ffffffc1ef767970 x28: ffffffc00124e180 
[ 391.413413] x27: 0000000000000002 x26: ffffffc1c358f380 
[ 391.413415] x25: ffffffc00124e700 x24: 0000000000000004 
[ 391.413417] x23: ffffffc0010fc000 x22: 00000000026000c0 
[ 391.413419] x21: 00000000026200c0 x20: 0000000000000000 
[ 391.413421] x19: 0000000000000002 x18: 0000000000000014 
[ 391.413423] x17: 0000007f915fd1a8 x16: ffffffc00020027c 
[ 391.413425] x15: ffffffc000a6da80 x14: 00000000fa83b2da 
[ 391.413426] x13: 0000000000000001 x12: 000000000005cf6d 
[ 391.413428] x11: 0000000000000000 x10: 00000000000008a0 
[ 391.413430] x9 : 0000000000000000 x8 : 0000000000000068 
[ 391.413432] x7 : ffffffc00124e370 x6 : 0000000000000003 
[ 391.413434] x5 : ffffffc00124e360 x4 : 0000000000006705 
[ 391.413435] x3 : 000000000000000c x2 : 0000000000000040 
[ 391.413437] x1 : 0000000067096705 x0 : ffffffc00124e700 
[ 391.413437] 
[ 391.413439] Process kworker/u12:5 (pid: 169, stack limit = 0xffffffc1ef764020)
[ 391.413440] Call trace:
[ 391.413441] CPU5: stopping
[ 391.413442] [< (null)>] (null)
[ 391.413444] CPU: 5 PID: 717 Comm: in:imklog Tainted: G B D W O 4.4.15-tegra #1
[ 391.413447] [<ffffffc000171ce8>] __alloc_pages_nodemask+0x134/0x9f4
[ 391.413447] Hardware name: quill (DT)
[ 391.413449] [<ffffffc000172834>] alloc_kmem_pages_node+0x30/0x38
[ 391.413450] Call trace:
[ 391.413453] [<ffffffc00009db00>] copy_process.isra.49+0x1a8/0x17e8
[ 391.413457] [<ffffffc000088fd8>] dump_backtrace+0x0/0x100
[ 391.413459] [<ffffffc00009f26c>] _do_fork+0x74/0x38c
[ 391.413461] [<ffffffc0000891a0>] show_stack+0x14/0x1c
[ 391.413463] [<ffffffc00009f5d0>] kernel_thread+0x34/0x3c
[ 391.413467] [<ffffffc0003070f0>] dump_stack+0x90/0xb4
[ 391.413469] [<ffffffc0000b40a0>] call_usermodehelper_exec_work+0x2c/0xd8
[ 391.413472] [<ffffffc00008ec10>] handle_IPI+0x300/0x30c
[ 391.413474] [<ffffffc0000b7240>] process_one_work+0x154/0x434
[ 391.413476] [<ffffffc00008161c>] gic_handle_irq+0x9c/0xb4
[ 391.413478] [<ffffffc0000b7654>] worker_thread+0x134/0x40c
[ 391.413479] [<ffffffc0000845e8>] el1_irq+0x68/0xd8
[ 391.413482] [<ffffffc0000bcebc>] kthread+0xe0/0xf4
[ 391.413483] [<ffffffc0000a4668>] irq_exit+0x84/0xdc
[ 391.413485] [<ffffffc000084e10>] ret_from_fork+0x10/0x40
[ 391.413488] [<ffffffc0000efc28>] __handle_domain_irq+0x6c/0xb4
[ 391.413489] ---[ end trace c63bb006497bdf37 ]---
[ 391.413490] [<ffffffc0000815dc>] gic_handle_irq+0x5c/0xb4
[ 391.413492] [<ffffffc0000845e8>] el1_irq+0x68/0xd8
[ 391.415259] [<ffffffc0000ae354>] exit_signals+0xa8/0x118
[ 391.415262] [<ffffffc0000a1ed8>] do_exit+0x78/0x9a0
[ 391.415264] [<ffffffc000089330>] die+0x188/0x1a0
[ 391.415266] [<ffffffc00008940c>] arm64_notify_die+0x1c/0x58
[ 391.415269] [<ffffffc000089660>] bad_mode+0x84/0x90
[ 391.415271] [<ffffffc000171644>] get_page_from_freelist+0x4fc/0xa6c
[ 391.415272] [<ffffffc000171ce8>] __alloc_pages_nodemask+0x134/0x9f4
[ 391.415274] [<ffffffc0001966cc>] handle_mm_fault+0x1200/0x1598
[ 391.415276] note: kworker/u12:5[169] exited with preempt_count 1
[ 391.415277] [<ffffffc00009ab74>] do_page_fault+0x1c8/0x444
[ 391.415279] [<ffffffc00008139c>] do_mem_abort+0x40/0xa0
[ 391.415280] [<ffffffc000084adc>] el0_da+0x18/0x1c
[ 391.415286] ------------[ cut here ]------------
[ 391.415287] WARNING: at ffffffc0000a452c [verbose debug info unavailable]
[ 391.415292] Modules linked in: fuse bnep bluetooth tn40xx(O) bcmdhd pci_tegra bluedroid_pm
[ 391.415293] 
[ 391.415295] CPU: 3 PID: 169 Comm: kworker/u12:5 Tainted: G B D W O 4.4.15-tegra #1
[ 391.415296] Hardware name: quill (DT)
[ 391.415302] task: ffffffc1f4025780 ti: ffffffc1ef764000 task.ti: ffffffc1ef764000
[ 391.415304] PC is at __local_bh_enable_ip+0x68/0xb8
[ 391.415308] LR is at _raw_spin_unlock_bh+0x20/0x28
[ 391.415310] pc : [<ffffffc0000a452c>] lr : [<ffffffc000a62044>] pstate: 400001c5
[ 391.415311] sp : ffffffc1ef767680
[ 391.415313] x29: ffffffc1ef767680 x28: ffffffc00124e180 
[ 391.415315] x27: 0000000000000002 x26: ffffffc1f4025780 
[ 391.415317] x25: ffffffc1f4025780 x24: 00000000000001c0 
[ 391.415319] x23: 0000000000000001 x22: 0000000000000000 
[ 391.415321] x21: ffffffc000e27c50 x20: ffffffc1f4025780 
[ 391.415322] x19: ffffffc0012de458 x18: 0000000000000014 
[ 391.415324] x17: 0000007f915fd1a8 x16: ffffffc00020027c 
[ 391.415326] x15: ffffffc000a6da80 x14: 0ffffffffffffffe 
[ 391.415328] x13: 0000000000000028 x12: ffffffc001111000 
[ 391.415330] x11: ffffffc001298e88 x10: 0000000000000001 
[ 391.415332] x9 : 00000000000090ec x8 : ffffffc1f4025fa0 
[ 391.415333] x7 : 0000000000000000 x6 : 00000002d9090768 
[ 391.415335] x5 : ffffffc001115238 x4 : ffffffc0010fd048 
[ 391.415337] x3 : ffffffc001115198 x2 : 0000000000000000 
[ 391.415339] x1 : 0000000000000201 x0 : ffffffc001259000 
[ 391.415339] 
[ 391.415340] ---[ end trace c63bb006497bdf38 ]---
[ 391.415341] Call trace:
[ 391.415343] [<ffffffc0000a452c>] __local_bh_enable_ip+0x68/0xb8
[ 391.415345] [<ffffffc000a62044>] _raw_spin_unlock_bh+0x20/0x28
[ 391.415352] [<ffffffc0001272ac>] cgroup_exit+0x58/0xe4
[ 391.415354] [<ffffffc0000a20fc>] do_exit+0x29c/0x9a0
[ 391.415356] [<ffffffc0

Hi Buckwheat1,

We have no experience of Startech 10G card before, because don’t have available driver. We have test for Intel 10G NIC card.

Could you make sure it is the issue from Startech 10G or from X300 SDR?

I am currently running in a bit of a “degraded mode” due to a lost home partition, so most of my logs and references I had saved are now gone…it makes it hard to look at any detail. However, you can be sure that the PCIe side is working, the logs show it was able to run at the full gen. 2 speed. Further, the system detected the PHY, so the chipset of the network card itself had at least partial success. I see packets went to the PHY, and simply disappeared without any detected error…so perhaps it isn’t this side of the network connection which has gone wrong. The presence of packets without network error implies the other end did not reply…perhaps the X300 is “inert” until firmware or a driver is added.

Hi linuxdev:

I followed the same steps to get samples from the X300 through the Startech 10G ethernet card on the Jetson TX2 as on a CyberPower gaming PC running Ubuntu 16.04 with a Intel X520 DA2 10G ethernet
adapter. I noted earlier postings about the PEX10000SFP issues with the TX1 and TX2 and WayneWWW’s
test with the Intel X540 adapter. I have received an Intel X520 DA1 PCIe x8 adapter which I will
test on the TX2 with the L4T ixgbe.ko driver (v4.4.6) after I receive a x4 to x8 PCIe adapter from Orbit Micro. The following page from Ettus Research recommends using the X520 or X710 adapters with the X300:

https://kb.ettus.com/X300/X310

I have also emailed my findings on the Startech to Tehuti Networks (who have written the tn40xx driver).

As a side note I am able to get RF samples at 25 Msps from the 1G ethernet port on the TX2 connected
to a USRP N210 software defined radio.The commands issued are the same on the PC and the Jetson.

There have been issues with PCIe end point device drivers not porting DMA correctly when SMMU is enabled, but I do not know how to test if that is the case for this driver. Most of the people who posted on the topic were designing their own FPGA and had access to the driver source and knew the details. The gist is that some drivers assume an address returned for DMA use is a physical address, but SMMU may do translation and the address used may not be what is expected.

Does anyone know a definitive test to find out if a PCIe device driver is trying to use DMA when you don’t have the source code to the driver?

Hi linuxdev:

I have the tn40xx driver source from which I built the tn40xx.ko driver. I did a grep
in the source directory for DMA and came up with the following (so DMA is being used):

root@tegra-ubuntu:/home/ubuntu/Downloads/tn40xx_driver/Linux# grep DMA *.c
tn40.c:                                 PCI_DMA_FROMDEVICE);
tn40.c:                                   PCI_DMA_FROMDEVICE);
tn40.c:                dma = pci_map_page(priv->pdev, page, 0L, page_size, PCI_DMA_FROMDEVICE);
tn40.c:            dm->dma = pci_map_single(priv->pdev, skb->data, f->m.pktsz, PCI_DMA_FROMDEVICE);
tn40.c:                               PCI_DMA_FROMDEVICE);
tn40.c:                                            PCI_DMA_FROMDEVICE);
tn40.c:                                 PCI_DMA_FROMDEVICE);
tn40.c: * Currently the NIC supports TSO, checksumming and gather DMA
tn40.c: * TXDB is used to keep track of all skbs owned by SW and their DMA addresses.
tn40.c: * creates DMA mappings, builds TXD descriptors and kicks the HW by updating
tn40.c:/* txdb_map_skb - Create and store DMA mappings for skb's data blocks.
tn40.c: * This function creates DMA mappings for skb's data blocks and writes them to
tn40.c:		dmaAddr = pci_map_single(priv->pdev, skb->data, len, PCI_DMA_TODEVICE);
tn40.c:			dmaAddr = pci_map_page(priv->pdev, frag->page,frag->page_offset, frag->size, PCI_DMA_TODEVICE);
tn40.c:			dmaAddr = skb_frag_dma_map(&priv->pdev->dev, frag, 0, frag->size, PCI_DMA_TODEVICE);
tn40.c: *          Note: The driver must NOT put the skb in its DMA ring.
tn40.c: * This function scans the TXF fifo for descriptors, frees DMA mappings and
tn40.c:        /* First has to come tx_maps containing DMA */
tn40.c:            pci_unmap_page(priv->pdev, db->rptr->addr.dma, db->rptr->len, PCI_DMA_TODEVICE);
tn40.c:                           db->rptr->len, PCI_DMA_TODEVICE);
tn40.c: * /usr/src/linux/Documentation/DMA-{API, mapping}.txt
tn40.c:    if (!(err = pci_set_dma_mask(pdev, LUXOR__DMA_64BIT_MASK)) &&
tn40.c:            !(err = pci_set_consistent_dma_mask(pdev, LUXOR__DMA_64BIT_MASK)))
tn40.c:        if ((err = pci_set_dma_mask(pdev, LUXOR__DMA_32BIT_MASK)) ||
tn40.c:                        LUXOR__DMA_32BIT_MASK)))
tn40.c:            ERR("No usable DMA configuration - aborting\n");
tn40.c:		ndev->features |= NETIF_F_HIGHDMA;
tn40.c:		ndev->vlan_features |= NETIF_F_HIGHDMA;

There was a posting from vidyas last month to disable SMMU on TX2 but I have not tried it and I
saw one related posting from you where you convert a .dtb file to .dts, edit and then recompile .dts
to .dtb using the dtc compiler and specify the modified file in the FDT key/value pair entry in /boot/extlinux/extlinux.conf.

Following are the lines from vidyas’ post:

"following need to be removed.

  1. #stream-id-cells = <1>;” from “tegra_pcie” node
  2. “<&{/pcie-controller@10003000} TEGRA_SID_AFI>,” from “smmu” node"

An edit to the dtb file would actually be quite simple to test…this would probably be the next step anyway.

Hi linuxdev:

I found the lines that vidyas suggested removing in the following file:

/usr/src/hardware/nvidia/soc/t18x/kernel-dts/tegra186-soc/tegra186-soc-base.dtsi

not in the dts converted from /boot/tegra186-quill-p3310-1000-c03-00-base.dtb which you had
mentioned needed to be edited in your 06/22 post for the topic “How to map kernel memory to user memory?”

Within kernel source the dts and dtsi files are combined then processed to output a single dtb file. The dtb, when reverse compiled, will have the net sum equivalent of the those different dts and dtsi files. Basically you need to find lines in the reverse compiled dtb which correspond to those in the dtsi change. Reverse compile does of course lack any comments, and some naming may differ, but there will be a block of source in the reverse compile which should be fairly obvious as a match upon examination. I consider this easier than making a change in the dtsi then configuring and building a dtb from scratch since you know the reverse compiled version already is an exact match to your running system and no kernel source is involved.