Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] moduli per hdd esterno usb 2.0
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
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 1:16 pm    Post subject: [Risolto] moduli per hdd esterno usb 2.0 Reply with quote

Cercando su altri topic ho visto che per poter montare un hdd esterno usb 2.0 è necessario avere i moduli:

uhci_hcd (o ohci_hcd)
usb-storage
hid

I primi due li ho, mentre hid, controllando dal livecd con lsmod non c'è... o meglio c'è usb_hid. Va bene lo stesso? Oppure è una cosa diversa?

Inoltre come devo procedere adesso? Devo far caricare questi moduli all'avvio?
_________________
by ka0s


Last edited by ka0s on Tue Aug 23, 2005 4:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 3:03 pm    Post subject: Re: moduli per hdd esterno usb 2.0 Reply with quote

ka0s wrote:
Cercando su altri topic ho visto che per poter montare un hdd esterno usb 2.0 è necessario avere i moduli:

uhci_hcd (o ohci_hcd)
usb-storage
hid

I primi due li ho, mentre hid, controllando dal livecd con lsmod non c'è... o meglio c'è usb_hid. Va bene lo stesso? Oppure è una cosa diversa?

Inoltre come devo procedere adesso? Devo far caricare questi moduli all'avvio?


usb_hid è lo stesso.. hai messo hotplug nel runlevel di default? se si dovrebbe caricarteli quando inserisci.... :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Tue Aug 23, 2005 3:05 pm    Post subject: Reply with quote

Anche coldplug a sto punto (ho visto che risolve parecchi problemi di questo tipo).
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 3:06 pm    Post subject: Reply with quote

silian87 wrote:
Anche coldplug a sto punto (ho visto che risolve parecchi problemi di questo tipo).


si, coldplug sul runlevel di boot
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 3:12 pm    Post subject: Reply with quote

A dire il vero non so se ho messo hotplug e coldplug nel runlevel di default e boot... non credo... come devo fare?

Inoltre ho visto che quei tre moduli li avevo messi nel kernel non come moduli (M) ma proprio "inseriti" (ehm non so se mi faccio capire... cmq premendo "Y") è giusto?

Devo anche modificare l'fstab? Oppure una volta messi hotplug e coldplug, tenendo acceso l'hdd all'avvio, lo trova automaticamente?
_________________
by ka0s
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Tue Aug 23, 2005 3:15 pm    Post subject: Reply with quote

Allora, per mettere hotplug ed coldplug fai:
Code:

emerge hotplug coldplug
rc-update add coldplug boot
rc-update add hotplug boot


I moduli messi con la "Y" si dicono inseriti nativamente, e' meglio se li metti come "M".

Dopo riavvia, cosi' vediamo se coldplug fa il suo dovere.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 3:16 pm    Post subject: Reply with quote

ka0s wrote:
A dire il vero non so se ho messo hotplug e coldplug nel runlevel di default e boot... non credo... come devo fare?


Code:
$ rc-status boot


Code:
$ rc-status default


controlla se li vedi!


ka0s wrote:

Inoltre ho visto che quei tre moduli li avevo messi nel kernel non come moduli (M) ma proprio "inseriti" (ehm non so se mi faccio capire... cmq premendo "Y") è giusto?


si puo essere una soluzione... ma in questo modo non li vedrai mai con lsmod.. perchè fanno parte dell immagine del kernel e sono sempre caricati!

ka0s wrote:

Devo anche modificare l'fstab? Oppure una volta messi hotplug e coldplug, tenendo acceso l'hdd all'avvio, lo trova automaticamente?


automaticamente no.. devi montarlo..
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 3:26 pm    Post subject: Reply with quote

neryo wrote:

Code:
$ rc-status boot


Code:
$ rc-status default


controlla se li vedi!

No, non vedo nè hotplug nè coldplug...

neryo wrote:

ka0s wrote:

Devo anche modificare l'fstab? Oppure una volta messi hotplug e coldplug, tenendo acceso l'hdd all'avvio, lo trova automaticamente?


automaticamente no.. devi montarlo..

Dunque come devo fare? L'fstab va modificato o no?
_________________
by ka0s
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 3:28 pm    Post subject: Reply with quote

ka0s wrote:
neryo wrote:

Code:
$ rc-status boot


Code:
$ rc-status default


controlla se li vedi!

No, non vedo nè hotplug nè coldplug...

neryo wrote:

ka0s wrote:

Devo anche modificare l'fstab? Oppure una volta messi hotplug e coldplug, tenendo acceso l'hdd all'avvio, lo trova automaticamente?


automaticamente no.. devi montarlo..

Dunque come devo fare? L'fstab va modificato o no?


allora se non li vedi fai come ti ha detto silian87!

se modifichi l fstab hai solo minor cose da scrivere quando monti il device! fai tu...
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 3:38 pm    Post subject: Reply with quote

Ho fatto come ha detto silian87 (scusa ma non avevo visto il tuo post) ho messo hotplug al runlevel default e coldplug al boot... non ha dato errori...

ora come devo fare? ehm.. è proprio questo che mi sfugge... :oops:
_________________
by ka0s
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 3:40 pm    Post subject: Reply with quote

ka0s wrote:
Ho fatto come ha detto silian87 (scusa ma non avevo visto il tuo post) ho messo hotplug al runlevel default e coldplug al boot... non ha dato errori...

ora come devo fare? ehm.. è proprio questo che mi sfugge... :oops:


riavvia! e poi vedi se riesci a montare il tuo device
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 3:46 pm    Post subject: Reply with quote

neryo wrote:
riavvia! e poi vedi se riesci a montare il tuo device

è proprio questo il punto, come faccio per montarlo? cioè essendo usb dove lo vado a trovare?
_________________
by ka0s
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Tue Aug 23, 2005 3:48 pm    Post subject: Reply with quote

Probabilmente stara' su /dev/sda1, oppure su sdb2 (se hai altri device del genere).
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 3:58 pm    Post subject: Reply with quote

silian87 wrote:
Probabilmente stara' su /dev/sda1, oppure su sdb2 (se hai altri device del genere).


/dev/sda1 è già un'altra partizione... gentoo è installato su /dev/sda7... lo sto cercando ma non riesco a trovarlo...
_________________
by ka0s
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 4:12 pm    Post subject: Reply with quote

fai una cosa...

apri un shell e digita:

Code:
# tail -f /var/log/messages


lasciala aperta e poi inserisci la penna.. quando la inserisci vedrai che verranno visualizzate alcune scritte tra cui il device a cui viene mappata la tua flashdisk....

a questo punto che hai individuato il device la monti.. sai fare questo no? :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 4:27 pm    Post subject: Reply with quote

Ok ho risolto guardando con dmesg ;) me lo aveva messo su /dev/sdb1 ;)

grazie a tutti per la grande pazienza ;)


EDIT: solo un'ultima curiosità :P ho notato che avevo inserito nativamente anche i moduli alsa... quindi adesso sono già caricati nel kernel e devo solo fare #emerge alsa-utils e poi come dice sul manuale # rc-update add alsasound boot e questo cmq vale per tutti quei moduli che ho inserito nativamente... non vanno caricati ma devo solo aggiungerli al runlevel di boot o di default... funziona così?
_________________
by ka0s


Last edited by ka0s on Tue Aug 23, 2005 4:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 4:29 pm    Post subject: Reply with quote

ka0s wrote:
Ok ho risolto guardando con dmesg ;) me lo aveva messo su /dev/sdb1 ;)

grazie a tutti per la grande pazienza ;)


si stessa cosa di /var/log/messages.. solo che cosi' lo vedevi in tempo reale! :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 4:32 pm    Post subject: Reply with quote

neryo wrote:
ka0s wrote:
Ok ho risolto guardando con dmesg ;) me lo aveva messo su /dev/sdb1 ;)

grazie a tutti per la grande pazienza ;)


si stessa cosa di /var/log/messages.. solo che cosi' lo vedevi in tempo reale! :wink:


eh si.. cmq molto interessante tutto ciò ;)

PS: dai un'occhiata all'edit del post sopra... ehm... ultima spiegazione per oggi ;) :P
_________________
by ka0s
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 23, 2005 4:39 pm    Post subject: Reply with quote

ka0s wrote:

EDIT: solo un'ultima curiosità :P ho notato che avevo inserito nativamente anche i moduli alsa... quindi adesso sono già caricati nel kernel e devo solo fare #emerge alsa-utils e poi come dice sul manuale # rc-update add alsasound boot e questo cmq vale per tutti quei moduli che ho inserito nativamente... non vanno caricati ma devo solo aggiungerli al runlevel di boot o di default... funziona così?


si, i tuoi moduli sono praticamente dentro l immagine del kernel, non ce bisogno quindi di caricarli.. cmq in ogni caso con coldplug e hotplug se i moduli esistono e sono utli al sistema vengono caricati in automatico... :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
ka0s
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 96

PostPosted: Tue Aug 23, 2005 4:42 pm    Post subject: Reply with quote

neryo wrote:
ka0s wrote:

EDIT: solo un'ultima curiosità :P ho notato che avevo inserito nativamente anche i moduli alsa... quindi adesso sono già caricati nel kernel e devo solo fare #emerge alsa-utils e poi come dice sul manuale # rc-update add alsasound boot e questo cmq vale per tutti quei moduli che ho inserito nativamente... non vanno caricati ma devo solo aggiungerli al runlevel di boot o di default... funziona così?


si, i tuoi moduli sono praticamente dentro l immagine del kernel, non ce bisogno quindi di caricarli.. cmq in ogni caso con coldplug e hotplug se i moduli esistono e sono utli al sistema vengono caricati in automatico... :wink:


perfetto, grazie mille! alla prossima ;)
_________________
by ka0s
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