Little sysadmin trick: you can prepare modules which are separate from the default modules and everything to be ready when you reboot into your new kernel so everything should be up and running right after the reboot. At least in the Debian / Ubuntu ecosystem.I just upgraded to kernel version 2.6.24-28-server and before the upcoming reboot I did the following:
# module-assistant -l 2.6.24-28-server prepare # module-assistant -l 2.6.24-28-server build zaptel # dpkg -i /usr/src/zaptel-modules-2.6.24-28-server_1.4.10~dfsg-1+2.6.24-28.81_amd64.debSo post-reboot asterisk will have everything available again. For mISDN I did:$ make clean $ KVERS=2.6.24-28-server make $ sudo KVERS=2.6.24-28-server make install # depmod modules-2.6.24-28-server -AAnd everything is ready for the upcoming reboot. I hope (can't check without said reboot).
Update: Yes, it all worked.