Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] iSCSI target.. problema installazione.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Atomikramp
Apprentice
Apprentice


Joined: 27 Sep 2004
Posts: 200

PostPosted: Sun Jan 21, 2007 6:27 pm    Post subject: [RISOLTO] iSCSI target.. problema installazione. Reply with quote

Salve a tutti...

ho un problema ad installare il pacchetto iscsitarget-0.4.14...

in pratica volevo fare qualche esperimento e provare ad usare gentoo come iSCSI target..
mi sono guardato un po' in giro e molti suggerivano questo pacchetto....

allora ho aggiornato il portage.. (finito giusto 10 min fa)...

e ho lanciato il comando

Code:
ACCEPT_KEYWORDS="~x86" emerge iscsitarget


ecco che cosa succede.

Code:

server ~ # ACCEPT_KEYWORDS="~x86" emerge -pv iscsitarget

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-block/iscsitarget-0.4.14  0 kB

Total size of downloads: 0 kB
server ~ # ACCEPT_KEYWORDS="~x86" emerge iscsitarget
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-block/iscsitarget-0.4.14 to /
 * iscsitarget-0.4.14.tar.gz MD5 ;-) ...                                  [ ok ]
 * iscsitarget-0.4.14.tar.gz RMD160 ;-) ...                               [ ok ]
 * iscsitarget-0.4.14.tar.gz SHA1 ;-) ...                                 [ ok ]
 * iscsitarget-0.4.14.tar.gz SHA256 ;-) ...                               [ ok ]
 * iscsitarget-0.4.14.tar.gz size ;-) ...                                 [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking iscsitarget-0.4.14.tar.gz ;-) ...                             [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.16-gentoo-r13/build
 * Found sources for kernel version:
 *     2.6.16-gentoo-r13
 * Checking for suitable kernel configuration options...
 *   CONFIG_CRYPTO_CRC32C:       is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.

!!! ERROR: sys-block/iscsitarget-0.4.14 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  ebuild.sh, line 1255:   Called linux-mod_pkg_setup
  linux-mod.eclass, line 458:   Called linux-info_pkg_setup
  linux-info.eclass, line 572:   Called check_extra_config
  linux-info.eclass, line 471:   Called die

!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, and the call stack if relevant.

server ~ #



qualcuno saprebbe darmi qualche suggerimento?


Last edited by Atomikramp on Mon Jan 22, 2007 1:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Sun Jan 21, 2007 7:18 pm    Post subject: Reply with quote

Scusa eh:

Code:

 * Checking for suitable kernel configuration options...
 *   CONFIG_CRYPTO_CRC32C:       is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.


Cosa non ti e' chiaro?

Inoltre

Code:
ACCEPT_KEYWORDS="~x86" emerge iscsitarget


e' deprecato. Devi usare

Code:

echo "sys-block/iscsitarget" >> /etc/portage/package.keywords


e dopo riemergerlo normalmente.
Back to top
View user's profile Send private message
Atomikramp
Apprentice
Apprentice


Joined: 27 Sep 2004
Posts: 200

PostPosted: Sun Jan 21, 2007 7:39 pm    Post subject: Reply with quote

non è che non so tradurre quello che c'è scritto....

è semplicemente che non so che roba è e quindi non so come agire di conseguenza.. :) se qualcuno me lo spiega.. così poi so come risolvere.
Back to top
View user's profile Send private message
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Sun Jan 21, 2007 7:42 pm    Post subject: Reply with quote

Non si capiva dal post.

Cmq dovresti ricompilare il kernel aggiungendo l'opzione

Code:

Cryptographic options  ---> CRC32c CRC algorithm
Back to top
View user's profile Send private message
Atomikramp
Apprentice
Apprentice


Joined: 27 Sep 2004
Posts: 200

PostPosted: Sun Jan 21, 2007 7:58 pm    Post subject: Reply with quote

Code:

# uname -a
Linux server 2.6.16-gentoo-r13 #2 PREEMPT Tue Oct 10 19:26:43 UTC 2006 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux


con questo kernel l'opzione che tu mi hai detto di abilitare non è abilitabile

Code:

  │ │ < >   Michael MIC keyed digest algorithm                            │ │
  │ │ ---   CRC32c CRC algorithm                                          │ │
  │ │ < >   Testing module                                                │ │



forse così si capisce che cosa intendo :)
Back to top
View user's profile Send private message
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Sun Jan 21, 2007 8:59 pm    Post subject: Reply with quote

Strano!
Io c el'ho abilitato.

Prova ad abilitare un po di algoritmi in quella sezione e anche quello che vedi nella sezione "Library Routines"


La dipendenza precisa non so quale sia :(
Back to top
View user's profile Send private message
Atomikramp
Apprentice
Apprentice


Joined: 27 Sep 2004
Posts: 200

PostPosted: Mon Jan 22, 2007 12:56 am    Post subject: Reply with quote

boh proverò a guardare.. ho provato ad abilitare tutto ma non ne vuol sapere...
se qualcuno conosce la dipendenza e può postarla mi salva :D

grazie 1000.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Jan 22, 2007 11:01 am    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Atomikramp
Apprentice
Apprentice


Joined: 27 Sep 2004
Posts: 200

PostPosted: Mon Jan 22, 2007 1:14 pm    Post subject: Reply with quote

quindi teoricamente quell'opzione nel kernel dovrebbe già essere abilitata....

ma allora non si capisce come mai in compilazione mi dia quell'errore.

EDIT:
sono un'idiota.... avevo ricompilato il kernel... avevo riavviato... ma mi ero dimenticato di bootare con quello nuovo anzichè con quello vecchio.

RISOLTO.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum