Line
Link Here
|
|
the nvidia module may leave stale proc entries if it refuses to be |
|
the nvidia module may leave stale proc entries if it refuses to be |
1 |
loaded becase nouveau is already loaded and has claimed the device |
1 |
loaded becase nouveau is already loaded and has claimed the device |
2 |
. |
2 |
. |
3 |
the error unwinding in nvidia_init_module() is insane |
3 |
the error unwinding in nvidia_init_module() is insane |
4 |
(375.26 looks much better) |
4 |
(375.26 looks much better) |
5 |
. |
5 |
. |
6 |
this patch is probably not correct in all cases, but the unwinding is |
6 |
this patch is probably not correct in all cases, but the unwinding is |
7 |
not reverse linear in creation and the gotos are all across everything |
7 |
not reverse linear in creation and the gotos are all across everything |
8 |
. |
8 |
. |
9 |
leaving stale proc entries prevents the nvidia module from loading again |
9 |
leaving stale proc entries prevents the nvidia module from loading again |
10 |
. |
10 |
. |
11 |
accessing the stale proc entries results in |
11 |
accessing the stale proc entries results in |
12 |
BUG: unable to handle kernel paging request at ... |
12 |
BUG: unable to handle kernel paging request at ... |
13 |
-- a/kernel/nv.c |
13 |
++ b/kernel/nv.c |
Lines 1038-1043
failed3:
Link Here
|
1038 |
|
1038 |
|
1039 |
pci_unregister_driver(&nv_pci_driver); |
1039 |
pci_unregister_driver(&nv_pci_driver); |
1040 |
|
1040 |
|
|
|
1041 |
nv_unregister_procfs(); |
1042 |
|
1041 |
failed5: |
1043 |
failed5: |
1042 |
rm_shutdown_rm(sp); |
1044 |
rm_shutdown_rm(sp); |
1043 |
|
1045 |
|