Di nuovo problemi con il disco esterno!!

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

Ciao a tutti...

Grazie ai consigli del forum ero riuscito a fare il mount automatico del mio disco esterno NTFS.
Tutto benissimo fino a ieri.. quando mi monta il dispositivo, ma quando tento di accedere mi si pianta la schermata.
Ho provato, da terminale, a fare umount dopo che si blaccava e ricevevo come risposta che il dispositivo era occupato...

Codice: Seleziona tutto

gianfranco@gianfranco-desktop:~$ sudo umount /dev/sda1 
Password:
umount: /media/HDEsterno: device is busy
umount: /media/HDEsterno: device is busy
gianfranco@gianfranco-desktop:~$ 

cosa puo' essere accaduto???
Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

Quel tipo di errore viene dato quando un altro programma sta accedendo al dispositivo, quindi non ti permette di smontarlo, fai:

Codice: Seleziona tutto

lsof /media/HDEsterno
per vedere chi è e quindi per killarlo ;)
Per il discorso che si blocca sulla schermata, prova a fare un check del disco, generalemente succede quando ci sono dei problemi di accesso al filesystem ;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Re: Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

ho provato a fare

Codice: Seleziona tutto

lsof /media/HDEsterno
ma nn mi da nulla in risposta...

come faccio a fare il check del disco??
adesso a volte non me lo monta nemmeno all'avvio...
Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

Posta l'output di

Codice: Seleziona tutto

mount
;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Re: Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

eccolo!

Codice: Seleziona tutto

gianfranco@gianfranco-desktop:~$ mount
/dev/hdb2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.17-10-generic/volatile type tmpfs (rw)
/dev/hdb1 on /media/hdb1 type vfat (rw)
/dev/hdb2 on /media/hdb2 type ext3 (rw)
/dev/hda1 on /media/hda1 type fuse (rw,nosuid,nodev,noatime,allow_other)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gianfranco@gianfranco-desktop:~$ 
Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

Scusa mi sono espresso male, intendo con il disco inserito ;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Re: Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

Il disco era ed è sempre rimasto inserito...ma a quanto pare il prblema degenera, perchè ora non lo vede nemmeno più!! (nono) (nono)
Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

...mmmhhhh....
Fai così:

Codice: Seleziona tutto

sudo fdisk -l
dmesg|tail
;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Re: Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

Risposte:

Codice: Seleziona tutto

gianfranco@gianfranco-desktop:~$ sudo fdisk -l
Password:

Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4866    39086113+   7  HPFS/NTFS

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        4866    39086113+   c  W95 FAT32 (LBA)
/dev/hdb2            4867        9753    39254827+  83  Linux
/dev/hdb3            9754        9964     1694857+   f  W95 Ext'd (LBA)
/dev/hdb5            9754        9964     1694826   82  Linux swap / Solaris

Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       36483   293049666    7  HPFS/NTFS
e la seconda:

Codice: Seleziona tutto

gianfranco@gianfranco-desktop:~$ dmesg|tail
[17180637.508000] sd 1:0:0:0: Attached scsi disk sda
[17180637.508000] sd 1:0:0:0: Attached scsi generic sg0 type 0
[17180667.724000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180697.976000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180728.296000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180758.544000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180788.800000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180819.052000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180849.300000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180879.576000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
gianfranco@gianfranco-desktop:~$ 
Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

gcom5183 ha scritto: [17180788.800000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
Un po strana questa segnalazione ::)
Comunque, ora fai

Codice: Seleziona tutto

sudo mount /media/HDEsterno
dmesg|tail
sudo umount /media/HDEsterno
dmesg|tail
e vediamo che succede ;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Re: Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

Ma possibile che sia succeso qualcosa così dal giorno alla notte?? (mad)
cmq ecco le risposte:

Codice: Seleziona tutto

gianfranco@gianfranco-desktop:~$ sudo mount /media/HDEsterno
Password:
gianfranco@gianfranco-desktop:~$ dmesg|tail
[17180637.508000] sd 1:0:0:0: Attached scsi disk sda
[17180637.508000] sd 1:0:0:0: Attached scsi generic sg0 type 0
[17180667.724000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180697.976000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180728.296000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180758.544000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180788.800000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180819.052000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180849.300000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180879.576000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
gianfranco@gianfranco-desktop:~$ sudo umount /media/HDEsterno
gianfranco@gianfranco-desktop:~$ dmesg|tail
[17180637.508000] sd 1:0:0:0: Attached scsi disk sda
[17180637.508000] sd 1:0:0:0: Attached scsi generic sg0 type 0
[17180667.724000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180697.976000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180728.296000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180758.544000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180788.800000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180819.052000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180849.300000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
[17180879.576000] usb 8-2: reset high speed USB device using ehci_hcd and address 4
gianfranco@gianfranco-desktop:~$ 

Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

Beh sembra che non ci siano problemi :P
Se dovesse verificarsi nuovamente controlla con (busy sull'umount)

Codice: Seleziona tutto

lsof /media/HDEsterno
chi occupa il device ;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
gcom5183
Prode Principiante
Messaggi: 35
Iscrizione: giovedì 30 novembre 2006, 8:58

Re: Di nuovo problemi con il disco esterno!!

Messaggio da gcom5183 »

Niente da fare...quando provo ad accedere mi si pianta la schermata....

e se faccio lsof /media/HDEsterno non ho risposta...
Avatar utente
paper0k
Rampante Reduce
Rampante Reduce
Messaggi: 7220
Iscrizione: lunedì 2 ottobre 2006, 13:39
Contatti:

Re: Di nuovo problemi con il disco esterno!!

Messaggio da paper0k »

Posta cosa ti restituisce

Codice: Seleziona tutto

dmesg|tail
ci potrebbero essere problemi di accesso al disco (magari settori/blocchi rovinati), ma visto che è ntfs ti consiglo da win a fare un check del disco ;)
Chiunque può essere ragionevole, ma esser sani di mente è raro (Oscar Wilde)
Wiki|Blog|Twitter|Identi.ca|last.fm
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Google [Bot] e 7 ospiti