DSL Tips and Tricks :: Dummy USB re-compile for USB boot



Juanito: you can still use the same cloop module that's included in current DSL... I suppose the API's on those subroutines required for that didn't change (tested on 2.4.34 - though a warning will be displayed if the kernel version is not the same).  If you have a patch that modifies those subroutines is used, then you must recompile.  kreon28 is still using 2.4.26 but the supermount stuff might conflict?  Perhaps asking curaga would be best...

kreon28: My guess is that while you were compiling, you forgot to back up your modules dir first (I'm assuming you're using a traditional hd-install) so it could've been wiped out.  And, as already stated, you should use the same .config.  Note that cloop isn't part of the vanilla kernel tree.  Also, perhaps compiling the network module into the kernel took up too much memory (probably not though)?

Quote
I haven't read anywhere about using config file as a starting point and missed that

It's in the first post in this thread - see the "make menuconfig" part

Quote (^thehatsrule^ @ May 19 2007,21:50)
My guess is that while you were compiling, you forgot to back up your modules dir first (I'm assuming you're using a traditional hd-install) so it could've been wiped out.  And, as already stated, you should use the same .config.

I guess...but I've got LiveCD with the cloop working. Any chances to extract it from that or taking .config file?
Ah yea.. you could take it from the cd and test it. (the .config has already been explained)
Next time remember to give the kernel a different name, so you can boot the older one and keep it's modules (edit Makefile after "make menuconfig", the extraversion var is at the start.. Use like this:
Quote
extraversion="-kreon"
Now the kernel will be 2.4.26-kreon....)

I don't think supermount messes with module stuff, but it is safest to compile modules for the current kernel, then there won't be incompatibility or poor performance or errors....

Building cloop should be simple, but the dependencies are many.. It needs debhelper, which in turn needs many stuff.. It would be easier to compile in Knoppix 3.4 since it already has all the deps...

Next Page...
original here.