Losing connecrtion to SDXC drive
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
My laptop has a very small internal SSD so I have move /home to my SDXC card. I have the fstab set up as below. It works fine for awhile when I first boot up, but then it loses the mount and cant get it back.
I've tried all sorts of things from the web. I even turned off usb automount thinking maybe it was interfering, but no luck.
Im wondering if it is disabling the USB hub the SDXC communicates through over time. Any good suggestions on how to tell Ubuntu 18.04 nto to ever turn off USB or disconnect external drives?
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=e7980c7d-441b-4814-a0cc-74ac44139f12 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=E018-1B48 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=62f48898-00de-40c1-842d-6623583219c4 /home ext4 errors=remount-ro 0 2
UPDATE: Tried this,
https://hamwaves.com/usb.autosuspend/en/
I got stalled at the first step...
This is the card's lsusb entry
Bus 002 Device 010: ID 045e:090c Microsoft Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x045e Microsoft Corp.
idProduct 0x090c
bcdDevice 29.10
iManufacturer 1 Microsoft
iProduct 2 SD Card
iSerial 3 201408282030
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 CARD READER
:
And this is my usb /devices dir
1-0:1.0 1-1.4:1.0 1-4.1:1.0 1-6:1.0 2-1:1.0 2-1.3:1.0 2-4.1:1.0 usb2
1-1 1-4 1-4.3 1-6:1.1 2-1.2 2-4 2-4.2
1-1:1.0 1-4.1 1-4.3:1.0 2-0:1.0 2-1.2:1.0 2-4.1 2-4.2:1.0
1-1.4 1-4:1.0 1-6 2-1 2-1.3 2-4:1.0 usb1
I did a recursive grep and the product id 0x090c and its not in any of those files?
2ND UPDATE: grep -r 090c (no 0x) found the file and then these instructions seem to have fixed my issue!
3rD UPDATE: Half-way there. It doesnt drop when I disconnect power any more, but it still seemingly randomly drops during use :/
4th Update: removing tlp allowed this solution to set the control parameters to on reliably.... but it still drops the volume
18.04 usb usb-drive
New contributor
|
show 3 more comments
My laptop has a very small internal SSD so I have move /home to my SDXC card. I have the fstab set up as below. It works fine for awhile when I first boot up, but then it loses the mount and cant get it back.
I've tried all sorts of things from the web. I even turned off usb automount thinking maybe it was interfering, but no luck.
Im wondering if it is disabling the USB hub the SDXC communicates through over time. Any good suggestions on how to tell Ubuntu 18.04 nto to ever turn off USB or disconnect external drives?
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=e7980c7d-441b-4814-a0cc-74ac44139f12 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=E018-1B48 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=62f48898-00de-40c1-842d-6623583219c4 /home ext4 errors=remount-ro 0 2
UPDATE: Tried this,
https://hamwaves.com/usb.autosuspend/en/
I got stalled at the first step...
This is the card's lsusb entry
Bus 002 Device 010: ID 045e:090c Microsoft Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x045e Microsoft Corp.
idProduct 0x090c
bcdDevice 29.10
iManufacturer 1 Microsoft
iProduct 2 SD Card
iSerial 3 201408282030
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 CARD READER
:
And this is my usb /devices dir
1-0:1.0 1-1.4:1.0 1-4.1:1.0 1-6:1.0 2-1:1.0 2-1.3:1.0 2-4.1:1.0 usb2
1-1 1-4 1-4.3 1-6:1.1 2-1.2 2-4 2-4.2
1-1:1.0 1-4.1 1-4.3:1.0 2-0:1.0 2-1.2:1.0 2-4.1 2-4.2:1.0
1-1.4 1-4:1.0 1-6 2-1 2-1.3 2-4:1.0 usb1
I did a recursive grep and the product id 0x090c and its not in any of those files?
2ND UPDATE: grep -r 090c (no 0x) found the file and then these instructions seem to have fixed my issue!
3rD UPDATE: Half-way there. It doesnt drop when I disconnect power any more, but it still seemingly randomly drops during use :/
4th Update: removing tlp allowed this solution to set the control parameters to on reliably.... but it still drops the volume
18.04 usb usb-drive
New contributor
It appears that one way to trigger it dropping the card reliably is to disconnect the power, even for a moment
– Jeffrey Kesselman
yesterday
It's probably the autosuspence feature of USB. Here is how to disable ...hamwaves.com/usb.autosuspend/en
– mikewhatever
23 hours ago
So, I got stalled at the first step... this is the card's lsusb entry
– Jeffrey Kesselman
13 hours ago
Looks like there is/sys/bus/usb/devices/usb2/
, and also, grep for 045e/090c without 0x.
– mikewhatever
13 hours ago
Thanks, ill try that if I still have problems. I installed tlp and set the USB_BLACKLIST and that seems to be workign so far
– Jeffrey Kesselman
12 hours ago
|
show 3 more comments
My laptop has a very small internal SSD so I have move /home to my SDXC card. I have the fstab set up as below. It works fine for awhile when I first boot up, but then it loses the mount and cant get it back.
I've tried all sorts of things from the web. I even turned off usb automount thinking maybe it was interfering, but no luck.
Im wondering if it is disabling the USB hub the SDXC communicates through over time. Any good suggestions on how to tell Ubuntu 18.04 nto to ever turn off USB or disconnect external drives?
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=e7980c7d-441b-4814-a0cc-74ac44139f12 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=E018-1B48 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=62f48898-00de-40c1-842d-6623583219c4 /home ext4 errors=remount-ro 0 2
UPDATE: Tried this,
https://hamwaves.com/usb.autosuspend/en/
I got stalled at the first step...
This is the card's lsusb entry
Bus 002 Device 010: ID 045e:090c Microsoft Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x045e Microsoft Corp.
idProduct 0x090c
bcdDevice 29.10
iManufacturer 1 Microsoft
iProduct 2 SD Card
iSerial 3 201408282030
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 CARD READER
:
And this is my usb /devices dir
1-0:1.0 1-1.4:1.0 1-4.1:1.0 1-6:1.0 2-1:1.0 2-1.3:1.0 2-4.1:1.0 usb2
1-1 1-4 1-4.3 1-6:1.1 2-1.2 2-4 2-4.2
1-1:1.0 1-4.1 1-4.3:1.0 2-0:1.0 2-1.2:1.0 2-4.1 2-4.2:1.0
1-1.4 1-4:1.0 1-6 2-1 2-1.3 2-4:1.0 usb1
I did a recursive grep and the product id 0x090c and its not in any of those files?
2ND UPDATE: grep -r 090c (no 0x) found the file and then these instructions seem to have fixed my issue!
3rD UPDATE: Half-way there. It doesnt drop when I disconnect power any more, but it still seemingly randomly drops during use :/
4th Update: removing tlp allowed this solution to set the control parameters to on reliably.... but it still drops the volume
18.04 usb usb-drive
New contributor
My laptop has a very small internal SSD so I have move /home to my SDXC card. I have the fstab set up as below. It works fine for awhile when I first boot up, but then it loses the mount and cant get it back.
I've tried all sorts of things from the web. I even turned off usb automount thinking maybe it was interfering, but no luck.
Im wondering if it is disabling the USB hub the SDXC communicates through over time. Any good suggestions on how to tell Ubuntu 18.04 nto to ever turn off USB or disconnect external drives?
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=e7980c7d-441b-4814-a0cc-74ac44139f12 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=E018-1B48 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=62f48898-00de-40c1-842d-6623583219c4 /home ext4 errors=remount-ro 0 2
UPDATE: Tried this,
https://hamwaves.com/usb.autosuspend/en/
I got stalled at the first step...
This is the card's lsusb entry
Bus 002 Device 010: ID 045e:090c Microsoft Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x045e Microsoft Corp.
idProduct 0x090c
bcdDevice 29.10
iManufacturer 1 Microsoft
iProduct 2 SD Card
iSerial 3 201408282030
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 CARD READER
:
And this is my usb /devices dir
1-0:1.0 1-1.4:1.0 1-4.1:1.0 1-6:1.0 2-1:1.0 2-1.3:1.0 2-4.1:1.0 usb2
1-1 1-4 1-4.3 1-6:1.1 2-1.2 2-4 2-4.2
1-1:1.0 1-4.1 1-4.3:1.0 2-0:1.0 2-1.2:1.0 2-4.1 2-4.2:1.0
1-1.4 1-4:1.0 1-6 2-1 2-1.3 2-4:1.0 usb1
I did a recursive grep and the product id 0x090c and its not in any of those files?
2ND UPDATE: grep -r 090c (no 0x) found the file and then these instructions seem to have fixed my issue!
3rD UPDATE: Half-way there. It doesnt drop when I disconnect power any more, but it still seemingly randomly drops during use :/
4th Update: removing tlp allowed this solution to set the control parameters to on reliably.... but it still drops the volume
18.04 usb usb-drive
18.04 usb usb-drive
New contributor
New contributor
edited 6 hours ago
Jeffrey Kesselman
New contributor
asked yesterday
Jeffrey KesselmanJeffrey Kesselman
11
11
New contributor
New contributor
It appears that one way to trigger it dropping the card reliably is to disconnect the power, even for a moment
– Jeffrey Kesselman
yesterday
It's probably the autosuspence feature of USB. Here is how to disable ...hamwaves.com/usb.autosuspend/en
– mikewhatever
23 hours ago
So, I got stalled at the first step... this is the card's lsusb entry
– Jeffrey Kesselman
13 hours ago
Looks like there is/sys/bus/usb/devices/usb2/
, and also, grep for 045e/090c without 0x.
– mikewhatever
13 hours ago
Thanks, ill try that if I still have problems. I installed tlp and set the USB_BLACKLIST and that seems to be workign so far
– Jeffrey Kesselman
12 hours ago
|
show 3 more comments
It appears that one way to trigger it dropping the card reliably is to disconnect the power, even for a moment
– Jeffrey Kesselman
yesterday
It's probably the autosuspence feature of USB. Here is how to disable ...hamwaves.com/usb.autosuspend/en
– mikewhatever
23 hours ago
So, I got stalled at the first step... this is the card's lsusb entry
– Jeffrey Kesselman
13 hours ago
Looks like there is/sys/bus/usb/devices/usb2/
, and also, grep for 045e/090c without 0x.
– mikewhatever
13 hours ago
Thanks, ill try that if I still have problems. I installed tlp and set the USB_BLACKLIST and that seems to be workign so far
– Jeffrey Kesselman
12 hours ago
It appears that one way to trigger it dropping the card reliably is to disconnect the power, even for a moment
– Jeffrey Kesselman
yesterday
It appears that one way to trigger it dropping the card reliably is to disconnect the power, even for a moment
– Jeffrey Kesselman
yesterday
It's probably the autosuspence feature of USB. Here is how to disable ...hamwaves.com/usb.autosuspend/en
– mikewhatever
23 hours ago
It's probably the autosuspence feature of USB. Here is how to disable ...hamwaves.com/usb.autosuspend/en
– mikewhatever
23 hours ago
So, I got stalled at the first step... this is the card's lsusb entry
– Jeffrey Kesselman
13 hours ago
So, I got stalled at the first step... this is the card's lsusb entry
– Jeffrey Kesselman
13 hours ago
Looks like there is
/sys/bus/usb/devices/usb2/
, and also, grep for 045e/090c without 0x.– mikewhatever
13 hours ago
Looks like there is
/sys/bus/usb/devices/usb2/
, and also, grep for 045e/090c without 0x.– mikewhatever
13 hours ago
Thanks, ill try that if I still have problems. I installed tlp and set the USB_BLACKLIST and that seems to be workign so far
– Jeffrey Kesselman
12 hours ago
Thanks, ill try that if I still have problems. I installed tlp and set the USB_BLACKLIST and that seems to be workign so far
– Jeffrey Kesselman
12 hours ago
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Jeffrey Kesselman is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1133431%2flosing-connecrtion-to-sdxc-drive%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jeffrey Kesselman is a new contributor. Be nice, and check out our Code of Conduct.
Jeffrey Kesselman is a new contributor. Be nice, and check out our Code of Conduct.
Jeffrey Kesselman is a new contributor. Be nice, and check out our Code of Conduct.
Jeffrey Kesselman 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.
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%2f1133431%2flosing-connecrtion-to-sdxc-drive%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
It appears that one way to trigger it dropping the card reliably is to disconnect the power, even for a moment
– Jeffrey Kesselman
yesterday
It's probably the autosuspence feature of USB. Here is how to disable ...hamwaves.com/usb.autosuspend/en
– mikewhatever
23 hours ago
So, I got stalled at the first step... this is the card's lsusb entry
– Jeffrey Kesselman
13 hours ago
Looks like there is
/sys/bus/usb/devices/usb2/
, and also, grep for 045e/090c without 0x.– mikewhatever
13 hours ago
Thanks, ill try that if I still have problems. I installed tlp and set the USB_BLACKLIST and that seems to be workign so far
– Jeffrey Kesselman
12 hours ago