Commit dfff34a
fix: NOP register_chrdev instead of remapping, direct sysfs_write for PCI disable
- Host nvidia-580 owns both majors 185 and 195; any chrdev remap still
conflicts. Switch catalyst patch from PatchByteAt(0x7b, 0xC3→0xB9) to
NopCallAt(0x7f) to skip register_chrdev entirely — the catalyst
pattern doesn't need the chardev, PCI match triggers probe.
- Use direct sysfs_write for PCI enable attribute instead of guarded
child process — the enable attribute is non-blocking and the shell
child was failing with I/O errors.
Status: insmod chrdev conflict resolved, but request_mem_region still
fails on Titan V because PCI BAR resources remain claimed by the kernel
resource tree even after unbind+disable. Needs PCI remove/rescan
approach or kernel-level BAR release.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent fb5ce20 commit dfff34a
2 files changed
Lines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
399 | 397 | | |
400 | 398 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 399 | + | |
406 | 400 | | |
407 | 401 | | |
408 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
799 | 801 | | |
800 | 802 | | |
801 | 803 | | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
811 | 809 | | |
812 | 810 | | |
813 | 811 | | |
| |||
0 commit comments