[10:39] <rvalle> Hi!! 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:40] <tomreyn> !yy.mm | rvalle 
[10:41] <rvalle> 18.04 
[10:48] <ogra> updated from what exactly ? the Pi4 is only supported since 20.04 IIRC
[10:49] <waveform> ogra, 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:50] <waveform> I forget exactly which point release of bionic added it though -- it obviously wasn't in there from the get-go
[10:50] <ogra> waveform, well, my question still stands, "upgraded from what" 🙂
[10:50] <waveform> indeed :)
[10:50] <ogra> (thanks for the heads up, i thought 18.04 didnt have pi4)
[10:51] <rvalle> yes... and gets regular updates
[10:52] <ogra> ah, you mean you have just updated an 18.04 install, k
[10:53] <rvalle> yes... just a regular apt-get upgrade ... that updated kernel, and I guess also ramdisk
[10:56] <rvalle> any idea what could have gone wrong/changed? or where can I find more information?
[11:16] <ricotz> rvalle, https://launchpad.net/bugs/1943097
[11:18] <rvalle> is it the same kernel version in 18.04?
[11:19] <rvalle> I 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=0235a0ad8618db319a90e39bbcc41b5e25781848
[11:20] <ricotz> not the same kernel, but the usb_storage module might be moved to -extra package too
[11:20] <rvalle> I can see the usb-storage module in the ramdisk, and I load it, says hi... but no device recognition is started
[11:21] <ricotz> ah ok
[11:21] <rvalle> in my particular case I split the storage between mmc and usb... there is a dropbear and cryptunlock of the USB 
[11:22] <rvalle> now 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:25] <rvalle> or perhaps there is another missing module even usb-storage is there....
[11:30] <rvalle> could it be a /sys/power/resume related
[11:30] <rvalle> ?
[11:48] <rvalle> Actually I can see that the running kernel in the initramfs is 5.3.0-1038
[12:13] <rvalle> would you say that the module usbfs is required for usb storage to work?
[12:14] <ogra> no
[12:14] <rvalle> thanks
[12:14] <ogra> but depending on your USB device you might nee enclosure ... ses and friends etc 
[12:14] <ogra> *need
[12:17] <rvalle> there 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:19] <rvalle> I 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:55] <tdiabel> Could 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.
[13:11] <CodeMouse92> tdiabel: See https://itsfoss.com/ubuntu-hwe-kernel/
[13:11] <CodeMouse92> It specifically addresses your concern.
[13:11] <tdiabel> That is not enough. Say Zen2 needs kernel 5.13 to work kind of properly (suspend), and newer ones will fix more problems
[13:14] <CodeMouse92> tdiabel: 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:15] <CodeMouse92> We'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:16] <CodeMouse92> Excuse 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:22] <CodeMouse92> Yeah, Impish literally has 5.13. :)