Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: usb Read-only file system  (Přečteno 3865 krát)

blackwhit

  • Návštěvník
  • Příspěvků: 7
usb Read-only file system
« kdy: 31 Ledna 2010, 20:30:18 »
Zdravím,

jsem ubuntu nováček. Mám problém s usb flash diskem. Při prvním připojení vše fungovalo OK, ale když jsem disk připojil podruhé (a od té doby to tak je stále) se mi flashka připojí v režimu read-only a nemůžu na ní nahrávat / mazat / upravovat etc. Máte s tím nějaké zkušenosti? Jak z toho ven?

btw. mám 9.10

díky

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: usb Read-only file system
« Odpověď #1 kdy: 01 Února 2010, 09:23:45 »
Dáš tady výstup z DiskDebug?
http://wiki.ubuntu.cz/DiskDebug
http://www.openstreetmap.org - mapy celého světa "wiki style"

LuciusMare

  • Závislák
  • ***
  • Příspěvků: 1749
Re: usb Read-only file system
« Odpověď #2 kdy: 01 Února 2010, 09:25:16 »
Dáš tady výstup z DiskDebug?
http://wiki.ubuntu.cz/DiskDebug
První testovaný objekt, říkáš? ;)
Citace
<Firzen> tak teď budu Číňan
<Firzen> tak uvidíme :D
Jabber: LuciusMare (zkroucenina) jabbim (tecka) cz

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: usb Read-only file system
« Odpověď #3 kdy: 01 Února 2010, 10:06:18 »
První testovaný objekt, říkáš? ;)
Skoro :) Jsem zvědav, jestli to k něčemu bude...
http://www.openstreetmap.org - mapy celého světa "wiki style"

Pavel Půlpán

Re: usb Read-only file system
« Odpověď #4 kdy: 01 Února 2010, 10:09:01 »
To je arrangův výtvor? Tak to mi tam chybí někde rm -rf --no-preserve-root /! 8)

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: usb Read-only file system
« Odpověď #5 kdy: 01 Února 2010, 10:12:05 »
Tak vám pěkně děkuji přátelé, myslím, že teď už opravdu nikdo nebude mít odvahu do toho jít  ;D Komunita  :D
http://www.openstreetmap.org - mapy celého světa "wiki style"

blackwhit

  • Návštěvník
  • Příspěvků: 7
Re: usb Read-only file system
« Odpověď #6 kdy: 01 Února 2010, 17:09:30 »
Kód: [Vybrat]

dmesg
---------------------------
821,854d820
< [ 2064.826826] FAT: Filesystem error (dev sdb1)
< [ 2064.826832]     invalid access to FAT (entry 0xaaba36b7)
< [ 2065.362299] FAT: Filesystem error (dev sdb1)
< [ 2065.362306]     invalid access to FAT (entry 0x052baadc)
< [ 2087.162276] usb 1-7: USB disconnect, address 6
< [ 2090.196150] usb 1-7: new high speed USB device using ehci_hcd and address 7
< [ 2090.332085] usb 1-7: configuration #1 chosen from 1 choice
< [ 2090.333164] scsi7 : SCSI emulation for USB Mass Storage devices
< [ 2090.333396] usb-storage: device found at 7
< [ 2090.333400] usb-storage: waiting for device to settle before scanning
< [ 2095.332465] usb-storage: device scan complete
< [ 2095.333088] scsi 7:0:0:0: Direct-Access     Kingston DataTraveler G2  1.00 PQ: 0 ANSI: 2
< [ 2095.334096] sd 7:0:0:0: Attached scsi generic sg2 type 0
< [ 2095.337716] sd 7:0:0:0: [sdb] 31252024 512-byte logical blocks: (16.0 GB/14.9 GiB)
< [ 2095.343102] sd 7:0:0:0: [sdb] Write Protect is off
< [ 2095.343111] sd 7:0:0:0: [sdb] Mode Sense: 16 24 09 51
< [ 2095.343116] sd 7:0:0:0: [sdb] Assuming drive cache: write through
< [ 2095.347335] sd 7:0:0:0: [sdb] Assuming drive cache: write through
< [ 2095.347346]  sdb: sdb1
< [ 2095.351973] sd 7:0:0:0: [sdb] Assuming drive cache: write through
< [ 2095.351981] sd 7:0:0:0: [sdb] Attached SCSI removable disk
< [ 2105.354623] FAT: Filesystem error (dev sdb1)
< [ 2105.354629]     invalid access to FAT (entry 0xaaba36b7)
< [ 2105.354633]     File system has been set read-only
< [ 2105.942369] FAT: Filesystem error (dev sdb1)
< [ 2105.942376]     invalid access to FAT (entry 0x052baadc)
< [ 2105.942706] FAT: Filesystem error (dev sdb1)
< [ 2105.942710]     invalid access to FAT (entry 0x95bfc862)
< [ 2105.942840] FAT: Filesystem error (dev sdb1)
< [ 2105.942843]     invalid access to FAT (entry 0xc60122d0)
< [ 2106.057298] FAT: Filesystem error (dev sdb1)
< [ 2106.057306]     invalid access to FAT (entry 0xaaba36b7)
< [ 2106.579550] FAT: Filesystem error (dev sdb1)
< [ 2106.579556]     invalid access to FAT (entry 0x052baadc)

lsusb
---------------------------
1c1
< Bus 001 Device 007: ID 0951:1624 Kingston Technology
---
> Bus 001 Device 006: ID 0951:1624 Kingston Technology

fdisk -l
---------------------------

parted -l
---------------------------

mount
---------------------------

blkid -c /dev/null
---------------------------

Devkit
---------------------------
198c198
<   native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host7/target7:0:0/7:0:0:0/block/sdb
---
>   native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host6/target6:0:0/6:0:0:0/block/sdb
203c203
<   detected at:                 Po 1. únor 2010, 17:06:54 CET
---
>   detected at:                 Po 1. únor 2010, 17:05:10 CET
206c206
<   has media:                   1 (detected at Po 1. únor 2010, 17:06:54 CET)
---
>   has media:                   1 (detected at Po 1. únor 2010, 17:05:10 CET)
245c245
<   native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host7/target7:0:0/7:0:0:0/block/sdb/sdb1
---
>   native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
251c251
<   detected at:                 Po 1. únor 2010, 17:06:54 CET
---
>   detected at:                 Po 1. únor 2010, 17:05:10 CET
254c254
<   has media:                   1 (detected at Po 1. únor 2010, 17:06:54 CET)
---
>   has media:                   1 (detected at Po 1. únor 2010, 17:05:10 CET)

uname -a
---------------------------
Linux blackwhit-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

cat /etc/lsb-release
---------------------------
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

free -m
---------------------------
             total       used       free     shared    buffers     cached
Mem:          2012       1117        894          0        197        603
-/+ buffers/cache:        317       1694
Swap:         5890          0       5890

df -h
---------------------------
Souborový systém            Velikost Užito Volno Uži% Mounted on
/dev/sda1             142G   45G   89G  34% /
udev                 1007M  340K 1006M   1% /dev
none                 1007M  4,3M 1002M   1% /dev/shm
none                 1007M   72K 1006M   1% /var/run
none                 1007M     0 1007M   0% /var/lock
none                 1007M     0 1007M   0% /lib/init/rw
/dev/sdb1              15G   11G  4,0G  74% /media/KINGSTON

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: usb Read-only file system
« Odpověď #7 kdy: 01 Února 2010, 19:51:38 »
Máš poškozený souborový systém. Jak to opravit?

1. Zálohuj obsah flashky.
2. Pak máš dvě možnosti:
- naformátovat ji znova
- pokusit se ji opravit, můžeš použít třeba GParted/Editor diskových oddílů, Oddíl → Zkontrolovat.
http://www.openstreetmap.org - mapy celého světa "wiki style"

blackwhit

  • Návštěvník
  • Příspěvků: 7
Re: usb Read-only file system
« Odpověď #8 kdy: 01 Února 2010, 20:57:54 »
dík za tip, vyzkouším...

LuciusMare

  • Závislák
  • ***
  • Příspěvků: 1749
Re: usb Read-only file system
« Odpověď #9 kdy: 02 Února 2010, 09:44:05 »
Ono to fungovalo!  :o
;D
Citace
<Firzen> tak teď budu Číňan
<Firzen> tak uvidíme :D
Jabber: LuciusMare (zkroucenina) jabbim (tecka) cz

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: usb Read-only file system
« Odpověď #10 kdy: 02 Února 2010, 09:52:23 »
Si piš  ;)  ;D

Nechceš taky něco napsat? WifiDebug, AptDebug, XDebug, FFDebug, SoundDebug, WebcamDebug...  ;)
http://www.openstreetmap.org - mapy celého světa "wiki style"

blackwhit

  • Návštěvník
  • Příspěvků: 7
Re: usb Read-only file system
« Odpověď #11 kdy: 02 Února 2010, 12:23:58 »
btw. možná webcam debug by se hodil taky, páč ta mi teda taky blbne... acer crystal webeye nebo jak se jmenjue... Tváří se jako OK, ale když pustím cheeese, tak zobrazený "obraz kamery" vypadá jako když se ladí TV! :-)

LuciusMare

  • Závislák
  • ***
  • Příspěvků: 1749
Re: usb Read-only file system
« Odpověď #12 kdy: 02 Února 2010, 15:32:09 »
Střelba od boku: Nemáš tam TV kartu a není to opravdu ladění televize? :D
A klidně bych si něco napsal, ale neumím ;)
Citace
<Firzen> tak teď budu Číňan
<Firzen> tak uvidíme :D
Jabber: LuciusMare (zkroucenina) jabbim (tecka) cz

sranda

  • Návštěvník
  • Příspěvků: 27
Re: usb Read-only file system
« Odpověď #13 kdy: 03 Února 2010, 11:09:59 »
Mam prakticky stejnej problem, ale ten diskdebug mi vylezl uplne jinej. Muzes mi taky poradit ???  Te vypis je divokej, jelikoz mam na USB roz-ctverku, tak doufam ze neni problem v ni. Diky za pomoc

Kód: [Vybrat]

dmesg
---------------------------
1c1,89
< -71
---
> t 2
> [ 6170.596075] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6171.336103] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6171.832069] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6172.328177] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6172.826568] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6173.320488] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6173.816075] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6174.312152] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6174.808188] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6175.304184] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6175.800071] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6176.296095] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6176.792058] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6177.288070] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6177.784115] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6178.280070] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6178.776099] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6179.576486] usb 2-2: new low speed USB device using uhci_hcd and address 26
> [ 6179.696052] usb 2-2: device descriptor read/64, error -71
> [ 6179.920039] usb 2-2: device descriptor read/64, error -71
> [ 6180.136045] usb 2-2: new low speed USB device using uhci_hcd and address 27
> [ 6180.256036] usb 2-2: device descriptor read/64, error -71
> [ 6180.481002] usb 2-2: device descriptor read/64, error -71
> [ 6180.700063] usb 2-2: new low speed USB device using uhci_hcd and address 28
> [ 6181.108114] usb 2-2: device not accepting address 28, error -71
> [ 6181.220041] usb 2-2: new low speed USB device using uhci_hcd and address 29
> [ 6181.628022] usb 2-2: device not accepting address 29, error -71
> [ 6181.628050] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6199.464082] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6199.936043] usb 2-2: new low speed USB device using uhci_hcd and address 31
> [ 6200.056039] usb 2-2: device descriptor read/64, error -71
> [ 6200.284043] usb 2-2: device descriptor read/64, error -71
> [ 6200.500449] usb 2-2: new low speed USB device using uhci_hcd and address 32
> [ 6200.624288] usb 2-2: device descriptor read/64, error -71
> [ 6200.849485] usb 2-2: device descriptor read/64, error -71
> [ 6201.064041] usb 2-2: new low speed USB device using uhci_hcd and address 33
> [ 6201.472020] usb 2-2: device not accepting address 33, error -71
> [ 6201.584032] usb 2-2: new low speed USB device using uhci_hcd and address 34
> [ 6201.992045] usb 2-2: device not accepting address 34, error -71
> [ 6201.992085] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6203.880039] usb 2-2: new low speed USB device using uhci_hcd and address 35
> [ 6203.944073] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6204.640040] usb 2-2: new low speed USB device using uhci_hcd and address 36
> [ 6204.760034] usb 2-2: device descriptor read/64, error -71
> [ 6204.984037] usb 2-2: device descriptor read/64, error -71
> [ 6205.200066] usb 2-2: new low speed USB device using uhci_hcd and address 37
> [ 6205.320040] usb 2-2: device descriptor read/64, error -71
> [ 6205.544269] usb 2-2: device descriptor read/64, error -71
> [ 6205.760032] usb 2-2: new low speed USB device using uhci_hcd and address 38
> [ 6206.169050] usb 2-2: device not accepting address 38, error -71
> [ 6206.280042] usb 2-2: new low speed USB device using uhci_hcd and address 39
> [ 6206.688052] usb 2-2: device not accepting address 39, error -71
> [ 6206.688081] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6211.072039] usb 2-2: new low speed USB device using uhci_hcd and address 40
> [ 6211.196565] usb 2-2: device descriptor read/64, error -71
> [ 6211.421284] usb 2-2: device descriptor read/64, error -71
> [ 6211.636040] usb 2-2: new low speed USB device using uhci_hcd and address 41
> [ 6211.756032] usb 2-2: device descriptor read/64, error -71
> [ 6211.980039] usb 2-2: device descriptor read/64, error -71
> [ 6212.196394] usb 2-2: new low speed USB device using uhci_hcd and address 42
> [ 6212.608064] usb 2-2: device not accepting address 42, error -71
> [ 6212.720035] usb 2-2: new low speed USB device using uhci_hcd and address 43
> [ 6213.132773] usb 2-2: device not accepting address 43, error -71
> [ 6213.132802] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6216.264085] usb 2-2: new low speed USB device using uhci_hcd and address 44
> [ 6216.392033] usb 2-2: device descriptor read/64, error -71
> [ 6216.616041] usb 2-2: device descriptor read/64, error -71
> [ 6216.832031] usb 2-2: new low speed USB device using uhci_hcd and address 45
> [ 6216.956043] usb 2-2: device descriptor read/64, error -71
> [ 6217.128179] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6218.264037] usb 2-2: new low speed USB device using uhci_hcd and address 46
> [ 6218.384039] usb 2-2: device descriptor read/64, error -71
> [ 6218.612042] usb 2-2: device descriptor read/64, error -71
> [ 6218.832469] usb 2-2: new low speed USB device using uhci_hcd and address 47
> [ 6218.956158] usb 2-2: device descriptor read/64, error -71
> [ 6219.180040] usb 2-2: device descriptor read/64, error -71
> [ 6219.340072] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6219.781300] usb 2-2: new low speed USB device using uhci_hcd and address 49
> [ 6219.904042] usb 2-2: device descriptor read/64, error -71
> [ 6220.128250] usb 2-2: device descriptor read/64, error -71
> [ 6220.344213] usb 2-2: new low speed USB device using uhci_hcd and address 50
> [ 6220.464047] usb 2-2: device descriptor read/64, error -71
> [ 6220.632070] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6221.240040] usb 2-2: new low speed USB device using uhci_hcd and address 51
> [ 6221.312069] hub 2-0:1.0: unable to enumerate USB device on port 2
> [ 6221.984040] usb 2-2: new low speed USB device using uhci_hcd and address 52
> [ 6222.104039] usb 2-2: device descriptor read/64, error -71
> [ 6222.328043] usb 2-2: device descriptor read/64, error -71
1723,1812d1810
< [ 7354.248062] usb 2-2: new low speed USB device using uhci_hcd and address 2
< [ 7354.665971] usb 2-2: device not accepting address 2, error -71
< [ 7354.780280] usb 2-2: new low speed USB device using uhci_hcd and address 3
< [ 7355.196028] usb 2-2: device not accepting address 3, error -71
< [ 7355.196057] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7365.472164] usb 1-1.2: new high speed USB device using ehci_hcd and address 13
< [ 7366.153728] usb 1-1.2: configuration #1 chosen from 1 choice
< [ 7366.154944] scsi6 : SCSI emulation for USB Mass Storage devices
< [ 7366.155149] usb-storage: device found at 13
< [ 7366.155152] usb-storage: waiting for device to settle before scanning
< [ 7366.696090] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7367.248042] usb 2-2: new low speed USB device using uhci_hcd and address 5
< [ 7367.368037] usb 2-2: device descriptor read/64, error -71
< [ 7367.592039] usb 2-2: device descriptor read/64, error -71
< [ 7367.808043] usb 2-2: new low speed USB device using uhci_hcd and address 6
< [ 7367.928040] usb 2-2: device descriptor read/64, error -71
< [ 7368.152034] usb 2-2: device descriptor read/64, error -71
< [ 7368.368040] usb 2-2: new low speed USB device using uhci_hcd and address 7
< [ 7368.776027] usb 2-2: device not accepting address 7, error -71
< [ 7368.888046] usb 2-2: new low speed USB device using uhci_hcd and address 8
< [ 7369.296031] usb 2-2: device not accepting address 8, error -71
< [ 7369.296060] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7371.152251] usb-storage: device scan complete
< [ 7371.153222] scsi 6:0:0:0: Direct-Access     USB 2.0  USB Flash Drive  0.00 PQ: 0 ANSI: 2
< [ 7371.153853] sd 6:0:0:0: Attached scsi generic sg2 type 0
< [ 7371.181828] sd 6:0:0:0: [sdb] 15794175 512-byte logical blocks: (8.08 GB/7.53 GiB)
< [ 7371.183966] sd 6:0:0:0: [sdb] Write Protect is off
< [ 7371.183973] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
< [ 7371.183976] sd 6:0:0:0: [sdb] Assuming drive cache: write through
< [ 7371.198948] sd 6:0:0:0: [sdb] Assuming drive cache: write through
< [ 7371.198959]  sdb:
< [ 7371.219249] usb 2-2: new low speed USB device using uhci_hcd and address 9
< [ 7371.266379]  sdb1
< [ 7371.336965] sd 6:0:0:0: [sdb] Assuming drive cache: write through
< [ 7371.336975] sd 6:0:0:0: [sdb] Attached SCSI removable disk
< [ 7371.348207] usb 2-2: device descriptor read/64, error -71
< [ 7371.576043] usb 2-2: device descriptor read/64, error -71
< [ 7371.792038] usb 2-2: new low speed USB device using uhci_hcd and address 10
< [ 7371.912043] usb 2-2: device descriptor read/64, error -71
< [ 7372.137057] usb 2-2: device descriptor read/64, error -71
< [ 7372.352051] usb 2-2: new low speed USB device using uhci_hcd and address 11
< [ 7372.776133] usb 2-2: device not accepting address 11, error -71
< [ 7372.832429] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7373.472091] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7373.892091] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7374.384070] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7374.884635] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7375.932065] usb 2-2: new low speed USB device using uhci_hcd and address 17
< [ 7376.058099] usb 2-2: device descriptor read/64, error -71
< [ 7376.228076] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7376.688511] usb 2-2: new low speed USB device using uhci_hcd and address 18
< [ 7376.812041] usb 2-2: device descriptor read/64, error -71
< [ 7377.036133] usb 2-2: device descriptor read/64, error -71
< [ 7377.252112] usb 2-2: new low speed USB device using uhci_hcd and address 19
< [ 7377.380112] usb 2-2: device descriptor read/64, error -71
< [ 7377.621307] usb 2-2: device descriptor read/64, error -71
< [ 7377.780097] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7378.408041] usb 2-2: new low speed USB device using uhci_hcd and address 21
< [ 7378.532354] usb 2-2: device descriptor read/64, error -71
< [ 7378.760037] usb 2-2: device descriptor read/64, error -71
< [ 7378.920063] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7380.336067] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7380.904040] usb 2-2: new low speed USB device using uhci_hcd and address 24
< [ 7381.024038] usb 2-2: device descriptor read/64, error -71
< [ 7381.252037] usb 2-2: device descriptor read/64, error -71
< [ 7381.412059] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7381.880031] usb 2-2: new low speed USB device using uhci_hcd and address 26
< [ 7382.000050] usb 2-2: device descriptor read/64, error -71
< [ 7382.224038] usb 2-2: device descriptor read/64, error -71
< [ 7382.440042] usb 2-2: new low speed USB device using uhci_hcd and address 27
< [ 7382.504070] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7383.380040] usb 2-2: new low speed USB device using uhci_hcd and address 28
< [ 7383.500041] usb 2-2: device descriptor read/64, error -71
< [ 7383.724041] usb 2-2: device descriptor read/64, error -71
< [ 7383.940058] usb 2-2: new low speed USB device using uhci_hcd and address 29
< [ 7384.060044] usb 2-2: device descriptor read/64, error -71
< [ 7384.284039] usb 2-2: device descriptor read/64, error -71
< [ 7384.500043] usb 2-2: new low speed USB device using uhci_hcd and address 30
< [ 7384.908028] usb 2-2: device not accepting address 30, error -71
< [ 7385.020043] usb 2-2: new low speed USB device using uhci_hcd and address 31
< [ 7385.432020] usb 2-2: device not accepting address 31, error -71
< [ 7385.432049] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7388.160054] hub 1-0:1.0: unable to enumerate USB device on port 2
< [ 7388.824041] usb 2-2: new low speed USB device using uhci_hcd and address 32
< [ 7388.888094] hub 2-0:1.0: unable to enumerate USB device on port 2
< [ 7389.320064] usb 2-2: new low speed USB device using uhci_hcd and address 33
< [ 7389.440040] usb 2-2: device descriptor read/64, error -71
< [ 7389.664039] usb 2-2: device descriptor read/64, error -71
< [ 7389.880039] usb 2-2: new low speed USB device using uhci_hcd and address 34
< [ 7390.000052] usb 2-2: device descriptor read/64, error -71

lsusb
---------------------------
1d0
< Bus 001 Device 013: ID 1307:0163 Transcend Information, Inc. 512MB/1GB Flash Drive

fdisk -l
---------------------------
11,18d10
<
< Disk /dev/sdb: 8 086 MB, 8 086 617 600 bajtů
< hlav: 249, sektorů na stopu: 62, cylindrů: 1 023
< Jednotky = cylindry po 15438 * 512 = 7 904 256 bajtech
< Identifikátor disku: 0x91f72d24
<
< Zařízení Zavádět   Začátek       Konec    Bloky    Id  Systém
< /dev/sdb1   *           1        1023     7896536+   6  FAT16

parted -l
---------------------------
12,20d11
< Model: USB 2.0 USB Flash Drive (scsi)
< Disk /dev/sdb: 8087MB
< Sector size (logical/physical): 512B/512B
< Tabulka oddílů: msdos
<
< Číslo  Začátek  Konec   Velikost  Typ      Systém souborů  Přepínače
<  1     512B     8086MB  8086MB    primary  fat32           boot
<
<

mount
---------------------------
14d13
< /dev/sdb1 on /media/USB type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,utf8,shortname=mixed,flush)

blkid -c /dev/null
---------------------------
3d2
< /dev/sdb1: LABEL="USB" UUID="49AE-5915" TYPE="vfat"

Devkit
---------------------------
194,281d193
< Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdb
<   native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.2/1-1.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb
<   device:                      8:16
<   device-file:                 /dev/sdb
<     by-id:                     /dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_82c6c1522ea628-0:0
<     by-path:                   /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1.2:1.0-scsi-0:0:0:0
<   detected at:                 St 3. únor 2010, 10:57:01 CET
<   system internal:             0
<   removable:                   1
<   has media:                   1 (detected at St 3. únor 2010, 10:57:01 CET)
<     detects change:            1
<     detection by polling:      1
<     detection inhibitable:     1
<     detection inhibited:       0
<   is read only:                0
<   is mounted:                  0
<   mount paths:             
<   mounted by uid:              0
<   presentation hide:           0
<   presentation nopolicy:       0
<   presentation name:           
<   presentation icon:           
<   size:                        8086617600
<   block size:                  512
<   job underway:                no
<   usage:                       
<   type:                       
<   version:                     
<   uuid:                       
<   label:                       
<   partition table:
<     scheme:                    mbr
<     count:                     1
<   drive:
<     vendor:                    USB 2.0
<     model:                     USB Flash Drive
<     revision:                  0.00
<     serial:                    82c6c1522ea628
<     detachable:                1
<     can spindown:              0
<     rotational media:          1
<     ejectable:                 0
<     media:                     
<       compat:                 
<     interface:                 usb
<     if speed:                  480000000 bits/s
<     ATA SMART:                 not available
< Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdb1
<   native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.2/1-1.2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
<   device:                      8:17
<   device-file:                 /dev/sdb1
<     by-id:                     /dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_82c6c1522ea628-0:0-part1
<     by-id:                     /dev/disk/by-uuid/49AE-5915
<     by-path:                   /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1.2:1.0-scsi-0:0:0:0-part1
<   detected at:                 St 3. únor 2010, 10:57:01 CET
<   system internal:             0
<   removable:                   0
<   has media:                   1 (detected at St 3. únor 2010, 10:57:01 CET)
<     detects change:            0
<     detection by polling:      0
<     detection inhibitable:     0
<     detection inhibited:       0
<   is read only:                0
<   is mounted:                  1
<   mount paths:             /media/USB
<   mounted by uid:              0
<   presentation hide:           0
<   presentation nopolicy:       0
<   presentation name:           
<   presentation icon:           
<   size:                        8086053376
<   block size:                  512
<   job underway:                no
<   usage:                       filesystem
<   type:                        vfat
<   version:                     FAT32
<   uuid:                        49AE-5915
<   label:                       USB
<   partition:
<     part of:                   /org/freedesktop/DeviceKit/Disks/devices/sdb
<     scheme:                    mbr
<     number:                    1
<     type:                      0x06
<     flags:                 boot
<     offset:                    512
<     size:                      8086053376
<     label:                     
<     uuid:                     

uname -a
---------------------------
Linux caraya-desktop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

cat /etc/lsb-release
---------------------------
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

free -m
---------------------------
             total       used       free     shared    buffers     cached
Mem:           993        968         24          0         46        423
-/+ buffers/cache:        498        494
Swap:         2933         25       2907

df -h
---------------------------
Souborový systém            Velikost Užito Volno Uži% Mounted on
/dev/sda1             181G   89G   83G  52% /
udev                  497M  280K  497M   1% /dev
none                  497M   12K  497M   1% /dev/shm
none                  497M  284K  497M   1% /var/run
none                  497M     0  497M   0% /var/lock
none                  497M     0  497M   0% /lib/init/rw
/dev/sdb1             7,6G  3,3G  4,4G  43% /media/USB


sranda

  • Návštěvník
  • Příspěvků: 27
Re: usb Read-only file system
« Odpověď #14 kdy: 03 Února 2010, 11:18:44 »
Tak jeste dodatek.... diskdebug po me chtel odpojit/pripojit flasku, tak jsme to udelala a ted jsem zjistil, ze to po odpojeni/pripojeni chvili funguje a zapisuje, ale po par sec. to zase nejde. Jeste bych asi mel dodat ze pouzivam Kubuntu 9.10. Diky

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: usb Read-only file system
« Odpověď #15 kdy: 03 Února 2010, 21:34:21 »
Tak to je horší problém, protože systém ji normálně rozpozná, ale s problémy při čtení. Zkusil bych, jak ta flashka funguje v jiném systému, na jiném počítači, přímo zapojená do USB, v jiném USB apod. Reformat souborového systému na flashce pravděpodobně nepomůže.
http://www.openstreetmap.org - mapy celého světa "wiki style"

LuciusMare

  • Závislák
  • ***
  • Příspěvků: 1749
Re: usb Read-only file system
« Odpověď #16 kdy: 04 Února 2010, 07:56:49 »
No pockej arrange, jestli je to chyba ve flashce tak proc by fungovala jen par vterin po zapojeni?
Citace
<Firzen> tak teď budu Číňan
<Firzen> tak uvidíme :D
Jabber: LuciusMare (zkroucenina) jabbim (tecka) cz

 

Provoz zaštiťuje spolek OpenAlt.