moin.
Kennt sich vielleicht jemand von euch genauer mit den Kernel Patchings im /md/ aus?
Wenn ich naehmlich das dm-crypt kernelmodul bauen will krieg ich immer nen Fehler.
Und offensichtlich ist das ganze md zeug ziemlich gepatcht.
Ich musste aber auch gcc probleme fixen da der mit der "offiziellen" toolchain gelieferte gcc4.2.1 mit Linux 2.6.15 garnicht funktioniert.
Ich verwende synogpl-844.tbz und arm-none-linux-gnueabi
Arch is ARM
Kernel .config haengt an, wundert euch nicht darueber das ich alle Cryptoalgos aktiviert habe, das war n test da ich dachte das der gepatchte md von irgendwas abhaengt und nichts sagt.
Gruss Silicium
Kennt sich vielleicht jemand von euch genauer mit den Kernel Patchings im /md/ aus?
Wenn ich naehmlich das dm-crypt kernelmodul bauen will krieg ich immer nen Fehler.
Und offensichtlich ist das ganze md zeug ziemlich gepatcht.
Ich musste aber auch gcc probleme fixen da der mit der "offiziellen" toolchain gelieferte gcc4.2.1 mit Linux 2.6.15 garnicht funktioniert.
Ich verwende synogpl-844.tbz und arm-none-linux-gnueabi
Arch is ARM
Kernel .config haengt an, wundert euch nicht darueber das ich alle Cryptoalgos aktiviert habe, das war n test da ich dachte das der gepatchte md von irgendwas abhaengt und nichts sagt.
Gruss Silicium
Rich (BBCode):
CC [M] drivers/md/dm-crypt.o
drivers/md/dm-crypt.c: In function 'crypt_iv_essiv_ctr':
drivers/md/dm-crypt.c:140: error: storage size of 'desc' isn't known
drivers/md/dm-crypt.c:152: warning: implicit declaration of function 'crypto_alloc_hash'
drivers/md/dm-crypt.c:152: error: 'CRYPTO_ALG_ASYNC' undeclared (first use in this function)
drivers/md/dm-crypt.c:152: error: (Each undeclared identifier is reported only once
drivers/md/dm-crypt.c:152: error: for each function it appears in.)
drivers/md/dm-crypt.c:152: warning: assignment makes pointer from integer without a cast
drivers/md/dm-crypt.c:158: warning: implicit declaration of function 'crypto_hash_digestsize'
drivers/md/dm-crypt.c:162: warning: implicit declaration of function 'crypto_free_hash'
drivers/md/dm-crypt.c:169: warning: implicit declaration of function 'crypto_hash_digest'
drivers/md/dm-crypt.c:178: warning: implicit declaration of function 'crypto_alloc_cipher'
drivers/md/dm-crypt.c:178: warning: assignment makes pointer from integer without a cast
drivers/md/dm-crypt.c:184: warning: implicit declaration of function 'crypto_cipher_blocksize'
drivers/md/dm-crypt.c:185: warning: implicit declaration of function 'crypto_blkcipher_ivsize'
drivers/md/dm-crypt.c:188: warning: implicit declaration of function 'crypto_free_cipher'
drivers/md/dm-crypt.c:192: warning: passing argument 1 of 'crypto_cipher_setkey' from incompatible pointer type
drivers/md/dm-crypt.c:140: warning: unused variable 'desc'
drivers/md/dm-crypt.c: In function 'crypt_iv_essiv_gen':
drivers/md/dm-crypt.c:215: warning: implicit declaration of function 'crypto_cipher_encrypt_one'
drivers/md/dm-crypt.c: In function 'crypt_iv_benbi_ctr':
drivers/md/dm-crypt.c:222: warning: implicit declaration of function 'crypto_blkcipher_blocksize'
drivers/md/dm-crypt.c:223: warning: implicit declaration of function 'ilog2'
drivers/md/dm-crypt.c: In function 'crypt_convert_scatterlist':
drivers/md/dm-crypt.c:281: error: variable 'desc' has initializer but incomplete type
drivers/md/dm-crypt.c:282: error: unknown field 'tfm' specified in initializer
drivers/md/dm-crypt.c:282: warning: excess elements in struct initializer
drivers/md/dm-crypt.c:282: warning: (near initialization for 'desc')
drivers/md/dm-crypt.c:283: error: unknown field 'info' specified in initializer
drivers/md/dm-crypt.c:283: warning: excess elements in struct initializer
drivers/md/dm-crypt.c:283: warning: (near initialization for 'desc')
drivers/md/dm-crypt.c:284: error: unknown field 'flags' specified in initializer
drivers/md/dm-crypt.c:284: warning: excess elements in struct initializer
drivers/md/dm-crypt.c:284: warning: (near initialization for 'desc')
drivers/md/dm-crypt.c:281: error: storage size of 'desc' isn't known
drivers/md/dm-crypt.c:294: warning: implicit declaration of function 'crypto_blkcipher_encrypt_iv'
drivers/md/dm-crypt.c:296: warning: implicit declaration of function 'crypto_blkcipher_decrypt_iv'
drivers/md/dm-crypt.c:299: warning: implicit declaration of function 'crypto_blkcipher_encrypt'
drivers/md/dm-crypt.c:301: warning: implicit declaration of function 'crypto_blkcipher_decrypt'
drivers/md/dm-crypt.c:281: warning: unused variable 'desc'
drivers/md/dm-crypt.c: In function 'kcryptd_queue_io':
drivers/md/dm-crypt.c:520: warning: assignment from incompatible pointer type
drivers/md/dm-crypt.c: In function 'process_write':
drivers/md/dm-crypt.c:662: warning: implicit declaration of function 'congestion_wait'
drivers/md/dm-crypt.c: At top level:
drivers/md/dm-crypt.c:683: error: conflicting types for 'kcryptd_do_work'
drivers/md/dm-crypt.c:513: error: previous declaration of 'kcryptd_do_work' was here
drivers/md/dm-crypt.c: In function 'crypt_ctr':
drivers/md/dm-crypt.c:822: warning: implicit declaration of function 'crypto_alloc_blkcipher'
drivers/md/dm-crypt.c:822: error: 'CRYPTO_ALG_ASYNC' undeclared (first use in this function)
drivers/md/dm-crypt.c:822: warning: assignment makes pointer from integer without a cast
drivers/md/dm-crypt.c:886: warning: implicit declaration of function 'crypto_blkcipher_setkey'
drivers/md/dm-crypt.c:934: warning: implicit declaration of function 'crypto_free_blkcipher'
make[2]: *** [drivers/md/dm-crypt.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
marco@earth:/media/data3/foo/source/linux-2.6.15$
Rich (BBCode):
MicoVAX> cat /proc/cpu
/proc/cpu/ /proc/cpuinfo
MicoVAX> cat /proc/cpuinfo
Processor : ARM926EJ-Sid(wb) rev 0 (v5l)
BogoMIPS : 499.71
Features : swp half thumb fastmult vfp edsp
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 0
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 32768
I assoc : 1
I line length : 32
I sets : 1024
D size : 32768
D assoc : 4
D line length : 32
D sets : 256
Hardware : MV-88fxx81
Revision : 0000
Serial : 0000000000000000
MicoVAX>