Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #832154

Bug#866521: [PATCH] initramfs-tools: rootfs on USB mass storage broken for a number of armhf systems

From Karsten Merker <merker@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#866521: [PATCH] initramfs-tools: rootfs on USB mass storage broken for a number of armhf systems
Date 2017-06-29 22:10 +0200
Message-ID <tXNVg-3KB-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: initramfs-tools
Severity: important
Tags: patch

Hello,

with newer kernels (including kernel 4.9 as used in stretch),
initializing the USB host controllers on a number of armhf
systems is not possible without having the "axp20x_usb_power"
power supply driver module available.  To be able to have the
rootfs on a USB mass storage device on such systems it is
therefore necessary to include this module in the initramfs,
which currently isn't the case.

Attached is a patch that adds the "axp20x_usb_power" module to
the "base" module list for the "MODULES=most" setting.  

JFTR: The patch doesn't address the "MODULES=dep" case; rootfs on
USB mass storage currently doesn't work at all with "MODULES=dep"
as the necessary USB controller drivers don't get included.  An
Example (Allwinner A20) with MODULES=dep:

  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/usb
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/usb/common
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/usb/common/usb-common.ko
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/usb/phy
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/usb/phy/phy-generic.ko
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/scsi
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/scsi/sd_mod.ko
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/scsi/scsi_mod.ko
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/i2c
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/i2c/busses
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/i2c/busses/i2c-mv64xxx.ko
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/phy
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/phy/phy-sun4i-usb.ko
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/extcon
  lib/modules/4.9.0-3-armmp-lpae/kernel/drivers/extcon/extcon-core.ko

Missing are at least ehci_platform, ehci_hcd, ohci_platform,
ohci_hcd and usbcore (when using the OTG controller also
musb_hdrc and udc_core) plus the axp20x_regulator regulator
driver and the axp20x_usb_power power supply driver.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#866521: [PATCH] initramfs-tools: rootfs on USB mass storage broken for a number of armhf systems Karsten Merker <merker@debian.org> - 2017-06-29 22:10 +0200

csiph-web