Kernel 2.4.14 link error
This is my first nervous attempt at kernel stuff (sweat, panic...)
Kernel 2.4.14 does not link if loopback device is enabled. The link fails with unresolved extern reference "deactivate_page" in block.o
This function is called from drivers/block/loop.c and is located in in mm/swap.c for kernel 2.4.13 but not for 2.4.14.
I made a copy of loop.c commented out the references (2) to deactivate_page and compiled as a module, which seems to work just fine.
Hope this helps
Quoted 9 lines · Richard
This is my first nervous attempt at kernel stuff (sweat, panic...)
Kernel 2.4.14 does not link if loopback device is enabled. The link fails with unresolved extern reference "
deactivate_page" in block.oThis function is called from
drivers/block/loop.cand is located in inmm/swap.cfor kernel 2.4.13 but not for 2.4.14.
I made a copy ofloop.ccommented out the references (2) todeactivate_pageand compiled as a module, which seems to work just fine.
This is a known bug and you did the right thing to fix it.
Quoted 1 line
Hope this helps
cu
Adrian
Signature · 3 lines
Get my GPG key: finger [email protected] | gpg --import Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400