nilfs_cleanerd problem
I use kernel v2.6.20.4 with nilfs 2.0.18 and nilfs-utils 2.0.14. When nilfs_cleanerd is starting I've got:
Dec 2 09:47:35 ep93xx user.err kernel: NILFS: GC failed during preparation: cannot read source blocks: err=-5 Dec 2 09:47:35 ep93xx daemon.err nilfs_cleanerd[1312]: cannot clean segments: Input/output error Dec 2 09:47:35 ep93xx daemon.info nilfs_cleanerd[1312]: shutdown
Łukasz
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
Hi,
Quoted 11 lines · On Wed, 02 Dec 2009 09:52:01 +0100, $,1 a(Bukasz W.ANsjcicki…
I use kernel v2.6.20.4 with nilfs 2.0.18 and nilfs-utils 2.0.14. When
nilfs_cleanerdis starting I've got:Dec 2 09:47:35 ep93xx user.err kernel: NILFS: GC failed during preparation: cannot read source blocks: err=-5 Dec 2 09:47:35 ep93xx daemon.err nilfs_cleanerd[1312]: cannot clean segments: Input/output error Dec 2 09:47:35 ep93xx daemon.info nilfs_cleanerd[1312]: shutdown$,1 a(Bukasz
Looks I/O error hit on your device.
Can you read the partition as a file as follows ?
# dd if=/dev/xxx of=/nilfs-disk
or if it's too big, try
# dd if=/dev/xxx of=/dev/null
Regards,
Ryusuke Konishi
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
(resent)
Quoted 26 lines · Ryusuke Konishi
Hi,
Quoted 11 lines · Bukasz Wojcicki
I use kernel v2.6.20.4 with nilfs 2.0.18 and nilfs-utils 2.0.14. When
nilfs_cleanerdis starting I've got:Dec 2 09:47:35 ep93xx user.err kernel: NILFS: GC failed during preparation: cannot read source blocks: err=-5 Dec 2 09:47:35 ep93xx daemon.err nilfs_cleanerd[1312]: cannot clean segments: Input/output error Dec 2 09:47:35 ep93xx daemon.info nilfs_cleanerd[1312]: shutdownLukasz
Looks I/O error hit on your device.
Can you read the partition as a file as follows ?# dd if=/dev/xxx of=/nilfs-diskor if it's too big, try
# dd if=/dev/xxx of=/dev/nullRegards,
Ryusuke Konishi
Too late.
I reformat SSD disk to FAT32 and format to NILFS2 again. Now it work correctly.
When I've got another error yesterday too. I've got ETIME error (from linux kernel) while transferring large file (log) from SSD disk. This situation was place, when nilfs_cleanerd was running and I execute lscp . Then (after long time) nilfs_cleanerd was stopped .
Dnia 2009-12-03, czw o godzinie 01:06 +0900, Ryusuke Konishi pisze:
Quoted 24 lines
Hi,
Quoted 11 lines · On Wed, 02 Dec 2009 09:52:01 +0100, $,1 aukasz Wójcicki…
I use kernel v2.6.20.4 with nilfs 2.0.18 and nilfs-utils 2.0.14. When
nilfs_cleanerdis starting I've got:Dec 2 09:47:35 ep93xx user.err kernel: NILFS: GC failed during preparation: cannot read source blocks: err=-5 Dec 2 09:47:35 ep93xx daemon.err nilfs_cleanerd[1312]: cannot clean segments: Input/output error Dec 2 09:47:35 ep93xx daemon.info nilfs_cleanerd[1312]: shutdown$,1 aukasz
Looks I/O error hit on your device.
Can you read the partition as a file as follows ?# dd if=/dev/xxx of=/nilfs-diskor if it's too big, try
# dd if=/dev/xxx of=/dev/null
Quoted 6 lines
Regards,
Ryusuke Konishi
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
Łukasz Wójcicki
Inżynier aplikacyjny
Zakład Elektroniczny BORNICO
ul. Małęczyńska 25
26-604 Radom
tel. (48) 36 55 822 w. 26
fax. (48) 36 55 821
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
Hi,
Quoted 3 lines · Lukasz Wojcicki
Too late.
I reformat SSD disk to FAT32 and format to NILFS2 again. Now it work correctly.
No, no. I suspect some kind of media error happened. My intention is just reading the block device for narrowing down the cause. So, it's independent with which filesystem is written on the device.
Quoted 4 lines
When I've got another error yesterday too. I've got ETIME error (from linux kernel) while transferring large file (log) from SSD disk. This situation was place, when
nilfs_cleanerdwas running and I execute lscp . Then (after long time)nilfs_cleanerdwas stopped .
Seems that the ETIME error comes from the device layer because nilfs doesn't return it. I suspect cleanerd actually caused the issue. But it seems to me that cleanerd degraded or overloaded your device.
So, I thought we first should test the device itself.
Regards,
Ryusuke Konishi
OK. I've got error again and I've got :
dd: /dev/ssd: Input/output error
dmesg:
<7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <3>hub 1-0:1.0: Cannot enable port 3. Maybe the USB cable is bad? <7>hub 1-0:1.0: logical disconnect on port 3
<7>usb-storage: storage_post_reset
<7>usb-storage: usb_reset_composite_device returns -19 <7>usb-storage: usb_stor_Bulk_reset called
<7>usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
<7>usb-storage: Soft reset failed: -19
<7>usb-storage: scsi cmd done, result=0x70000 <7>usb-storage: *** thread sleeping.
<7>hub 1-0:1.0: state 7 ports 3 chg 0008 evt 0008 <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: reset change on port 3
<7>hub 1-0:1.0: port 3, status 0101, change 0012, 12 Mb/s <6>usb 1-3: USB disconnect, address 3
<7>usb 1-3: unregistering device
<7>usb 1-3: usb_disable_device nuking all URBs
<7>usb 1-3: unregistering interface 1-3:1.0
<7> usbdev1.3_ep81: ep_device_release called for usbdev1.3_ep81 <7> usbdev1.3_ep02: ep_device_release called for usbdev1.3_ep02 <7>usb-storage: storage_disconnect() called
<7>usb-storage: usb_stor_stop_transport called <7>usb-storage: queuecommand called
<7>usb-storage: Fail command during disconnect
<6>sd 0:0:0:0: SCSI error: return code = 0x00010000 <4>end_request: I/O error, dev sda, sector 31518
<3>Buffer I/O error on device sda1, logical block 3932 <3>Buffer I/O error on device sda1, logical block 3933 <3>Buffer I/O error on device sda1, logical block 3934 <3>Buffer I/O error on device sda1, logical block 3935 <3>Buffer I/O error on device sda1, logical block 3936 <3>Buffer I/O error on device sda1, logical block 3937 <3>Buffer I/O error on device sda1, logical block 3938 <3>Buffer I/O error on device sda1, logical block 3939 <3>Buffer I/O error on device sda1, logical block 3940 <3>Buffer I/O error on device sda1, logical block 3941 <7>usb-storage: queuecommand called
<7>usb-storage: Fail command during disconnect
<6>sd 0:0:0:0: SCSI error: return code = 0x00010000 <4>end_request: I/O error, dev sda, sector 31758 <7>usb-storage: -- usb_stor_release_resources <7>usb-storage: -- sending exit command to thread <7>usb-storage: -- dissociate_dev
<7>usb 1-3:1.0: uevent
<7> usbdev1.3_ep00: ep_device_release called for usbdev1.3_ep00 <7>usb 1-3: uevent
<7>usb-storage: *** thread awakened.
<7>usb-storage: -- exiting
<7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 200ms
<3>scsi 0:0:0:0: rejecting I/O to dead device
<7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<3>scsi 0:0:0:0: rejecting I/O to dead device
<3>NILFS: unable to write superblock (err=-5)
<3>scsi 0:0:0:0: rejecting I/O to dead device
<3>NILFS: unable to write superblock (err=-5)
<7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <3>hub 1-0:1.0: Cannot enable port 3. Maybe the USB cable is bad? <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 200ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <3>hub 1-0:1.0: Cannot enable port 3. Maybe the USB cable is bad? <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 200ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <3>hub 1-0:1.0: Cannot enable port 3. Maybe the USB cable is bad? <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 200ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 not reset yet, waiting 500ms
<7>hub 1-0:1.0: port_wait_reset: err = -16
<7>hub 1-0:1.0: port 3 not enabled, trying reset again... <3>hub 1-0:1.0: Cannot enable port 3. Maybe the USB cable is bad? <7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0008 <7>ep93xx-usb ep93xx-usb: GetStatus roothub.portstatus [2] = 0x00120101 PRSC PESC PPS CCS
<7>hub 1-0:1.0: port 3 enable change, status 00000101
<7>hub 1-0:1.0: reset change on port 3
Dnia 2009-12-03, czw o godzinie 18:56 +0900, Ryusuke Konishi pisze:
Quoted 15 lines
Hi,
Quoted 3 lines · Lukasz Wojcicki
Too late.
I reformat SSD disk to FAT32 and format to NILFS2 again. Now it work correctly.No, no. I suspect some kind of media error happened. My intention is just reading the block device for narrowing down the cause. So, it's independent with which filesystem is written on the device.
Quoted 4 lines
When I've got another error yesterday too. I've got ETIME error (from linux kernel) while transferring large file (log) from SSD disk. This situation was place, when
nilfs_cleanerdwas running and I execute lscp . Then (after long time)nilfs_cleanerdwas stopped .
Quoted 8 lines
Seems that the ETIME error comes from the device layer because nilfs doesn't return it. I suspect cleanerd actually caused the issue. But it seems to me that cleanerd degraded or overloaded your device.
So, I thought we first should test the device itself.
Regards,
Ryusuke Konishi
Łukasz Wójcicki
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
I think that I resolved problem with command:
echo 64 > /sys/block/sda/device/max_sectors
Łukasz Wójcicki
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users