Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]Problemi con qemu
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Sun Nov 27, 2005 11:06 am    Post subject: [RISOLTO]Problemi con qemu Reply with quote

Salve ragazzi é da un pó che tento, senza buoni risultati, di farmi funzionare questo qemu per provare a far girare windows sulla mia gentoo, ma non sono mai riuscito a capire come funzionasse...
Allora mi sono messo alla ricerca di qualche how-to, e ho trovato questo. Ma per quanto segua la Quickstart Guide, mi tornano degli errori che non capisco.
Ovvero, quando vado a fare (se date un'occhiata all'howro lo capirete meglio :P)
Code:
#modprobe kqemu major=0

mi restituisce un errore dicendomi che non trova il modulo kqemi...
Ma secondo voi quei singoli apici messi sugli echo precedenti ci vanno???
Ho provato anche a toglierli, ma il risultato non é cambiato!
Voi avete qualche idea???
Grazie in anticipo :D


Last edited by Pr0v4 on Mon Dec 05, 2005 7:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Nov 27, 2005 11:10 am    Post subject: Re: Problemi con qemu Reply with quote

Pr0v4 wrote:

Ma secondo voi quei singoli apici messi sugli echo precedenti ci vanno???


Credo di no; prova con questi comandi:

Code:

echo "app-emulation/qemu ~x86" >> /etc/portage/package.keywords
echo "app-emulation/qemu-softmmu ~x86" >> /etc/portage/package.keywords
echo "app-emulation/qemu-user ~x86" >> /etc/portage/package.keywords
echo "app-emulation/qemu-softmmu kqemu" >> /etc/portage/package.use
emerge qemu
modprobe kqemu major=0
echo "kqemu  major=0" >> /etc/modules.autoload.d/kernel-2.6 && modules-update
mknod /dev/kqemu c 250 0
gpasswd -a "johndoe75" qemu

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Sun Nov 27, 2005 11:16 am    Post subject: Reply with quote

grazie della rapida risposta, ma purtroppo al momento di caricare il modulo mi ritorna un errore.
Avresti mica in mente altre soluzioni? Mi piacerebbe risolvere anche perché mi sarebbe piaciuto scrivere un how-to da questa esperienza; visto che in italiano non ne troviamo riguardanti gentoo.
Cmq l'errore é:
Code:
heaven pr0v4 # modprobe kqemu major=0
FATAL: Module kqemu not found.

Grazie ancora per l'aiuto!!!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Nov 27, 2005 11:23 am    Post subject: Reply with quote

Dall'errore sembra che il modulo non sia stato compilato. Hai provato a ricontrollare ogni passo.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Sun Nov 27, 2005 11:27 am    Post subject: Reply with quote

a dire il vero si, sopra questa citazione nell'howto non é descritto altro, e sinceramente avevo cancellato tutto quello da me scritto nei file package.*, per poi riscriverli con copia/incolla dal codice che mi hai postato te, per paura di aver fatto qualche cavolata :P
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Sun Nov 27, 2005 1:49 pm    Post subject: Reply with quote

Puoi postare un:
Code:
# emerge -pv qemu qemu-softmmu qemu-user

Il mio e' cosi':
Code:
nick-book nick # emerge -pv qemu qemu-softmmu qemu-user

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-emulation/qemu-0.7.2  0 kB
[ebuild   R   ] app-emulation/qemu-softmmu-0.7.2  +kqemu +sdl 0 kB
[ebuild   R   ] app-emulation/qemu-user-0.7.2  0 kB

e funziona alla grande...
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Sun Nov 27, 2005 2:28 pm    Post subject: Reply with quote

Allora tentiamo di risolvere, il mio é:
Quote:
heaven pr0v4 # emerge -pv qemu qemu-softmmu qemu-user

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] app-emulation/qemu-0.7.2 0 kB
[ebuild R ] app-emulation/qemu-softmmu-0.7.2 +kqemu* +sdl 77 kB
[ebuild R ] app-emulation/qemu-user-0.7.2 0 kB

Ma forse l'errore sta nel fatto che no emergo qemu-softmnu??? che come flag use ha kqemu???
Adesso provo e vi faccio sapere se l'errore é questo....
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Sun Nov 27, 2005 3:12 pm    Post subject: Reply with quote

Infatti, il problema e' che ti risulta qemu-softmmu-0.7.2 installato SENZA la flag kemu (come dimostra il l'asterisco di fianco alla flag "kqemu"), e quindi non ti installa il modulo....

Reinstallando dovrebbe funzionare tutto...
Nick
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Sun Nov 27, 2005 5:57 pm    Post subject: Reply with quote

In effetti ho riemerso qemu-softmnu e adesso tutto fila liscio!!!
Solo che adesso devo capire come funziona :D
Ma devo per forza montare immagini .img o anche le iso vanno bene? semmai mi do una lettura anche al man vai, che non capisco neanche questa stringa :P
Quote:
qemu-img create -f qcow /opt/microsoft/win98.img 3G
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Sun Nov 27, 2005 6:03 pm    Post subject: Reply with quote

Pr0v4 wrote:

Ma devo per forza montare immagini .img o anche le iso vanno bene? semmai mi do una lettura anche al man vai, che non capisco neanche questa stringa :P
Code:
 qemu-img create -f qcow /opt/microsoft/win98.img 3G


Non saprei...pero' quella stringa dovrebbe creare l'immagine su cui poi andrai ad installare il tuo sistema operativo, di dimensione appunto 3G (3 GB :wink: )

Contento che alla fine funzioni...per far funzionare il tutto non ti dovrai neanche scervellare tanto....
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Nov 28, 2005 10:57 am    Post subject: Reply with quote

Mi fa piacere che il problema sia risolto. Per favore aggiungi il tag [Risolto] al titolo del topic.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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