Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Użytkownik
Witam,
pytanie pewnie w stylu dyletanta, ale jak po dłuższym czasie bezczynności zdalnie za pomocą konsoli zamontować hdd na usb, gdy oczywiście restart maszynki nie wchodzi w grę? Pakiet usbmount oczywiście zainstalowany, dysk bezpośrednio po podłączeniu widać. Po dłuższym czasie bezczynności przestaje być widoczny.
aptitude search usbmount p usbmount - automatically mount and unmount USB mass storage devices lsusb Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Ostatnio edytowany przez krzys (2012-05-15 08:19:36)
Offline







Kapelusznik








krzys napisał(-a):
Po dłuższym czasie bezczynności przestaje być widoczny.
Polecenie fdisk -l również go nie widzi?
Offline
Użytkownik


Członek Sejmowej Komisji Śledczej



Witam,
Co pluje polecenie dmesg?
Pozdrawiam,
Towarzysz Torrentow

Offline
Użytkownik
trochę go pociąłem, ale to co najważniejsze chyba jest (sporo tego było)
...
[ 53.319114] usb 1-2: New USB device found, idVendor=1058, idProduct=0704
[ 53.319119] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 53.319123] usb 1-2: Product: External HDD
[ 53.319126] usb 1-2: Manufacturer: Western Digital
[ 53.333506] Initializing USB Mass Storage driver...
[ 53.333683] usb-storage 1-2:1.0: Quirks match for vid 1058 pid 0704: 8000
[ 53.333742] scsi4 : usb-storage 1-2:1.0
[ 53.333978] usbcore: registered new interface driver usb-storage
[ 53.333983] USB Mass Storage support registered.
[ 53.790399] scsi5 : ioc0: LSI53C1030 B2, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=21
[ 54.341078] scsi 4:0:0:0: Direct-Access WD 1600BEV External 1.05 PQ: 0 ANSI: 4
[ 54.342199] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 54.352076] sd 4:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 54.365054] sd 4:0:0:0: [sdb] Write Protect is off
[ 54.365060] sd 4:0:0:0: [sdb] Mode Sense: 21 00 00 00
[ 54.365063] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 54.389045] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 54.399079] sdb: sdb1
[ 54.425383] mptspi 0000:00:06.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
[ 54.425532] mptbase: ioc1: Initiating bringup
[ 54.433053] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 54.433108] sd 4:0:0:0: [sdb] Attached SCSI disk
[ 54.912015] ioc1: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 55.402403] scsi6 : ioc1: LSI53C1030 B2, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=22
[ 56.100687] PM: Starting manual resume from disk
[ 56.100694] PM: Hibernation image partition 8:5 present
[ 56.100697] PM: Looking for hibernation image.
[ 56.100943] PM: Image not found (code -22)
[ 56.100946] PM: Hibernation image not present or could not be loaded.
[ 56.140089] EXT3-fs: barriers not enabled
[ 56.149552] kjournald starting. Commit interval 5 seconds
[ 56.149589] EXT3-fs (sda1): mounted filesystem with ordered data mode
[ 56.542569] scsi 5:0:3:0: Sequential-Access HP C7438A V312 PQ: 0 ANSI: 3
[ 56.542590] scsi target5:0:3: Beginning Domain Validation
[ 56.558292] scsi target5:0:3: Domain Validation skipping write tests
[ 56.558298] scsi target5:0:3: Ending Domain Validation
[ 56.558366] scsi target5:0:3: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 32)
[ 57.926408] udev[271]: starting version 164
[ 58.351826] ACPI: acpi_idle registered with cpuidle
[ 58.389152] input: PC Speaker as /devices/platform/pcspkr/input/input0
[ 58.499779] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 58.499793] ACPI: Power Button [PWRF]
[ 58.571525] parport_pc 00:07: reported by Plug and Play ACPI
[ 58.571593] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 58.637784] piix4_smbus 0000:00:0f.0: SMBus Host Controller at 0x700, revision 0
[ 59.313054] scsi 5:0:3:0: Attached scsi generic sg3 type 1
[ 59.351783] st: Version 20100829, fixed bufsize 32768, s/g segs 256
[ 59.353358] st 5:0:3:0: Attached scsi tape st0
[ 59.353366] st 5:0:3:0: st0: try direct i/o: yes (alignment 512 B)
[ 59.579554] osst :I: Tape driver with OnStream support version 0.99.4
[ 59.579557] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[ 60.611993] Adding 2650688k swap on /dev/sda5. Priority:-1 extents:1 across:2650688k
[ 149.680559] EXT3-fs (sda1): using internal journal
[ 149.782161] loop: module loaded
[ 150.394153] EXT3-fs: barriers not enabled
[ 150.399252] kjournald starting. Commit interval 5 seconds
[ 150.423852] EXT3-fs (sda6): using internal journal
[ 150.423863] EXT3-fs (sda6): mounted filesystem with ordered data mode
[ 151.851310] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 151.857736] fuse init (API version 7.15)
....
[35647.724150] usb 1-2: USB disconnect, address 2
[35647.726233] sd 4:0:0:0: [sdb] Unhandled error code
[35647.726244] sd 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[35647.726253] sd 4:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[35647.726270] end_request: I/O error, dev sdb, sector 0
[35647.726281] Buffer I/O error on device sdb, logical block 0
[35835.080034] hub 1-0:1.0: unable to enumerate USB device on port 2
[35881.800029] hub 1-0:1.0: unable to enumerate USB device on port 2
[35975.240044] usb 1-2: new full speed USB device using ohci_hcd and address 5
[35975.304031] hub 1-0:1.0: unable to enumerate USB device on port 2
[35998.816018] usb 1-2: new full speed USB device using ohci_hcd and address 6
[35998.896027] hub 1-0:1.0: unable to enumerate USB device on port 2
[36045.568028] hub 1-0:1.0: unable to enumerate USB device on port 2
[36069.096024] usb 1-2: new full speed USB device using ohci_hcd and address 8
[36069.640026] usb 1-2: device not accepting address 8, error -62
[36069.696031] hub 1-0:1.0: unable to enumerate USB device on port 2
[36347.688022] usb 1-2: new full speed USB device using ohci_hcd and address 10
[36348.232033] usb 1-2: device not accepting address 10, error -62
[36348.288039] hub 1-0:1.0: unable to enumerate USB device on port 2
[36371.380020] usb 1-2: new full speed USB device using ohci_hcd and address 12
[36371.924031] usb 1-2: device not accepting address 12, error -62
[36371.980033] hub 1-0:1.0: unable to enumerate USB device on port 2
[36418.240023] usb 1-2: new full speed USB device using ohci_hcd and address 14
[36418.320030] hub 1-0:1.0: unable to enumerate USB device on port 2
[36534.692028] hub 1-0:1.0: unable to enumerate USB device on port 2
[36581.400032] hub 1-0:1.0: unable to enumerate USB device on port 2
[36651.272020] usb 1-2: new full speed USB device using ohci_hcd and address 17
[36651.352043] hub 1-0:1.0: unable to enumerate USB device on port 2
[36721.480025] usb 1-2: new full speed USB device using ohci_hcd and address 18
[36721.560033] hub 1-0:1.0: unable to enumerate USB device on port 2
[36768.264047] usb 1-2: new full speed USB device using ohci_hcd and address 19
[36768.808022] usb 1-2: device not accepting address 19, error -62
[36768.864026] hub 1-0:1.0: unable to enumerate USB device on port 2
[36791.944022] usb 1-2: new full speed USB device using ohci_hcd and address 21
[36792.108003] usb 1-2: New USB device found, idVendor=13fd, idProduct=160e
[36792.108024] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[36792.215015] usb 1-2: USB disconnect, address 21
[36908.408023] usb 1-2: new full speed USB device using ohci_hcd and address 22
[36908.488034] hub 1-0:1.0: unable to enumerate USB device on port 2
[36932.036026] usb 1-2: new full speed USB device using ohci_hcd and address 23
[36932.100031] hub 1-0:1.0: unable to enumerate USB device on port 2
[37001.912021] usb 1-2: new full speed USB device using ohci_hcd and address 24
[37002.075995] usb 1-2: New USB device found, idVendor=13fd, idProduct=160e
[37002.076000] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[37002.264063] usb 1-2: USB disconnect, address 24
[37281.128034] usb 1-2: new full speed USB device using ohci_hcd and address 25
[37281.292018] usb 1-2: New USB device found, idVendor=13fd, idProduct=160e
[37281.292024] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[37281.512065] usb 1-2: USB disconnect, address 25
[37467.652022] usb 1-2: new full speed USB device using ohci_hcd and address 26
[37467.716031] hub 1-0:1.0: unable to enumerate USB device on port 2
[37514.376019] usb 1-2: new full speed USB device using ohci_hcd and address 27
[37514.456043] hub 1-0:1.0: unable to enumerate USB device on port 2
[37561.388022] usb 1-2: new full speed USB device using ohci_hcd and address 28
[37561.932026] usb 1-2: device not accepting address 28, error -62
[37561.988028] hub 1-0:1.0: unable to enumerate USB device on port 2
[37654.540021] usb 1-2: new full speed USB device using ohci_hcd and address 30
[37654.620067] hub 1-0:1.0: unable to enumerate USB device on port 2
[37678.172026] usb 1-2: new full speed USB device using ohci_hcd and address 31
[37678.236065] hub 1-0:1.0: unable to enumerate USB device on port 2
[37724.840025] hub 1-0:1.0: unable to enumerate USB device on port 2
[37841.360036] usb 1-2: new full speed USB device using ohci_hcd and address 33
[37841.440034] hub 1-0:1.0: unable to enumerate USB device on port 2
[37911.376025] hub 1-0:1.0: unable to enumerate USB device on port 2
[38074.160039] hub 1-0:1.0: unable to enumerate USB device on port 2
[38330.124031] usb 1-2: new full speed USB device using ohci_hcd and address 36
[38330.668023] usb 1-2: device not accepting address 36, error -62
[38330.724031] hub 1-0:1.0: unable to enumerate USB device on port 2
[38446.376028] hub 1-0:1.0: unable to enumerate USB device on port 2
[38469.948021] usb 1-2: new full speed USB device using ohci_hcd and address 39
[38470.012073] hub 1-0:1.0: unable to enumerate USB device on port 2
[38632.592027] hub 1-0:1.0: unable to enumerate USB device on port 2
[38725.748028] hub 1-0:1.0: unable to enumerate USB device on port 2
[38911.872029] hub 1-0:1.0: unable to enumerate USB device on port 2
[39120.864037] usb 1-2: new full speed USB device using ohci_hcd and address 43
[39120.924058] hub 1-0:1.0: unable to enumerate USB device on port 2
[39167.848030] usb 1-2: new full speed USB device using ohci_hcd and address 44
[39167.912028] hub 1-0:1.0: unable to enumerate USB device on port 2
[39191.388021] usb 1-2: new full speed USB device using ohci_hcd and address 45
[39191.468029] hub 1-0:1.0: unable to enumerate USB device on port 2
[39308.044020] usb 1-2: new full speed USB device using ohci_hcd and address 46
[39308.124055] hub 1-0:1.0: unable to enumerate USB device on port 2
[39401.332025] usb 1-2: new full speed USB device using ohci_hcd and address 47
[39401.876026] usb 1-2: device not accepting address 47, error -62
[39401.932024] hub 1-0:1.0: unable to enumerate USB device on port 2
[39425.032020] usb 1-2: new full speed USB device using ohci_hcd and address 49
[39425.096041] hub 1-0:1.0: unable to enumerate USB device on port 2
[39448.544028] hub 1-0:1.0: unable to enumerate USB device on port 2
[39472.056021] usb 1-2: new full speed USB device using ohci_hcd and address 51
[39472.120055] hub 1-0:1.0: unable to enumerate USB device on port 2
[39588.668038] usb 1-2: new full speed USB device using ohci_hcd and address 52
[39588.732030] hub 1-0:1.0: unable to enumerate USB device on port 2
[39612.232024] usb 1-2: new full speed USB device using ohci_hcd and address 53
[39612.296048] hub 1-0:1.0: unable to enumerate USB device on port 2
[39659.076199] usb 1-2: new full speed USB device using ohci_hcd and address 54
[39659.240008] usb 1-2: New USB device found, idVendor=13fd, idProduct=160e
[39659.240026] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[39659.473387] usb 1-2: USB disconnect, address 54
[39822.300026] hub 1-0:1.0: unable to enumerate USB device on port 2
[39892.760029] usb 1-2: new full speed USB device using ohci_hcd and address 56
[39892.824035] hub 1-0:1.0: unable to enumerate USB device on port 2
[39916.296051] usb 1-2: new full speed USB device using ohci_hcd and address 57
[39916.376032] hub 1-0:1.0: unable to enumerate USB device on port 2
[39939.900027] usb 1-2: new full speed USB device using ohci_hcd and address 58
[39939.980031] hub 1-0:1.0: unable to enumerate USB device on port 2Offline


Członek Sejmowej Komisji Śledczej



Witam,
Dysk jest sprawny na 100%?
Pozdrawiam,
Towarzysz Torrentow

Offline
Użytkownik
no tak, bo jak pisałem wyżej, jeśli go ręcznie wypnę i wepnę powtórnie to zaskoczy, zdalnie z konsoli wystarczy restart serwera i również zaskoczy, no ale to tak trochę po sztubacku.
Zamierzałem na nim od czasu do czasu zdalnie lub z crona wykonać rsync w nocy, no ale jak maszynka go nie będzie widzieć to pupka zbita
Offline


Członek Sejmowej Komisji Śledczej



Witam,
Mi to wygląda na brak zasilania jeżeli masz dysk 2,5 cala tzn. muszą być wpięte 2 wtyczki USB. Zapodaj
dpkg -l | grep udev
Pozdrawiam,
Towarzysz Torrentow

Offline
Użytkownik
dpkg -l|grep udev ii libgudev-1.0-0 164-3 GObject-based wrapper library for libudev ii libudev0 164-3 libudev shared library ii system-config-printer-udev 1.2.3-3 Utilities to detect and configure printers automatically ii udev 164-3 /dev/ and hotplug management daemon
ps. ale tutaj możesz mieć rację z tym "zasilaniem", może być za długi kabel usb, w tej chwili dysk wisi na około 1m przewodzie, oryginalnie do niego był krótszy - około 30cm, ... zapnę go na krótszym
po zmianie przewodu
lsusb Bus 001 Device 092: ID 1058:0704 Western Digital Technologies, Inc. Passport External HDD Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
i czekam ...
edit: problem wydaje się rozwiązany, za długi przewód do tego dysku.
@torrentow - WIELKIE DZIĘKI. Pozdrawiam.
Ostatnio edytowany przez krzys (2012-05-15 13:31:57)
Offline