Jump to content
w1cked5mile

Consistently Inconsistent

Recommended Posts

I've combed through three years of discussions about the problems encountered dealing with the SD card on the Nano.

Countless suggestions to "format and start again."  "Reset and start again."  "It's fixed in the next firmware update."  "It's a known bug."  "It's hardware."

I've been battling this same issue for a little over a month now.  At what point is someone going to actually fix the problem?  I would think for a $100 item, there would be some expectation of reliability and enough push from the community to actually resolve the problem instead of continuing to allow it to disrupt a workflow.  I spent two hours last night tweaking an Evil Portal and had it working exactly how I wanted it for a project I'm doing next week, only to start the Nano this morning and can't get to it on the SD card.

Has anyone found a solution to this that is reliable and doesn't mean I have to rebuild everything every time I reboot the Nano?

Share this post


Link to post
Share on other sites

Hi,

I'm sorry to hear your frustration. While you mention the suggestions you find such as "format and start again" or "it's fixed in the next update" aren't working for you, sometimes formatting does fix the problem, and we have improved SD card behaviour for others in previous updates.

We're keen on trying to solve any problems you and others might have with the device. It would be a great help if you could attach a "debug.log" file, generated via the "Help" module, to a reply in this thread so we can take a closer look.

Be sure to redact any passwords from the debug log, as those used in your wireless config will be present.

Share this post


Link to post
Share on other sites

It's not that the suggestions don't work.  I have the latest firmware on a newly purchased device.  Formatting and starting again works fine.  I just don't want to have to do that every time I power down and power up the device since the information on the SD card should be persistent and could represent a considerable amount of time to configure.  If you get inconsistent results just from power cycling the device it doesn't make it very useful.

Luckily, after about five reboots and SD card re-seatings, the SD card was recognized and I was able to pull copies of the data so I have good backups.

I'll continue working with it for the time being and pull the debug logs when I have time to scrub them.  In the meantime, here is what I'm seeing in the system logs:

Thu Oct 25 11:35:51 2018 kern.info kernel: [   18.400000] usb 1-1.2: USB disconnect, device number 4
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.400000] scsi 0:0:0:0: rejecting I/O to offline device
Thu Oct 25 11:35:51 2018 kern.info kernel: [   18.400000] scsi 0:0:0:0: [sda] killing request
Thu Oct 25 11:35:51 2018 kern.info kernel: [   18.410000] scsi 0:0:0:0: [sda]
Thu Oct 25 11:35:51 2018 kern.warn kernel: [   18.420000] Result: hostbyte=0x01 driverbyte=0x00
Thu Oct 25 11:35:51 2018 kern.info kernel: [   18.420000] scsi 0:0:0:0: [sda] CDB:
Thu Oct 25 11:35:51 2018 kern.warn kernel: [   18.420000] cdb[0]=0x28: 28 00 00 1e a4 3d 00 00 20 00
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.430000] blk_update_request: I/O error, dev sda, sector 2008125
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.440000] Buffer I/O error on dev sda1, logical block 0, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.440000] Buffer I/O error on dev sda1, logical block 1, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.450000] Buffer I/O error on dev sda1, logical block 2, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.460000] Buffer I/O error on dev sda1, logical block 3, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.460000] Buffer I/O error on dev sda1, logical block 4, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.470000] Buffer I/O error on dev sda1, logical block 5, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.480000] Buffer I/O error on dev sda1, logical block 6, async page read
Thu Oct 25 11:35:51 2018 kern.err kernel: [   18.480000] Buffer I/O error on dev sda1, logical block 7, async page read
Thu Oct 25 11:35:53 2018 kern.info kernel: [   20.640000] usb 1-1.2: new high-speed USB device number 5 using ehci-platform
Thu Oct 25 11:35:53 2018 kern.info kernel: [   21.060000] usb-storage 1-1.2:1.0: USB Mass Storage device detected
Thu Oct 25 11:35:53 2018 kern.info kernel: [   21.110000] scsi host1: usb-storage 1-1.2:1.0
Thu Oct 25 11:35:54 2018 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Thu Oct 25 11:35:54 2018 kern.notice kernel: [   22.110000] scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0933 PQ: 0 ANSI: 6
Thu Oct 25 11:35:54 2018 kern.notice kernel: [   22.110000] sd 1:0:0:0: Attached scsi generic sg0 type 0
Thu Oct 25 11:35:54 2018 daemon.err block: /dev/mtdblock3 is already mounted
Thu Oct 25 11:35:54 2018 kern.notice kernel: [   22.420000] sd 1:0:0:0: [sda] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
Thu Oct 25 11:35:54 2018 kern.notice kernel: [   22.460000] sd 1:0:0:0: [sda] Write Protect is off
Thu Oct 25 11:35:54 2018 kern.debug kernel: [   22.460000] sd 1:0:0:0: [sda] Mode Sense: 21 00 00 00
Thu Oct 25 11:35:54 2018 kern.notice kernel: [   22.460000] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Thu Oct 25 11:35:54 2018 kern.info kernel: [   22.520000]  sda: sda1 sda2
Thu Oct 25 11:35:54 2018 kern.notice kernel: [   22.530000] sd 1:0:0:0: [sda] Attached SCSI removable disk

 

Share this post


Link to post
Share on other sites

I know nothing about this but in the past (messing around with iPods and SD card adaptors to replace the hard drive) the specific manufacturer and model of SD card was often very important.... does the Nano have a sensitivity to certain brands?

Share this post


Link to post
Share on other sites
4 minutes ago, w1cked5mile said:

If it matters, I'm using a SanDisk Ultra Plus 32GB Class 10 micro SD card.  Give me a suggestion on what to try next and I'll order one.

Ask someone who has one working what has worked for them....

Share this post


Link to post
Share on other sites

similar problem here: the sd card is always unmounted after reboot, sometimes resulting in a complete loss of data. :(

Share this post


Link to post
Share on other sites

After attempts with three different SD cards with all of them showing similar results:

  • a purpose purchased 32GB SanDisk that I picked up the day I received the Nano
  • an old 2GB non-branded that I had in a PiZero that was working the last time I fired it up
  • an old 64GB Patriot that I had in another PiZero W I had been playing with

I finally went to the store and bought another 16GB SanDisk.  I reset everything and formatted the card in the Nano.  So far it seems more stable than the other cards so maybe I just have bad luck with wonky cards.  I did have one failure to recognize the new card after a reboot so it's not 100% but I can live with it.  Time will tell.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...