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:39 |
---|---|---|
tomreyn | !yy.mm | rvalle | 10:40 |
ubottu | rvalle: 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-cycle | 10:40 |
rvalle | 18.04 | 10:41 |
ogra | updated from what exactly ? the Pi4 is only supported since 20.04 IIRC | 10:48 |
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:49 |
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:50 |
rvalle | yes... and gets regular updates | 10:51 |
ogra | ah, you mean you have just updated an 18.04 install, k | 10:52 |
rvalle | yes... just a regular apt-get upgrade ... that updated kernel, and I guess also ramdisk | 10:53 |
rvalle | any idea what could have gone wrong/changed? or where can I find more information? | 10:56 |
ricotz | rvalle, https://launchpad.net/bugs/1943097 | 11:16 |
ubottu | Launchpad bug 1943097 in Ubuntu "Kernel 5.13 broke my Ubuntu 21.10 on RPI4 8Gb" [Undecided, Confirmed] | 11:16 |
rvalle | is it the same kernel version in 18.04? | 11:18 |
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:19 |
ubottu | Commit 0235a0a in ubuntu/+source/initramfs-tools "0.130ubuntu3.12 (patches unapplied) import/0.130ubuntu3.12" | 11:19 |
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:20 |
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:21 |
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:22 |
rvalle | or perhaps there is another missing module even usb-storage is there.... | 11:25 |
rvalle | could it be a /sys/power/resume related | 11:30 |
rvalle | ? | 11:30 |
rvalle | Actually I can see that the running kernel in the initramfs is 5.3.0-1038 | 11:48 |
rvalle | would you say that the module usbfs is required for usb storage to work? | 12:13 |
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:14 |
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:17 |
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:19 |
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. | 12:55 |
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:11 |
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:14 |
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:15 |
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:16 |
CodeMouse92 | Yeah, Impish literally has 5.13. :) | 13:22 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!