Thanks for your advice. The point was that I already looked in /lib/modules before posting but couldn't find anything. I was hoping there was some file from which the modules were called and that I could edit manually.
Anyway, that was not feasible because it turned out the software suspend was built into the kernel (I did it myself but then assumed it could only be a module since I had to patch the kernel).
What caused the problem BTW was an update of everything thru Synaptic. As soon as I rebooted, the kernel panic showed up with something like:
Unable to mount root partition Not sync.
I compiled a fresh kernel but it didn't help. Confirming that was no Software Suspend problem.
After two days of being stuck with bloody M$, and trying a fresh install (BTW, using the latest debian testing with kernel 2.6 couldn't detect my internet connection
) I had to stick to stable with kernel 2.4. But then I had to reconfigure my video chip, my wlan card, install all the apps, configure them... and that was costly for a very busy student. I had to find a solution to recover my old system.
Then, I tried something out of the blue: Add the initrd line in /boot/grub/menu.lst with the appropriate image as parameter (i.e: the one that I built for the old 2.6 kernel in question. Guess what? It worked!
I never came across anything that strange and unexplainable with any Linux distro. From my experience, it is safe to say that kernel 2.6 is not the best choice for production machines.