You are not logged in.

#1 2015-10-24 04:56:55

train_wreck
Member
Registered: 2011-10-22
Posts: 97

Trying to add custom options to "usb-storage" module - modules-load.d

I have an external USB enclosure branded "Anker" that has a buggy UAS implementation, and needs UAS disabled to function properly. I am able to successfully run:

rmmod uas usb-storage
modprobe usb-storage quirks=357d:7788:u

And then mount the drive with no problems.

I am trying to add the usb-storage module options on boot, following the instructions here:

https://wiki.archlinux.org/index.php/Ke … probe.d.2F

I have the following in /etc/modules-load.d/usb.conf:

blacklist uas
options usb-storage quirks=357d:7788:u

However, this is failing on boot, with systemd complaining:

[    4.442155] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.

Here is the output from "systemctl status systemd-modules-load.service":

â systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2000-01-08 03:29:03 CST; 15 years 9 months ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 126 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 126 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Not sure where to go from here....

Offline

#2 2015-10-24 05:09:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,145

Re: Trying to add custom options to "usb-storage" module - modules-load.d

I think you want /etc/modprobe.d/ for custom options.

Offline

#3 2015-10-24 05:15:27

train_wreck
Member
Registered: 2011-10-22
Posts: 97

Re: Trying to add custom options to "usb-storage" module - modules-load.d

damn, thank you.

Offline

#4 2015-10-24 06:01:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Trying to add custom options to "usb-storage" module - modules-load.d

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB