Closed presslab-us closed 4 years ago
Same for me:
TN9710P with Marvel PHY
Linux kelewan 5.7.0-1-amd64 #1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux
....
[ 7.722332] MV88X3310 initdata applied
[ 7.722415] MV88X3310 I/D version is 0.3.4.0
[ 7.822699] ------------[ cut here ]------------
[ 7.822708] WARNING: CPU: 1 PID: 338 at net/ethtool/common.c:346 ethtool_check_ops+0x14/0x20
[ 7.822709] Modules linked in: intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi nls_ascii snd_hda_intel snd_virtuoso nls_cp437 snd_intel_dspcfg snd_oxygen_lib snd_hda_codec vfat kvm_intel snd_mpu401_uart fat snd_hda_core snd_hwdep snd_pcm_oss kvm snd_mixer_oss irqbypass cuse ghash_clmulni_intel fuse snd_pcm nvidia_drm(POE) aesni_intel drm_kms_helper libaes crypto_simd cec cryptd snd_seq_midi glue_helper nvidia_modeset(POE) evdev snd_seq_midi_event mei_wdt snd_rawmidi nvidia(POE) intel_cstate snd_seq intel_uncore ipmi_devintf snd_seq_device intel_rapl_perf ipmi_msghandler snd_timer nct6775 hwmon_vid coretemp snd iTCO_wdt 8021q garp stp sg mrp llc iTCO_vendor_support mei_me soundcore mei watchdog tn40xx(OE+) pcspkr button loop nfsd auth_rpcgss nfs_acl lockd drm grace sunrpc ip_tables x_tables autofs4 xfs raid10 raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log dm_mod raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor
[ 7.822762] raid6_pq libcrc32c crc32c_generic md_mod sd_mod t10_pi crc_t10dif crct10dif_generic ahci libahci libata crct10dif_pclmul crct10dif_common i2c_i801 crc32_pclmul crc32c_intel xhci_pci xhci_hcd scsi_mod ehci_pci ehci_hcd lpc_ich mfd_core e1000e usbcore ptp pps_core usb_common video
[ 7.822780] CPU: 1 PID: 338 Comm: systemd-udevd Tainted: P OE 5.7.0-1-amd64 #1 Debian 5.7.6-1
[ 7.822782] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B85M Pro4, BIOS P1.90 12/06/2013
[ 7.822785] RIP: 0010:ethtool_check_ops+0x14/0x20
[ 7.822789] Code: bc f4 ff ff ff eb e6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 31 c0 48 83 7f 70 00 74 0d 8b 17 85 d2 75 07 <0f> 0b b8 ea ff ff ff c3 0f 1f 40 00 0f 1f 44 00 00 4c 8b 8f f8 01
[ 7.822790] RSP: 0018:ffffb443404d7a68 EFLAGS: 00010246
[ 7.822793] RAX: 0000000000000000 RBX: ffff88a40c17a000 RCX: ffff88a4020fec10
[ 7.822794] RDX: 0000000000000000 RSI: ffffb44340661270 RDI: ffffffffc0b57000
[ 7.822796] RBP: ffff88a407c56000 R08: 0000000000000000 R09: 0000000000000000
[ 7.822797] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 7.822798] R13: ffffffff866f3c80 R14: ffff88a407c56000 R15: ffff88a40c17a0b0
[ 7.822801] FS: 00007f839bf2e880(0000) GS:ffff88a40dc80000(0000) knlGS:0000000000000000
[ 7.822802] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7.822804] CR2: 00007fe357de7de0 CR3: 000000040b592006 CR4: 00000000001606e0
[ 7.822806] Call Trace:
[ 7.822814] register_netdevice+0x6a/0x570
[ 7.822827] ? MV88X3310_mdio_reset.cold+0x3b7/0x5e3 [tn40xx]
[ 7.822832] register_netdev+0x1c/0x40
[ 7.822841] bdx_probe+0x290/0x930 [tn40xx]
[ 7.822850] local_pci_probe+0x42/0x80
[ 7.822855] pci_device_probe+0x104/0x1a0
[ 7.822861] really_probe+0x147/0x3c0
[ 7.822864] driver_probe_device+0xb6/0x100
[ 7.822868] device_driver_attach+0x53/0x60
[ 7.822871] __driver_attach+0x8a/0x150
[ 7.822874] ? device_driver_attach+0x60/0x60
[ 7.822877] ? device_driver_attach+0x60/0x60
[ 7.822880] bus_for_each_dev+0x78/0xc0
[ 7.822883] bus_add_driver+0x14d/0x1f0
[ 7.822887] driver_register+0x6c/0xc0
[ 7.822894] ? bdx_tx_timeout+0x30/0x30 [tn40xx]
[ 7.822898] do_one_initcall+0x46/0x200
[ 7.822903] ? free_unref_page_commit+0x8b/0x110
[ 7.822909] ? _cond_resched+0x15/0x30
[ 7.822914] ? kmem_cache_alloc_trace+0x161/0x220
[ 7.822917] ? do_init_module+0x23/0x230
[ 7.822921] do_init_module+0x5c/0x230
[ 7.822924] load_module+0x234c/0x24f0
[ 7.822931] ? __do_sys_finit_module+0xaa/0x110
[ 7.822933] __do_sys_finit_module+0xaa/0x110
[ 7.822940] do_syscall_64+0x52/0x180
[ 7.822944] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 7.822947] RIP: 0033:0x7f839c49af79
[ 7.822950] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e7 3e 0c 00 f7 d8 64 89 01 48
[ 7.822952] RSP: 002b:00007ffd6e9da5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 7.822954] RAX: ffffffffffffffda RBX: 00005583f28c4f40 RCX: 00007f839c49af79
[ 7.822956] RDX: 0000000000000000 RSI: 00007f839c39be4d RDI: 0000000000000006
[ 7.822957] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[ 7.822958] R10: 0000000000000006 R11: 0000000000000246 R12: 00007f839c39be4d
[ 7.822960] R13: 0000000000000000 R14: 00005583f28bbea0 R15: 00005583f28c4f40
[ 7.822963] ---[ end trace 9ac3b3609560fa5f ]---
[ 7.822966] register_netdev failed
[ 7.823333] ------------[ cut here ]------------
[ 7.823338] WARNING: CPU: 1 PID: 338 at net/core/dev.c:8800 rollback_registered_many+0xa9/0x530
[ 7.823339] Modules linked in: intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi nls_ascii snd_hda_intel snd_virtuoso nls_cp437 snd_intel_dspcfg snd_oxygen_lib snd_hda_codec vfat kvm_intel snd_mpu401_uart fat snd_hda_core snd_hwdep snd_pcm_oss kvm snd_mixer_oss irqbypass cuse ghash_clmulni_intel fuse snd_pcm nvidia_drm(POE) aesni_intel drm_kms_helper libaes crypto_simd cec cryptd snd_seq_midi glue_helper nvidia_modeset(POE) evdev snd_seq_midi_event mei_wdt snd_rawmidi nvidia(POE) intel_cstate snd_seq intel_uncore ipmi_devintf snd_seq_device intel_rapl_perf ipmi_msghandler snd_timer nct6775 hwmon_vid coretemp snd iTCO_wdt 8021q garp stp sg mrp llc iTCO_vendor_support mei_me soundcore mei watchdog tn40xx(OE+) pcspkr button loop nfsd auth_rpcgss nfs_acl lockd drm grace sunrpc ip_tables x_tables autofs4 xfs raid10 raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log dm_mod raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor
[ 7.823376] raid6_pq libcrc32c crc32c_generic md_mod sd_mod t10_pi crc_t10dif crct10dif_generic ahci libahci libata crct10dif_pclmul crct10dif_common i2c_i801 crc32_pclmul crc32c_intel xhci_pci xhci_hcd scsi_mod ehci_pci ehci_hcd lpc_ich mfd_core e1000e usbcore ptp pps_core usb_common video
[ 7.823390] CPU: 1 PID: 338 Comm: systemd-udevd Tainted: P W OE 5.7.0-1-amd64 #1 Debian 5.7.6-1
[ 7.823391] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B85M Pro4, BIOS P1.90 12/06/2013
[ 7.823394] RIP: 0010:rollback_registered_many+0xa9/0x530
[ 7.823397] Code: 01 75 69 48 8b 45 68 4c 8d 7d 68 48 89 eb 48 83 e8 68 4d 39 e7 74 57 48 89 c5 0f b6 83 d8 04 00 00 84 c0 75 d3 0f 1f 44 00 00 <0f> 0b 4c 89 ff e8 0d fb dc ff 84 c0 74 0f 48 8b 53 68 48 8b 43 70
[ 7.823398] RSP: 0018:ffffb443404d79e8 EFLAGS: 00010246
[ 7.823400] RAX: 0000000000000000 RBX: ffff88a407c56000 RCX: 0000000000000007
[ 7.823402] RDX: ffffb443404d7a58 RSI: 0000000000000000 RDI: ffffffff866f5ca0
[ 7.823403] RBP: ffffb443404d79f0 R08: ffffb443404d7a58 R09: ffffb443404d7a58
[ 7.823404] R10: 00000000ad55ad55 R11: 0000000000000000 R12: ffffb443404d7a58
[ 7.823406] R13: dead000000000122 R14: dead000000000100 R15: ffff88a407c56068
[ 7.823408] FS: 00007f839bf2e880(0000) GS:ffff88a40dc80000(0000) knlGS:0000000000000000
[ 7.823409] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7.823411] CR2: 00007fe357de7de0 CR3: 000000040b592006 CR4: 00000000001606e0
[ 7.823412] Call Trace:
[ 7.823419] ? wake_up_klogd.part.0+0x30/0x40
[ 7.823421] ? vprintk_emit+0x18c/0x290
[ 7.823425] rollback_registered+0x56/0x90
[ 7.823429] unregister_netdevice_queue+0x73/0xb0
[ 7.823432] unregister_netdev+0x18/0x20
[ 7.823439] bdx_probe+0x31d/0x930 [tn40xx]
[ 7.823445] local_pci_probe+0x42/0x80
[ 7.823449] pci_device_probe+0x104/0x1a0
[ 7.823453] really_probe+0x147/0x3c0
[ 7.823457] driver_probe_device+0xb6/0x100
[ 7.823460] device_driver_attach+0x53/0x60
[ 7.823463] __driver_attach+0x8a/0x150
[ 7.823466] ? device_driver_attach+0x60/0x60
[ 7.823468] ? device_driver_attach+0x60/0x60
[ 7.823471] bus_for_each_dev+0x78/0xc0
[ 7.823474] bus_add_driver+0x14d/0x1f0
[ 7.823478] driver_register+0x6c/0xc0
[ 7.823483] ? bdx_tx_timeout+0x30/0x30 [tn40xx]
[ 7.823487] do_one_initcall+0x46/0x200
[ 7.823490] ? free_unref_page_commit+0x8b/0x110
[ 7.823494] ? _cond_resched+0x15/0x30
[ 7.823498] ? kmem_cache_alloc_trace+0x161/0x220
[ 7.823501] ? do_init_module+0x23/0x230
[ 7.823503] do_init_module+0x5c/0x230
[ 7.823506] load_module+0x234c/0x24f0
[ 7.823513] ? __do_sys_finit_module+0xaa/0x110
[ 7.823515] __do_sys_finit_module+0xaa/0x110
[ 7.823521] do_syscall_64+0x52/0x180
[ 7.823524] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 7.823526] RIP: 0033:0x7f839c49af79
[ 7.823528] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e7 3e 0c 00 f7 d8 64 89 01 48
[ 7.823530] RSP: 002b:00007ffd6e9da5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 7.823532] RAX: ffffffffffffffda RBX: 00005583f28c4f40 RCX: 00007f839c49af79
[ 7.823533] RDX: 0000000000000000 RSI: 00007f839c39be4d RDI: 0000000000000006
[ 7.823534] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[ 7.823536] R10: 0000000000000006 R11: 0000000000000246 R12: 00007f839c39be4d
[ 7.823537] R13: 0000000000000000 R14: 00005583f28bbea0 R15: 00005583f28c4f40
[ 7.823540] ---[ end trace 9ac3b3609560fa60 ]---
[ 7.830318] network todo 'eth%d' but state 0
[ 7.830775] CPU: 3 PID: 338 Comm: systemd-udevd Tainted: P W OE 5.7.0-1-amd64 #1 Debian 5.7.6-1
[ 7.830777] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B85M Pro4, BIOS P1.90 12/06/2013
[ 7.830778] Call Trace:
[ 7.830786] dump_stack+0x66/0x90
[ 7.830791] netdev_run_todo.cold+0x34/0x39
[ 7.830803] bdx_probe+0x31d/0x930 [tn40xx]
[ 7.830810] local_pci_probe+0x42/0x80
[ 7.830816] pci_device_probe+0x104/0x1a0
[ 7.830822] really_probe+0x147/0x3c0
[ 7.830826] driver_probe_device+0xb6/0x100
[ 7.830830] device_driver_attach+0x53/0x60
[ 7.830833] __driver_attach+0x8a/0x150
[ 7.830836] ? device_driver_attach+0x60/0x60
[ 7.830839] ? device_driver_attach+0x60/0x60
[ 7.830841] bus_for_each_dev+0x78/0xc0
[ 7.830845] bus_add_driver+0x14d/0x1f0
[ 7.830848] driver_register+0x6c/0xc0
[ 7.830856] ? bdx_tx_timeout+0x30/0x30 [tn40xx]
[ 7.830861] do_one_initcall+0x46/0x200
[ 7.830866] ? free_unref_page_commit+0x8b/0x110
[ 7.830871] ? _cond_resched+0x15/0x30
[ 7.830875] ? kmem_cache_alloc_trace+0x161/0x220
[ 7.830879] ? do_init_module+0x23/0x230
[ 7.830882] do_init_module+0x5c/0x230
[ 7.830885] load_module+0x234c/0x24f0
[ 7.830892] ? __do_sys_finit_module+0xaa/0x110
[ 7.830895] __do_sys_finit_module+0xaa/0x110
[ 7.830901] do_syscall_64+0x52/0x180
[ 7.830905] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 7.830908] RIP: 0033:0x7f839c49af79
[ 7.830912] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e7 3e 0c 00 f7 d8 64 89 01 48
[ 7.830913] RSP: 002b:00007ffd6e9da5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 7.830916] RAX: ffffffffffffffda RBX: 00005583f28c4f40 RCX: 00007f839c49af79
[ 7.830918] RDX: 0000000000000000 RSI: 00007f839c39be4d RDI: 0000000000000006
[ 7.830919] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[ 7.830921] R10: 0000000000000006 R11: 0000000000000246 R12: 00007f839c39be4d
[ 7.830922] R13: 0000000000000000 R14: 00005583f28bbea0 R15: 00005583f28c4f40
[ 7.850425] tn40xx: probe of 0000:05:00.0 failed with error -22
I've got basically the same issue here trying to upgrade from 5.6 to 5.7.
Does the mentioned PR fix the problem for you?
Yes! Thanks dude. Up and running on Fedora with 5.7.11-200.fc32.x86_64.
Thanks for the fix, @cahz ! The new release/tn40xx-004 branch supports 5.4 to 5.7 and includes the fix. Tested on Fedora 31 with 5.7.15-100.
@acooks thanks for continuing to maintain this!
I had this working fine on Linux 5.6, but today my PC upgraded to 5.7 and the tn40xx driver crashes.