8 Posts
0
3181
New XPS 15: Errors with an SD card
I got an XPS 15 (9500) recently. It has an SD card slot, so I decided to try installing Linux on an SD card. This way, I can test how Linux works on it without having to destroy the existing Windows installation. I tried installing Debian, versions stable and testing. I got the testing because I needed a newer kernel that would support the WiFi adapter, Wi-Fi 6 AX201.
00:14.3 Network controller: Intel Corporation Device 06f0
I tried install it, and I got those messages:
Jun 6 18:48:28 kernel: [ 1813.509645) ? ext4_sync_file+oxf2/0x3a0 (ext4)
Jun 6 18:48:28 kernel: [ 1813.509649] ? do_fsync+0x38/0x70
Jun 6 18:48:28 kernel: [ 1813.509652) ? __X64_sys_fsync+0x10/0x20
Jun 6 18:48:28 kernel: [ 1813.509658] ? do_syscall_64+0X52/0x180
Jun 6 18:48:28 kernel: [ 1813.509664) ? entry_SYSCALL_64_after_huframe+OX44/0xag
Jun 6 18:48:57 kernel: [ 1842.296 782) blk_update_request: I/O error, dev momcbiko, sector 115136336 op Ox1: (WRITE) flags Ox800 phys_seg 1 prio class o
Jun 6 18:48:57 kernel: [ 1842.296 792) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291467 starting block 14392043)
Jun 6 18:48:57 kernel: [ 1842.312416) blk_update_request: I/O error, dev mmcblko, sector 11585064 0 p0x1: (WRITE) Flags Oxo phys_seg 2 prio class o
Jun 6 18:48:57 kernel: [ 1842.312425) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291656 starting block 1448134)
Jun 6 18:48:57 kernel: [ 1842.312431) Buffer I/O error on device mmcblkop2, logical block 1316805
Jun 6 18:48:57 kernel: [ 1842.312442) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291656 starting block 1448135)
Jun 6 18:48:57 kernel: [ 1842.314543) blk_update_request: I/O error, dev mmcblko, sector 123058984 Op 0x1: (WRITE) flags Ox800 phys_seg 30 prio class o
Jun 6 18:48:57 kernel: [ 1842.314615) Buffer 1/0 error on device mmcblkop2, logical block 14260714
Jun 6 18:48:57 kernel: [ 1842.314623) Aborting journal on device mmcblkop2-8.
Jun 6 18:48:57 kernel: [ 1842.314643) EXT4-fs (mmcblkop2): Delayed block allocation failed for inod e 6031162 at logical offset 0 wi
Jun 6 18:48:28 kernel: [ 1813.509645) ? ext4_sync_file+oxf2/0x3a0 (ext4)
Jun 6 18:48:28 kernel: [ 1813.509649] ? do_fsync+0x38/0x70
Jun 6 18:48:28 kernel: [ 1813.509652) ? __X64_sys_fsync+0x10/0x20
Jun 6 18:48:28 kernel: [ 1813.509658] ? do_syscall_64+0X52/0x180
Jun 6 18:48:28 kernel: [ 1813.509664) ? entry_SYSCALL_64_after_huframe+OX44/0xag
Jun 6 18:48:57 kernel: [ 1842.296 782) blk_update_request: I/O error, dev momcbiko, sector 115136336 op Ox1: (WRITE) flags Ox800 phys_seg 1 prio class o
Jun 6 18:48:57 kernel: [ 1842.296 792) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291467 starting block 14392043)
Jun 6 18:48:57 kernel: [ 1842.312416) blk_update_request: I/O error, dev mmcblko, sector 11585064 0 p0x1: (WRITE) Flags Oxo phys_seg 2 prio class o
Jun 6 18:48:57 kernel: [ 1842.312425) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291656 starting block 1448134)
Jun 6 18:48:57 kernel: [ 1842.312431) Buffer I/O error on device mmcblkop2, logical block 1316805
Jun 6 18:48:57 kernel: [ 1842.312442) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291656 starting block 1448135)
Jun 6 18:48:57 kernel: [ 1842.314543) blk_update_request: I/O error, dth max blocks 1 with error 30
Jun 6 18:48:57 kernel: [ 1842.314646) EXT4-fs (mmcblkop2): This should not happen!! Data will be lost
Jun 6 18:48:57 kernel: [ 1842.314646) Jun 6 18:48:57 kernel: [ 1842.314652) EXT4-fs error (device mmcblkop2) in ext4_writepages:2795: Journal has aborted Jun 6 18:48:57 kernel: [ 1842.316712] blk_update_request: I/O error, dev mmcblko, sector 11482824 0 p0x1: (WRITE) flags Oxo phys_seg 2 prio class 0
Jun 6 18:48:57 kernel: [ 1842.316719) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291934 starting block 1435354)
Jun 6 18:48:57 kernel: [ 1842.316723) Buffer I/0 error on device mmcblkop2, logical block 1304025 Jun 6 18:48:57 kernel: [ 1842.316732) EXT4-fs warning (device mmcblkop2): ext4_end_bio:347: I/O err or 10 writing to inode 6291934 starting block 1435355)
Jun 6 18:48:57 kernel: [ 1842.318836) blk_update_request: I/O error, dev mmcblko, sector 17877248 0 pox1: (WRITE) flags Ox 4000 phys_seg 128 prio class 0
12bir update request : 170 error, dev mmeb ko, se
(They are not character-perfect, because I didn't have a good way to capture the text output from the console, so I took a photo of the screen and OCRd it. Fun!)
Maybe the SD card is bad? I tested the SD card in another computer, with a destructive read/write test. No bad blocks.
Maybe this SD adapter doesn't like this SD card? I tried to install Debian XPS 15 on another SD card. Errors.
Maybe the SD adapter is busted? I formatted the SD card on Windows on XPS 15 and ran a full disk check, with chkdsk with option /r. No bad blocks.
I installed Debian on XPS 15 on the SD card, using an external SD-to-USB adapter. No errors.
So, to reproduce the problem I need two things: Linux and the internal SD slot.
Did anyone else run into this? Any ideas how to proceed?
ubuntero
5 Posts
1
October 9th, 2021 14:00
The issue seems to be resolved after kernel upgrade to 5.10.0-1049-oem
likeadeer
1 Message
0
June 25th, 2020 20:00
I'm having a similar issue on Ubuntu 20.04; from lspci:
6c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5260 PCI Express Card Reader (rev 01)
automaciej
8 Posts
0
July 4th, 2020 12:00
Right, my device is:
It looks exactly like yours.
So I guess it's a problem with the driver?
Some more debugging information for the record.
lspci
and dmesg:
This was with Linux kernel version 5.6.0-2-amd64 #1 SMP Debian 5.6.14-2 (2020-06-09) (from uname -a).
automaciej
8 Posts
0
September 27th, 2020 02:00
I made some more tests. I made a checksum of a large file (~2GB), copied it to the SD card, unmounted (to clear the buffers), mounted again, calculated the checksum, and it didn't match. So there's definitely an issue with errors while writing, errors while reading, or both.
I did the same thing on Windows 10: coped a file to an SD card, restarted to make sure buffers are cleared, read the file back again, calculated the checksum. The checksum matched.
So it seems to be a problem specific to Linux. Not sure where to go next.
ubuntero
5 Posts
0
August 31st, 2021 15:00
Precision 5750. I have the same problem under Ubuntu 20.04 kernel 5.10.0-1038-oem. I tried Zorin OS 16 with kernel 5.11.0-27-generic and have no problem anymore. Does anybody know how to apply any patch to Ubuntu 20.04 kernel?
automaciej
8 Posts
0
September 1st, 2021 00:00
Good to know I'm not the only person seeing this problem! Also, knowing that it worked fine with Linux 5.11 is great news!
About your patch, have you seen this news piece? It mentions Ubuntu 20.04.3 with Linux 5.11.
ubuntero
5 Posts
0
September 1st, 2021 07:00
I should add that the Card Reader works perfectly with smaller size cards (2GB, 8GB). The problem appears when I insert high speed SDXC 128 GB card.
ubuntero
5 Posts
0
September 1st, 2021 08:00
I m already on Ubuntu LTS 20.04.1. I wonder, how could I upgrade to newest Ubuntu LTS release point 20.04.3. When I execute:
I receive
ubuntero
5 Posts
1
September 3rd, 2021 16:00
I further investigated the issue - I can see that on some Ubuntu kernels SDXC card works, and on others does not work.
1. Ubuntu 20.04.1 kernel 5.4.0-42-generic - card is auto mounted
2. Ubuntu 20.04.3 kernel 5.11.0-27-generic - card cannot be mounted
3. Ubuntu 20.04.1 kernel 5.10.-1038-oem (original ver for Precision 5750) - card cannot be mounted