[Letux-kernel] Strange problem with non-LPAE letux-4.20-rc kernels on 4GB Pyra only - PARTUUID not found

H. Nikolaus Schaller hns at goldelico.com
Fri Dec 14 20:50:13 CET 2018


Hi,

> Am 08.12.2018 um 19:54 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
>> [   41.658912]  mmcblk5: p1 p2
>> [   41.663456] really_probe: driver mmcblk for mmc5:b368 bus mmc ok (1)
>> [   41.681529] VFS: Cannot open root device "PARTUUID=c8a507cd-02" or unknown-block(179,2): error -30
>> 
>> ^^^ here it is looking for PARTUUID=c8a507cd-02

I now did a git bisect between 4.19.0 and 4.20-rc1 and it told me:

9703fc8caf36ac65dca1538b23dd137de0b53233 is the first bad commit


git show 9703fc8caf36ac65dca1538b23dd137de0b53233
commit 9703fc8caf36ac65dca1538b23dd137de0b53233 (HEAD -> bisect+patch, bisect, refs/bisect/bad)
Merge: da19a102ce87 b8d9ee24493d
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Oct 26 08:14:13 2018 -0700

    Merge tag 'usb-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
    
    Pull USB/PHY updates from Greg KH:
     "Here is the big USB/PHY driver patches for 4.20-rc1
    
      Lots of USB changes in here, primarily in these areas:
    
       - typec updates and new drivers
    
       - new PHY drivers
    
       - dwc2 driver updates and additions (this old core keeps getting
         added to new devices.)
    
       - usbtmc major update based on the industry group coming together and
         working to add new features and performance to the driver.
    
       - USB gadget additions for new features
    
       - USB gadget configfs updates
    
       - chipidea driver updates
    
       - other USB gadget updates
    
       - USB serial driver updates
    
       - renesas driver updates
    
       - xhci driver updates
    
       - other tiny USB driver updates
    
      All of these have been in linux-next for a while with no reported
      issues"
    
 Documentation/ABI/stable/sysfs-driver-usb-usbtmc                 |   35 ------
 Documentation/ABI/testing/configfs-usb-gadget-uvc                |   24 ++++
 Documentation/ABI/testing/sysfs-bus-usb                          |   19 ++-
 Documentation/admin-guide/kernel-parameters.txt                  |    3 +-
 Documentation/devicetree/bindings/connector/usb-connector.txt    |    8 +-
 Documentation/devicetree/bindings/phy/brcm-sata-phy.txt          |    1 +
 Documentation/devicetree/bindings/phy/phy-cadence-dp.txt         |   30 +++++
 Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt |   43 +++++++
 Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt           |   23 ++--
 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt     |   11 +-
 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt     |   10 +-
 Documentation/devicetree/bindings/phy/uniphier-pcie-phy.txt      |   31 +++++
 Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt      |   45 +++++++
 Documentation/devicetree/bindings/phy/uniphier-usb3-hsphy.txt    |   69 +++++++++++
 Documentation/devicetree/bindings/phy/uniphier-usb3-ssphy.txt    |   57 +++++++++
 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt           |    2 +
 Documentation/devicetree/bindings/usb/dwc3.txt                   |    1 +
 Documentation/devicetree/bindings/usb/ehci-mv.txt                |   23 ++++
 Documentation/devicetree/bindings/usb/exynos-usb.txt             |    2 +
 Documentation/devicetree/bindings/usb/faraday,fotg210.txt        |   35 ++++++
 Documentation/devicetree/bindings/usb/fcs,fusb302.txt            |   32 +++--
 Documentation/devicetree/bindings/usb/renesas_usb3.txt           |    6 +-
 Documentation/devicetree/bindings/usb/renesas_usbhs.txt          |   11 +-
 Documentation/devicetree/bindings/usb/usb-ehci.txt               |    6 +-
 Documentation/devicetree/bindings/usb/usb-ohci.txt               |    6 +-
 Documentation/devicetree/bindings/usb/usb-xhci.txt               |    5 +-
 Documentation/ioctl/ioctl-number.txt                             |    2 +-
 MAINTAINERS                                                      |    6 +
 arch/arm/mach-mmp/devices.c                                      |   11 +-
 drivers/media/usb/em28xx/em28xx-audio.c                          |    5 +-
 drivers/media/usb/em28xx/em28xx-core.c                           |    5 +-
 drivers/media/usb/tm6000/tm6000-video.c                          |    5 +-
 drivers/phy/Kconfig                                              |    2 +
 drivers/phy/Makefile                                             |    2 +
 drivers/phy/broadcom/Kconfig                                     |    3 +-
 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c                       |    4 +-
 drivers/phy/broadcom/phy-brcm-sata.c                             |   74 +++++++++++-
 drivers/phy/broadcom/phy-brcm-usb.c                              |    4 +-
 drivers/phy/cadence/Kconfig                                      |   10 ++
 drivers/phy/cadence/Makefile                                     |    1 +
 drivers/phy/cadence/phy-cadence-dp.c                             |  541 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/phy/lantiq/phy-lantiq-rcu-usb2.c                         |    5 +-
 drivers/phy/marvell/Kconfig                                      |   11 ++
 drivers/phy/marvell/Makefile                                     |    1 +
 drivers/phy/marvell/phy-berlin-sata.c                            |    6 +-
 drivers/phy/marvell/phy-pxa-usb.c                                |  345 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/phy/qualcomm/Kconfig                                     |   17 +++
 drivers/phy/qualcomm/Makefile                                    |    4 +-
 drivers/phy/qualcomm/phy-qcom-qmp.c                              |  222 ++++++++++++++++++++++++++++++----
 drivers/phy/qualcomm/phy-qcom-qmp.h                              |   15 +++
 drivers/phy/qualcomm/phy-qcom-qusb2.c                            |    4 +-
 drivers/phy/qualcomm/phy-qcom-ufs-i.h                            |    2 +-
 drivers/phy/qualcomm/phy-qcom-ufs.c                              |   50 --------
 drivers/phy/renesas/Kconfig                                      |    1 +
 drivers/phy/renesas/Makefile                                     |    1 +
 drivers/phy/renesas/phy-rcar-gen2.c                              |    5 +-
 drivers/phy/renesas/phy-rcar-gen3-usb2.c                         |   86 ++++++++------
 drivers/phy/renesas/phy-rcar-gen3-usb3.c                         |    5 +-
 drivers/phy/rockchip/Kconfig                                     |    8 ++
 drivers/phy/rockchip/Makefile                                    |    1 +
 drivers/phy/rockchip/phy-rockchip-emmc.c                         |    4 +-
 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c                    | 1277 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/phy/rockchip/phy-rockchip-inno-usb2.c                    |    8 +-
 drivers/phy/rockchip/phy-rockchip-typec.c                        |    8 +-
 drivers/phy/rockchip/phy-rockchip-usb.c                          |  145 ++++++++++++++--------
 drivers/phy/socionext/Kconfig                                    |   34 ++++++
 drivers/phy/socionext/Makefile                                   |    8 ++
 drivers/phy/socionext/phy-uniphier-pcie.c                        |  240 +++++++++++++++++++++++++++++++++++++
 drivers/phy/socionext/phy-uniphier-usb2.c                        |  244 +++++++++++++++++++++++++++++++++++++
 drivers/phy/socionext/phy-uniphier-usb3hs.c                      |  422 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/phy/socionext/phy-uniphier-usb3ss.c                      |  349 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/phy/tegra/xusb.c                                         |    4 +-
 drivers/phy/ti/phy-twl4030-usb.c                                 |   29 +++++
 drivers/platform/x86/Kconfig                                     |    2 +
 drivers/platform/x86/intel_cht_int33fe.c                         |   27 ++---
 drivers/scsi/ufs/ufs-qcom.c                                      |   28 +----
 drivers/scsi/ufs/ufs-qcom.h                                      |    5 -
 drivers/usb/chipidea/ci_hdrc_imx.c                               |   19 ++-
 drivers/usb/chipidea/core.c                                      |   19 +++
 drivers/usb/chipidea/host.c                                      |    9 ++
 drivers/usb/chipidea/otg.c                                       |    9 +-
 drivers/usb/chipidea/otg.h                                       |    3 +-
 drivers/usb/chipidea/udc.c                                       |    9 ++
 drivers/usb/chipidea/usbmisc_imx.c                               |    4 +-
 drivers/usb/class/usbtmc.c                                       | 1585 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------
 drivers/usb/core/buffer.c                                        |    8 +-
 drivers/usb/core/driver.c                                        |    3 -
 drivers/usb/core/generic.c                                       |   27 +++++
 drivers/usb/core/hcd.c                                           |   14 ---
 drivers/usb/core/hub.c                                           |   42 ++++++-
 drivers/usb/core/phy.c                                           |    7 +-
 drivers/usb/core/port.c                                          |   10 ++
 drivers/usb/dwc2/core.h                                          |   29 +++++
 drivers/usb/dwc2/debugfs.c                                       |    1 +
 drivers/usb/dwc2/gadget.c                                        |  121 +++++++++++++++++--
 drivers/usb/dwc2/hcd.c                                           |   48 +++++---
 drivers/usb/dwc2/hw.h                                            |   15 +++
 drivers/usb/dwc2/params.c                                        |    7 ++
 drivers/usb/dwc2/platform.c                                      |    8 ++
 drivers/usb/dwc3/Kconfig                                         |    2 +-
 drivers/usb/dwc3/core.c                                          |    2 +-
 drivers/usb/dwc3/dwc3-exynos.c                                   |  212 ++++++++++++++-------------------
 drivers/usb/dwc3/gadget.c                                        |   29 +++--
 drivers/usb/early/xhci-dbc.c                                     |    3 -
 drivers/usb/gadget/function/f_uac2.c                             |  216 ++++++++++++++++++++++++++-------
 drivers/usb/gadget/function/f_uvc.c                              |   57 ++++-----
 drivers/usb/gadget/function/u_uvc.h                              |    3 +
 drivers/usb/gadget/function/uvc.h                                |   16 +--
 drivers/usb/gadget/function/uvc_configfs.c                       | 1168 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------
 drivers/usb/gadget/function/uvc_v4l2.c                           |    4 +-
 drivers/usb/gadget/function/uvc_video.c                          |   48 +++++---
 drivers/usb/gadget/function/uvc_video.h                          |    2 +-
 drivers/usb/gadget/udc/aspeed-vhub/epn.c                         |    2 +-
 drivers/usb/gadget/udc/atmel_usba_udc.c                          |    8 +-
 drivers/usb/gadget/udc/core.c                                    |    9 +-
 drivers/usb/gadget/udc/fotg210-udc.c                             |    2 +-
 drivers/usb/gadget/udc/fsl_udc_core.c                            |   36 +++++-
 drivers/usb/gadget/udc/mv_udc_core.c                             |    2 +-
 drivers/usb/gadget/udc/net2280.c                                 |    3 -
 drivers/usb/gadget/udc/renesas_usb3.c                            |   14 +++
 drivers/usb/gadget/udc/udc-xilinx.c                              |    2 +-
 drivers/usb/host/Kconfig                                         |    2 +-
 drivers/usb/host/Makefile                                        |    1 +
 drivers/usb/host/ehci-hcd.c                                      |   11 +-
 drivers/usb/host/ehci-mv.c                                       |  181 +++++++++++++---------------
 drivers/usb/host/ehci-q.c                                        |    4 +-
 drivers/usb/host/ehci-timer.c                                    |    2 +-
 drivers/usb/host/ehci.h                                          |    4 +-
 drivers/usb/host/fotg210-hcd.c                                   |   50 +++++---
 drivers/usb/host/fotg210.h                                       |    7 +-
 drivers/usb/host/ohci-at91.c                                     |    2 +
 drivers/usb/host/pci-quirks.c                                    |   12 +-
 drivers/usb/host/xhci-hub.c                                      |    5 +
 drivers/usb/host/xhci-mtk-sch.c                                  |  429 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 drivers/usb/host/xhci-mtk.h                                      |   23 ++++
 drivers/usb/host/xhci-pci.c                                      |   24 ++++
 drivers/usb/host/xhci-plat.c                                     |    3 +
 drivers/usb/host/xhci-ring.c                                     |   20 ++++
 drivers/usb/host/xhci-tegra.c                                    |  144 ++++++++++++++++------
 drivers/usb/host/xhci.h                                          |    3 +
 drivers/usb/misc/appledisplay.c                                  |    7 +-
 drivers/usb/misc/iowarrior.c                                     |    4 +-
 drivers/usb/misc/trancevibrator.c                                |    4 +-
 drivers/usb/mtu3/mtu3_core.c                                     |    4 +-
 drivers/usb/mtu3/mtu3_gadget.c                                   |   22 ++--
 drivers/usb/phy/phy-ab8500-usb.c                                 |    8 +-
 drivers/usb/phy/phy-mxs-usb.c                                    |    2 +-
 drivers/usb/renesas_usbhs/common.c                               |  113 ++++++++++++++++--
 drivers/usb/renesas_usbhs/common.h                               |    5 +-
 drivers/usb/renesas_usbhs/rcar3.c                                |   27 +----
 drivers/usb/serial/cypress_m8.c                                  |    7 +-
 drivers/usb/serial/ftdi_sio.c                                    |  391 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 drivers/usb/serial/ftdi_sio.h                                    |   28 ++++-
 drivers/usb/storage/Kconfig                                      |   23 +---
 drivers/usb/storage/isd200.c                                     |    2 +-
 drivers/usb/typec/Kconfig                                        |   45 +------
 drivers/usb/typec/Makefile                                       |    6 +-
 drivers/usb/typec/class.c                                        |   40 +++----
 drivers/usb/typec/fusb302/Kconfig                                |    7 --
 drivers/usb/typec/fusb302/Makefile                               |    2 -
 drivers/usb/typec/tcpm/Kconfig                                   |   52 ++++++++
 drivers/usb/typec/tcpm/Makefile                                  |    7 ++
 drivers/usb/typec/{fusb302 => tcpm}/fusb302.c                    |   75 +++++++-----
 drivers/usb/typec/{fusb302 => tcpm}/fusb302_reg.h                |    0
 drivers/usb/typec/{ => tcpm}/tcpci.c                             |    0
 drivers/usb/typec/{ => tcpm}/tcpci.h                             |    0
 drivers/usb/typec/{ => tcpm}/tcpci_rt1711h.c                     |    0
 drivers/usb/typec/{ => tcpm}/tcpm.c                              |   17 +--
 drivers/usb/typec/{typec_wcove.c => tcpm/wcove.c}                |    0
 drivers/usb/usbip/vudc_main.c                                    |   10 +-
 drivers/usb/wusbcore/wa-rpipe.c                                  |    6 +-
 include/dt-bindings/usb/pd.h                                     |   26 ++++
 include/linux/device.h                                           |   24 ++++
 include/linux/phy/phy-qcom-ufs.h                                 |   38 ------
 include/linux/platform_data/ehci-sh.h                            |   16 +--
 include/linux/platform_data/mv_usb.h                             |    1 -
 include/linux/usb/chipidea.h                                     |    6 +
 include/uapi/linux/usb/tmc.h                                     |   41 +++++++
 include/uapi/linux/usb/video.h                                   |  304 +++++++++++++++++++++++------------------------
 tools/usb/usbip/libsrc/usbip_host_common.c                       |    6 +-
 tools/usb/usbip/libsrc/vhci_driver.c                             |    2 +-
 181 files changed, 8788 insertions(+), 2190 deletions(-)


Now this is an interesting question why USB fixes can stop the mmc interface from finding
the PARTUUID. And only on this specific Pyra board.

What I am not 100% sure is if this is really the right git bisect result. I accidentially
did some "git bisect skip" so that it might be there...

I also took the bisect log, removed the skip and reapplied. But git bisect insists
on the merge being the problem.

Hm. Shouldn't git bisect go down into the merge and look for the real patch there?

BR,
Nikolaus

PS: I now have a quite minimal set of feature branches to merge with linus/master
so that the Pyra boots (currently with console only). This are those we should try
to get upstream. Mainly it is DTS + bq2429x + panel driver.


More information about the Letux-kernel mailing list