Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rts5229 doesn't see partition table on SD card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lawl
n00b
n00b


Joined: 18 Jul 2014
Posts: 20

PostPosted: Sat Oct 18, 2014 9:10 am    Post subject: rts5229 doesn't see partition table on SD card Reply with quote

Hello, I have Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader and want to make it work
Code:
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
   Subsystem: Lenovo Device 5000
   Flags: bus master, fast devsel, latency 0, IRQ 25
   Memory at f2e00000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [70] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00
   Kernel driver in use: rtsx_pci

when I plug in SD-card I can see this in udevadm monitor
Code:
$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent


KERNEL[520.770323] add      /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:b368 (mmc)
KERNEL[520.770361] add      /devices/virtual/bdi/179:0 (bdi)
UDEV  [520.770758] add      /devices/virtual/bdi/179:0 (bdi)
UDEV  [520.770825] add      /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:b368 (mmc)
KERNEL[520.771995] add      /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0 (block)
UDEV  [520.797213] add      /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0 (block)

and fdisk
Code:
$ sudo fdisk -l

...

Disk /dev/mmcblk0: 7,5 GiB, 8010072064 bytes, 15644672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

but I know, there is 2 partition on this device, so I can't mount them
Back to top
View user's profile Send private message
lawl
n00b
n00b


Joined: 18 Jul 2014
Posts: 20

PostPosted: Sat Oct 18, 2014 9:13 am    Post subject: Reply with quote

yesterday I broke my raspberry boot partition and really don't wont use my phone as card-reader to fix it again =_=
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Oct 18, 2014 11:02 am    Post subject: Reply with quote

My phone's microSD card shows something similar to your fdisk output - just generic device info, no any partitions info.
I have one partition and to get it mounted I run mount on entire device (not a partition). Like "mount /dev/sdb -t vfat /media".
It works for me. Though I can't suppose how to access the second partition.
Back to top
View user's profile Send private message
lawl
n00b
n00b


Joined: 18 Jul 2014
Posts: 20

PostPosted: Sat Oct 18, 2014 11:28 am    Post subject: Reply with quote

I tried to mount disk before
Code:
$ sudo mount -t vfat /dev/mmcblk0 /mnt/sea
mount: /dev/mmcblk0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

and without -t vfat
Code:
$ sudo mount /dev/mmcblk0 /mnt/sea
mount: /dev/mmcblk0 is write-protected, mounting read-only
Can only open '/dev/mmcblk0' as read-only
NTFS signature is missing.
Failed to mount '/dev/mmcblk0': Недопустимый аргумент
The device '/dev/mmcblk0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum