Re: invalid argument in 2.4.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > O.k. this worked so far. Now it's all compiled pretty much after the
> > description in the README file of loop-aes. Now i created a container
> with
> > 
> > dd if=/dev/zero of=bea1 bs=60k count=1280
> > 
> > as user in a certein directory.
> > 
> > switched to root and did:
> > 
> > losetup -e AES256 -T /dev/loop1 ./bea1
> > 
> > and got:
> > 
> > Passwort:
> > Retype password:
> > ioctl: LOOP_SET_STATUS: Das Argument ist ungültig (invalid argument)
> > 
> > Thus i'm back to my first problem ...

> Please post output of the make
> command
> that you used to compile loop.o module, as well as outputs of "uname -a",
> "lsmod", and "ls -l /lib/modules" commands.

O.k. here is:

make

client4:/home/bs/Documents/loop-AES-v1.7c # make clean
rm -f *.o *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
client4:/home/bs/Documents/loop-AES-v1.7c # make
cd /lib/modules/2.4.18-4GB/build && make
SUBDIRS=/home/bs/Documents/loop-AES-v1.7c modules Q='@cd /home/bs/Documents/loop-AES-v1.7c && if [ "$@" =
"/home/bs/Documents/loop-AES-v1.7c" ]; then make modules; fi && true '
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/linux-2.4.18.SuSE«


###means: make[1]: Change to directory /usr/src/linux-2.4.18.SuSE

make -C  /home/bs/Documents/loop-AES-v1.7c CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.18.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE" MAKING_MODULES=1 modules
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/home/bs/Documents/loop-AES-v1.7c«
rm -f *.o *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f patched-loop.[ch]
cp loop.c-2.4.patched patched-loop.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18.SuSE/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE        
-DKBUILD_BASENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c patched-loop.c -o
patched-loop.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18.SuSE/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE        
-DKBUILD_BASENAME=aes_glue -DKBUILD_MODNAME=loop -c aes-glue.c -o aes-glue.o
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.18.SuSE/include -c
aes-i586.S -o aes-i586.o
ld -m elf_i386 -r patched-loop.o aes-glue.o aes-i586.o -o loop.o
mkdir -p /lib/modules/2.4.18-4GB/block
cp -p loop.o /lib/modules/2.4.18-4GB/block
rm -f /lib/modules/2.4.18-4GB/kernel/drivers/block/loop.{,k}o
depmod -a  -F /usr/src/linux-2.4.18.SuSE/System.map 2.4.18-4GB
sync
Currently running kernel is 2.4.18-4GB
Module was built for kernel 2.4.18-4GB
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/home/bs/Documents/loop-AES-v1.7c«

### Is: Leaving directory /home....

make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.18.SuSE«

### is: leaving directory /usr/src...

That's it. Further:

client4:/home/bs/Documents/loop-AES-v1.7c # uname -a
Linux client4 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown

client4:/home/bs/Documents/loop-AES-v1.7c # lsmod
Module                  Size  Used by    Not tainted
ipv6                  123424  -1  (autoclean)
snd-pcm-oss            45152   0  (autoclean)
snd-mixer-oss          11136   1  (autoclean)
parport_pc             25448   1  (autoclean)
lp                      5824   0  (autoclean)
parport                21856   1  (autoclean) [parport_pc lp]
snd-seq-midi            4480   0  (autoclean) (unused)
snd-emu8000-synth       6084   0  (autoclean)
snd-emux-synth         28480   0  (autoclean) [snd-emu8000-synth]
snd-seq-virmidi         3720   0  (autoclean) [snd-emux-synth]
snd-util-mem            1472   0  (autoclean) [snd-emu8000-synth
snd-emux-synth]
snd-opl3-synth         10652   0  (autoclean)
snd-seq-instr           4320   0  (autoclean) [snd-opl3-synth]
snd-seq-midi-emul       4560   0  (autoclean) [snd-emux-synth
snd-opl3-synth]
snd-ainstr-fm           1316   0  (autoclean) [snd-opl3-synth]
snd-seq-oss            24128   0  (autoclean)
snd-seq-midi-event      2664   0  (autoclean) [snd-seq-midi snd-seq-virmidi
snd-seq-oss]
snd-seq                39596   2  (autoclean) [snd-seq-midi snd-emux-synth
snd-seq-virmidi snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq-oss
snd-seq-midi-event]
snd-sbawe              16640   1  [snd-emu8000-synth]
snd-sb16-dsp            6912   0  [snd-sbawe]
snd-pcm                58528   0  [snd-pcm-oss snd-sb16-dsp]
snd-sb16-csp           17472   0  [snd-sbawe]
snd-sb-common           7272   0  [snd-sbawe snd-sb16-dsp snd-sb16-csp]
snd-opl3-lib            6592   0  [snd-opl3-synth snd-sbawe]
snd-hwdep               4736   0  [snd-sb16-csp snd-opl3-lib]
snd-timer              11456   0  [snd-seq snd-pcm snd-opl3-lib]
snd-mpu401-uart         3504   0  [snd-sbawe snd-sb16-dsp]
snd-rawmidi            13536   0  [snd-seq-midi snd-seq-virmidi
snd-mpu401-uart]
snd-seq-device          4336   0  [snd-seq-midi snd-emu8000-synth
snd-emux-synth snd-opl3-synth snd-seq-oss snd-seq snd-sbawe snd-opl3-lib snd-rawmidi]
snd                    31720   0  [snd-pcm-oss snd-mixer-oss snd-seq-midi
snd-emu8000-synth snd-emux-synth snd-seq-virmidi snd-util-mem snd-opl3-synth
snd-seq-instr snd-seq-midi-emul snd-seq-oss snd-seq-midi-event snd-seq
snd-sbawe snd-sb16-dsp snd-pcm snd-sb16-csp snd-sb-common snd-opl3-lib snd-hwdep
snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3268  10  [snd]
isa-pnp                27816   0  [snd-sbawe]
joydev                  5728   0  (unused)
evdev                   3904   0  (unused)
input                   3072   0  [joydev evdev]
st                     25844   0  (autoclean) (unused)
sg                     23620   0  (autoclean)
usb-uhci               20996   0  (unused)
usbcore                55136   1  [usb-uhci]
ne2k-pci                4800   1
8390                    5856   0  [ne2k-pci]
nls_iso8859-1           2880   2  (autoclean)
nls_cp437               4384   2  (autoclean)
vfat                    9244   2  (autoclean)
fat                    28984   0  (autoclean) [vfat]
reiserfs              158816   1  (autoclean)
ext3                   60160   1  (autoclean)
jbd                    42196   1  (autoclean) [ext3]
ide-scsi                7648   0
aic7xxx               105824  12


client4:/home/bs/Documents/loop-AES-v1.7c # ls -l /lib/modules/
insgesamt 16
drwxr-xr-x    4 root     root         4096 Mai  7 00:07 .
drwxr-xr-x    6 root     root         4096 Apr  8 18:41 ..
drwxr-xr-x    3 root     root         4096 Mai  7 00:07 2.4.18-14
drwxr-xr-x   10 root     root         4096 Apr 18 00:12 2.4.18-4GB


client4:/home/bs/Documents/loop-AES-v1.7c # ls -l /lib/modules/2.4.18-4GB/
insgesamt 448
drwxr-xr-x   10 root     root         4096 Apr 18 00:12 .
drwxr-xr-x    4 root     root         4096 Mai  7 00:07 ..
drwxr-xr-x    2 root     root         4096 Apr 18 00:12 block
lrwxrwxrwx    1 root     root           26 Apr  4 14:32 build ->
/usr/src/linux-2.4.18.SuSE
drwxr-xr-x    2 root     root         4096 Apr  4 14:32 dvb
drwxr-xr-x    8 root     root         4096 Apr  4 14:33 kernel
drwxr-xr-x    2 root     root         4096 Apr  4 14:33 misc
-rw-r--r--    1 root     root       147299 Mai 28 00:09 modules.dep
-rw-r--r--    1 root     root        51091 Mai 28 00:09
modules.generic_string
-rw-r--r--    1 root     root          147 Mai 28 00:09 modules.ieee1394map
-rw-r--r--    1 root     root        20526 Mai 28 00:09 modules.isapnpmap
-rw-r--r--    1 root     root           29 Mai 28 00:09 modules.parportmap
-rw-r--r--    1 root     root        71345 Mai 28 00:09 modules.pcimap
-rw-r--r--    1 root     root           24 Mai 28 00:09 modules.pnpbiosmap
-rw-r--r--    1 root     root        89301 Mai 28 00:09 modules.usbmap
drwxr-xr-x    2 root     root         4096 Apr  4 14:33 pcmcia
drwxr-xr-x    3 root     root         4096 Apr  4 14:33 pcmcia-external
drwxr-xr-x    2 root     root         4096 Apr  4 14:33 thinkpad
drwxr-xr-x    2 root     root         4096 Apr  4 14:33 wlan-ng
client4:/home/bs/Documents/loop-AES-v1.7c # ls -l /lib/modules/2.4.18-14/
insgesamt 12
drwxr-xr-x    3 root     root         4096 Mai  7 00:07 .
drwxr-xr-x    4 root     root         4096 Mai  7 00:07 ..
drwxr-xr-x    2 root     root         4096 Mai  7 00:07 cryptoapi


That's it. I hope it's enough information at first.  So far i havn't the
faintest idea, where to look. thanx for helping

Bea

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux