/srv/irclogs.ubuntu.com/2021/10/08/#ubuntu-kernel.txt

rvalleHi!! I just updated RPI4 to latest ubuntu18 and usb storage is no longer working in initramfs. I can see modules are in the image, like usb-storage and related, but no device is recognized even if I load the modules by hand from dropbear. Something seems to have changed either in kernel or initramfstools any idea where to look for?10:39
tomreyn!yy.mm | rvalle 10:40
ubotturvalle: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle10:40
rvalle18.04 10:41
ograupdated from what exactly ? the Pi4 is only supported since 20.04 IIRC10:48
waveformogra, sorry -- the pi4 is actually supported on bionic (it was the LTS at the time of the pi4's release); however cm4 and pi400 are only officially supported on focal onwards (as that was the LTS at the time of their release)10:49
waveformI forget exactly which point release of bionic added it though -- it obviously wasn't in there from the get-go10:50
ograwaveform, well, my question still stands, "upgraded from what" 🙂10:50
waveformindeed :)10:50
ogra(thanks for the heads up, i thought 18.04 didnt have pi4)10:50
rvalleyes... and gets regular updates10:51
ograah, you mean you have just updated an 18.04 install, k10:52
rvalleyes... just a regular apt-get upgrade ... that updated kernel, and I guess also ramdisk10:53
rvalleany idea what could have gone wrong/changed? or where can I find more information?10:56
ricotzrvalle, https://launchpad.net/bugs/194309711:16
ubottuLaunchpad bug 1943097 in Ubuntu "Kernel 5.13 broke my Ubuntu 21.10 on RPI4 8Gb" [Undecided, Confirmed]11:16
rvalleis it the same kernel version in 18.04?11:18
rvalleI can see a commit to initramtoolsfs that seems to be to related areas, mount hooks, etc https://git.launchpad.net/ubuntu/+source/initramfs-tools/commit/?id=0235a0ad8618db319a90e39bbcc41b5e2578184811:19
ubottuCommit 0235a0a in ubuntu/+source/initramfs-tools "0.130ubuntu3.12 (patches unapplied) import/0.130ubuntu3.12"11:19
ricotznot the same kernel, but the usb_storage module might be moved to -extra package too11:20
rvalleI can see the usb-storage module in the ramdisk, and I load it, says hi... but no device recognition is started11:20
ricotzah ok11:21
rvallein my particular case I split the storage between mmc and usb... there is a dropbear and cryptunlock of the USB 11:21
rvallenow it is stuck because something is going on there... but the modules seem to be there. I am just not familiar with how does the recognition of usb devices happens... 11:22
rvalleor perhaps there is another missing module even usb-storage is there....11:25
rvallecould it be a /sys/power/resume related11:30
rvalle?11:30
rvalleActually I can see that the running kernel in the initramfs is 5.3.0-103811:48
rvallewould you say that the module usbfs is required for usb storage to work?12:13
ograno12:14
rvallethanks12:14
ograbut depending on your USB device you might nee enclosure ... ses and friends etc 12:14
ogra*need12:14
rvallethere seems to be some kind of plug-and-play (remember!) system that is not in place. I can see the concept of device auto-proving that might not be working.12:17
rvalleI am working on the assumption that something broke in the initramtfstools and my kernel has everything to work, but any of the scripts is not working. so I should be able to make the devices come up from the shell.12:19
tdiabelCould Ubuntu ship latest stable kernel (opt-in), like Deepin does? Currently one has to wait ~3 YEARS after hardware release to get it working by default. Inacceptable and no wonder Ubuntu isn't more popular being the way it is.12:55
CodeMouse92tdiabel: See https://itsfoss.com/ubuntu-hwe-kernel/13:11
CodeMouse92It specifically addresses your concern.13:11
tdiabelThat is not enough. Say Zen2 needs kernel 5.13 to work kind of properly (suspend), and newer ones will fix more problems13:11
CodeMouse92tdiabel: Sorry to hear it. Ubuntu remains one of the most popular Linux distros because we focus on stability over bleeding edge. Getting the latest kernel working on an LTS is non-trivial. You can usually get newer kernels between the non-LTS versions (e.g. Impish Indri, coming out this week) and HWE. Alternatively, there are ways to install the latest kernel yourself, if you're feeling brave.13:14
CodeMouse92We're aware we're not right for everyone. That's why it's awesome we have so many Linux distros in existence! Ubuntu focuses on stability. :)13:15
CodeMouse92Excuse me, I should have said, getting the latest kernel working on an LTS *at the standard of stability we hold ourselves to* is non-trivial.13:16
CodeMouse92Yeah, Impish literally has 5.13. :)13:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!