I have been busy using Etcher to make arm boot images.
Now it is telling me that it cannot write to /dev/mmcblk0
Etcher is not running. I do not have an SD card in the system, yet /dev is listing mmcblk0
Is there someway I can remove this so perhaps things will start working again without a reboot?
Note inserting then removing the SD card from the SD slot does not change /dev showing mmcblk0.
On 2/28/22 20:51, Robert Moskowitz wrote:
I have been busy using Etcher to make arm boot images.
Now it is telling me that it cannot write to /dev/mmcblk0
What is telling you that?
Etcher is not running. I do not have an SD card in the system, yet /dev is listing mmcblk0
Is there someway I can remove this so perhaps things will start working again without a reboot?
What isn't working?
Note inserting then removing the SD card from the SD slot does not change /dev showing mmcblk0.
Does the SD card show up when you insert it? Can you read from the device when there's an SD card inserted?
On 3/1/22 01:05, Samuel Sieb wrote:
On 2/28/22 20:51, Robert Moskowitz wrote:
I have been busy using Etcher to make arm boot images.
Now it is telling me that it cannot write to /dev/mmcblk0
What is telling you that?
Error message in Etcher. I can't remember the exact text, I would have to try again to get that.
Etcher is not running. I do not have an SD card in the system, yet /dev is listing mmcblk0
Is there someway I can remove this so perhaps things will start working again without a reboot?
What isn't working?
Etcher is not working to write an image to the SD card which is /dev/mmcblk0
Note inserting then removing the SD card from the SD slot does not change /dev showing mmcblk0.
Does the SD card show up when you insert it? Can you read from the device when there's an SD card inserted?
Well, did not try that. Put in another SD card that already has an image on it. I can mount it and read it. Unmount and take the device out of the SD slot, /dev/mmcblk0 still showing when I 'ls /dev' .
So I *THINK* I want to get the system to realize that there is NO /dev/mmcblk0 (normal situation) when the notebook's SD slot is empty.
Alternatively, I guess I should be able to use a USB/SD card adapter for now until the next reboot.
Something is hosed. Trying to use gparted on a USB/sata adapter. Operations failed.
So it looks like it is time to do a dnf update just because, then reboot.
On 3/1/22 08:05, Robert Moskowitz wrote:
On 3/1/22 01:05, Samuel Sieb wrote:
On 2/28/22 20:51, Robert Moskowitz wrote:
I have been busy using Etcher to make arm boot images.
Now it is telling me that it cannot write to /dev/mmcblk0
What is telling you that?
Error message in Etcher. I can't remember the exact text, I would have to try again to get that.
Etcher is not running. I do not have an SD card in the system, yet /dev is listing mmcblk0
Is there someway I can remove this so perhaps things will start working again without a reboot?
What isn't working?
Etcher is not working to write an image to the SD card which is /dev/mmcblk0
Note inserting then removing the SD card from the SD slot does not change /dev showing mmcblk0.
Does the SD card show up when you insert it? Can you read from the device when there's an SD card inserted?
Well, did not try that. Put in another SD card that already has an image on it. I can mount it and read it. Unmount and take the device out of the SD slot, /dev/mmcblk0 still showing when I 'ls /dev' .
So I *THINK* I want to get the system to realize that there is NO /dev/mmcblk0 (normal situation) when the notebook's SD slot is empty.
Alternatively, I guess I should be able to use a USB/SD card adapter for now until the next reboot. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On 3/1/22 05:05, Robert Moskowitz wrote:
Well, did not try that. Put in another SD card that already has an image on it. I can mount it and read it. Unmount and take the device out of the SD slot, /dev/mmcblk0 still showing when I 'ls /dev' .
Are you able to read and write to an SD card that has a normal filesystem on it?
So I *THINK* I want to get the system to realize that there is NO /dev/mmcblk0 (normal situation) when the notebook's SD slot is empty.
It doesn't work like that. The SD card reader is always there, so the device exists. It's like how you always have /dev/sr0 even if you don't have a disc inserted.
On 3/1/22 14:58, Samuel Sieb wrote:
On 3/1/22 05:05, Robert Moskowitz wrote:
Well, did not try that. Put in another SD card that already has an image on it. I can mount it and read it. Unmount and take the device out of the SD slot, /dev/mmcblk0 still showing when I 'ls /dev' .
Are you able to read and write to an SD card that has a normal filesystem on it?
So I *THINK* I want to get the system to realize that there is NO /dev/mmcblk0 (normal situation) when the notebook's SD slot is empty.
It doesn't work like that. The SD card reader is always there, so the device exists. It's like how you always have /dev/sr0 even if you don't have a disc inserted.
I have nothing in the SD slot right now (oh, this is a Lenovol x140e). 'ls /dev/' does NOT list a mmcblk0.
I insert a mSD card in an SD adapter (don't have any full size SD cards handy) and messages show:
Mar 1 17:05:20 lx140e kernel: mmc0: cannot verify signal voltage switch Mar 1 17:05:20 lx140e kernel: mmc0: new ultra high speed SDR50 SDHC card at address 0007 Mar 1 17:05:20 lx140e kernel: mmcblk0: mmc0:0007 SD8GB 7.42 GiB (ro) Mar 1 17:05:20 lx140e kernel: mmcblk0: p1 p2 p3 p4
And lsblk shows:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1G 0 part /boot ├─sda2 8:2 0 70G 0 part / ├─sda3 8:3 0 16G 0 part [SWAP] ├─sda4 8:4 0 1K 0 part └─sda5 8:5 0 378.8G 0 part /home mmcblk0 179:0 0 7.4G 1 disk ├─mmcblk0p1 179:1 0 29M 1 part ├─mmcblk0p2 179:2 0 488M 1 part ├─mmcblk0p3 179:3 0 488M 1 part └─mmcblk0p4 179:4 0 2.8G 1 part zram0 252:0 0 8G 0 disk [SWAP]
ls /dev/ lists mmcblk0 as well now.
Pull the SD and I see:
Mar 1 17:06:54 lx140e kernel: mmc0: card 0007 removed Mar 1 17:06:54 lx140e systemd-homed[727]: block device /sys/devices/pci0000:00/0000:00:02.5/0000:04:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p2 has been removed. Mar 1 17:06:55 lx140e systemd-homed[727]: block device /sys/devices/pci0000:00/0000:00:02.5/0000:04:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p1 has been removed. Mar 1 17:06:55 lx140e systemd-homed[727]: block device /sys/devices/pci0000:00/0000:00:02.5/0000:04:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p4 has been removed. Mar 1 17:06:55 lx140e systemd-homed[727]: block device /sys/devices/pci0000:00/0000:00:02.5/0000:04:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p3 has been removed. Mar 1 17:06:55 lx140e systemd-homed[727]: block device /sys/devices/pci0000:00/0000:00:02.5/0000:04:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:0007/block/mmcblk0 has been removed.
On 3/1/22 14:07, Robert Moskowitz wrote:
On 3/1/22 14:58, Samuel Sieb wrote:
On 3/1/22 05:05, Robert Moskowitz wrote:
Well, did not try that. Put in another SD card that already has an image on it. I can mount it and read it. Unmount and take the device out of the SD slot, /dev/mmcblk0 still showing when I 'ls /dev' .
Are you able to read and write to an SD card that has a normal filesystem on it?
So I *THINK* I want to get the system to realize that there is NO /dev/mmcblk0 (normal situation) when the notebook's SD slot is empty.
It doesn't work like that. The SD card reader is always there, so the device exists. It's like how you always have /dev/sr0 even if you don't have a disc inserted.
I have nothing in the SD slot right now (oh, this is a Lenovol x140e). 'ls /dev/' does NOT list a mmcblk0.
Sorry, you're right. I was getting it confused with the USB ones that create sd? devices for all the slots even when there's nothing inserted.