All SD card mounts read-only after mounting locked card
up vote
0
down vote
favorite
I'm having a project with the SD card reader (likely driver) for my Dell machine running 18.04.
If I ever insert a SD card in the "locked" position, any other SD card can not be written to regardless of the physical potion of the switch, until the next re-boot.
One odd thing, is if the switch on the card is unlocked, it says "Operation not permitted", but if it's locked it says "Read-only file system" (as it should).
How I'm testing:
umount the FS if it's auto mounted. Then doing a simple "sudo dd if=/dev/zero of=/dev/sda bs=512 count=1" to delete the MBR. This gives the error. So it's not a wrong/weird file system issue.
Once the SD reader has mounted a read-only card, you can never write to another card again until a reboot. reading is fine.
Booting to windows w/o touching the card, and writing is fine (assuming the card is in the unlocked position).
So maybe a driver and/or automount bug?
Any ideas on how to reset it w/ out having to reboot?
lshw just says the device is a "Mass storage device" and "Flash card Reader/Writer". The vendor is "Generic"
drivers sd-card
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I'm having a project with the SD card reader (likely driver) for my Dell machine running 18.04.
If I ever insert a SD card in the "locked" position, any other SD card can not be written to regardless of the physical potion of the switch, until the next re-boot.
One odd thing, is if the switch on the card is unlocked, it says "Operation not permitted", but if it's locked it says "Read-only file system" (as it should).
How I'm testing:
umount the FS if it's auto mounted. Then doing a simple "sudo dd if=/dev/zero of=/dev/sda bs=512 count=1" to delete the MBR. This gives the error. So it's not a wrong/weird file system issue.
Once the SD reader has mounted a read-only card, you can never write to another card again until a reboot. reading is fine.
Booting to windows w/o touching the card, and writing is fine (assuming the card is in the unlocked position).
So maybe a driver and/or automount bug?
Any ideas on how to reset it w/ out having to reboot?
lshw just says the device is a "Mass storage device" and "Flash card Reader/Writer". The vendor is "Generic"
drivers sd-card
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm having a project with the SD card reader (likely driver) for my Dell machine running 18.04.
If I ever insert a SD card in the "locked" position, any other SD card can not be written to regardless of the physical potion of the switch, until the next re-boot.
One odd thing, is if the switch on the card is unlocked, it says "Operation not permitted", but if it's locked it says "Read-only file system" (as it should).
How I'm testing:
umount the FS if it's auto mounted. Then doing a simple "sudo dd if=/dev/zero of=/dev/sda bs=512 count=1" to delete the MBR. This gives the error. So it's not a wrong/weird file system issue.
Once the SD reader has mounted a read-only card, you can never write to another card again until a reboot. reading is fine.
Booting to windows w/o touching the card, and writing is fine (assuming the card is in the unlocked position).
So maybe a driver and/or automount bug?
Any ideas on how to reset it w/ out having to reboot?
lshw just says the device is a "Mass storage device" and "Flash card Reader/Writer". The vendor is "Generic"
drivers sd-card
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm having a project with the SD card reader (likely driver) for my Dell machine running 18.04.
If I ever insert a SD card in the "locked" position, any other SD card can not be written to regardless of the physical potion of the switch, until the next re-boot.
One odd thing, is if the switch on the card is unlocked, it says "Operation not permitted", but if it's locked it says "Read-only file system" (as it should).
How I'm testing:
umount the FS if it's auto mounted. Then doing a simple "sudo dd if=/dev/zero of=/dev/sda bs=512 count=1" to delete the MBR. This gives the error. So it's not a wrong/weird file system issue.
Once the SD reader has mounted a read-only card, you can never write to another card again until a reboot. reading is fine.
Booting to windows w/o touching the card, and writing is fine (assuming the card is in the unlocked position).
So maybe a driver and/or automount bug?
Any ideas on how to reset it w/ out having to reboot?
lshw just says the device is a "Mass storage device" and "Flash card Reader/Writer". The vendor is "Generic"
drivers sd-card
drivers sd-card
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 28 at 0:15
West_JR
11
11
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
West_JR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
West_JR is a new contributor. Be nice, and check out our Code of Conduct.
West_JR is a new contributor. Be nice, and check out our Code of Conduct.
West_JR is a new contributor. Be nice, and check out our Code of Conduct.
West_JR is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096654%2fall-sd-card-mounts-read-only-after-mounting-locked-card%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown