The Following 3 Users Say Thank You to wicket For This Useful Post: | ||
![]() |
2015-05-16
, 11:56
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#12
|
$ sudo dd if=/dev/sdb of=/dev/null bs=1M [sudo] password for marcin: dd: error reading ‘/dev/sdb’: Input/output error 101+1 records in 101+1 records out 106168320 bytes (106 MB) copied, 31,6567 s, 3,4 MB/s marcin@marcin ~ $ sudo dd if=/dev/sdb of=/dev/null bs=4K dd: error reading ‘/dev/sdb’: Input/output error 25936+0 records in 25936+0 records out 106233856 bytes (106 MB) copied, 18,3356 s, 5,8 MB/s
Surely the obvious (possibly simplest) test if you don't have a spare SD card is to go back to eMMC swap or to disable swap for now and see if the problem persists.
marmistrz, you seem to be running a FAT32 fsck on your swap partition. fsck won't help you to analyse a swap device. The I/O errors in dmesg do indeed suggest device failure.
For future reference, if you want to test the SD card itself, then usual tests are to read and write to every block and see if they produce errors. I recommend doing these on a PC rather than on the N900 itself as it's normally faster and you don't have to worry about the N900's lifeguard timer resetting the device.
Read test:
DebiaN900 - Native Debian on the N900.Deprecated in favour of Maemo Leste.Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.
Mobile devices with mainline Linux support - Help needed with documentation.
"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer