From: Hans-Ulrich J. <han...@t-...> - 2006-06-16 19:55:44
|
Hello maxl, thank you for posting, you seem to have come up with a bug in my kernel driver which hasn't manifested on the Linux distributions I have built and tested Sd4L so far. maxl wrote: > Hello. > I desperatly need help on this. > I am in this linux 'adventure' for about two weeks, so everything that > skips the "step by step" method transcends me. :-) (snip) > CC [M] /home/user/Desktop/Scramdisk-0.9/driver/sddriver.o > /home/user/Desktop/Scramdisk-0.9/driver/sddriver.c: In function > ‘scramdisk_init’: > /home/user/Desktop/Scramdisk-0.9/driver/sddriver.c:963: error: invalid > type argument of ‘unary *’ > make[3]: *** [/home/user/Desktop/Scramdisk-0.9/driver/sddriver.o] Error 1 > make[2]: *** [_module_/home/user/Desktop/Scramdisk-0.9/driver] Error 2 > make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-23-386' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/driver' > make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/utils' > g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdcreate.o sdcreate.cpp > <\snip> > This error is the reason for your later problems. It's a bug which hasn't shown in conjunction with older kernel versions (the latest kernel version with which I built Sd4L is 2.6.13). > and this: > > <snip> > make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/docs' > ps2pdf gui.eps gui.pdf > ps2pdf create.eps create.pdf > ps2pdf ppdialog.eps ppdialog.pdf > ps2pdf config.eps config.pdf > pdflatex scramdisk.tex && pdflatex scramdisk.tex > /bin/sh: pdflatex: command not found > make[1]: *** [scramdisk.pdf] Error 127 > make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/docs' > make: *** [all] Error 2 > user@ubuntu:~/Desktop/Scramdisk-0.9$ > </snip> > This error is due to the missing pdflatex in your system. It merely means that you failed to build the documentation, so you may ignore it. You may also install pdflatex on your system in order to get rid of this error. > > Reboot, than start SD4L in terminal- scramdisk (later I did a shortcut). > > Program starts with a nice GUI, enter paht to container, and path to mount > dir previously created;(/mnt/) or (/home/mnt/). > > Click mount, enter the passfhrase and get this error: > > "Mounting failed:" > "No such file or directory" > > I am not sure if this is related to those errors shown durin make, make > install.... > Yes it is, you failed to build the kernel driver which is necessary for mounting. > FYI, I made a "test" sd4l container of 64MB (raw) but couldn't mount than > went to windowsXP and formatted it with windows fat32 and it work in my > windows system. Back to linux still couldn't mount it. > > As a side note, the "options" window is not fitting in height, the screen > of my laptop, and doesn't resize in order to show the bottom buttons! > Thank you, for pointing this out. I thought it would fit on most screens today when I enlarged the size in version 0.9.0. I shall reduce it again in the next version. I am going to install Ubuntu 6.06 on a free partition an will build a new package with the bugs fixed. This, however, will take some weeks. If you are in a hurry to get Sd4L running on your system I could send you a patch with private mail. Of course, I would prefer to test the bugfix myself at first before sending it out. Please, mail me what you would like. Best regards, Ulrich |