FS#41273 - [mkinitcpio] block-hook should include support for USB attached Scsi.
Attached to Project:
Arch Linux
Opened by Florian Loitsch (priorit) - Saturday, 19 July 2014, 22:29 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 23 July 2014, 22:50 GMT
Opened by Florian Loitsch (priorit) - Saturday, 19 July 2014, 22:29 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 23 July 2014, 22:50 GMT
|
Details
Description:
mkinitcpio should include uas (usb attached scsi) module in its block-hook (together with the other usb modules). Without this module some newer usb devices are not recognized. Additional info: * package version(s) mkinitcpio 17-1 * config and/or log files etc. Steps to reproduce: create mkinitcpio with block hook. Fix should be as easy as adding the uas module in the block file (see patch below). I'm not sure if there needs to be a check if the file exists or not. Alternatively one could just switch to adding storage/u* instead of storage/ms-*. --- block_old 2014-07-20 00:25:53.595724901 +0200 +++ block 2014-07-20 00:26:57.255380027 +0200 @@ -14,6 +14,7 @@ if add_checked_modules -f '(_cs|sl811_hcd|isp116x_hcd)' '/usb/host'; then blockdevs+=(['usb_storage?']=1 ['sd_mod?']=1 ['sr_mod?']=1) add_checked_modules 'drivers/usb/storage/ums-*' + add_checked_modules 'drivers/usb/storage/uas.ko.gz' fi # firewire |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 23 July 2014, 22:50 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/mkinitcpi o.git/commit/?id=a35c698c16759c3c05c692f d10f140d186053177
Wednesday, 23 July 2014, 22:50 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/mkinitcpi o.git/commit/?id=a35c698c16759c3c05c692f d10f140d186053177
I now get:
ERROR: could not insert module /usr/lib/modules/3.15.5-2-ARCH/kernel/uas.ko: Unknown symbol in module.
The symbol seems to be:
usb_stor_adjust_quirks
+ add_checked_modules 'drivers/usb/storage/uas.ko.gz'
The "+" represents a line that has been added.
You can either use "patch" to patch the file, or just remove the "+".
Thanks for finding and providing a fix for this bug.
I lost more than a full week chasing it, see https://bbs.archlinux.org/viewtopic.php?pid=1439053
Also many thanks to Strike0 for hinting me to this page.