Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tn40xx 0000:07:00.0 enp7s0: fw 0xe [ 644.481235] BUG: unable to handle page fault for address: fffff64d83ac3c00 [ 644.481247] #PF: supervisor read access in kernel mode #64

Open
afrojewelz opened this issue Jan 8, 2024 · 3 comments

Comments

@afrojewelz
Copy link

afrojewelz commented Jan 8, 2024

Uploading dmesg.txt…
image

root@asrb55z:~# lspci -nnk -s 07:00
07:00.0 Ethernet controller [0200]: Tehuti Networks Ltd. TN9710P 10GBase-T/NBASE-T Ethernet Adapter [1fc9:4027]
Subsystem: Tehuti Networks Ltd. Ethernet Adapter [1fc9:3015]
Kernel driver in use: tn40xx
image

use dkms add -m tn40xx/006 && dkms install -m tn40xx/006 on latest proxmox which is kernel 6.5.11-7-pve

the compiled module can be load,but whenever memory is occupied enough or running stress mem will result BUG unable to handle page fault for address: xxxx
then RIP my applications. although it's not fatal but it's causes unstable to sustain file service
i had onboard 2.5G realtek NIC when i switch to this one ,i can run stress memory whenever i want and stable which won't result RIP or BUG or crash. so if any great man can look into codes and try to debug them. btw my phy is MV88X3310.so i add hdr manually.

already ruled out the overclock issue , even return to default clk still occurred memleak event with module tn40xx loaded while memory stressed

@acooks
Copy link
Owner

acooks commented Jan 8, 2024

You could try the potential fix in commit
493dcc7

@afrojewelz
Copy link
Author

image

when i only apply this line "if (likely(db->rptr->len > 0))" it's still triggers page fault to a page that kernel can't alloc. i could try rest of patches

@afrojewelz
Copy link
Author

nope, after applied two changed files tn40xx.c & tn40xx.h in dev branch which was update 3weeks ago.still triggers page crashed.
image
it won't run normal until me unload the module and reboot with clean kernel without tn40xx.ko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants