stirner kirjoitti:
Yes, it really works! And this is how I test cloop before doing a new remastered Knoppix:Tapani Räikkönen-3 wrote:Cloop-2.625 worked with 2.6.26 kernel but not with 2.6.27 kernel: make[4]: Siirrytään hakemistoon "/usr/src/linux-2.6.27" CC [M] /usr/src/modules/cloop-2.625/compressed_loop.o/usr/src/modules/cloop-2.625/compressed_loop.c:49:27: error: asm/semaphore.h: Tiedostoa tai hakemistoa ei ole I think the problem is that semaphore.h is deprecated in the kernel 2.6.27.I tried to "borrow" semaphore.h from kernel 2.6.26 and everythink is ok. I'm writing from a remastered knoppix with kernel 2.6.27.1. I know this a dirty way ...but it works ;-)
# mount -o loop Knoppix.iso /mnt # modprobe cloop # losetup /dev/cloop0 /mnt/KNOPPIX/KNOPPIX # mount /dev/cloop0 /mnt mount: block device /dev/cloop0 is write-protected, mounting read-only # umount /mnt # losetup -d /dev/cloop0 # umount /mnt Thank you Max! I compiled it with 2.6.27.3-libre source.Btw, I hope Klaus has some extra time to get this fixed and doing a new cloop source. Perhaps following warning can also be fixed (cloop modules compiled with Debian testing make-kpkg system):
config.status: creating config.hmake[4]: Siirrytään hakemistoon "/usr/src/modules/cloop-2.625/advancecomp-1.15" g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o advfs.o ../advfs.cc
../advfs.cc: In function ‘int main(int, char**)’:../advfs.cc:827: warning: deprecated conversion from string constant to ‘char*’
Regards Tapani Räikkönen