Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]Penna USB non vista!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Sun Sep 19, 2004 2:50 pm    Post subject: [RISOLTO]Penna USB non vista! Reply with quote

Ciao ho un sistema AMD64 con Gentoo,
nel kernel è compilato il supporto per USB (ho lasciato tutto di default) però quando inserisco la penna non viene visualizzato nulla.

Sapete come funziona la storia??


Last edited by AlterX on Mon Jan 10, 2005 10:31 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31538
Location: here

PostPosted: Sun Sep 19, 2004 2:55 pm    Post subject: Reply with quote

Il modulo usb-storage c'e'? Il supporto per scsi disk c'e'? Inserisci la chiavetta e poi lancia dmesg e posta le ultime 20 righe
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Sun Sep 19, 2004 3:02 pm    Post subject: Reply with quote

controlla che:

nel kernel siano settati come moduli i supporti a UHCI, OHCI, EHCI. in base alla versione di porta USB che hai.

controlla di avere il modulo USB-STORAGE

magari devi solo caricare i moduli per cui prova con

Code:

# modprobe uhci-hcd
o
# modprobe ohci-hcd

per USB 1.1

altrimenti
Code:

# modprobe ehci-hcd


quindi il modulo:
Code:

# modprobe usb-storage


attacca la chiave e guarda cosa dice dmesg,

probabilmente avrai bisogno del supporto scsi in particolare del modulo "SCSI GENERIC":
Code:

# modprobe sg


... facci sapere...


ciao
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Sun Sep 19, 2004 7:20 pm    Post subject: Penna USB non vista! Reply with quote

Wow ragazzi...adesso funziona tutto!

Ho dovuto ricompilare il kernel perchè usb-storage non era settato.
adesso inserendo la penna, la luce si accende, quindi viene vista e anche dmesg mi indica uno storage scsi attivo su *sdb*.

Però ho dovuto caricare a mano i moduli e comunque non riesco a vederne il contenuto...
ho provato a montarlo però lo stesso non vedo nulla!!
Inoltre non c'è modo di attivare automaticamente i moduli all'inserimento della penna e scaricarli automaticamente, come fa win??
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31538
Location: here

PostPosted: Sun Sep 19, 2004 7:22 pm    Post subject: Reply with quote

Come l'hai montata?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Sun Sep 19, 2004 7:34 pm    Post subject: Penna USB non vista! Reply with quote

this is command:

mount -t usbfs /dev/sdb /mnt/pen
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31538
Location: here

PostPosted: Sun Sep 19, 2004 7:35 pm    Post subject: Re: Penna USB non vista! Reply with quote

AlterX wrote:
mount -t usbfs /dev/sdb /mnt/pen

Prova con
Code:
# mount -t vfat /dev/sdb /mnt/pen

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Sun Sep 19, 2004 7:40 pm    Post subject: Penna USB non vista! Reply with quote

ehh no!

mi dice:
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
or too many mounted file systems

però facendo un *mount*:
/dev/sda8 on / type ext3 (rw,noatime)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw) <----------------
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31538
Location: here

PostPosted: Sun Sep 19, 2004 7:44 pm    Post subject: Reply with quote

beh ma non ha creato un /dev/sdbX, dove X sta per un numero?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Sun Sep 19, 2004 7:46 pm    Post subject: Penna USB non vista! Reply with quote

Siii
mi ha creato un sdb1, ma
in ogni caso dopo che ho montato o sdb o sdb1,
mi fa vedere qualcosa del tipo:
ls /mnt/pen

001
002
003
004
005
devices

che non è il contenuto della penna!!
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Mon Sep 20, 2004 8:28 am    Post subject: Reply with quote

hai il supporto per i file system vfat?

per montarla io do qualcosa tipo:

Code:

# mount -t vfat /dev/sda1 /mnt/key

_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
PXL
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2004
Posts: 113
Location: CH->Ticino

PostPosted: Mon Sep 20, 2004 9:07 am    Post subject: Reply with quote

io do un semplicissimo:

Code:
mount /mnt/usb /dev/sda1

_________________
"apt-get install emerge" o "emerge apt" ? questo é il problema...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31538
Location: here

PostPosted: Mon Sep 20, 2004 9:08 am    Post subject: Reply with quote

PXL wrote:
Code:
mount /mnt/usb /dev/sda1

Al contrario penso :D
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
PXL
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2004
Posts: 113
Location: CH->Ticino

PostPosted: Mon Sep 20, 2004 9:17 am    Post subject: Reply with quote

sorry... dato che l'ho inserito nell'fstab, ho l'abitudine di usare solo /mnt/usb =) in ogni caso intendevo dire che lasciavo il filesystem da usare automatico... e senza altri particolari opzioni...
_________________
"apt-get install emerge" o "emerge apt" ? questo é il problema...
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Mon Sep 20, 2004 9:48 am    Post subject: Reply with quote

io per connettere la mia macchinetta fotografica ho preferito:
1) Compilare i moduli del kernel necessari all'usb internamernte al kernel stesso(*) e non moduli(M), di fatto mi trovo sempre i moduli caricati.
2) Lavorando in kde c'e' una applicazione (non ricordo il nome) che mi permette di montare graficamente la usb, impiego 2 secondi senza necessita' di cambiare utente (e senza necessita' di usare sub/super mount). Questa applicazione legge da /etc/fstab cosa e' montabile...
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Mon Sep 20, 2004 10:32 am    Post subject: Reply with quote

1) Che filesystem c'è sul pendrive?
2) Perchè usi usbfs?

Assicurati di aver compilato nel kernel o come moduli la parte che gestisce il tuo FS (solitamente vfat). Fatto questo montala con -t auto come parametro.

Quote:
The USB device filesystem is a dynamically generated filesystem, similar to the /proc filesystem.

Ovvio che non leggi il contenuto del pendrive, leggi il contenuto di usbfs. Se mi dici chi ti ha consigliato di usare usbfs lo andiamo a linciare insieme :twisted:
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Mon Sep 20, 2004 7:39 pm    Post subject: Penna USB non vista! Reply with quote

Ragazzi...
le ho provate tutte!!!
con vfat, con auto, in tutti i modi!!!

mi da errore con vfat, con auto, non sò più che fare!!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31538
Location: here

PostPosted: Mon Sep 20, 2004 7:53 pm    Post subject: Reply with quote

Ma ce l'hai compilato nel kernel il supporto per vfat?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Mon Sep 20, 2004 8:18 pm    Post subject: Penna USB non vista! Reply with quote

certo è inserito come modulo e preventivamente
l'ho anche caricato a mano, ma nulla!! :cry:
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Mon Sep 20, 2004 8:23 pm    Post subject: Re: Penna USB non vista! Reply with quote

AlterX wrote:
certo è inserito come modulo e preventivamente
l'ho anche caricato a mano, ma nulla!! :cry:

Provi a compilare in maniera monolitica sia vfat che tutto quello che hai attivato per usb?
perso per perso...
Back to top
View user's profile Send private message
fat_penguin
Apprentice
Apprentice


Joined: 25 Jul 2004
Posts: 294
Location: sud side of Switzerland

PostPosted: Tue Sep 21, 2004 3:52 pm    Post subject: Reply with quote

Ciao,
cosi a occhio sembra un problema di partizionamento. L'hai formattata con windows la penna USB?

Se sulla penna non hai dati importati formattala cosi:
Code:

cfdisk -z /dev/sdX 

poi procedi con partizionamento e formattazione...

byebye
fat_pengiun
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Tue Sep 21, 2004 3:55 pm    Post subject: Penna USB Reply with quote

ma si che è formattata...
cavolo sotto win ci lavoro con la penna!!!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Sep 21, 2004 4:05 pm    Post subject: Re: Penna USB Reply with quote

AlterX wrote:
ma si che è formattata...
cavolo sotto win ci lavoro con la penna!!!


La cosa interessante é che tu e earcar avete entrambi un AMD64 e avete problemi con la fat32.

Stai usando anche tu un kernel 2.6.8*? Puoi fare un tentativo con il 2.6.7?
_________________
Ciao da me!
Back to top
View user's profile Send private message
fat_penguin
Apprentice
Apprentice


Joined: 25 Jul 2004
Posts: 294
Location: sud side of Switzerland

PostPosted: Tue Sep 21, 2004 4:39 pm    Post subject: Reply with quote

AlterX, anche a me era successo e con windows andava... su linux invece mi dava i tuoi errori.
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


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

PostPosted: Tue Sep 21, 2004 4:49 pm    Post subject: Reply with quote

E' strano perche' anche a me e' successo qualcosa di simile...inserendo una chiavina USB mi dava il dispositivo nuovo (uso UDEV..) sd* ma poi non me lo faceva montare...inoltre mi bloccava completamente le porte usb...
Eppure l'usb funziona molto bene anche perche monto tranquillamente diverse altre penne/HD esterni...

Io personalmente penso possa essere un qualche problema di partizionamento usando il vfat, o al limite che la penna non e' proprio supportata...se cosi' fosse questa e' sfiga pura :wink:
_________________
I can resist anything but temptation.
(O. Wilde)
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
Goto page 1, 2  Next
Page 1 of 2

 
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