abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
eParkomat, startup z ČR, postoupil mezi finalisty evropského akcelerátoru ChallengeUp!
Robot na pivo mu otevřel dveře k opravdovému byznysu
Internet věcí: Propojený svět? Už se to blíží...
dnes 17:02 | Pozvánky

Přijďte si popovídat o open source obecně a openSUSE konkrétně s dalšími uživateli a vývojáři. Oslava nového vydání openSUSE Leap se uskuteční 16. prosince od 17:00 v nových prostorách firmy SUSE v Praze. K dispozici bude nějaké občerstvení a DVD pro ty, kdo je sbírají nebo ještě mají mechaniku. Po párty v kanceláři se bude pokračovat v některé z hospod v okolí.

Miška | Komentářů: 1
dnes 14:55 | Zajímavý software

Byla vydána verze Alpha 1.0 otevřeného operačního systému pro chytré hodinky AsteroidOS. Podporovány jsou hodinky LG G Watch, LG G Watch Urbane, Asus ZenWatch 2 a Sony Smartwatch 3. Ukázka ovládání hodinek na YouTube. Jaroslav Řezník přednášel o AsteroidOS na chytrých hodinkách (videozáznam) na letošní konferenci OpenAlt.

Ladislav Hagara | Komentářů: 0
dnes 13:30 | Zajímavý software

Byly uvolněny zdrojové kódy známé rogue-like hry DoomRL. Počátky hry jsou v roce 2002. Je napsána ve FreePascalu a zdrojový kód je nyní k dispozici na GitHubu pod licencí GNU GPL 2.0. Autor pracuje na nové hře Jupiter Hell, která je moderním nástupcem DoomRL a na jejíž vývoj shání peníze prostřednictvím Kickstarteru.

Blaazen | Komentářů: 0
dnes 13:15 | Pozvánky

Přijďte s námi oslavit vydání Fedory 25. Na programu budou přednášky o novinkách, diskuse, neřízený networking atd. Release Party se bude konat 16. prosince v prostorách společnosti Etnetera. Na party budou volně k dispozici také propagační materiály, nová DVD s Fedorou 25 a samozřejmě občerstvení. Přednášky budou probíhat v češtině. Pro více informací se můžete podívat na web MojeFedora.cz. Jen připomínám, že tentokrát jsme zavedli

… více »
frantisekz | Komentářů: 0
včera 16:38 | Komunita

Byly zveřejněny videozáznamy přednášek a workshopů z letošní konference OpenAlt konané 5. a 6. listopadu v Brně. K videozáznamům lze přistupovat ze stránky na SuperLectures nebo přes program konference, detaily o vybrané přednášce nebo workshopu a dále kliknutím na ikonku filmového pásu. Celkově bylo zpracováno 65 hodin z 89 přednášek a workshopů.

Ladislav Hagara | Komentářů: 0
včera 11:30 | Komunita

Bylo oznámeno, že bude proveden bezpečnostní audit zdrojových kódů open source softwaru pro implementaci virtuálních privátních sítí OpenVPN. Audit provede Matthew D. Green (blog), uznávaný kryptolog a profesor na Univerzitě Johnse Hopkinse. Auditována bude verze 2.4 (aktuálně RC 1, stabilní verze je 2.3.14). Audit bude financován společností Private Internet Access [reddit].

Ladislav Hagara | Komentářů: 4
včera 06:00 | Komunita

Na YouTube byl publikován Blender Institute Reel 2016, ani ne dvouminutový sestřih z filmů, které vznikly za posledních 10 let díky Blender Institutu. V institutu aktuálně pracují na novém filmu Agent 327. Dění kolem filmu lze sledovat na Blender Cloudu. Videoukázka Agenta 327 z června letošního roku na YouTube.

Ladislav Hagara | Komentářů: 0
včera 01:02 | Zajímavý článek

Minulý týden byly vydány verze 1.2.3 a 1.1.7 webového poštovního klienta Roundcube. V oznámení o vydání bylo zmíněno řešení bezpečnostního problému nalezeného společností RIPS a souvisejícího s voláním funkce mail() v PHP. Tento týden byly zveřejněny podrobnosti. Útočník mohl pomocí speciálně připraveného emailu spustit na serveru libovolný příkaz. Stejně, jak je popsáno v článku Exploit PHP’s mail() to get remote code execution z roku 2014.

Ladislav Hagara | Komentářů: 1
8.12. 16:00 | Nová verze

Byla vydána verze 0.98 svobodného nelineárního video editoru Pitivi. Z novinek lze zmínit například přizpůsobitelné klávesové zkratky. Videoukázka práce s nejnovější verzí Pitivi na YouTube.

Ladislav Hagara | Komentářů: 1
8.12. 15:00 | Zajímavý software

Stop motion je technika animace, při níž je reálný objekt mezi jednotlivými snímky ručně upravován a posouván o malé úseky, tak aby po spojení vyvolala animace dojem spojitosti. Jaký software lze pro stop motion použít na Linuxu? Článek na OMG! Ubuntu! představuje Heron Animation. Ten bohužel podporuje pouze webové kamery. Podpora digitálních zrcadlovek je začleněna například v programu qStopMotion.

Ladislav Hagara | Komentářů: 5
Kolik máte dat ve svém domovském adresáři na svém primárním osobním počítači?
 (32%)
 (24%)
 (29%)
 (7%)
 (5%)
 (3%)
Celkem 808 hlasů
 Komentářů: 50, poslední 29.11. 15:50
Rozcestník
Reklama

Dotaz: Samovolné odpojování USB externího disku

10.9.2012 17:51 Martin
Samovolné odpojování USB externího disku
Přečteno: 1762×
Zdravím, mám externí disk WD My Book Essential 1TB. Při přehrávání filmů, které jsou na něm uložené (používám VLC 2.0.1), se mi disk sám od sebe odpojí a hned zase připojí. Odpojování je v náhodných intervalech. Jednou je to za 10 minut, podruhé za 1 minutu. Výpis z dmesg
[2816291.404167] usb 8-1: new high-speed USB device number 64 using ehci_hcd
[2816292.101705] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2816292.101709] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2816292.101712] usb 8-1: Product: My Book 1130
[2816292.101714] usb 8-1: Manufacturer: Western Digital
[2816292.101716] usb 8-1: SerialNumber: 57434156354B303934393230
[2816292.110069] scsi91 : usb-storage 8-1:1.0
[2816294.179620] scsi 91:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2816294.180471] scsi 91:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2816294.182083] sd 91:0:0:0: Attached scsi generic sg2 type 0
[2816294.182858] ses 91:0:0:1: Attached Enclosure device
[2816302.717726] sd 91:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2816302.718711] sd 91:0:0:0: [sdb] Write Protect is off
[2816302.718716] sd 91:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2816302.719585] sd 91:0:0:0: [sdb] No Caching mode page present
[2816302.719591] sd 91:0:0:0: [sdb] Assuming drive cache: write through
[2816302.723949] sd 91:0:0:0: [sdb] No Caching mode page present
[2816302.723956] sd 91:0:0:0: [sdb] Assuming drive cache: write through
[2816302.730773]  sdb: sdb1
[2816302.734944] sd 91:0:0:0: [sdb] No Caching mode page present
[2816302.734948] sd 91:0:0:0: [sdb] Assuming drive cache: write through
[2816302.734952] sd 91:0:0:0: [sdb] Attached SCSI disk
[2816302.736220] ses 91:0:0:1: Attached scsi generic sg3 type 13
[2817200.985913] usb 8-1: USB disconnect, device number 64
[2817201.221663] Buffer I/O error on device sdb1, logical block 59577315
[2817201.221676] Buffer I/O error on device sdb1, logical block 59577316
[2817201.221684] Buffer I/O error on device sdb1, logical block 59577317
[2817201.221690] Buffer I/O error on device sdb1, logical block 59577318
[2817201.221698] Buffer I/O error on device sdb1, logical block 59577319
[2817201.221704] Buffer I/O error on device sdb1, logical block 59577320
[2817201.221711] Buffer I/O error on device sdb1, logical block 59577321
[2817201.221718] Buffer I/O error on device sdb1, logical block 59577322
[2817201.221725] Buffer I/O error on device sdb1, logical block 59577323
[2817201.221732] Buffer I/O error on device sdb1, logical block 59577324
[2817201.276068] usb 8-1: new high-speed USB device number 65 using ehci_hcd
[2817201.973331] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2817201.973337] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2817201.973342] usb 8-1: Product: My Book 1130
[2817201.973345] usb 8-1: Manufacturer: Western Digital
[2817201.973349] usb 8-1: SerialNumber: 57434156354B303934393230
[2817201.974466] scsi92 : usb-storage 8-1:1.0
[2817202.973441] scsi 92:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2817202.975255] scsi 92:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2817202.976870] sd 92:0:0:0: Attached scsi generic sg2 type 0
[2817202.977109] ses 92:0:0:1: Attached Enclosure device
[2817202.978886] sd 92:0:0:0: [sdc] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2817202.979753] sd 92:0:0:0: [sdc] Write Protect is off
[2817202.979759] sd 92:0:0:0: [sdc] Mode Sense: 47 00 10 08
[2817202.981185] sd 92:0:0:0: [sdc] No Caching mode page present
[2817202.981190] sd 92:0:0:0: [sdc] Assuming drive cache: write through
[2817202.984883] sd 92:0:0:0: [sdc] No Caching mode page present
[2817202.984887] sd 92:0:0:0: [sdc] Assuming drive cache: write through
[2817206.637356]  sdc: sdc1
[2817206.642294] sd 92:0:0:0: [sdc] No Caching mode page present
[2817206.642298] sd 92:0:0:0: [sdc] Assuming drive cache: write through
[2817206.642301] sd 92:0:0:0: [sdc] Attached SCSI disk
[2817206.644262] ses 92:0:0:1: Attached scsi generic sg3 type 13
[2818304.433004] usb 8-1: USB disconnect, device number 65
[2818304.596037] quiet_error: 68 callbacks suppressed
[2818304.596042] Buffer I/O error on device sdc1, logical block 59620690
[2818304.596049] Buffer I/O error on device sdc1, logical block 59620691
[2818304.596053] Buffer I/O error on device sdc1, logical block 59620692
[2818304.596057] Buffer I/O error on device sdc1, logical block 59620693
[2818304.596061] Buffer I/O error on device sdc1, logical block 59620694
[2818304.596065] Buffer I/O error on device sdc1, logical block 59620695
[2818304.596069] Buffer I/O error on device sdc1, logical block 59620696
[2818304.596073] Buffer I/O error on device sdc1, logical block 59620697
[2818304.596077] Buffer I/O error on device sdc1, logical block 59620698
[2818304.596081] Buffer I/O error on device sdc1, logical block 59620699
[2818304.744078] usb 8-1: new high-speed USB device number 66 using ehci_hcd
[2818305.080428] hub 8-0:1.0: unable to enumerate USB device on port 1
[2818305.324072] usb 8-1: new high-speed USB device number 67 using ehci_hcd
[2818306.233568] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2818306.233572] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2818306.233575] usb 8-1: Product: My Book 1130
[2818306.233577] usb 8-1: Manufacturer: Western Digital
[2818306.233579] usb 8-1: SerialNumber: 57434156354B303934393230
[2818306.234263] scsi93 : usb-storage 8-1:1.0
[2818307.233305] scsi 93:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2818307.234159] scsi 93:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2818307.235604] sd 93:0:0:0: Attached scsi generic sg2 type 0
[2818307.236747] sd 93:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2818307.236926] ses 93:0:0:1: Attached Enclosure device
[2818307.237386] sd 93:0:0:0: [sdb] Write Protect is off
[2818307.237392] sd 93:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2818307.238378] sd 93:0:0:0: [sdb] No Caching mode page present
[2818307.238383] sd 93:0:0:0: [sdb] Assuming drive cache: write through
[2818307.243885] sd 93:0:0:0: [sdb] No Caching mode page present
[2818307.243891] sd 93:0:0:0: [sdb] Assuming drive cache: write through
[2818311.817755]  sdb: sdb1
[2818311.821954] sd 93:0:0:0: [sdb] No Caching mode page present
[2818311.821959] sd 93:0:0:0: [sdb] Assuming drive cache: write through
[2818311.821962] sd 93:0:0:0: [sdb] Attached SCSI disk
[2818311.826675] ses 93:0:0:1: Attached scsi generic sg3 type 13
[2818432.655257] usb 8-1: USB disconnect, device number 67
[2818432.904045] usb 8-1: new high-speed USB device number 68 using ehci_hcd
[2818433.605874] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2818433.605881] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2818433.605885] usb 8-1: Product: My Book 1130
[2818433.605889] usb 8-1: Manufacturer: Western Digital
[2818433.605892] usb 8-1: SerialNumber: 57434156354B303934393230
[2818433.606739] scsi94 : usb-storage 8-1:1.0
[2818434.605196] scsi 94:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2818434.605950] scsi 94:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2818434.608882] sd 94:0:0:0: Attached scsi generic sg2 type 0
[2818434.609418] sd 94:0:0:0: [sdc] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2818434.609800] ses 94:0:0:1: Attached Enclosure device
[2818434.609912] sd 94:0:0:0: [sdc] Write Protect is off
[2818434.609918] sd 94:0:0:0: [sdc] Mode Sense: 47 00 10 08
[2818434.610916] sd 94:0:0:0: [sdc] No Caching mode page present
[2818434.610922] sd 94:0:0:0: [sdc] Assuming drive cache: write through
[2818434.617337] sd 94:0:0:0: [sdc] No Caching mode page present
[2818434.617344] sd 94:0:0:0: [sdc] Assuming drive cache: write through
[2818435.325183] quiet_error: 69 callbacks suppressed
[2818435.325187] Buffer I/O error on device sdb1, logical block 59623204
[2818435.325195] Buffer I/O error on device sdb1, logical block 59623205
[2818435.325199] Buffer I/O error on device sdb1, logical block 59623206
[2818435.325203] Buffer I/O error on device sdb1, logical block 59623207
[2818435.325208] Buffer I/O error on device sdb1, logical block 59623208
[2818435.325212] Buffer I/O error on device sdb1, logical block 59623209
[2818435.325216] Buffer I/O error on device sdb1, logical block 59623210
[2818435.325220] Buffer I/O error on device sdb1, logical block 59623211
[2818435.325224] Buffer I/O error on device sdb1, logical block 59623212
[2818435.325228] Buffer I/O error on device sdb1, logical block 59623213
[2818438.025475]  sdc: sdc1
[2818438.029689] sd 94:0:0:0: [sdc] No Caching mode page present
[2818438.029694] sd 94:0:0:0: [sdc] Assuming drive cache: write through
[2818438.029697] sd 94:0:0:0: [sdc] Attached SCSI disk
[2818438.034151] ses 94:0:0:1: Attached scsi generic sg3 type 13
[2818892.427316] usb 8-1: USB disconnect, device number 68
[2818892.716059] usb 8-1: new high-speed USB device number 69 using ehci_hcd
[2818893.417346] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2818893.417352] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2818893.417357] usb 8-1: Product: My Book 1130
[2818893.417361] usb 8-1: Manufacturer: Western Digital
[2818893.417364] usb 8-1: SerialNumber: 57434156354B303934393230
[2818893.418802] scsi95 : usb-storage 8-1:1.0
[2818894.419690] scsi 95:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2818894.420430] scsi 95:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2818894.421830] sd 95:0:0:0: Attached scsi generic sg2 type 0
[2818894.422769] ses 95:0:0:1: Attached Enclosure device
[2818894.423037] sd 95:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2818894.424133] sd 95:0:0:0: [sdb] Write Protect is off
[2818894.424140] sd 95:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2818894.425042] sd 95:0:0:0: [sdb] No Caching mode page present
[2818894.425048] sd 95:0:0:0: [sdb] Assuming drive cache: write through
[2818894.431036] sd 95:0:0:0: [sdb] No Caching mode page present
[2818894.431043] sd 95:0:0:0: [sdb] Assuming drive cache: write through
[2818898.002865]  sdb: sdb1
[2818898.007311] sd 95:0:0:0: [sdb] No Caching mode page present
[2818898.007315] sd 95:0:0:0: [sdb] Assuming drive cache: write through
[2818898.007319] sd 95:0:0:0: [sdb] Attached SCSI disk
[2818898.011395] ses 95:0:0:1: Attached scsi generic sg3 type 13
[2819633.881554] usb 8-1: USB disconnect, device number 69
[2819633.892067] sd 95:0:0:0: [sdb] Unhandled error code
[2819633.892073] sd 95:0:0:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[2819633.892080] sd 95:0:0:0: [sdb] CDB: Read(10): 28 00 23 f8 8e 30 00 00 f0 00
[2819633.892095] end_request: I/O error, dev sdb, sector 603491888
[2819633.892102] quiet_error: 46 callbacks suppressed
[2819633.892107] Buffer I/O error on device sdb1, logical block 75436230
[2819633.892114] Buffer I/O error on device sdb1, logical block 75436231
[2819633.892119] Buffer I/O error on device sdb1, logical block 75436232
[2819633.892124] Buffer I/O error on device sdb1, logical block 75436233
[2819633.892129] Buffer I/O error on device sdb1, logical block 75436234
[2819633.892134] Buffer I/O error on device sdb1, logical block 75436235
[2819633.892140] Buffer I/O error on device sdb1, logical block 75436236
[2819633.892145] Buffer I/O error on device sdb1, logical block 75436237
[2819633.892150] Buffer I/O error on device sdb1, logical block 75436238
[2819633.892155] Buffer I/O error on device sdb1, logical block 75436239
[2819633.892199] sd 95:0:0:0: [sdb] Unhandled error code
[2819633.892202] sd 95:0:0:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[2819633.892209] sd 95:0:0:0: [sdb] CDB: Read(10): 28 00 23 f8 8f 20 00 00 10 00
[2819633.892222] end_request: I/O error, dev sdb, sector 603492128
[2819634.152069] usb 8-1: new high-speed USB device number 70 using ehci_hcd
[2819634.853199] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2819634.853206] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2819634.853211] usb 8-1: Product: My Book 1130
[2819634.853214] usb 8-1: Manufacturer: Western Digital
[2819634.853218] usb 8-1: SerialNumber: 57434156354B303934393230
[2819634.854299] scsi96 : usb-storage 8-1:1.0
[2819635.854146] scsi 96:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2819635.854890] scsi 96:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2819635.857149] sd 96:0:0:0: Attached scsi generic sg2 type 0
[2819635.857318] ses 96:0:0:1: Attached Enclosure device
[2819635.857625] sd 96:0:0:0: [sdc] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2819635.858625] sd 96:0:0:0: [sdc] Write Protect is off
[2819635.858631] sd 96:0:0:0: [sdc] Mode Sense: 47 00 10 08
[2819635.859496] sd 96:0:0:0: [sdc] No Caching mode page present
[2819635.859503] sd 96:0:0:0: [sdc] Assuming drive cache: write through
[2819635.864829] sd 96:0:0:0: [sdc] No Caching mode page present
[2819635.864836] sd 96:0:0:0: [sdc] Assuming drive cache: write through
[2819636.098048]  sdc: sdc1
[2819636.102249] sd 96:0:0:0: [sdc] No Caching mode page present
[2819636.102254] sd 96:0:0:0: [sdc] Assuming drive cache: write through
[2819636.102257] sd 96:0:0:0: [sdc] Attached SCSI disk
[2819636.106709] ses 96:0:0:1: Attached scsi generic sg3 type 13
[2819806.046236] usb 8-1: USB disconnect, device number 70
[2819806.324167] usb 8-1: new high-speed USB device number 71 using ehci_hcd
[2819806.580830] quiet_error: 103 callbacks suppressed
[2819806.580837] Buffer I/O error on device sdc1, logical block 75439684
[2819806.580849] Buffer I/O error on device sdc1, logical block 75439685
[2819806.580856] Buffer I/O error on device sdc1, logical block 75439686
[2819806.580865] Buffer I/O error on device sdc1, logical block 75439687
[2819806.580871] Buffer I/O error on device sdc1, logical block 75439688
[2819806.580878] Buffer I/O error on device sdc1, logical block 75439689
[2819806.580885] Buffer I/O error on device sdc1, logical block 75439690
[2819806.580892] Buffer I/O error on device sdc1, logical block 75439691
[2819806.580898] Buffer I/O error on device sdc1, logical block 75439692
[2819806.580908] Buffer I/O error on device sdc1, logical block 75439693
[2819807.021979] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2819807.021986] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2819807.021990] usb 8-1: Product: My Book 1130
[2819807.021994] usb 8-1: Manufacturer: Western Digital
[2819807.021997] usb 8-1: SerialNumber: 57434156354B303934393230
[2819807.023303] scsi97 : usb-storage 8-1:1.0
[2819808.021301] scsi 97:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2819808.022737] scsi 97:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2819808.023679] sd 97:0:0:0: Attached scsi generic sg2 type 0
[2819808.023865] ses 97:0:0:1: Attached Enclosure device
[2819808.028053] sd 97:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2819808.029021] sd 97:0:0:0: [sdb] Write Protect is off
[2819808.029025] sd 97:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2819808.029896] sd 97:0:0:0: [sdb] No Caching mode page present
[2819808.029900] sd 97:0:0:0: [sdb] Assuming drive cache: write through
[2819808.034400] sd 97:0:0:0: [sdb] No Caching mode page present
[2819808.034405] sd 97:0:0:0: [sdb] Assuming drive cache: write through
[2819810.370928]  sdb: sdb1
[2819810.375134] sd 97:0:0:0: [sdb] No Caching mode page present
[2819810.375140] sd 97:0:0:0: [sdb] Assuming drive cache: write through
[2819810.375143] sd 97:0:0:0: [sdb] Attached SCSI disk
[2819810.379485] ses 97:0:0:1: Attached scsi generic sg3 type 13
[2819821.376260] usb 8-1: USB disconnect, device number 71
[2819821.624180] usb 8-1: new high-speed USB device number 72 using ehci_hcd
[2819822.326186] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2819822.326193] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2819822.326198] usb 8-1: Product: My Book 1130
[2819822.326202] usb 8-1: Manufacturer: Western Digital
[2819822.326205] usb 8-1: SerialNumber: 57434156354B303934393230
[2819822.326700] scsi98 : usb-storage 8-1:1.0
[2819823.325124] scsi 98:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2819823.325882] scsi 98:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2819823.328346] sd 98:0:0:0: Attached scsi generic sg2 type 0
[2819823.329242] sd 98:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2819823.329285] ses 98:0:0:1: Attached Enclosure device
[2819823.329728] sd 98:0:0:0: [sdb] Write Protect is off
[2819823.329734] sd 98:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2819823.331584] sd 98:0:0:0: [sdb] No Caching mode page present
[2819823.331591] sd 98:0:0:0: [sdb] Assuming drive cache: write through
[2819823.335976] sd 98:0:0:0: [sdb] No Caching mode page present
[2819823.335983] sd 98:0:0:0: [sdb] Assuming drive cache: write through
[2819826.770420]  sdb: sdb1
[2819826.774621] sd 98:0:0:0: [sdb] No Caching mode page present
[2819826.774626] sd 98:0:0:0: [sdb] Assuming drive cache: write through
[2819826.774629] sd 98:0:0:0: [sdb] Attached SCSI disk
[2819826.779582] ses 98:0:0:1: Attached scsi generic sg3 type 13
[2819832.759204] usb 8-1: USB disconnect, device number 72
[2819833.008061] usb 8-1: new high-speed USB device number 73 using ehci_hcd
[2819833.706154] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2819833.706162] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2819833.706167] usb 8-1: Product: My Book 1130
[2819833.706170] usb 8-1: Manufacturer: Western Digital
[2819833.706174] usb 8-1: SerialNumber: 57434156354B303934393230
[2819833.706810] scsi99 : usb-storage 8-1:1.0
[2819834.705765] scsi 99:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2819834.706763] scsi 99:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2819834.709156] sd 99:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2819834.709220] sd 99:0:0:0: Attached scsi generic sg2 type 0
[2819834.709609] sd 99:0:0:0: [sdb] Write Protect is off
[2819834.709615] sd 99:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2819834.710099] ses 99:0:0:1: Attached Enclosure device
[2819834.710140] sd 99:0:0:0: [sdb] No Caching mode page present
[2819834.710147] sd 99:0:0:0: [sdb] Assuming drive cache: write through
[2819834.715493] sd 99:0:0:0: [sdb] No Caching mode page present
[2819834.715500] sd 99:0:0:0: [sdb] Assuming drive cache: write through
[2819838.049799]  sdb: sdb1
[2819838.054007] sd 99:0:0:0: [sdb] No Caching mode page present
[2819838.054012] sd 99:0:0:0: [sdb] Assuming drive cache: write through
[2819838.054016] sd 99:0:0:0: [sdb] Attached SCSI disk
[2819838.058743] ses 99:0:0:1: Attached scsi generic sg3 type 13
[2819839.027209] usb 8-1: USB disconnect, device number 73
[2819839.034903] scsi 99:0:0:0: [sdb] killing request
[2819839.034910] scsi 99:0:0:0: [sdb] killing request
[2819839.035071] scsi 99:0:0:0: [sdb] Unhandled error code
[2819839.035074] scsi 99:0:0:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[2819839.035078] scsi 99:0:0:0: [sdb] CDB: Read(10): 28 00 00 5f 9c 10 00 00 f0 00
[2819839.035086] end_request: I/O error, dev sdb, sector 6265872
[2819839.035090] quiet_error: 70 callbacks suppressed
[2819839.035093] Buffer I/O error on device sdb1, logical block 6263824
[2819839.035096] Buffer I/O error on device sdb1, logical block 6263825
[2819839.035099] Buffer I/O error on device sdb1, logical block 6263826
[2819839.035102] Buffer I/O error on device sdb1, logical block 6263827
[2819839.035104] Buffer I/O error on device sdb1, logical block 6263828
[2819839.035107] Buffer I/O error on device sdb1, logical block 6263829
[2819839.035110] Buffer I/O error on device sdb1, logical block 6263830
[2819839.035113] Buffer I/O error on device sdb1, logical block 6263831
[2819839.035117] Buffer I/O error on device sdb1, logical block 6263832
[2819839.035119] Buffer I/O error on device sdb1, logical block 6263833
[2819839.035212] scsi 99:0:0:0: [sdb] Unhandled error code
[2819839.035215] scsi 99:0:0:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[2819839.035218] scsi 99:0:0:0: [sdb] CDB: Read(10): 28 00 00 5f 9d 00 00 00 10 00
[2819839.035226] end_request: I/O error, dev sdb, sector 6266112
[2819839.292164] usb 8-1: new high-speed USB device number 74 using ehci_hcd
[2819839.400321] hub 8-0:1.0: unable to enumerate USB device on port 1
Dokážete z toho poznat, jestli je to chyba hdd nebo nějaká softwarová chyba? Předem díky za odpovědi.

Řešení dotazu:


Odpovědi

10.9.2012 18:10 ewew | skóre: 36 | blog: ewewov_blog
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku

Skontroluj disk pomocou príkazu smartctl -x /dev/sdb . Ak to nie je prítomne tak nainštaluj balík smartmontools ak máš debian.

Ako ďalší postup je použiť príkaz badblocks -v /dev/sdb a výsledok daj sem.

Druhá operácia môže trvať dlhší čas.

sec.linuxpseudosec.sk
10.9.2012 18:36 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Tady je zatím výpis z smartctl -x /dev/sdb
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-2-686-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD10EADS-114BB1
Serial Number:    WD-WCAV5K094920
LU WWN Device Id: 5 0014ee 20530b140
Firmware Version: 80.00A80
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Mon Sep 10 18:14:34 2012 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x84)	Offline data collection activity
					was suspended by an interrupting command from host.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(21480) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 209) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   196   135   021    -    3191
  4 Start_Stop_Count        -O--CK   099   099   000    -    1314
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   099   099   000    -    844
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   099   099   000    -    1269
192 Power-Off_Retract_Count -O--CK   200   200   000    -    103
193 Load_Cycle_Count        -O--CK   199   199   000    -    5567
194 Temperature_Celsius     -O---K   107   096   000    -    40
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   200   200   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
GP/S  Log at address 0x00 has    1 sectors [Log Directory]
SMART Log at address 0x01 has    1 sectors [Summary SMART error log]
SMART Log at address 0x02 has    5 sectors [Comprehensive SMART error log]
GP    Log at address 0x03 has    6 sectors [Ext. Comprehensive SMART error log]
SMART Log at address 0x06 has    1 sectors [SMART self-test log]
GP    Log at address 0x07 has    1 sectors [Extended self-test log]
SMART Log at address 0x09 has    1 sectors [Selective self-test log]
GP    Log at address 0x10 has    1 sectors [NCQ Command Error]
GP    Log at address 0x11 has    1 sectors [SATA Phy Event Counters]
GP/S  Log at address 0x80 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x81 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x82 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x83 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x84 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x85 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x86 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x87 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x88 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x89 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8a has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8b has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8c has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8d has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8e has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8f has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x90 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x91 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x92 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x93 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x94 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x95 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x96 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x97 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x98 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x99 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9a has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9b has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9c has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9d has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9e has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9f has   16 sectors [Host vendor specific log]
GP/S  Log at address 0xa0 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa1 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa2 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa3 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa4 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa5 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa6 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa7 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa8 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xa9 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xaa has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xab has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xac has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xad has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xae has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xaf has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb0 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb1 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb2 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb3 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb4 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb5 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb6 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb7 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xc0 has    1 sectors [Device vendor specific log]
GP    Log at address 0xc1 has   93 sectors [Device vendor specific log]
GP/S  Log at address 0xe0 has    1 sectors [SCT Command/Status]
GP/S  Log at address 0xe1 has    1 sectors [SCT Data Transfer]

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Aborted by host               90%         1         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    40 Celsius
Power Cycle Min/Max Temperature:     36/40 Celsius
Lifetime    Min/Max Temperature:     19/51 Celsius
Under/Over Temperature Limit Count:   0/0
SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (226)

Index    Estimated Time   Temperature Celsius
 227    2012-09-10 10:17    35  ****************
 ...    ..( 25 skipped).    ..  ****************
 253    2012-09-10 10:43    35  ****************
 254    2012-09-10 10:44    36  *****************
 ...    ..( 26 skipped).    ..  *****************
 281    2012-09-10 11:11    36  *****************
 282    2012-09-10 11:12    37  ******************
 ...    ..(  6 skipped).    ..  ******************
 289    2012-09-10 11:19    37  ******************
 290    2012-09-10 11:20    38  *******************
 291    2012-09-10 11:21    38  *******************
 292    2012-09-10 11:22    39  ********************
 293    2012-09-10 11:23    38  *******************
 ...    ..(  6 skipped).    ..  *******************
 300    2012-09-10 11:30    38  *******************
 301    2012-09-10 11:31    37  ******************
 ...    ..( 21 skipped).    ..  ******************
 323    2012-09-10 11:53    37  ******************
 324    2012-09-10 11:54    38  *******************
 ...    ..(  6 skipped).    ..  *******************
 331    2012-09-10 12:01    38  *******************
 332    2012-09-10 12:02    39  ********************
 333    2012-09-10 12:03    38  *******************
 ...    ..( 12 skipped).    ..  *******************
 346    2012-09-10 12:16    38  *******************
 347    2012-09-10 12:17    37  ******************
 ...    ..( 12 skipped).    ..  ******************
 360    2012-09-10 12:30    37  ******************
 361    2012-09-10 12:31     ?  -
 362    2012-09-10 12:32    22  ***
 ...    ..(  5 skipped).    ..  ***
 368    2012-09-10 12:38    22  ***
 369    2012-09-10 12:39    23  ****
 370    2012-09-10 12:40    23  ****
 371    2012-09-10 12:41    24  *****
 372    2012-09-10 12:42    24  *****
 373    2012-09-10 12:43    24  *****
 374    2012-09-10 12:44    25  ******
 ...    ..(  3 skipped).    ..  ******
 378    2012-09-10 12:48    25  ******
 379    2012-09-10 12:49    26  *******
 ...    ..(  5 skipped).    ..  *******
 385    2012-09-10 12:55    26  *******
 386    2012-09-10 12:56    27  ********
 387    2012-09-10 12:57    27  ********
 388    2012-09-10 12:58    27  ********
 389    2012-09-10 12:59    28  *********
 ...    ..(  2 skipped).    ..  *********
 392    2012-09-10 13:02    28  *********
 393    2012-09-10 13:03     ?  -
 394    2012-09-10 13:04    21  **
 ...    ..(  4 skipped).    ..  **
 399    2012-09-10 13:09    21  **
 400    2012-09-10 13:10    22  ***
 ...    ..(  2 skipped).    ..  ***
 403    2012-09-10 13:13    22  ***
 404    2012-09-10 13:14    23  ****
 405    2012-09-10 13:15    23  ****
 406    2012-09-10 13:16    24  *****
 407    2012-09-10 13:17    24  *****
 408    2012-09-10 13:18    24  *****
 409    2012-09-10 13:19    25  ******
 ...    ..(  4 skipped).    ..  ******
 414    2012-09-10 13:24    25  ******
 415    2012-09-10 13:25    26  *******
 ...    ..(  4 skipped).    ..  *******
 420    2012-09-10 13:30    26  *******
 421    2012-09-10 13:31    27  ********
 ...    ..(  2 skipped).    ..  ********
 424    2012-09-10 13:34    27  ********
 425    2012-09-10 13:35     ?  -
 426    2012-09-10 13:36    26  *******
 ...    ..(  6 skipped).    ..  *******
 433    2012-09-10 13:43    26  *******
 434    2012-09-10 13:44    27  ********
 435    2012-09-10 13:45    27  ********
 436    2012-09-10 13:46    27  ********
 437    2012-09-10 13:47    28  *********
 ...    ..(  2 skipped).    ..  *********
 440    2012-09-10 13:50    28  *********
 441    2012-09-10 13:51    29  **********
 ...    ..(  2 skipped).    ..  **********
 444    2012-09-10 13:54    29  **********
 445    2012-09-10 13:55    30  ***********
 ...    ..( 11 skipped).    ..  ***********
 457    2012-09-10 14:07    30  ***********
 458    2012-09-10 14:08    31  ************
 ...    ..(  7 skipped).    ..  ************
 466    2012-09-10 14:16    31  ************
 467    2012-09-10 14:17    32  *************
 ...    ..(  6 skipped).    ..  *************
 474    2012-09-10 14:24    32  *************
 475    2012-09-10 14:25     ?  -
 476    2012-09-10 14:26    22  ***
 ...    ..(  3 skipped).    ..  ***
   2    2012-09-10 14:30    22  ***
   3    2012-09-10 14:31    23  ****
   4    2012-09-10 14:32    23  ****
   5    2012-09-10 14:33    24  *****
   6    2012-09-10 14:34    24  *****
   7    2012-09-10 14:35    25  ******
 ...    ..(  3 skipped).    ..  ******
  11    2012-09-10 14:39    25  ******
  12    2012-09-10 14:40    26  *******
 ...    ..(  4 skipped).    ..  *******
  17    2012-09-10 14:45    26  *******
  18    2012-09-10 14:46    27  ********
  19    2012-09-10 14:47    27  ********
  20    2012-09-10 14:48    27  ********
  21    2012-09-10 14:49    28  *********
 ...    ..(  2 skipped).    ..  *********
  24    2012-09-10 14:52    28  *********
  25    2012-09-10 14:53    29  **********
  26    2012-09-10 14:54    29  **********
  27    2012-09-10 14:55    29  **********
  28    2012-09-10 14:56     ?  -
  29    2012-09-10 14:57    22  ***
 ...    ..(  2 skipped).    ..  ***
  32    2012-09-10 15:00    22  ***
  33    2012-09-10 15:01    23  ****
  34    2012-09-10 15:02    23  ****
  35    2012-09-10 15:03    24  *****
  36    2012-09-10 15:04    24  *****
  37    2012-09-10 15:05    24  *****
  38    2012-09-10 15:06    25  ******
 ...    ..(  3 skipped).    ..  ******
  42    2012-09-10 15:10    25  ******
  43    2012-09-10 15:11    26  *******
 ...    ..(  4 skipped).    ..  *******
  48    2012-09-10 15:16    26  *******
  49    2012-09-10 15:17    27  ********
  50    2012-09-10 15:18    27  ********
  51    2012-09-10 15:19    27  ********
  52    2012-09-10 15:20    28  *********
 ...    ..(  2 skipped).    ..  *********
  55    2012-09-10 15:23    28  *********
  56    2012-09-10 15:24    29  **********
  57    2012-09-10 15:25    29  **********
  58    2012-09-10 15:26    29  **********
  59    2012-09-10 15:27     ?  -
  60    2012-09-10 15:28    21  **
 ...    ..(  3 skipped).    ..  **
  64    2012-09-10 15:32    21  **
  65    2012-09-10 15:33    22  ***
 ...    ..(  2 skipped).    ..  ***
  68    2012-09-10 15:36    22  ***
  69    2012-09-10 15:37    23  ****
  70    2012-09-10 15:38    23  ****
  71    2012-09-10 15:39    24  *****
  72    2012-09-10 15:40    24  *****
  73    2012-09-10 15:41    24  *****
  74    2012-09-10 15:42    25  ******
 ...    ..(  3 skipped).    ..  ******
  78    2012-09-10 15:46    25  ******
  79    2012-09-10 15:47    26  *******
 ...    ..(  5 skipped).    ..  *******
  85    2012-09-10 15:53    26  *******
  86    2012-09-10 15:54    27  ********
 ...    ..(  2 skipped).    ..  ********
  89    2012-09-10 15:57    27  ********
  90    2012-09-10 15:58     ?  -
  91    2012-09-10 15:59    23  ****
  92    2012-09-10 16:00    23  ****
  93    2012-09-10 16:01    23  ****
  94    2012-09-10 16:02    24  *****
  95    2012-09-10 16:03    24  *****
  96    2012-09-10 16:04    24  *****
  97    2012-09-10 16:05    25  ******
 ...    ..(  2 skipped).    ..  ******
 100    2012-09-10 16:08    25  ******
 101    2012-09-10 16:09    26  *******
 ...    ..(  3 skipped).    ..  *******
 105    2012-09-10 16:13    26  *******
 106    2012-09-10 16:14    27  ********
 ...    ..(  2 skipped).    ..  ********
 109    2012-09-10 16:17    27  ********
 110    2012-09-10 16:18    28  *********
 111    2012-09-10 16:19    28  *********
 112    2012-09-10 16:20    28  *********
 113    2012-09-10 16:21    29  **********
 ...    ..(  7 skipped).    ..  **********
 121    2012-09-10 16:29    29  **********
 122    2012-09-10 16:30    30  ***********
 ...    ..(  3 skipped).    ..  ***********
 126    2012-09-10 16:34    30  ***********
 127    2012-09-10 16:35    31  ************
 ...    ..(  2 skipped).    ..  ************
 130    2012-09-10 16:38    31  ************
 131    2012-09-10 16:39     ?  -
 132    2012-09-10 16:40    23  ****
 133    2012-09-10 16:41    23  ****
 134    2012-09-10 16:42    24  *****
 135    2012-09-10 16:43    25  ******
 136    2012-09-10 16:44    25  ******
 137    2012-09-10 16:45    25  ******
 138    2012-09-10 16:46    26  *******
 139    2012-09-10 16:47    26  *******
 140    2012-09-10 16:48    26  *******
 141    2012-09-10 16:49    27  ********
 142    2012-09-10 16:50    28  *********
 143    2012-09-10 16:51    28  *********
 144    2012-09-10 16:52    29  **********
 145    2012-09-10 16:53    29  **********
 146    2012-09-10 16:54    29  **********
 147    2012-09-10 16:55     ?  -
 148    2012-09-10 16:56    30  ***********
 149    2012-09-10 16:57    30  ***********
 150    2012-09-10 16:58    31  ************
 151    2012-09-10 16:59    31  ************
 152    2012-09-10 17:00    31  ************
 153    2012-09-10 17:01    32  *************
 154    2012-09-10 17:02    32  *************
 155    2012-09-10 17:03    33  **************
 ...    ..(  4 skipped).    ..  **************
 160    2012-09-10 17:08    33  **************
 161    2012-09-10 17:09    34  ***************
 162    2012-09-10 17:10    34  ***************
 163    2012-09-10 17:11    34  ***************
 164    2012-09-10 17:12    35  ****************
 165    2012-09-10 17:13    35  ****************
 166    2012-09-10 17:14    35  ****************
 167    2012-09-10 17:15     ?  -
 168    2012-09-10 17:16    36  *****************
 169    2012-09-10 17:17    36  *****************
 170    2012-09-10 17:18    36  *****************
 171    2012-09-10 17:19     ?  -
 172    2012-09-10 17:20    36  *****************
 ...    ..(  5 skipped).    ..  *****************
 178    2012-09-10 17:26    36  *****************
 179    2012-09-10 17:27    37  ******************
 180    2012-09-10 17:28     ?  -
 181    2012-09-10 17:29    36  *****************
 182    2012-09-10 17:30    37  ******************
 ...    ..(  2 skipped).    ..  ******************
 185    2012-09-10 17:33    37  ******************
 186    2012-09-10 17:34    38  *******************
 187    2012-09-10 17:35    38  *******************
 188    2012-09-10 17:36    38  *******************
 189    2012-09-10 17:37    39  ********************
 ...    ..(  5 skipped).    ..  ********************
 195    2012-09-10 17:43    39  ********************
 196    2012-09-10 17:44     ?  -
 197    2012-09-10 17:45    40  *********************
 198    2012-09-10 17:46     ?  -
 199    2012-09-10 17:47    40  *********************
 200    2012-09-10 17:48     ?  -
 201    2012-09-10 17:49    40  *********************
 202    2012-09-10 17:50     ?  -
 203    2012-09-10 17:51    36  *****************
 ...    ..(  4 skipped).    ..  *****************
 208    2012-09-10 17:56    36  *****************
 209    2012-09-10 17:57    37  ******************
 ...    ..(  3 skipped).    ..  ******************
 213    2012-09-10 18:01    37  ******************
 214    2012-09-10 18:02    38  *******************
 ...    ..(  3 skipped).    ..  *******************
 218    2012-09-10 18:06    38  *******************
 219    2012-09-10 18:07    39  ********************
 ...    ..(  4 skipped).    ..  ********************
 224    2012-09-10 18:12    39  ********************
 225    2012-09-10 18:13    40  *********************
 226    2012-09-10 18:14    40  *********************

Warning: device does not support SCT Error Recovery Control command
SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2            1  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4         1431  Vendor specific
Výpis z badblocks -v /dev/sdb dodám hned, co se test dodělá.
10.9.2012 18:51 ewew | skóre: 36 | blog: ewewov_blog
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku

Podľa výpisu s.m.a.r.t by mal byť disk v dobrom stave. badblocks je test jednotlivých sektorov disku. Potom pozri dmesg, či sa opakujú spominané chyby. Tento test by mal dostatočne zaťažiť disk aby sa overilo, či nie je problém napajaním.Dobre by bolo napísať o akú zostavu ide a aký to ma celé zdroj.

Ešte je možnosť, že by mal ten disk nejakú šetriacu funkciu firmwaru, ktorá nefunguje správne.

sec.linuxpseudosec.sk
10.9.2012 19:59 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku

Tak v průběhu testu jsem drknul do USB kabelu (u konektoru na HDD) a disk se ihned odpojil. V dmesgu se objevilo tohle:

[2823408.362226] usb 8-1: USB disconnect, device number 75
[2823408.372082] sd 100:0:0:0: [sdb] Unhandled error code
[2823408.372086] sd 100:0:0:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[2823408.372091] sd 100:0:0:0: [sdb] CDB: Read(10): 28 00 05 68 c9 80 00 00 80 00
[2823408.372100] end_request: I/O error, dev sdb, sector 90753408
[2823408.466377] quiet_error: 246 callbacks suppressed
[2823408.466381] Buffer I/O error on device sdb, logical block 11345030
[2823408.466398] Buffer I/O error on device sdb, logical block 11345030
[2823408.466413] Buffer I/O error on device sdb, logical block 11345030
[2823408.466430] Buffer I/O error on device sdb, logical block 11345031
[2823408.466445] Buffer I/O error on device sdb, logical block 11345031
[2823408.466459] Buffer I/O error on device sdb, logical block 11345031
[2823408.467585] Buffer I/O error on device sdb, logical block 11345031
[2823408.467604] Buffer I/O error on device sdb, logical block 11345032
[2823408.467619] Buffer I/O error on device sdb, logical block 11345032
[2823408.467633] Buffer I/O error on device sdb, logical block 11345032
[2823408.708033] usb 8-1: new high-speed USB device number 76 using ehci_hcd
[2823409.413373] usb 8-1: New USB device found, idVendor=1058, idProduct=1130
[2823409.413380] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2823409.413384] usb 8-1: Product: My Book 1130
[2823409.413388] usb 8-1: Manufacturer: Western Digital
[2823409.413391] usb 8-1: SerialNumber: 57434156354B303934393230
[2823409.420673] scsi101 : usb-storage 8-1:1.0
[2823410.421068] scsi 101:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2823410.421810] scsi 101:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2823410.422544] sd 101:0:0:0: Attached scsi generic sg2 type 0
[2823410.422687] ses 101:0:0:1: Attached Enclosure device
[2823410.424300] sd 101:0:0:0: [sdc] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2823410.424795] sd 101:0:0:0: [sdc] Write Protect is off
[2823410.424799] sd 101:0:0:0: [sdc] Mode Sense: 47 00 10 08
[2823410.425800] sd 101:0:0:0: [sdc] No Caching mode page present
[2823410.425804] sd 101:0:0:0: [sdc] Assuming drive cache: write through
[2823410.431803] sd 101:0:0:0: [sdc] No Caching mode page present
[2823410.431807] sd 101:0:0:0: [sdc] Assuming drive cache: write through
[2823410.663730]  sdc: sdc1
[2823410.667054] sd 101:0:0:0: [sdc] No Caching mode page present
[2823410.667059] sd 101:0:0:0: [sdc] Assuming drive cache: write through
[2823410.667062] sd 101:0:0:0: [sdc] Attached SCSI disk
[2823410.675872] ses 101:0:0:1: Attached scsi generic sg3 type 13
[2823413.468277] quiet_error: 258633 callbacks suppressed
[2823413.468281] Buffer I/O error on device sdb, logical block 11409691
[2823413.468306] Buffer I/O error on device sdb, logical block 11409691
[2823413.468321] Buffer I/O error on device sdb, logical block 11409691
[2823413.468335] Buffer I/O error on device sdb, logical block 11409691
[2823413.468350] Buffer I/O error on device sdb, logical block 11409692
[2823413.468365] Buffer I/O error on device sdb, logical block 11409692
[2823413.468379] Buffer I/O error on device sdb, logical block 11409692
[2823413.468393] Buffer I/O error on device sdb, logical block 11409692
[2823413.468408] Buffer I/O error on device sdb, logical block 11409693
[2823413.468423] Buffer I/O error on device sdb, logical block 11409693
[2823418.472050] quiet_error: 259871 callbacks suppressed
[2823418.472057] Buffer I/O error on device sdb, logical block 11474661
[2823418.472084] Buffer I/O error on device sdb, logical block 11474661
[2823418.472109] Buffer I/O error on device sdb, logical block 11474661
[2823418.472138] Buffer I/O error on device sdb, logical block 11474662
[2823418.472163] Buffer I/O error on device sdb, logical block 11474662
[2823418.472187] Buffer I/O error on device sdb, logical block 11474662
[2823418.472211] Buffer I/O error on device sdb, logical block 11474662
[2823418.473200] Buffer I/O error on device sdb, logical block 11474663
[2823418.473223] Buffer I/O error on device sdb, logical block 11474663
[2823418.473237] Buffer I/O error on device sdb, logical block 11474663
[2823423.476026] quiet_error: 260131 callbacks suppressed
[2823423.476032] Buffer I/O error on device sdb, logical block 11539696
[2823423.476058] Buffer I/O error on device sdb, logical block 11539696
[2823423.476084] Buffer I/O error on device sdb, logical block 11539697
[2823423.476108] Buffer I/O error on device sdb, logical block 11539697
[2823423.476132] Buffer I/O error on device sdb, logical block 11539697
[2823423.476156] Buffer I/O error on device sdb, logical block 11539697
[2823423.476181] Buffer I/O error on device sdb, logical block 11539698
[2823423.476205] Buffer I/O error on device sdb, logical block 11539698
[2823423.476229] Buffer I/O error on device sdb, logical block 11539698
[2823423.476253] Buffer I/O error on device sdb, logical block 11539698
[2823427.025031] usb 8-1: USB disconnect, device number 76
[2823427.268164] usb 8-1: new high-speed USB device number 77 using ehci_hcd
[2823427.336418] hub 8-0:1.0: unable to enumerate USB device on port 1
[2823427.660172] usb 5-1: new full-speed USB device number 43 using uhci_hcd
[2823428.380214] usb 5-1: not running at top speed; connect to a high speed hub
[2823428.411218] usb 5-1: New USB device found, idVendor=1058, idProduct=1130
[2823428.411225] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2823428.411230] usb 5-1: Product: My Book 1130
[2823428.411233] usb 5-1: Manufacturer: Western Digital
[2823428.411237] usb 5-1: SerialNumber: 57434156354B303934393230
[2823428.414338] scsi102 : usb-storage 5-1:1.0
[2823429.416229] scsi 102:0:0:0: Direct-Access     WD       My Book 1130     1012 PQ: 0 ANSI: 6
[2823429.419270] scsi 102:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[2823429.423397] sd 102:0:0:0: Attached scsi generic sg2 type 0
[2823429.425948] ses 102:0:0:1: Attached Enclosure device
[2823429.427202] sd 102:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[2823429.433299] sd 102:0:0:0: [sdb] Write Protect is off
[2823429.433306] sd 102:0:0:0: [sdb] Mode Sense: 47 00 10 08
[2823429.439199] sd 102:0:0:0: [sdb] No Caching mode page present
[2823429.439206] sd 102:0:0:0: [sdb] Assuming drive cache: write through
[2823429.462197] sd 102:0:0:0: [sdb] No Caching mode page present
[2823429.462204] sd 102:0:0:0: [sdb] Assuming drive cache: write through
[2823432.943370]  sdb: sdb1
[2823432.971333] sd 102:0:0:0: [sdb] No Caching mode page present
[2823432.971338] sd 102:0:0:0: [sdb] Assuming drive cache: write through
[2823432.971341] sd 102:0:0:0: [sdb] Attached SCSI disk
[2823432.995429] ses 102:0:0:1: Attached scsi generic sg3 type 13

Běžel mi u toho badblocks a začal vypisovat kupu "vadných" bloků. (Hádám, že to bylo kvůli tomu, že se ten disk odpojil) badblocks jsem tedy pro jistotu pustil znovu a pořád běží. Jede asi hodinu a zatím to nenašlo žádnou chybu. Dmesg taky nezobrazuje žádnou novou hlášku.

Disk se zatím taky neodpojil (když nepočítám to drknutí do kabelu)

Jinak jedu na notebooku Lenovo G530 4446.

Procesor: Intel® Core 2 Duo processor T6500 (2.10 GHz)

Paměť: 4GB PC2-5300 DDR2 SDRAM (max. 4GB)

Disk: 320 SATA 5400 ot.

Grafická karta: Intel® GMA 4500MH

Síť: Intel® WiFi Link 5100AGN , Realtek Gigabit Ethernet, 56Kbps data/14.4Kbps fax
Test nechám ještě běžet dál a uvidíme jestli se disk odpojí.
10.9.2012 20:53 ewew | skóre: 36 | blog: ewewov_blog
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku

Píšeš, že sa odpojil pri pohnuti káblom diksu. Skúšal si vymeniť kábel k tomu externemu disku ?

sec.linuxpseudosec.sk
10.9.2012 21:02 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Jiný USB kabel u sebe zrovna nemám. Pokusím se ho zítra od někoho půjčit. Jinak od té doby, co jsem spustil ten test, se disk ani jednou neodpojil.
11.9.2012 10:37 Petr Šobáň | skóre: 79 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Taky může být problém přímo v konektoru - špatný kontakt a nebo urvaná nožka z plošnáku - prostě studený spoj.

Drcneš funguje, drcneš nefunguje.
10.9.2012 18:25 petr_p | skóre: 59 | blog: pb
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku

Já bych neřekl, že problém je v chybných sektorech na disku, protože z protokolu je vidět, že mezi připojením a odpojením žádné chyby nejsou. Naopak se objeví až po té, což je logické, protože blokové vrstvě zmizel hardware včetně požadavků, které byly odeslány před odpojením.

Tipnul bych si na chybný USB řadič nebo nedostatečné napájení disku nebo chybu v USB redukci. Tyhle věci bohužel nemají žádnou diagnostiku. Jediné, co bych doporučil, je vyzkoušet stabilitu s jiným počítačem, nebo vyzkoušet disk/redukci s jinou redukcí/diskem. Především s méně energeticky náročným diskem.

Ještě je možné, že Linux USB zařízení odpojí po překročení 100 mA, jak velí specifikace. Jestli by ale o tom něco rozumného napsal do protokolu, netuším.

11.9.2012 09:40 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
... zařízení odpojí po překročení 100 mA, jak velí specifikace.
Hm, mel jsem vzdycky za to, ze USB zarizeni pouze nahlasi svuj odber pri enumeraci. To kolik skutecne zarizeni odebira USB sbernice standarnimi prostredky nezjisti. A ze by to bylo pouze 100mA se mi take nezda. Mel jsem za to, ze je to kolem 0.5A na zarizeni.
10.9.2012 20:23 Olaf
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Je to Ubuntu? (Nevidím uvedený OS, pokud někde je, tak sorry.) Dělalo mi to totéž s WD při přehrávání hudby. Otřesně otravná věc. Nijak jsem to neřešil, nevěděl jsem jak. Jen jsem přebootoval do openSUSE (mívám dva tři systémy kvůli testům) a z ubuntí partišny udělal záložní storage. Nejlepší řešení. Už na to Ubuntu nesáhnu, ani kdyby mě za to platili.
10.9.2012 20:35 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Ubuntu to není. Používám Debian, takže je dost možné, že mají v sobě stejnou chybu.

V openSUSE se ten disk neodpojuje?

10.9.2012 20:44 Olaf
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Nope. Jede. Zrovna z něj hraju. Nebylo to ve WD, Ubuntu mi to prcalo i s normálním notebookovým diskem, který jsem měl připojený přes USB.
10.9.2012 20:54 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku
Ok. Díky za info :)
Řešení 1× (ewew)
11.9.2012 16:59 Martin
Rozbalit Rozbalit vše Re: Samovolné odpojování USB externího disku

Tak jsem použil jiný USB kabel a disk se přestal samovolně odpojovat.

Všem děkuji za rady :)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267   www.czech-server.cz
© 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.