SD Card disappears after shutdown.

Moderators: Gully, peteru

Post Reply
dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

SD Card disappears after shutdown.

Post by dRdoS7 » Fri Jan 17, 2020 17:00

HI,

Received the USB dual tuner yesterday, so put the V2 up in the lounge room, in place of the U4 to test it a few days before swapping it with my wife's T2.

I have a 512GB micro SD card which I formatted (initialised) in the V2's rear slot.
Device Info-01.jpg
Initialise Devices.jpg
Initialising.jpg
Device Info-02.jpg
File Commander-01.jpg
Did a recording, and it worked OK.
Movie.jpg
When I shutdown, and then restart the V2, the SD card isn't available.

Have to format again. Do a shutdown or reboot, and no SD (card is there but not mounted/formatted?)

Did the routine a couple of times, but same result.

Any theories?

While the V2 was in Standby, I removed the SD, put it in my PC, and could read the files. Played the recording fine. Can't copy files to the SD though.

Thanks,

dRdoS7

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: SD Card disappears after shutdown.

Post by prl » Fri Jan 17, 2020 17:23

dRdoS7 wrote:
Fri Jan 17, 2020 17:00
While the V2 was in Standby, I removed the SD, put it in my PC, and could read the files. Played the recording fine. Can't copy files to the SD though.

Though it's probably not related to your problem, if you're using a microSD card for storage, you should only remove it after successfully unmounting it using SimpleUmount, or after putting the V2 into shutdown/deep standby. Putting the V2 into standby isn't enough.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: SD Card disappears after shutdown.

Post by MrQuade » Fri Jan 17, 2020 17:30

dRdoS7 wrote:
Fri Jan 17, 2020 17:00
While the V2 was in Standby, I removed the SD, put it in my PC, and could read the files. Played the recording fine. Can't copy files to the SD though.
I assume then you must have ext4 drivers installed on your PC?

What brand/speed card are you using? I've not had any of those sorts of issues with my Sandisk or Samsung ones (U3 A2 and A1).
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: SD Card disappears after shutdown.

Post by dRdoS7 » Fri Jan 17, 2020 18:52

Hi,
prl wrote:
Fri Jan 17, 2020 17:23
dRdoS7 wrote:
Fri Jan 17, 2020 17:00
While the V2 was in Standby, I removed the SD, put it in my PC, and could read the files. Played the recording fine. Can't copy files to the SD though.
Though it's probably not related to your problem, if you're using a microSD card for storage, you should only remove it after successfully unmounting it using SimpleUmount, or after putting the V2 into shutdown/deep standby. Putting the V2 into standby isn't enough.
Yeah, I would say not related, as I hadn't removed it until I tried in the PC.

I put the SD in an adaptor, the plugged it into the USB3 port, was found, and mounted immediately.

EDIT: Must add that it can't be unmounted because it's in use by Timeshift.

SD as USB.jpg
When I pressed Media, the recordings were there, and timeshift files existed when I checked in File Commander.

Shutdown, put it in the back slot, not mounted.

Shutdown, put it in the adaptor again, mounted.
MrQuade wrote:
Fri Jan 17, 2020 17:30
dRdoS7 wrote:
Fri Jan 17, 2020 17:00
While the V2 was in Standby, I removed the SD, put it in my PC, and could read the files. Played the recording fine. Can't copy files to the SD though.
I assume then you must have ext4 drivers installed on your PC?

What brand/speed card are you using? I've not had any of those sorts of issues with my Sandisk or Samsung ones (U3 A2 and A1).
I had installed ext2fsd.

Using a Samsung EVO. Works fine in the adaptor.

Will log files help? I've just turned that on. Have to reboot for it to take effect.

dRdoS7

Enigma2-2020-01-17_19-53-58.log
(116.05 KiB) Downloaded 35 times

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: SD Card disappears after shutdown.

Post by prl » Fri Jan 17, 2020 19:19

It's beginning to sound like a fault with the microSD slot.

The more useful log file is probsbly going to be /var/log/messages on a failed mount of the microSD card.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: SD Card disappears after shutdown.

Post by dRdoS7 » Fri Jan 17, 2020 19:24

Hi,
prl wrote:
Fri Jan 17, 2020 19:19
It's beginning to sound like a fault with the microSD slot.

The more useful log file is probsbly going to be /var/log/messages on a failed mount of the microSD card.

OK:
messages.txt
(62.61 KiB) Downloaded 55 times

Thanks,

dRdoS7

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: SD Card disappears after shutdown.

Post by prl » Fri Jan 17, 2020 21:50

Here are the pertinent parts of the log, with comments:

Code: Select all

# 512GB microSD card detected and interface initialised
# The "sd" and "sda" don't refer to the microSD card: that "sd" is for SCSI Disk (for historical reasons)

Jan  1 10:00:23 CARAVANV2 user.notice kernel: sd 0:0:0:0: [sda] 1000144896 512-byte logical blocks: (512 GB/477 GiB)
Jan  1 10:00:23 CARAVANV2 user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan  1 10:00:23 CARAVANV2 user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
Jan  1 10:00:23 CARAVANV2 user.notice kernel: sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jan  1 10:00:23 CARAVANV2 user.info kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jan  1 10:00:23 CARAVANV2 user.info kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0xb [current] 
Jan  1 10:00:23 CARAVANV2 user.info kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x47 ASCQ=0x1 
Jan  1 10:00:23 CARAVANV2 user.info kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 08 00

# I/O error when attempting to read block 0 to get the partition table

Jan  1 10:00:23 CARAVANV2 user.err kernel: blk_update_request: I/O error, dev sda, sector 0
Jan  1 10:00:23 CARAVANV2 user.err kernel: Buffer I/O error on dev sda, logical block 0, async page read
Jan  1 10:00:23 CARAVANV2 user.info kernel:  sda: unable to read partition table
Jan  1 10:00:23 CARAVANV2 user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Jan  1 10:00:23 CARAVANV2 user.warn kernel: UDF-fs: warning (device sda): udf_fill_super: No partition found (2)
Jan  1 10:00:23 CARAVANV2 user.warn kernel: UDF-fs: warning (device sda): udf_fill_super: No partition found (2)

# Attempt to mount the device as yaffs (Yet Another Flash File System) filesystem, which would be inappropriate, anyway
# That fails, too

Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: dev is 8388608 name is "sda" rw
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: passed flags ""
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: Attempting MTD mount of 8.0,"sda"
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: MTD device 0 either not valid or unavailable
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: dev is 8388608 name is "sda" rw
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: passed flags ""
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: Attempting MTD mount of 8.0,"sda"
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: MTD device 0 either not valid or unavailable
Jan  1 10:00:23 CARAVANV2 user.warn kernel: UDF-fs: warning (device sda): udf_fill_super: No partition found (2)
Jan  1 10:00:23 CARAVANV2 user.warn kernel: UDF-fs: warning (device sda): udf_fill_super: No partition found (2)
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: dev is 8388608 name is "sda" rw
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: passed flags ""
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: Attempting MTD mount of 8.0,"sda"
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: MTD device 0 either not valid or unavailable
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: dev is 8388608 name is "sda" rw
Jan  1 10:00:23 CARAVANV2 user.info kernel: yaffs: passed flags ""
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: Attempting MTD mount of 8.0,"sda"
Jan  1 10:00:23 CARAVANV2 user.debug kernel: yaffs: yaffs: MTD device 0 either not valid or unavailable
The microSD device is detected, but data can't be read from its storage. The fact that the device works when in a USB adapter points toward the fault being in the microSD socket or associated electronics.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: SD Card disappears after shutdown.

Post by dRdoS7 » Fri Jan 17, 2020 22:04

Hi,
prl wrote:
Fri Jan 17, 2020 21:50
The microSD device is detected, but data can't be read from its storage. The fact that the device works when in a USB adapter points toward the fault being in the microSD socket or associated electronics.

Any idea why would it be able to read & write OK after it's formatted, but not when the V2 is rebooted?

I'll create a Support Request in the AM, and point BW to this thread.

I may try the 128GB SD from my dash cam first, see if that has the same problem.

Many thanks,

dRdoS7

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: SD Card disappears after shutdown.

Post by prl » Sat Jan 18, 2020 09:55

This is what the log should show for a correctly mounted SanDisk 16GB (C10, A1) microSD card (I don't have a higher capacity or faster microSD card to test):

Code: Select all

# 512GB microSD card detected and interface initialised

Jan  1 10:00:24 beyonwizv2 user.notice kernel: sd 1:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
Jan  1 10:00:24 beyonwizv2 user.notice kernel: sd 1:0:0:0: [sda] Write Protect is off
Jan  1 10:00:24 beyonwizv2 user.debug kernel: sd 1:0:0:0: [sda] Mode Sense: 21 00 00 00
Jan  1 10:00:24 beyonwizv2 user.notice kernel: sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA

# Attach disk

Jan  1 10:00:24 beyonwizv2 user.info kernel:  sda: sda1
Jan  1 10:00:24 beyonwizv2 user.notice kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk

# Mount partition

Jan  1 10:00:24 beyonwizv2 user.info kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: SD Card disappears after shutdown.

Post by prl » Sat Jan 18, 2020 09:58

dRdoS7 wrote:
Fri Jan 17, 2020 22:04
Any idea why would it be able to read & write OK after it's formatted, but not when the V2 is rebooted?

Sorry, really no idea. I don't know enough about the hardware or the details of the detect/initialise/attach/mount process.
dRdoS7 wrote:
Fri Jan 17, 2020 22:04
I may try the 128GB SD from my dash cam first, see if that has the same problem.

That sounds like a good thing to try.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: SD Card disappears after shutdown.

Post by dRdoS7 » Sat Jan 18, 2020 13:11

prl wrote:
Sat Jan 18, 2020 09:58
dRdoS7 wrote:
Fri Jan 17, 2020 22:04
I may try the 128GB SD from my dash cam first, see if that has the same problem.
That sounds like a good thing to try.

Tried my 128GB, same result. Which is good, in a way.

Back it goes! :roll:

So far (since 2015):

1 x T2 several faults over time, and slowly died. (after lightning strike). RIP
1 x U4 HDMI failed (TV was On, then powered off, no HDMI when switched back on). Replaced by BW.
1 x T2 HDMI failed (power surge). RIP
1 x V2 SD card slot fault. NFI

Thanks,

dRdoS7

IanB
Wizard
Posts: 1550
Joined: Sat Jan 24, 2009 14:04
Location: Melbourne

Re: SD Card disappears after shutdown.

Post by IanB » Sun Jan 19, 2020 08:27

One more thing to try.
  • Remove the microSD card.
  • Power the V2 on.
  • When up and ready insert the microSD.
  • Retrieve and post /var/log/messages file.

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: SD Card disappears after shutdown.

Post by dRdoS7 » Tue Jan 21, 2020 11:31

Hi,
IanB wrote:
Sun Jan 19, 2020 08:27
One more thing to try.
  • Remove the microSD card.
  • Power the V2 on.
  • When up and ready insert the microSD.
  • Retrieve and post /var/log/messages file.

It didn't mount when inserted.

Here's the log file:
messages-02.txt
(52.73 KiB) Downloaded 57 times
Thanks,

dRdoS7

IanB
Wizard
Posts: 1550
Joined: Sat Jan 24, 2009 14:04
Location: Melbourne

Re: SD Card disappears after shutdown.

Post by IanB » Tue Jan 21, 2020 11:53

So same error as at startup, can't read the partition table.

Code: Select all

Jan 21 12:24:31 CARAVANV2 user.err kernel: blk_update_request: I/O error, dev sda, sector 0
Jan 21 12:24:31 CARAVANV2 user.err kernel: Buffer I/O error on dev sda, logical block 0, async page read
Jan 21 12:24:32 CARAVANV2 user.info kernel:  sda: unable to read partition table
Jan 21 12:24:32 CARAVANV2 user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Send it back :- "borked microsd slot!"

dRdoS7
Wizard
Posts: 1103
Joined: Tue Sep 22, 2015 11:47

Re: SD Card disappears after shutdown.

Post by dRdoS7 » Tue Jan 21, 2020 13:09

Hi,
IanB wrote:
Tue Jan 21, 2020 11:53
So same error as at startup, can't read the partition table.

Code: Select all

Jan 21 12:24:31 CARAVANV2 user.err kernel: blk_update_request: I/O error, dev sda, sector 0
Jan 21 12:24:31 CARAVANV2 user.err kernel: Buffer I/O error on dev sda, logical block 0, async page read
Jan 21 12:24:32 CARAVANV2 user.info kernel:  sda: unable to read partition table
Jan 21 12:24:32 CARAVANV2 user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Send it back :- "borked microsd slot!"
OK.

I lodged a Request a couple of days ago.

Now BW just needs to get a roundtuit. :)

I had one, once, but I've lost it. I think I got it from a Wheels magazine in the 70s. Could have loaned it to BW, speed things up. Was the upgraded version too. :cry:

Thanks,

dRdoS7

Post Reply

Return to “General Topics V2”