:: Re: [DNG] Boot hangs with usb disk …
Página Inicial
Delete this message
Reply to this message
Autor: Tomasz Torcz
Data:  
Para: dng
Assunto: Re: [DNG] Boot hangs with usb disk active in fstab
On Sun, Jun 14, 2020 at 08:07:59PM +0200, dng@??? wrote:
> On 14-06-2020 20:00, J. Fahrner via Dng wrote:
> > Am 2020-06-14 19:51, schrieb Tomasz Torcz:
> >>   Try files in /sys/module/usb_storage/parameters
> >> Or you can put in kernel command line: usb_storage.parameter=…
> >> as described at
> >> https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
> >>
> >
> > Something is wrong her:
> >
> > root@Odroid2:~# modprobe usb_storage delay_use=3
> > root@Odroid2:~# cat /sys/module/usb_storage/parameters/delay_use
> > 5


If it was already loaded, or built into the kernel, modprobe will
silently succeed, but it will NOT change the parameter. Try:

echo 3 > /sys/module/usb_storage/parameters/delay_use

> >
> > _
> It is a kernel parameter not a module parameter. You have to add it to
> your kernel boot line.


delay_use is a module parameter.

-- 
Tomasz Torcz                 “God, root, what's the difference?”
tomek@???               “God is more forgiving.”