|
Nokia Internet Tablet N8XX http://n8xx.com/index.html Проблема с SD картой http://n8xx.com/message-803.html |
| rayven @ 27-02-2008 06:18:33 |
И так, оба блочных устройства видятся, все монтируется и читается. Здорово! Но, облом подкрался незаметно... Код:rayven@grace:~$ dmesg [...] Initializing USB Mass Storage driver... scsi5 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 5 usb-storage: waiting for device to settle before scanning usbcore: registered new interface driver usb-storage USB Mass Storage support registered. scsi 5:0:0:0: Direct-Access Nokia N800 031 PQ: 0 ANSI: 2 sd 5:0:0:0: [sdd] 246016 512-byte hardware sectors (126 MB) sd 5:0:0:0: [sdd] Write Protect is off sd 5:0:0:0: [sdd] Mode Sense: 0f 00 00 00 sd 5:0:0:0: [sdd] Assuming drive cache: write through sd 5:0:0:0: [sdd] 246016 512-byte hardware sectors (126 MB) sd 5:0:0:0: [sdd] Write Protect is off sd 5:0:0:0: [sdd] Mode Sense: 0f 00 00 00 sd 5:0:0:0: [sdd] Assuming drive cache: write through sdd: sdd1 sd 5:0:0:0: [sdd] Attached SCSI removable disk sd 5:0:0:0: Attached scsi generic sg4 type 0 scsi 5:0:0:1: Direct-Access Nokia N800 031 PQ: 0 ANSI: 2 sd 5:0:0:1: [sde] 4014080 512-byte hardware sectors (2055 MB) sd 5:0:0:1: [sde] Write Protect is off sd 5:0:0:1: [sde] Mode Sense: 0f 00 00 00 sd 5:0:0:1: [sde] Assuming drive cache: write through sd 5:0:0:1: [sde] 4014080 512-byte hardware sectors (2055 MB) sd 5:0:0:1: [sde] Write Protect is off sd 5:0:0:1: [sde] Mode Sense: 0f 00 00 00 sd 5:0:0:1: [sde] Assuming drive cache: write through sde: sde1 sd 5:0:0:1: [sde] Attached SCSI removable disk sd 5:0:0:1: Attached scsi generic sg5 type 0 usb-storage: device scan complete Пока все ровно. Код:root@grace:~# cp /home/pub/media/video/klips/Metallica/Metallica\ -\ Whiskey\ In\ The\ Jar.avi /mnt/usb-drive2/ root@grace:~# ls -lh /home/pub/media/video/klips/Metallica/Metallica\ -\ Whiskey\ In\ The\ Jar.avi -rw-r--r-- 1 root root 48M Ноя 11 2006 /home/pub/media/video/klips/Metallica/Metallica - Whiskey In The Jar.avi root@grace:~# ls -lh /mnt/usb-drive2/Metallica\ -\ Whiskey\ In\ The\ Jar.avi -rwxr-xr-x 1 root root 48M Фев 27 23:55 /mnt/usb-drive2/Metallica - Whiskey In The Jar.avi На небольших файлах, как видим, все тоже нормально. Да, только вот в dmesg сообщение такое: Код:root@grace:~# dmesg [...] usb 1-6: reset high speed USB device using ehci_hcd and address 24 usb 1-6: failed to restore interface 0 altsetting 0 (error=-110) usb 1-6: USB disconnect, address 24 sd 23:0:0:1: scsi: Device offlined - not ready after error recovery sd 23:0:0:1: [sdd] Result: hostbyte=0x01 driverbyte=0x00 end_request: I/O error, dev sdd, sector 952 printk: 184 messages suppressed. Buffer I/O error on device sdd1, logical block 1 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 738 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 739 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 740 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 741 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 742 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 743 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 744 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 745 lost page write due to I/O error on sdd1 Buffer I/O error on device sdd1, logical block 746 lost page write due to I/O error on sdd1 FAT: FAT read failed (blocknr 936) scsi 23:0:0:1: rejecting I/O to dead device scsi 23:0:0:1: rejecting I/O to dead device scsi 23:0:0:1: rejecting I/O to dead device scsi 23:0:0:1: rejecting I/O to dead device scsi 23:0:0:1: [sdd] READ CAPACITY failed scsi 23:0:0:1: [sdd] Result: hostbyte=0x01 driverbyte=0x00 scsi 23:0:0:1: [sdd] Sense not available. scsi 23:0:0:1: rejecting I/O to dead device scsi 23:0:0:1: [sdd] Write Protect is off scsi 23:0:0:1: [sdd] Mode Sense: 00 00 00 00 scsi 23:0:0:1: [sdd] Assuming drive cache: write through scsi 23:0:0:1: rejecting I/O to dead device FAT: FAT read failed (blocknr 738) scsi 23:0:0:1: rejecting I/O to dead device FAT: FAT read failed (blocknr 936) scsi 23:0:0:1: rejecting I/O to dead device FAT: FAT read failed (blocknr 738) scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: [sdc] READ CAPACITY failed scsi 23:0:0:0: [sdc] Result: hostbyte=0x01 driverbyte=0x00 scsi 23:0:0:0: [sdc] Sense not available. scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: [sdc] Write Protect is off scsi 23:0:0:0: [sdc] Mode Sense: 00 00 00 00 scsi 23:0:0:0: [sdc] Assuming drive cache: write through scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: [sdc] READ CAPACITY failed scsi 23:0:0:0: [sdc] Result: hostbyte=0x01 driverbyte=0x00 scsi 23:0:0:0: [sdc] Sense not available. scsi 23:0:0:0: rejecting I/O to dead device scsi 23:0:0:0: [sdc] Write Protect is off scsi 23:0:0:0: [sdc] Mode Sense: 00 00 00 00 scsi 23:0:0:0: [sdc] Assuming drive cache: write through scsi 23:0:0:0: rejecting I/O to dead device usb 1-6: new high speed USB device using ehci_hcd and address 25 usb 1-6: configuration #1 chosen from 1 choice scsi24 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 25 usb-storage: waiting for device to settle before scanning usb 1-6: reset high speed USB device using ehci_hcd and address 25 usb 1-6: failed to restore interface 0 altsetting 0 (error=-110) usb 1-6: USB disconnect, address 25 scsi 24:0:0:0: scsi: Device offlined - not ready after error recovery usb-storage: device scan complete usb 1-6: new high speed USB device using ehci_hcd and address 26 usb 1-6: configuration #1 chosen from 1 choice scsi25 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 26 usb-storage: waiting for device to settle before scanning usb 1-6: reset high speed USB device using ehci_hcd and address 26 scsi 23:0:0:1: rejecting I/O to dead device FAT: unable to read inode block for updating (i_pos 125313) usb 1-6: failed to restore interface 0 altsetting 0 (error=-110) usb 1-6: USB disconnect, address 26 scsi 25:0:0:0: scsi: Device offlined - not ready after error recovery usb-storage: device scan complete usb 1-6: new high speed USB device using ehci_hcd and address 27 usb 1-6: configuration #1 chosen from 1 choice scsi26 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 27 usb-storage: waiting for device to settle before scanning usb 1-6: reset high speed USB device using ehci_hcd and address 27 usb 1-6: failed to restore interface 0 altsetting 0 (error=-110) usb 1-6: USB disconnect, address 27 и там еще много-много таких строчек. А тем временем таблетка загружена на все 100. Отмонтируется девайс успешно. |
| rayven @ 27-02-2008 06:23:52 |
В dmesg устройства строка: |
| rayven @ 29-02-2008 05:04:01 |
всем спасибо за моральную поддержку. вопрос решен. |
| kemm @ 29-02-2008 12:11:08 |
А что было-то? |
| rayven @ 29-02-2008 23:09:35 |
Элементарно, Ватсон! Бала карточка MMC 2Гб, стала SD 8Гб и проблема как-то сама рассосалась. ;) А в чем была проблема я так не понял. Просто заметил, что с SD картами все нормально и купил себе новую. |