problemi con mount e chiavetta USB

6 risposte [Ultimo contenuto]
Ritratto di marcotn
marcotn
(Junior)
Offline
Junior
Iscritto: 26/10/2004
Messaggi: 29

Sarge, con KDE, mi da qualche problema con il mount di una chiave USB.
in fstab ho inserito la seguente riga:
/dev/sda1 /mnt/removable auto rw,user,auto 0 0

ho eseguito mount e tutto è filato liscio.

Ma oggi:
- al boot non la monta;
- la prima volta che eseguo il comando mount sembra caricarla (nel senso che non ho alcun messaggio di errore).... ma poi non vedo niente;
- poi se riprovo dà il messaggio dev/sda1 is not a valid block device.
e se eseguo umount risponde che :
/mnt/removable: device is busy.

Mi sfugge qualcosa ???

Grazie

Marco

Ritratto di marcotn
marcotn
(Junior)
Offline
Junior
Iscritto: 26/10/2004
Messaggi: 29

Invio quello che mi indica dmesg e var7log.
Spero di non inviare troppe cose inutili.

Grazie.

DMESG APPENA EFFETTUATO IL BOOT CON CHIAVETTA INSERITA:

usbcore: registered new driver usbfs
usbcore: registered new driver hub
ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.3: irq 21, pci mem cea59000
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KM400/KM400A chipset
agpgart: Maximum main memory to use for agp memory: 176M
agpgart: AGP aperture is 128M @ 0xd0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1203 $ Ben Collins
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[de000000-de0007ff] Max Packet=[2048]
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. USB
uhci_hcd 0000:00:10.0: irq 21, io base 0000d400
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. USB (#2)
uhci_hcd 0000:00:10.1: irq 21, io base 0000d800
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. USB (#3)
uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e01800003d603f]
ip1394: $Rev: 1198 $ Ben Collins
ip1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02bb640(lo)
IPv6 over IPv4 tunneling driver
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x200000
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x200000
eth0: no IPv6 routers present
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11

VAR LOG MESSAGES INSERENDO CHIAVETTA:

Nov 24 08:30:29 localhost kernel: usbcore: registered new driver usbfs
Nov 24 08:30:29 localhost kernel: usbcore: registered new driver hub
Nov 24 08:30:29 localhost kernel: ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
Nov 24 08:30:29 localhost kernel: ehci_hcd 0000:00:10.3: irq 21, pci mem ce975000
Nov 24 08:30:29 localhost kernel: ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
Nov 24 08:30:29 localhost kernel: ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
Nov 24 08:30:29 localhost kernel: hub 1-0:1.0: USB hub found
Nov 24 08:30:29 localhost kernel: hub 1-0:1.0: 6 ports detected
Nov 24 08:30:29 localhost kernel: Linux agpgart interface v0.100 (c) Dave Jones
Nov 24 08:30:29 localhost kernel: agpgart: Detected VIA KM400/KM400A chipset
Nov 24 08:30:29 localhost kernel: agpgart: Maximum main memory to use for agp memory: 176M
Nov 24 08:30:29 localhost kernel: agpgart: AGP aperture is 128M @ 0xd0000000
Nov 24 08:30:29 localhost kernel: cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
Nov 24 08:30:29 localhost kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Nov 24 08:30:29 localhost kernel: ohci1394: $Rev: 1203 $ Ben Collins
Nov 24 08:30:29 localhost kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[de000000-de0007ff] Max Packet=[2048]
Nov 24 08:30:29 localhost kernel: USB Universal Host Controller Interface driver v2.2
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.0: VIA Technologies, Inc. USB
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.0: irq 21, io base 0000d400
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
Nov 24 08:30:29 localhost kernel: hub 2-0:1.0: USB hub found
Nov 24 08:30:29 localhost kernel: hub 2-0:1.0: 2 ports detected
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.1: VIA Technologies, Inc. USB (#2)
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.1: irq 21, io base 0000d800
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
Nov 24 08:30:29 localhost kernel: hub 3-0:1.0: USB hub found
Nov 24 08:30:29 localhost kernel: hub 3-0:1.0: 2 ports detected
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.2: VIA Technologies, Inc. USB (#3)
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00
Nov 24 08:30:29 localhost kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
Nov 24 08:30:29 localhost kernel: hub 4-0:1.0: USB hub found
Nov 24 08:30:29 localhost kernel: hub 4-0:1.0: 2 ports detected
Nov 24 08:30:29 localhost kernel: ip1394: $Rev: 1198 $ Ben Collins
Nov 24 08:30:29 localhost kernel: eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
Nov 24 08:30:29 localhost kernel: smbfs: Unrecognized mount option noexec
Nov 24 08:30:29 localhost last message repeated 7 times
Nov 24 08:30:31 localhost lpd[1767]: restarted
Nov 24 08:30:32 localhost kernel: NET: Registered protocol family 10
Nov 24 08:30:32 localhost kernel: Disabled Privacy Extensions on device c02bb640(lo)
Nov 24 08:30:32 localhost kernel: IPv6 over IPv4 tunneling driver
Nov 24 08:30:36 localhost kernel: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
Nov 24 08:30:36 localhost kernel: apm: overridden by ACPI.
Nov 24 08:30:37 localhost kernel: mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x200000
Nov 24 08:30:37 localhost kernel: input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
Nov 24 08:30:37 localhost input.agent[2115]: evbug: blacklisted
Nov 24 08:30:37 localhost input.agent[2115]: evdev: already loaded
Nov 24 08:30:37 localhost input.agent[2115]: mousedev: loaded sucessfully
Nov 24 08:30:37 localhost kernel: mice: PS/2 mouse device common for all mice
Nov 24 08:30:37 localhost input.agent[2104]: evbug: blacklisted
Nov 24 08:30:37 localhost input.agent[2104]: evdev: already loaded
Nov 24 08:30:38 localhost input.agent[2161]: evbug: blacklisted
Nov 24 08:30:38 localhost input.agent[2161]: evdev: already loaded
Nov 24 08:30:38 localhost input.agent[2157]: evbug: blacklisted
Nov 24 08:30:38 localhost input.agent[2157]: evdev: already loaded
Nov 24 08:30:38 localhost input.agent[2115]: tsdev: loaded sucessfully
Nov 24 08:30:38 localhost kernel: ts: Compaq touchscreen protocol output
Nov 24 08:30:38 localhost input.agent[2245]: evbug: blacklisted
Nov 24 08:30:38 localhost input.agent[2245]: evdev: already loaded
Nov 24 08:30:41 localhost kernel: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
Nov 24 08:30:41 localhost kernel: apm: overridden by ACPI.
Nov 24 08:30:41 localhost kernel: mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x200000
nov 24 08:39:26 localhost gconfd (marco-2694): Inizializzazione (versione 2.4.0.1), pid 2694, utente 'marco'
nov 24 08:39:27 localhost gconfd (marco-2694): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.mandatory" è stato risolta ad una fonte di configurazione in sola lettura in posizione 0
nov 24 08:39:27 localhost gconfd (marco-2694): L'indirizzo "xml:readwrite:/home/marco/.gconf" è stato risolto ad una fonte di configurazione scrivibile in posizione 1
nov 24 08:39:27 localhost gconfd (marco-2694): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.defaults" è stato risolta ad una fonte di configurazione in sola lettura in posizione 2
Nov 24 08:42:34 localhost kernel: SCSI subsystem initialized
Nov 24 09:03:38 localhost kernel: usb 1-5: new high speed USB device using address 2
Nov 24 09:03:38 localhost kernel: Initializing USB Mass Storage driver...
Nov 24 09:03:38 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Nov 24 09:03:38 localhost kernel: Vendor: 256MB Model: USB2.0FlashDrive Rev:
Nov 24 09:03:38 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 24 09:03:38 localhost kernel: SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
Nov 24 09:03:38 localhost kernel: sda: assuming Write Enabled
Nov 24 09:03:38 localhost kernel: /dev/scsi/host0/bus0/target0/lun0: p4
Nov 24 09:03:38 localhost kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Nov 24 09:03:38 localhost kernel: usbcore: registered new driver usb-storage
Nov 24 09:03:38 localhost kernel: USB Mass Storage support registered.
Nov 24 09:03:38 localhost usb.agent[2765]: usb-storage: loaded sucessfully
Nov 24 09:03:39 localhost scsi.agent[2804]: disk at /devices/pci0000:00/0000:00:10.3/usb1/1-5/1-5:1.0/host0/0:0:0:0

Ciao

Ritratto di marcotn
marcotn
(Junior)
Offline
Junior
Iscritto: 26/10/2004
Messaggi: 29

Scusa se integro il messaggio di prima ma .... adesso funziona. ... e io non ho cambiato niente!!! (almeno mi pare).
Ho solo aspettato un paio d'ore con il computer acceso e quando sono tornato ho ripetuto l'ultimo comando:
il fatidico mount.

perchè mi faccio prendere in giro da un pinguino ??

Ti invio il nuovo dmesg.
Forse mi sai spiegare .

Grazie ancora
Marco

COMANDI ORE 08,30 DI OGGI

debian:~# mount /dev/sda1 /mnt/removable/
mount: /dev/sda1 is not a valid block device
debian:~# mount /dev/sda4 /mnt/removable/
mount: /dev/sda4 is not a valid block device

NEL FRATTEMPO NON HO EFFETTUATO ALCUNA VARIAZIONE.

COMANDI DI OGGI ORE 11,15

debian:~# mount /dev/sda4 /mnt/removable/
debian:~# dmesg
.
.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.3: irq 21, pci mem ce975000
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KM400/KM400A chipset
agpgart: Maximum main memory to use for agp memory: 176M
agpgart: AGP aperture is 128M @ 0xd0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1203 $ Ben Collins
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[de000000-de0007ff] Max Packet=[2048]
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. USB
uhci_hcd 0000:00:10.0: irq 21, io base 0000d400
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. USB (#2)
uhci_hcd 0000:00:10.1: irq 21, io base 0000d800
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. USB (#3)
uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e01800003d603f]
ip1394: $Rev: 1198 $ Ben Collins
ip1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
smbfs: Unrecognized mount option noexec
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02bb640(lo)
IPv6 over IPv4 tunneling driver
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x200000
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
mtrr: 0xd8000000,0x2000000 overlaps existing 0xd8000000,0x200000
eth0: no IPv6 routers present
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
SCSI subsystem initialized
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
usb 1-5: new high speed USB device using address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: 256MB Model: USB2.0FlashDrive Rev:
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p4
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
via_audio: ignoring drain playback error -11
SMB connection re-established (-5)
SMB connection re-established (-5)
SMB connection re-established (-5)
SMB connection re-established (-5)
SMB connection re-established (-5)
SMB connection re-established (-5)

ADESSO, ripetendo il comando mount, si Ú montata!!

Ritratto di ToToTux
ToToTux
(Newbie)
Offline
Newbie
Iscritto: 18/11/2004
Messaggi: 2

Ho avuto un problema simile con una chiavetta usb 2.0 da 256 mb della Twinmos, ho risolto il tutto usando il kernel 2.6.10-rc2, e' molto probabile che anche tu potrai risolvere in questo modo.

Ritratto di wubby
wubby
(Junior)
Offline
Junior
Iscritto: 16/10/2004
Messaggi: 16

Alcune chiavette per motivi sconosciuti devono essere montate così:

mount /dev/sda /mnt/miadirectory

Asus K8V Deluxe, AMD Athlon(tm) 64 Processor 3200+, Kingston KHX3700K2/ 1GB