usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

E312 SD Card File System Corruption

DK
Darek Kawamoto
Tue, May 16, 2017 9:49 PM

Hey all,

I've got an E312 that I'm working on, and whenever I try to scp my working
prefix onto the SD card I get a bunch of errors seemingly related to the SD
card.  In my scp output I get errors like this for each remaining file:

scp: /prefix/lib/libgnuradio-runtime-3.7.12git.so.0.0.0: Read-only file
system

And the dmesg on the E312 says a ton stuff like this:

[  407.967600] end_request: I/O error, dev mmcblk0, sector 11386400
[  407.983805] mmc0: Controller never released inhibit bit(s).
[  407.991328] mmcblk0: error -5 sending status command, retrying
[  407.999109] mmcblk0: error -110 sending status command, retrying
[  408.007060] mmcblk0: error -110 sending status command, aborting
[  408.051219] mmc0: Controller never released inhibit bit(s).
[  408.058776] mmcblk0: error -5 sending status command, retrying
[  408.066598] mmcblk0: error -110 sending status command, retrying
[  408.074595] mmcblk0: error -110 sending status command, aborting
[  408.080598] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:908: error reading directory block (ino 1312422, block
0)
[  409.148499] mmc0: Controller never released inhibit bit(s).
[  409.156026] mmcblk0: error -5 sending status command, retrying
[  409.163825] mmcblk0: error -110 sending status command, retrying
[  409.171804] mmcblk0: error -110 sending status command, aborting
[  409.177727] blk_update_request: 2 callbacks suppressed
[  409.182862] end_request: I/O error, dev mmcblk0, sector 21140864

etc. etc.
I'm able to put this SD card into another E312 which doesn't have this
problem and things work just fine.  If I move a known-working SD card from
the working E312 into the broken one, this problem happens.  So this seems
to indicate that the broken part is not the SD card.

Has anyone seen this before / any ideas on how to fix this?

Darek

Hey all, I've got an E312 that I'm working on, and whenever I try to scp my working prefix onto the SD card I get a bunch of errors seemingly related to the SD card. In my scp output I get errors like this for each remaining file: scp: /prefix/lib/libgnuradio-runtime-3.7.12git.so.0.0.0: Read-only file system And the dmesg on the E312 says a ton stuff like this: [ 407.967600] end_request: I/O error, dev mmcblk0, sector 11386400 [ 407.983805] mmc0: Controller never released inhibit bit(s). [ 407.991328] mmcblk0: error -5 sending status command, retrying [ 407.999109] mmcblk0: error -110 sending status command, retrying [ 408.007060] mmcblk0: error -110 sending status command, aborting [ 408.051219] mmc0: Controller never released inhibit bit(s). [ 408.058776] mmcblk0: error -5 sending status command, retrying [ 408.066598] mmcblk0: error -110 sending status command, retrying [ 408.074595] mmcblk0: error -110 sending status command, aborting [ 408.080598] EXT4-fs warning (device mmcblk0p2): __ext4_read_dirblock:908: error reading directory block (ino 1312422, block 0) [ 409.148499] mmc0: Controller never released inhibit bit(s). [ 409.156026] mmcblk0: error -5 sending status command, retrying [ 409.163825] mmcblk0: error -110 sending status command, retrying [ 409.171804] mmcblk0: error -110 sending status command, aborting [ 409.177727] blk_update_request: 2 callbacks suppressed [ 409.182862] end_request: I/O error, dev mmcblk0, sector 21140864 etc. etc. I'm able to put this SD card into another E312 which doesn't have this problem and things work just fine. If I move a known-working SD card from the working E312 into the broken one, this problem happens. So this seems to indicate that the broken part is not the SD card. Has anyone seen this before / any ideas on how to fix this? Darek
NT
Nate Temple
Thu, Jul 6, 2017 12:17 AM

Hi Darek,

Were you able to resolve this? Does the problematic E312 work with a fresh
release-4 image?

Are you trying to copy it to /prefix/ or to a subdirectory within your
/home/root (/home/root/prefix/) ?

What happens if you mount a remote file system via SSHFS and then copy the
files via the mounted location, to avoid scp ?

Regards,
Nate Temple

On Tue, May 16, 2017 at 2:49 PM, Darek Kawamoto via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hey all,

I've got an E312 that I'm working on, and whenever I try to scp my working
prefix onto the SD card I get a bunch of errors seemingly related to the SD
card.  In my scp output I get errors like this for each remaining file:

scp: /prefix/lib/libgnuradio-runtime-3.7.12git.so.0.0.0: Read-only file
system

And the dmesg on the E312 says a ton stuff like this:

[  407.967600] end_request: I/O error, dev mmcblk0, sector 11386400
[  407.983805] mmc0: Controller never released inhibit bit(s).
[  407.991328] mmcblk0: error -5 sending status command, retrying
[  407.999109] mmcblk0: error -110 sending status command, retrying
[  408.007060] mmcblk0: error -110 sending status command, aborting
[  408.051219] mmc0: Controller never released inhibit bit(s).
[  408.058776] mmcblk0: error -5 sending status command, retrying
[  408.066598] mmcblk0: error -110 sending status command, retrying
[  408.074595] mmcblk0: error -110 sending status command, aborting
[  408.080598] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:908: error reading directory block (ino 1312422, block
0)
[  409.148499] mmc0: Controller never released inhibit bit(s).
[  409.156026] mmcblk0: error -5 sending status command, retrying
[  409.163825] mmcblk0: error -110 sending status command, retrying
[  409.171804] mmcblk0: error -110 sending status command, aborting
[  409.177727] blk_update_request: 2 callbacks suppressed
[  409.182862] end_request: I/O error, dev mmcblk0, sector 21140864

etc. etc.
I'm able to put this SD card into another E312 which doesn't have this
problem and things work just fine.  If I move a known-working SD card from
the working E312 into the broken one, this problem happens.  So this seems
to indicate that the broken part is not the SD card.

Has anyone seen this before / any ideas on how to fix this?

Darek


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Darek, Were you able to resolve this? Does the problematic E312 work with a fresh release-4 image? Are you trying to copy it to /prefix/ or to a subdirectory within your /home/root (/home/root/prefix/) ? What happens if you mount a remote file system via SSHFS and then copy the files via the mounted location, to avoid scp ? Regards, Nate Temple On Tue, May 16, 2017 at 2:49 PM, Darek Kawamoto via USRP-users < usrp-users@lists.ettus.com> wrote: > Hey all, > > I've got an E312 that I'm working on, and whenever I try to scp my working > prefix onto the SD card I get a bunch of errors seemingly related to the SD > card. In my scp output I get errors like this for each remaining file: > > scp: /prefix/lib/libgnuradio-runtime-3.7.12git.so.0.0.0: Read-only file > system > > And the dmesg on the E312 says a ton stuff like this: > > [ 407.967600] end_request: I/O error, dev mmcblk0, sector 11386400 > [ 407.983805] mmc0: Controller never released inhibit bit(s). > [ 407.991328] mmcblk0: error -5 sending status command, retrying > [ 407.999109] mmcblk0: error -110 sending status command, retrying > [ 408.007060] mmcblk0: error -110 sending status command, aborting > [ 408.051219] mmc0: Controller never released inhibit bit(s). > [ 408.058776] mmcblk0: error -5 sending status command, retrying > [ 408.066598] mmcblk0: error -110 sending status command, retrying > [ 408.074595] mmcblk0: error -110 sending status command, aborting > [ 408.080598] EXT4-fs warning (device mmcblk0p2): > __ext4_read_dirblock:908: error reading directory block (ino 1312422, block > 0) > [ 409.148499] mmc0: Controller never released inhibit bit(s). > [ 409.156026] mmcblk0: error -5 sending status command, retrying > [ 409.163825] mmcblk0: error -110 sending status command, retrying > [ 409.171804] mmcblk0: error -110 sending status command, aborting > [ 409.177727] blk_update_request: 2 callbacks suppressed > [ 409.182862] end_request: I/O error, dev mmcblk0, sector 21140864 > > etc. etc. > I'm able to put this SD card into another E312 which doesn't have this > problem and things work just fine. If I move a known-working SD card from > the working E312 into the broken one, this problem happens. So this seems > to indicate that the broken part is not the SD card. > > Has anyone seen this before / any ideas on how to fix this? > > Darek > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
DK
Darek Kawamoto
Thu, Jul 6, 2017 2:19 AM

Hi Nate,

Yes we were!

We had tried to load a fresh release onto a new SD card and then copying
our /prefix on -- and even moved an SD card from a working E312 into our
problematic one -- to no avail.  We opened up the case to switch out the
battery in case there was power problems of some sort but saw that it
wasn't connected (we must've taken it out at some point) -- plugging in the
battery fixed all of our issues.

I believe sshfs was working just fine, but for our use case we needed to
load the entire prefix on.

Thanks for checking up / hopefully this is useful to someone in the future.
Darek

On Wed, Jul 5, 2017 at 8:17 PM, Nate Temple nate.temple@ettus.com wrote:

Hi Darek,

Were you able to resolve this? Does the problematic E312 work with a fresh
release-4 image?

Are you trying to copy it to /prefix/ or to a subdirectory within your
/home/root (/home/root/prefix/) ?

What happens if you mount a remote file system via SSHFS and then copy the
files via the mounted location, to avoid scp ?

Regards,
Nate Temple

On Tue, May 16, 2017 at 2:49 PM, Darek Kawamoto via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hey all,

I've got an E312 that I'm working on, and whenever I try to scp my
working prefix onto the SD card I get a bunch of errors seemingly related
to the SD card.  In my scp output I get errors like this for each remaining
file:

scp: /prefix/lib/libgnuradio-runtime-3.7.12git.so.0.0.0: Read-only file
system

And the dmesg on the E312 says a ton stuff like this:

[  407.967600] end_request: I/O error, dev mmcblk0, sector 11386400
[  407.983805] mmc0: Controller never released inhibit bit(s).
[  407.991328] mmcblk0: error -5 sending status command, retrying
[  407.999109] mmcblk0: error -110 sending status command, retrying
[  408.007060] mmcblk0: error -110 sending status command, aborting
[  408.051219] mmc0: Controller never released inhibit bit(s).
[  408.058776] mmcblk0: error -5 sending status command, retrying
[  408.066598] mmcblk0: error -110 sending status command, retrying
[  408.074595] mmcblk0: error -110 sending status command, aborting
[  408.080598] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:908: error reading directory block (ino 1312422, block
0)
[  409.148499] mmc0: Controller never released inhibit bit(s).
[  409.156026] mmcblk0: error -5 sending status command, retrying
[  409.163825] mmcblk0: error -110 sending status command, retrying
[  409.171804] mmcblk0: error -110 sending status command, aborting
[  409.177727] blk_update_request: 2 callbacks suppressed
[  409.182862] end_request: I/O error, dev mmcblk0, sector 21140864

etc. etc.
I'm able to put this SD card into another E312 which doesn't have this
problem and things work just fine.  If I move a known-working SD card from
the working E312 into the broken one, this problem happens.  So this seems
to indicate that the broken part is not the SD card.

Has anyone seen this before / any ideas on how to fix this?

Darek


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Nate, Yes we were! We had tried to load a fresh release onto a new SD card and then copying our /prefix on -- and even moved an SD card from a working E312 into our problematic one -- to no avail. We opened up the case to switch out the battery in case there was power problems of some sort but saw that it wasn't connected (we must've taken it out at some point) -- plugging in the battery fixed all of our issues. I believe sshfs was working just fine, but for our use case we needed to load the entire prefix on. Thanks for checking up / hopefully this is useful to someone in the future. Darek On Wed, Jul 5, 2017 at 8:17 PM, Nate Temple <nate.temple@ettus.com> wrote: > Hi Darek, > > Were you able to resolve this? Does the problematic E312 work with a fresh > release-4 image? > > Are you trying to copy it to /prefix/ or to a subdirectory within your > /home/root (/home/root/prefix/) ? > > What happens if you mount a remote file system via SSHFS and then copy the > files via the mounted location, to avoid scp ? > > Regards, > Nate Temple > > On Tue, May 16, 2017 at 2:49 PM, Darek Kawamoto via USRP-users < > usrp-users@lists.ettus.com> wrote: > >> Hey all, >> >> I've got an E312 that I'm working on, and whenever I try to scp my >> working prefix onto the SD card I get a bunch of errors seemingly related >> to the SD card. In my scp output I get errors like this for each remaining >> file: >> >> scp: /prefix/lib/libgnuradio-runtime-3.7.12git.so.0.0.0: Read-only file >> system >> >> And the dmesg on the E312 says a ton stuff like this: >> >> [ 407.967600] end_request: I/O error, dev mmcblk0, sector 11386400 >> [ 407.983805] mmc0: Controller never released inhibit bit(s). >> [ 407.991328] mmcblk0: error -5 sending status command, retrying >> [ 407.999109] mmcblk0: error -110 sending status command, retrying >> [ 408.007060] mmcblk0: error -110 sending status command, aborting >> [ 408.051219] mmc0: Controller never released inhibit bit(s). >> [ 408.058776] mmcblk0: error -5 sending status command, retrying >> [ 408.066598] mmcblk0: error -110 sending status command, retrying >> [ 408.074595] mmcblk0: error -110 sending status command, aborting >> [ 408.080598] EXT4-fs warning (device mmcblk0p2): >> __ext4_read_dirblock:908: error reading directory block (ino 1312422, block >> 0) >> [ 409.148499] mmc0: Controller never released inhibit bit(s). >> [ 409.156026] mmcblk0: error -5 sending status command, retrying >> [ 409.163825] mmcblk0: error -110 sending status command, retrying >> [ 409.171804] mmcblk0: error -110 sending status command, aborting >> [ 409.177727] blk_update_request: 2 callbacks suppressed >> [ 409.182862] end_request: I/O error, dev mmcblk0, sector 21140864 >> >> etc. etc. >> I'm able to put this SD card into another E312 which doesn't have this >> problem and things work just fine. If I move a known-working SD card from >> the working E312 into the broken one, this problem happens. So this seems >> to indicate that the broken part is not the SD card. >> >> Has anyone seen this before / any ideas on how to fix this? >> >> Darek >> >> _______________________________________________ >> USRP-users mailing list >> USRP-users@lists.ettus.com >> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >> >> >