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

is there possible to update this driver to support latest linux kernel like 5.11+? #46

Open
afrojewelz opened this issue Aug 16, 2021 · 6 comments

Comments

@afrojewelz
Copy link

is there possible to update this driver to support latest linux kernel like 5.11+?
i ve tried use dkms install on proxmox which use 5.11+ kernel not work
i ve tried make && make install still not work
tried serveral branch 003、004、0.36.17.2

@TerminalAddict
Copy link

TerminalAddict commented Aug 16, 2021

I've got a new proxmox
5.11.22-3-pve
aptitude install pve-headers-5.11.22-3-pve
git clone -b release/tn40xx-004 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-004
dkms add -m tn40xx -v 004
dkms install -m tn40xx -v 004
dkms remove -m tn40xx -v 003 --all

@afrojewelz
Copy link
Author

afrojewelz commented Aug 17, 2021

I've got a new proxmox
5.11.22-3-pve
aptitude install pve-headers-5.11.22-3-pve
git clone -b release/tn40xx-004 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-004
dkms add -m tn40xx -v 004
dkms install -m tn40xx -v 004
dkms remove -m tn40xx -v 003 --all

does it work? i have tried this and failed

i actually did it in exact same sequence

@TerminalAddict
Copy link

Yep sure does.

@afrojewelz
Copy link
Author

but after i dkms install this module,it does not autoload to kernel or the device not loaded from demsg or lsmod|grep
even i modprobe it,it just spell out two lines in dmesg the device wouldn't open

@TerminalAddict
Copy link

Then something about your setup is different.
But I literally built a Debian 11 proxmox today with this driver.

@afrojewelz
Copy link
Author

03:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804]
Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD [144d:a801]
Kernel driver in use: nvme
04: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]
05:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804]
Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD [144d:a801]
Kernel driver in use: nvme
06:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
it apears the kernel module is load by manual when i nano it into /etc/modules,but still device wouldn't open and interact with kernel

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

No branches or pull requests

3 participants