You are not logged in.

#1 2013-10-07 06:12:31

pag-r
Member
From: Poland
Registered: 2011-09-01
Posts: 13

Restart is required to mount USB after a kernel upgrade?

I have problem with required restart after kernel upgrade couse can't use USB. This is common in my two machines (laptop & pc). What can I do with this annoying problem. I've tried to google for an answer but can't find anything usefull. Only reasonable info was from stackexchange, but it won't work. I still have all old kernels in /lub/modules

ls /lib/modules/
3.10.10-1-ARCH  3.10.5-1-ARCH  3.11.1-1-ARCH  3.11.2-1-ARCH  3.8.10-1-ARCH  3.8.6-1-ARCH  3.8.8-1-ARCH  3.9.3-1-ARCH  3.9.5-1-ARCH  3.9.7-1-ARCH  3.9.9-1-ARCH
3.10.3-1-ARCH   3.10.9-1-ARCH  3.11.1-2-ARCH  3.11.4-1-ARCH  3.8.11-1-ARCH  3.8.7-1-ARCH  3.9.2-1-ARCH  3.9.4-1-ARCH  3.9.6-1-ARCH  3.9.8-1-ARCH  extramodules-3.11-ARCH

Offline

#2 2013-10-07 10:27:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Restart is required to mount USB after a kernel upgrade?

Yes, you should reboot after updating the kernel.

Offline

#3 2013-10-07 10:45:21

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Restart is required to mount USB after a kernel upgrade?

And if you're not going to reboot to use the new kernel, why upgrade it immediately?

It's a little strange (but otherwise not very relevant, I think) that you still have all those (empty?) directories (not kernels, unless you did something really unusual) in /lib/modules. I have occasionally seen two, but the next upgrade would remove the leftover directories from previous kernels.

Last edited by Raynman (2013-10-07 11:29:17)

Offline

#4 2013-10-07 12:06:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Restart is required to mount USB after a kernel upgrade?

Here's a workaround for your annoying "issue" - load the usb-storage driver at boot-time, instead of on demand.

That said, karol and Raynman are right.

Offline

#5 2013-10-21 05:50:40

pag-r
Member
From: Poland
Registered: 2011-09-01
Posts: 13

Re: Restart is required to mount USB after a kernel upgrade?

Maybe I can't do such obvious thing like loading usb module or it just won't work:).

$ ls /etc/modules-load.d/ -1
enp2s0.conf
loop.conf
usbcore.conf
virtualbox.conf

$ cat /etc/modules-load.d/usbcore.conf
usbcore

$ lsmod | grep usb
usbhid                 41434  0 
hid                    89751  2 hid_generic,usbhid
usbcore               178119  5 ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common              1648  1 usbcore

$ dmesg | tail -n2
[  142.891160] CPUM: APIC 03 at 00000000fee00000 (mapped at ffffc900145a4000) - ver 0x80050010, lint0=0x10700 lint1=0x10400 pc=0x00400 thmr=0x10000
[  984.213568] usb 7-6: new high-speed USB device number 2 using ehci-pci

And usbdrive still don't mounted automatically

Offline

#6 2018-04-11 18:56:22

vishalbelsare
Member
Registered: 2018-04-11
Posts: 3

Re: Restart is required to mount USB after a kernel upgrade?

Instead of loading 'usbcore' at boot, you probably need to load 'usb_storage'

Offline

#7 2018-04-11 18:57:17

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

Re: Restart is required to mount USB after a kernel upgrade?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB