View previous topic :: View next topic |
Author |
Message |
Atomikramp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Sep 2004 Posts: 200
|
Posted: Sun Jan 21, 2007 6:27 pm Post subject: [RISOLTO] iSCSI target.. problema installazione. |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Dun Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9117618404081c6c67dcc8.gif)
Joined: 17 Apr 2004 Posts: 172 Location: Amsterdam (NL) / Venice (IT)
|
Posted: Sun Jan 21, 2007 7:18 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Atomikramp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Sep 2004 Posts: 200
|
Posted: Sun Jan 21, 2007 7:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Dun Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9117618404081c6c67dcc8.gif)
Joined: 17 Apr 2004 Posts: 172 Location: Amsterdam (NL) / Venice (IT)
|
Posted: Sun Jan 21, 2007 7:42 pm Post subject: |
|
|
Non si capiva dal post.
Cmq dovresti ricompilare il kernel aggiungendo l'opzione
Code: |
Cryptographic options ---> CRC32c CRC algorithm
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Atomikramp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Sep 2004 Posts: 200
|
Posted: Sun Jan 21, 2007 7:58 pm Post subject: |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dun Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9117618404081c6c67dcc8.gif)
Joined: 17 Apr 2004 Posts: 172 Location: Amsterdam (NL) / Venice (IT)
|
Posted: Sun Jan 21, 2007 8:59 pm Post subject: |
|
|
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 ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Atomikramp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Sep 2004 Posts: 200
|
Posted: Mon Jan 22, 2007 12:56 am Post subject: |
|
|
boh proverò a guardare.. ho provato ad abilitare tutto ma non ne vuol sapere...
se qualcuno conosce la dipendenza e può postarla mi salva
grazie 1000. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Mon Jan 22, 2007 11:01 am Post subject: |
|
|
![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif)
Last edited by djinnZ on Mon Feb 23, 2009 9:21 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Atomikramp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Sep 2004 Posts: 200
|
Posted: Mon Jan 22, 2007 1:14 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|