linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
@ 2019-01-18  8:39 Krzysztof Kozlowski
  2019-01-18  8:48 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2019-01-18  8:39 UTC (permalink / raw)
  To: Heiner Kallweit, Andrew Lunn, David S. Miller, Florian Fainelli,
	netdev, linux-kernel, linux-arm-kernel, Stefan Agner

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

Hi,

On today's next (next-20190118) my Colibri VF50 board fails to boot up
from network (DHCP, NFSv4 root). Looks like missing network adapter.
Expected:
[ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
[Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)

Result:
[ 15.614964] Root-NFS: no NFS server address
[ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
[ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[ 15.634252] Please append a correct "root=" boot option; here are the
available partitions:
[ 15.642791] 0100 16384 ram0
[ 15.642804] (driver?)
[ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(2,0)
[ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
root fs on unknown-block(2,0) ]---

Bisect pointed to:
    net: phy: check return code when requesting PHY driver module

Full log and defconfig attached.

Board:
  - Toradex Colibri VF50 on Iris board
    ARMv7, UP, Cortext-A5, NXP VF500, 128 MB RAM, 128 MB NAND
    Systemd: v232
    DHCP, NFSv4 root

Best regards,
Krzysztof

[-- Attachment #2: serial_console.txt --]
[-- Type: text/plain, Size: 28540 bytes --]

run nfsboot
Booting from NFS...
BOOTP broadcast 1
DHCP client bound to address 192.168.10.18 (106 ms)
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.18
Filename 'colibri_vf-nfsboot-buildbot/zImage'.
Load address: 0x81000000
Loading: *
##################################################  4.1 MiB
	 8 MiB/s
done
Bytes transferred = 4289136 (417270 hex)
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.18
Filename 'vf500-colibri-eval-v3-buildbot.dtb'.
Load address: 0x82000000
Loading: *
##################################################  22.8 KiB
	 1.1 MiB/s
done
Bytes transferred = 23297 (5b01 hex)
Kernel image @ 0x81000000 [ 0x000000 - 0x417270 ]
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Using Device Tree in place at 82000000, end 82008b00
   Updating MTD partitions...

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.0.0-rc2-next-20190118-g9673b4a (oe-user@oe-host) (gcc version 6.4.0 (GCC)) #1 Fri Jan 18 04:31:35 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Toradex Colibri VF50 on Proceq GPR Baseboard Prototype 2
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x87000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x3ec with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: ip=::::colibri-vf-buildbot:eth0: root=/dev/nfs ubi.mtd=ubi1 console=tty1 console=ttyLP0,115200n8 consoleblank=0
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 103808K/131072K available (6144K kernel code, 212K rwdata, 1684K rodata, 1024K init, 144K bss, 10880K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0x88800000 - 0xff800000   (1904 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 213 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 145 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000056] sched_clock: 64 bits at 132MHz, resolution 7ns, wraps every 2199023255551ns
[    0.000119] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1e7178659b, max_idle_ns: 440795204301 ns
[    0.000204] Switching to timer-based delay loop, resolution 7ns
[    0.001382] Console: colour dummy device 80x30
[    0.002108] printk: console [tty1] enabled
[    0.002204] Calibrating delay loop (skipped), value calculated using timer frequency.. 264.00 BogoMIPS (lpj=1320000)
[    0.002292] pid_max: default: 32768 minimum: 301
[    0.002736] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002832] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.004299] *** VALIDATE proc ***
[    0.004766] *** VALIDATE cgroup1 ***
[    0.004849] *** VALIDATE cgroup2 ***
[    0.005058] CPU: Testing write buffer coherency: ok
[    0.007532] Setting up static identity map for 0x80100000 - 0x80100060
[    0.010505] devtmpfs: initialized
[    0.024416] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.025291] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.025411] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.027786] pinctrl core: initialized pinctrl subsystem
[    0.031030] NET: Registered protocol family 16
[    0.035195] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.038187] cpuidle: using governor menu
[    0.038585] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.038665] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.051453] vf610-pinctrl 40048000.iomuxc: initialized IMX pinctrl driver
[    0.116352] +V3.3: supplied by 3.3V
[    0.118649] SCSI subsystem initialized
[    0.119445] usbcore: registered new interface driver usbfs
[    0.119709] usbcore: registered new interface driver hub
[    0.120078] usbcore: registered new device driver usb
[    0.122926] i2c i2c-0: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
[    0.123037] i2c i2c-0: IMX I2C adapter registered
[    0.123771] pps_core: LinuxPPS API ver. 1 registered
[    0.123843] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.124001] PTP clock support registered
[    0.127716] clocksource: Switched to clocksource arm_global_timer
[    0.167428] NET: Registered protocol family 2
[    0.169236] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.169386] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.169475] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.169548] TCP: Hash tables configured (established 1024 bind 1024)
[    0.170022] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.170142] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170783] NET: Registered protocol family 1
[    0.172637] RPC: Registered named UNIX socket transport module.
[    0.172728] RPC: Registered udp transport module.
[    0.172769] RPC: Registered tcp transport module.
[    0.172805] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.174859] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    0.178899] Initialise system trusted keyrings
[    0.179439] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.199542] NFS: Registering the id_resolver key type
[    0.199683] Key type id_resolver registered
[    0.199735] Key type id_legacy registered
[    0.199903] ntfs: driver 2.1.32 [Flags: R/W].
[    0.201619] fuse init (API version 7.28)
[    0.230353] Key type asymmetric registered
[    0.230448] Asymmetric key parser 'x509' registered
[    0.230550] io scheduler mq-deadline registered
[    0.230598] io scheduler kyber registered
[    0.235178] gpio gpiochip1: (vf610-gpio): detected irqchip that is shared with multiple gpiochips: please fix the driver.
[    0.236847] gpio gpiochip2: (vf610-gpio): detected irqchip that is shared with multiple gpiochips: please fix the driver.
[    0.238834] gpio gpiochip3: (vf610-gpio): detected irqchip that is shared with multiple gpiochips: please fix the driver.
[    0.240527] gpio gpiochip4: (vf610-gpio): detected irqchip that is shared with multiple gpiochips: please fix the driver.
[    0.246136] 40027000.serial: ttyLP0 at MMIO 0x40027000 (irq = 19, base_baud = 4125000) is a FSL_LPUART
[    0.819361] printk: console [ttyLP0] enabled
[    0.825657] 40029000.serial: ttyLP2 at MMIO 0x40029000 (irq = 20, base_baud = 4125000) is a FSL_LPUART
[    0.840776] brd: module loaded
[    0.866114] loop: module loaded
[    0.872916] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.879464] nand: Macronix NAND 128MiB 3,3V 8-bit
[    0.884225] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.892343] Bad block table found at page 65472, version 0x01
[    0.898494] Bad block table found at page 65408, version 0x01
[    0.904544] nand_read_bbt: bad block at 0x0000013c0000
[    0.910023] 6 fixed-partitions partitions found on MTD device vf610_nfc
[    0.916692] Creating 6 MTD partitions on "vf610_nfc":
[    0.921889] 0x000000000000-0x000000020000 : "vf-bcb"
[    0.928861] 0x000000020000-0x000000180000 : "u-boot"
[    0.935559] 0x000000180000-0x0000001c0000 : "u-boot-env"
[    0.942708] 0x0000001c0000-0x000004080000 : "ubi1"
[    0.949794] 0x000004080000-0x000007f40000 : "ubi2"
[    0.956700] 0x000007f40000-0x000007f80000 : "reserved"
[    0.967551] ------------[ cut here ]------------
[    0.972447] WARNING: CPU: 0 PID: 1 at /home/buildbot/worker/builddir_yocto/build/build/tmp/work-shared/col-vf50-proceq-mainline-next/kernel-source/drivers/spi/spidev.c:730 spidev_probe+0xe4/0x198
[    0.990024] /soc/aips-bus@40000000/spi@4002c000/spidev@0: buggy DT: spidev listed directly in DT
[    0.998931] Modules linked in:
[    1.002057] CPU: 0 PID: 1 Comm: swapper Not tainted 5.0.0-rc2-next-20190118-g9673b4a #1
[    1.010170] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    1.016722] [<8010df3c>] (unwind_backtrace) from [<8010b65c>] (show_stack+0x10/0x14)
[    1.024639] [<8010b65c>] (show_stack) from [<8011a890>] (__warn+0xf8/0x110)
[    1.031761] [<8011a890>] (__warn) from [<8011a8f0>] (warn_slowpath_fmt+0x48/0x6c)
[    1.039417] [<8011a8f0>] (warn_slowpath_fmt) from [<80478800>] (spidev_probe+0xe4/0x198)
[    1.047601] [<80478800>] (spidev_probe) from [<804754fc>] (spi_drv_probe+0x88/0xa0)
[    1.055425] [<804754fc>] (spi_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.063336] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.071764] [<80414e14>] (driver_probe_device) from [<80413088>] (bus_for_each_drv+0x74/0xb8)
[    1.080449] [<80413088>] (bus_for_each_drv) from [<80414978>] (__device_attach+0xd0/0x138)
[    1.088870] [<80414978>] (__device_attach) from [<80413e7c>] (bus_probe_device+0x84/0x8c)
[    1.097138] [<80413e7c>] (bus_probe_device) from [<80411204>] (device_add+0x3a8/0x5e8)
[    1.105240] [<80411204>] (device_add) from [<80476378>] (spi_add_device+0x9c/0x14c)
[    1.113075] [<80476378>] (spi_add_device) from [<80476ec0>] (spi_register_controller+0x694/0xaec)
[    1.122120] [<80476ec0>] (spi_register_controller) from [<80479ef8>] (dspi_probe+0x2cc/0x6a8)
[    1.130820] [<80479ef8>] (dspi_probe) from [<8041675c>] (platform_drv_probe+0x48/0x9c)
[    1.138903] [<8041675c>] (platform_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.147164] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.155589] [<80414e14>] (driver_probe_device) from [<80414ffc>] (__driver_attach+0xdc/0xe0)
[    1.164184] [<80414ffc>] (__driver_attach) from [<80412fb4>] (bus_for_each_dev+0x68/0xb4)
[    1.172524] [<80412fb4>] (bus_for_each_dev) from [<8041407c>] (bus_add_driver+0x100/0x20c)
[    1.180953] [<8041407c>] (bus_add_driver) from [<80415928>] (driver_register+0x78/0x10c)
[    1.189214] [<80415928>] (driver_register) from [<801025ec>] (do_one_initcall+0x54/0x194)
[    1.197479] [<801025ec>] (do_one_initcall) from [<80900e14>] (kernel_init_freeable+0x12c/0x1c8)
[    1.206347] [<80900e14>] (kernel_init_freeable) from [<80627efc>] (kernel_init+0x8/0x110)
[    1.214687] [<80627efc>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[    1.222389] Exception stack(0x86843fb0 to 0x86843ff8)
[    1.227489] 3fa0:                                     00000000 00000000 00000000 00000000
[    1.235796] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.244095] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.250839] ---[ end trace c38e2aa5992c4c9a ]---
[    1.257053] ------------[ cut here ]------------
[    1.261922] WARNING: CPU: 0 PID: 1 at /home/buildbot/worker/builddir_yocto/build/build/tmp/work-shared/col-vf50-proceq-mainline-next/kernel-source/drivers/spi/spidev.c:730 spidev_probe+0xe4/0x198
[    1.279487] /soc/aips-bus@40000000/spi@4002c000/spidev@1: buggy DT: spidev listed directly in DT
[    1.288385] Modules linked in:
[    1.291506] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         5.0.0-rc2-next-20190118-g9673b4a #1
[    1.301000] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    1.307544] [<8010df3c>] (unwind_backtrace) from [<8010b65c>] (show_stack+0x10/0x14)
[    1.315443] [<8010b65c>] (show_stack) from [<8011a890>] (__warn+0xf8/0x110)
[    1.322550] [<8011a890>] (__warn) from [<8011a8f0>] (warn_slowpath_fmt+0x48/0x6c)
[    1.330190] [<8011a8f0>] (warn_slowpath_fmt) from [<80478800>] (spidev_probe+0xe4/0x198)
[    1.338445] [<80478800>] (spidev_probe) from [<804754fc>] (spi_drv_probe+0x88/0xa0)
[    1.346195] [<804754fc>] (spi_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.354096] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.362515] [<80414e14>] (driver_probe_device) from [<80413088>] (bus_for_each_drv+0x74/0xb8)
[    1.371199] [<80413088>] (bus_for_each_drv) from [<80414978>] (__device_attach+0xd0/0x138)
[    1.379615] [<80414978>] (__device_attach) from [<80413e7c>] (bus_probe_device+0x84/0x8c)
[    1.387949] [<80413e7c>] (bus_probe_device) from [<80411204>] (device_add+0x3a8/0x5e8)
[    1.395968] [<80411204>] (device_add) from [<80476378>] (spi_add_device+0x9c/0x14c)
[    1.403793] [<80476378>] (spi_add_device) from [<80476ec0>] (spi_register_controller+0x694/0xaec)
[    1.412839] [<80476ec0>] (spi_register_controller) from [<80479ef8>] (dspi_probe+0x2cc/0x6a8)
[    1.421528] [<80479ef8>] (dspi_probe) from [<8041675c>] (platform_drv_probe+0x48/0x9c)
[    1.429599] [<8041675c>] (platform_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.437924] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.446268] [<80414e14>] (driver_probe_device) from [<80414ffc>] (__driver_attach+0xdc/0xe0)
[    1.454858] [<80414ffc>] (__driver_attach) from [<80412fb4>] (bus_for_each_dev+0x68/0xb4)
[    1.463183] [<80412fb4>] (bus_for_each_dev) from [<8041407c>] (bus_add_driver+0x100/0x20c)
[    1.471596] [<8041407c>] (bus_add_driver) from [<80415928>] (driver_register+0x78/0x10c)
[    1.479844] [<80415928>] (driver_register) from [<801025ec>] (do_one_initcall+0x54/0x194)
[    1.488184] [<801025ec>] (do_one_initcall) from [<80900e14>] (kernel_init_freeable+0x12c/0x1c8)
[    1.496964] [<80900e14>] (kernel_init_freeable) from [<80627efc>] (kernel_init+0x8/0x110)
[    1.505294] [<80627efc>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[    1.512984] Exception stack(0x86843fb0 to 0x86843ff8)
[    1.518135] 3fa0:                                     00000000 00000000 00000000 00000000
[    1.526377] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.534666] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.541380] ---[ end trace c38e2aa5992c4c9b ]---
[    1.547533] ------------[ cut here ]------------
[    1.552403] WARNING: CPU: 0 PID: 1 at /home/buildbot/worker/builddir_yocto/build/build/tmp/work-shared/col-vf50-proceq-mainline-next/kernel-source/drivers/spi/spidev.c:730 spidev_probe+0xe4/0x198
[    1.569957] /soc/aips-bus@40000000/spi@4002c000/spidev@2: buggy DT: spidev listed directly in DT
[    1.578854] Modules linked in:
[    1.581973] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         5.0.0-rc2-next-20190118-g9673b4a #1
[    1.591467] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    1.598058] [<8010df3c>] (unwind_backtrace) from [<8010b65c>] (show_stack+0x10/0x14)
[    1.605885] [<8010b65c>] (show_stack) from [<8011a890>] (__warn+0xf8/0x110)
[    1.612992] [<8011a890>] (__warn) from [<8011a8f0>] (warn_slowpath_fmt+0x48/0x6c)
[    1.620642] [<8011a8f0>] (warn_slowpath_fmt) from [<80478800>] (spidev_probe+0xe4/0x198)
[    1.628899] [<80478800>] (spidev_probe) from [<804754fc>] (spi_drv_probe+0x88/0xa0)
[    1.636648] [<804754fc>] (spi_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.644542] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.652963] [<80414e14>] (driver_probe_device) from [<80413088>] (bus_for_each_drv+0x74/0xb8)
[    1.661643] [<80413088>] (bus_for_each_drv) from [<80414978>] (__device_attach+0xd0/0x138)
[    1.670056] [<80414978>] (__device_attach) from [<80413e7c>] (bus_probe_device+0x84/0x8c)
[    1.678389] [<80413e7c>] (bus_probe_device) from [<80411204>] (device_add+0x3a8/0x5e8)
[    1.686408] [<80411204>] (device_add) from [<80476378>] (spi_add_device+0x9c/0x14c)
[    1.694235] [<80476378>] (spi_add_device) from [<80476ec0>] (spi_register_controller+0x694/0xaec)
[    1.703281] [<80476ec0>] (spi_register_controller) from [<80479ef8>] (dspi_probe+0x2cc/0x6a8)
[    1.711978] [<80479ef8>] (dspi_probe) from [<8041675c>] (platform_drv_probe+0x48/0x9c)
[    1.720054] [<8041675c>] (platform_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.728383] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.736724] [<80414e14>] (driver_probe_device) from [<80414ffc>] (__driver_attach+0xdc/0xe0)
[    1.745316] [<80414ffc>] (__driver_attach) from [<80412fb4>] (bus_for_each_dev+0x68/0xb4)
[    1.753648] [<80412fb4>] (bus_for_each_dev) from [<8041407c>] (bus_add_driver+0x100/0x20c)
[    1.762066] [<8041407c>] (bus_add_driver) from [<80415928>] (driver_register+0x78/0x10c)
[    1.770308] [<80415928>] (driver_register) from [<801025ec>] (do_one_initcall+0x54/0x194)
[    1.778653] [<801025ec>] (do_one_initcall) from [<80900e14>] (kernel_init_freeable+0x12c/0x1c8)
[    1.787443] [<80900e14>] (kernel_init_freeable) from [<80627efc>] (kernel_init+0x8/0x110)
[    1.795775] [<80627efc>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[    1.803470] Exception stack(0x86843fb0 to 0x86843ff8)
[    1.808620] 3fa0:                                     00000000 00000000 00000000 00000000
[    1.816860] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.825148] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.831863] ---[ end trace c38e2aa5992c4c9c ]---
[    1.838204] ------------[ cut here ]------------
[    1.842952] WARNING: CPU: 0 PID: 1 at /home/buildbot/worker/builddir_yocto/build/build/tmp/work-shared/col-vf50-proceq-mainline-next/kernel-source/drivers/spi/spidev.c:730 spidev_probe+0xe4/0x198
[    1.860536] /soc/aips-bus@40000000/spi@4002c000/spidev@3: buggy DT: spidev listed directly in DT
[    1.869437] Modules linked in:
[    1.872561] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         5.0.0-rc2-next-20190118-g9673b4a #1
[    1.882061] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    1.888658] [<8010df3c>] (unwind_backtrace) from [<8010b65c>] (show_stack+0x10/0x14)
[    1.896492] [<8010b65c>] (show_stack) from [<8011a890>] (__warn+0xf8/0x110)
[    1.903594] [<8011a890>] (__warn) from [<8011a8f0>] (warn_slowpath_fmt+0x48/0x6c)
[    1.911236] [<8011a8f0>] (warn_slowpath_fmt) from [<80478800>] (spidev_probe+0xe4/0x198)
[    1.919497] [<80478800>] (spidev_probe) from [<804754fc>] (spi_drv_probe+0x88/0xa0)
[    1.927247] [<804754fc>] (spi_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    1.935146] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    1.943568] [<80414e14>] (driver_probe_device) from [<80413088>] (bus_for_each_drv+0x74/0xb8)
[    1.952246] [<80413088>] (bus_for_each_drv) from [<80414978>] (__device_attach+0xd0/0x138)
[    1.960661] [<80414978>] (__device_attach) from [<80413e7c>] (bus_probe_device+0x84/0x8c)
[    1.968997] [<80413e7c>] (bus_probe_device) from [<80411204>] (device_add+0x3a8/0x5e8)
[    1.977020] [<80411204>] (device_add) from [<80476378>] (spi_add_device+0x9c/0x14c)
[    1.984843] [<80476378>] (spi_add_device) from [<80476ec0>] (spi_register_controller+0x694/0xaec)
[    1.993884] [<80476ec0>] (spi_register_controller) from [<80479ef8>] (dspi_probe+0x2cc/0x6a8)
[    2.002581] [<80479ef8>] (dspi_probe) from [<8041675c>] (platform_drv_probe+0x48/0x9c)
[    2.010655] [<8041675c>] (platform_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    2.018990] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    2.027340] [<80414e14>] (driver_probe_device) from [<80414ffc>] (__driver_attach+0xdc/0xe0)
[    2.035930] [<80414ffc>] (__driver_attach) from [<80412fb4>] (bus_for_each_dev+0x68/0xb4)
[    2.044264] [<80412fb4>] (bus_for_each_dev) from [<8041407c>] (bus_add_driver+0x100/0x20c)
[    2.052677] [<8041407c>] (bus_add_driver) from [<80415928>] (driver_register+0x78/0x10c)
[    2.060921] [<80415928>] (driver_register) from [<801025ec>] (do_one_initcall+0x54/0x194)
[    2.069251] [<801025ec>] (do_one_initcall) from [<80900e14>] (kernel_init_freeable+0x12c/0x1c8)
[    2.078107] [<80900e14>] (kernel_init_freeable) from [<80627efc>] (kernel_init+0x8/0x110)
[    2.086370] [<80627efc>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[    2.094056] Exception stack(0x86843fb0 to 0x86843ff8)
[    2.099220] 3fa0:                                     00000000 00000000 00000000 00000000
[    2.107465] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.115756] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    2.122466] ---[ end trace c38e2aa5992c4c9d ]---
[    2.128725] ------------[ cut here ]------------
[    2.133470] WARNING: CPU: 0 PID: 1 at /home/buildbot/worker/builddir_yocto/build/build/tmp/work-shared/col-vf50-proceq-mainline-next/kernel-source/drivers/spi/spidev.c:730 spidev_probe+0xe4/0x198
[    2.151061] /soc/aips-bus@40000000/spi@4002c000/spidev@4: buggy DT: spidev listed directly in DT
[    2.159966] Modules linked in:
[    2.163086] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         5.0.0-rc2-next-20190118-g9673b4a #1
[    2.172583] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    2.179185] [<8010df3c>] (unwind_backtrace) from [<8010b65c>] (show_stack+0x10/0x14)
[    2.187017] [<8010b65c>] (show_stack) from [<8011a890>] (__warn+0xf8/0x110)
[    2.194126] [<8011a890>] (__warn) from [<8011a8f0>] (warn_slowpath_fmt+0x48/0x6c)
[    2.201774] [<8011a8f0>] (warn_slowpath_fmt) from [<80478800>] (spidev_probe+0xe4/0x198)
[    2.210036] [<80478800>] (spidev_probe) from [<804754fc>] (spi_drv_probe+0x88/0xa0)
[    2.217856] [<804754fc>] (spi_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    2.225685] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    2.234100] [<80414e14>] (driver_probe_device) from [<80413088>] (bus_for_each_drv+0x74/0xb8)
[    2.242775] [<80413088>] (bus_for_each_drv) from [<80414978>] (__device_attach+0xd0/0x138)
[    2.251187] [<80414978>] (__device_attach) from [<80413e7c>] (bus_probe_device+0x84/0x8c)
[    2.259524] [<80413e7c>] (bus_probe_device) from [<80411204>] (device_add+0x3a8/0x5e8)
[    2.267550] [<80411204>] (device_add) from [<80476378>] (spi_add_device+0x9c/0x14c)
[    2.275373] [<80476378>] (spi_add_device) from [<80476ec0>] (spi_register_controller+0x694/0xaec)
[    2.284410] [<80476ec0>] (spi_register_controller) from [<80479ef8>] (dspi_probe+0x2cc/0x6a8)
[    2.293100] [<80479ef8>] (dspi_probe) from [<8041675c>] (platform_drv_probe+0x48/0x9c)
[    2.301174] [<8041675c>] (platform_drv_probe) from [<80414adc>] (really_probe+0xf4/0x2c8)
[    2.309502] [<80414adc>] (really_probe) from [<80414e14>] (driver_probe_device+0x60/0x16c)
[    2.317918] [<80414e14>] (driver_probe_device) from [<80414ffc>] (__driver_attach+0xdc/0xe0)
[    2.326434] [<80414ffc>] (__driver_attach) from [<80412fb4>] (bus_for_each_dev+0x68/0xb4)
[    2.334764] [<80412fb4>] (bus_for_each_dev) from [<8041407c>] (bus_add_driver+0x100/0x20c)
[    2.343177] [<8041407c>] (bus_add_driver) from [<80415928>] (driver_register+0x78/0x10c)
[    2.351421] [<80415928>] (driver_register) from [<801025ec>] (do_one_initcall+0x54/0x194)
[    2.359764] [<801025ec>] (do_one_initcall) from [<80900e14>] (kernel_init_freeable+0x12c/0x1c8)
[    2.368627] [<80900e14>] (kernel_init_freeable) from [<80627efc>] (kernel_init+0x8/0x110)
[    2.376883] [<80627efc>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[    2.384575] Exception stack(0x86843fb0 to 0x86843ff8)
[    2.389734] 3fa0:                                     00000000 00000000 00000000 00000000
[    2.398027] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.406264] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    2.412967] ---[ end trace c38e2aa5992c4c9e ]---
[    2.419612] libphy: Fixed MDIO Bus: probed
[    2.426876] fec 400d1000.ethernet: Linked as a consumer to regulator.1
[    2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY driver module for ID 0x00221513
[    2.446492] fec 400d1000.ethernet: Dropping the link to regulator.1
[    2.453260] fec: probe of 400d1000.ethernet failed with error -2
[    2.459709] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.466933] usbcore: registered new interface driver usb-storage
[    2.473532] usbcore: registered new interface driver usbserial_generic
[    2.480428] usbserial: USB Serial support registered for generic
[    2.486650] usbcore: registered new interface driver ftdi_sio
[    2.492700] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.500320] usbcore: registered new interface driver pl2303
[    2.506082] usbserial: USB Serial support registered for pl2303
[    2.525021] snvs_rtc 400a7000.snvs:snvs-rtc-lp: registered as rtc0
[    2.531781] i2c /dev entries driver
[    2.540977] imx2-wdt 4003e000.wdog: timeout 60 sec (nowayout=0)
[    2.548484] sdhci: Secure Digital Host Controller Interface driver
[    2.554735] sdhci: Copyright(c) Pierre Ossman
[    2.559229] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.569219] vf610-adc 4003b000.adc: Linked as a consumer to regulator.2
[    2.580198] vf610-adc 400bb000.adc: Linked as a consumer to regulator.2
[    2.593053] NET: Registered protocol family 17
[    2.598082] Key type dns_resolver registered
[    2.602654] Registering SWP/SWPB emulation handler
[    2.609759] registered taskstats version 1
[    2.613931] Loading compiled-in X.509 certificates
[    2.622487] regulator-usbh-vbus GPIO handle specifies active low - ignored
[    2.629816] VCC_USB[1-4]: supplied by 5V
[    2.635206] imx_usb 400b4000.usb: Linked as a consumer to regulator.5
[    2.646283] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.651476] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.687869] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.695929] hub 1-0:1.0: USB hub found
[    2.700037] hub 1-0:1.0: 1 port detected
[    2.708080] ubi0: default fastmap pool size: 25
[    2.712696] ubi0: default fastmap WL pool size: 12
[    2.717524] ubi0: attaching mtd3
[    2.757908] random: fast init done
[    2.991776] ubi0: scanning is finished
[    3.006718] ubi0: attached mtd3 (name "ubi1", size 62 MiB)
[    3.012422] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.019422] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.026260] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.033315] ubi0: good PEBs: 501, bad PEBs: 1, corrupted PEBs: 0
[    3.039418] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    3.046694] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    3.055148] ubi0: available PEBs: 0, total reserved PEBs: 501, PEBs reserved for bad PEB handling: 19
[    3.064519] ubi0: background thread "ubi_bgt0d" started, PID 69
[    3.072417] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.081432] snvs_rtc 400a7000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    3.227857] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[   15.608166] +V3.3: disabling
[   15.611144] 3.3V: disabling
[   15.614964] Root-NFS: no NFS server address
[   15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
[   15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[   15.634252] Please append a correct "root=" boot option; here are the available partitions:
[   15.642791] 0100           16384 ram0 
[   15.642804]  (driver?)
[   15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[   15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) ]---

[-- Attachment #3: bisect_vf_defconfig --]
[-- Type: application/octet-stream, Size: 6264 bytes --]

CONFIG_KERNEL_LZO=y
CONFIG_SYSVIPC=y
CONFIG_NO_HZ_IDLE=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=16
CONFIG_CGROUPS=y
CONFIG_NAMESPACES=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
CONFIG_KALLSYMS_ALL=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_ARCH_MXC=y
CONFIG_SOC_VF610=y
CONFIG_ARCH_VEXPRESS=y
CONFIG_SWP_EMULATE=y
CONFIG_VMSPLIT_2G=y
CONFIG_KEXEC=y
# CONFIG_ATAGS_PROC is not set
CONFIG_CPU_IDLE=y
CONFIG_VFP=y
CONFIG_NEON=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_PM_WAKELOCKS=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
# CONFIG_BLK_DEV_BSG is not set
CONFIG_BINFMT_MISC=y
# CONFIG_COREDUMP is not set
CONFIG_CMA=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
# CONFIG_IPV6 is not set
CONFIG_BRIDGE=y
# CONFIG_BRIDGE_IGMP_SNOOPING is not set
CONFIG_WIRELESS_EXT_OUT_OF_TREE=y
CONFIG_CFG80211=m
CONFIG_MAC80211=m
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
CONFIG_DMA_CMA=y
CONFIG_CONNECTOR=y
CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_JEDECPROBE=y
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_OF=y
CONFIG_MTD_BLOCK2MTD=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_VF610_NFC=y
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_FASTMAP=y
CONFIG_MTD_UBI_BLOCK=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=1
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_VIRTIO_BLK=y
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_SCAN_ASYNC=y
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_NETDEVICES=y
CONFIG_VIRTIO_NET=y
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_CIRRUS is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_FARADAY is not set
# CONFIG_NET_VENDOR_HISILICON is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
CONFIG_MICREL_PHY=y
CONFIG_USB_NET_DRIVERS=m
CONFIG_USB_RTL8152=m
CONFIG_USB_USBNET=m
# CONFIG_USB_NET_CDC_NCM is not set
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_CDC_SUBSET is not set
# CONFIG_USB_NET_ZAURUS is not set
# CONFIG_ATH9K_BTCOEX_SUPPORT is not set
CONFIG_ATH9K_HTC=m
# CONFIG_RTL_CARDS is not set
CONFIG_INPUT_POLLDEV=y
CONFIG_INPUT_EVDEV=y
# CONFIG_KEYBOARD_ATKBD is not set
CONFIG_KEYBOARD_GPIO=y
# CONFIG_INPUT_MOUSE is not set
# CONFIG_SERIO is not set
CONFIG_VT_HW_CONSOLE_BINDING=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_FSL_LPUART=y
CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_I2C=y
# CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y
# CONFIG_I2C_HELPER_AUTO is not set
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_IMX=y
CONFIG_SPI=y
CONFIG_SPI_FSL_DSPI=y
CONFIG_SPI_SPIDEV=y
CONFIG_GPIO_SYSFS=y
CONFIG_POWER_RESET_GPIO=y
CONFIG_POWER_RESET_GPIO_RESTART=y
CONFIG_POWER_RESET_SYSCON=y
CONFIG_BATTERY_BQ27XXX=y
CONFIG_SENSORS_IIO_HWMON=y
CONFIG_WATCHDOG=y
CONFIG_IMX2_WDT=y
CONFIG_REGULATOR_ANATOP=y
CONFIG_REGULATOR_GPIO=y
# CONFIG_HID is not set
# CONFIG_USB_HID is not set
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_ACM=m
CONFIG_USB_STORAGE=y
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_OPTION=m
CONFIG_NOP_USB_XCEIV=y
CONFIG_USB_MXS_PHY=y
CONFIG_USB_GADGET=y
CONFIG_USB_FSL_USB2=y
CONFIG_USB_CONFIGFS=m
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_MMC=y
CONFIG_MMC_ARMMMCI=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_ESDHC_IMX=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_PWM=y
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_ONESHOT=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
CONFIG_LEDS_TRIGGER_GPIO=y
CONFIG_LEDS_TRIGGER_PATTERN=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_SNVS=y
CONFIG_DMADEVICES=y
CONFIG_FSL_EDMA=y
# CONFIG_MX3_IPU is not set
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXTCON_USB_GPIO=y
CONFIG_IIO=y
CONFIG_VF610_ADC=y
CONFIG_VF610_DAC=y
CONFIG_IIO_SYSFS_TRIGGER=y
CONFIG_PWM=y
CONFIG_PWM_FSL_FTM=y
CONFIG_NVMEM_VF610_OCOTP=y
CONFIG_EXT4_FS=y
CONFIG_AUTOFS4_FS=y
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_UBIFS_FS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
# CONFIG_NFS_V3 is not set
CONFIG_NFS_V4=y
CONFIG_ROOT_NFS=y
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
CONFIG_SECURITYFS=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_HW is not set
CONFIG_CRC_CCITT=m
CONFIG_CRC_T10DIF=y
CONFIG_XZ_DEC=y
CONFIG_PRINTK_TIME=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=2
# CONFIG_SCHED_DEBUG is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_FTRACE is not set
CONFIG_DEBUG_USER=y

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
  2019-01-18  8:39 [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module) Krzysztof Kozlowski
@ 2019-01-18  8:48 ` Krzysztof Kozlowski
  2019-01-18 20:58   ` Heiner Kallweit
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2019-01-18  8:48 UTC (permalink / raw)
  To: Heiner Kallweit, Andrew Lunn, David S. Miller, Florian Fainelli,
	netdev, linux-kernel, linux-arm-kernel, Stefan Agner

On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> Hi,
>
> On today's next (next-20190118) my Colibri VF50 board fails to boot up
> from network (DHCP, NFSv4 root). Looks like missing network adapter.
> Expected:
> [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
> [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)
>
> Result:
> [ 15.614964] Root-NFS: no NFS server address
> [ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
> [ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
> [ 15.634252] Please append a correct "root=" boot option; here are the
> available partitions:
> [ 15.642791] 0100 16384 ram0
> [ 15.642804] (driver?)
> [ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
> on unknown-block(2,0)
> [ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
> root fs on unknown-block(2,0) ]---
>
> Bisect pointed to:
>     net: phy: check return code when requesting PHY driver module

I see now in the logs:
[ 2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY
driver module for ID 0x00221513
which is kind of misleading. There is no initramfs so there is no
usermod library at this point. It is not needed. This seems to break
all DHCP/NFS root boots without initrd/initramfs.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
  2019-01-18  8:48 ` Krzysztof Kozlowski
@ 2019-01-18 20:58   ` Heiner Kallweit
  2019-01-18 21:30     ` Heiner Kallweit
  2019-01-22 13:51     ` Geert Uytterhoeven
  0 siblings, 2 replies; 7+ messages in thread
From: Heiner Kallweit @ 2019-01-18 20:58 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andrew Lunn, David S. Miller,
	Florian Fainelli, netdev, linux-kernel, linux-arm-kernel,
	Stefan Agner

On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
> On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> Hi,
>>
>> On today's next (next-20190118) my Colibri VF50 board fails to boot up
>> from network (DHCP, NFSv4 root). Looks like missing network adapter.
>> Expected:
>> [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
>> [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)
>>
>> Result:
>> [ 15.614964] Root-NFS: no NFS server address
>> [ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
>> [ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
>> [ 15.634252] Please append a correct "root=" boot option; here are the
>> available partitions:
>> [ 15.642791] 0100 16384 ram0
>> [ 15.642804] (driver?)
>> [ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
>> on unknown-block(2,0)
>> [ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
>> root fs on unknown-block(2,0) ]---
>>
>> Bisect pointed to:
>>     net: phy: check return code when requesting PHY driver module
> 
> I see now in the logs:
> [ 2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY
> driver module for ID 0x00221513
> which is kind of misleading. There is no initramfs so there is no
> usermod library at this point. It is not needed. This seems to break
> all DHCP/NFS root boots without initrd/initramfs.
> 
Thanks for the report. Could you please provide your kernel config
and the syslog of a boot before or w/o the patch in question?

If you boot via nfs then I'd expect that the PHY driver is built-in and
not a module. Therefore it's not fully clear to me yet why
request_module() returns -ENOENT.

> Best regards,
> Krzysztof
> 
Heiner

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
  2019-01-18 20:58   ` Heiner Kallweit
@ 2019-01-18 21:30     ` Heiner Kallweit
  2019-01-19  9:51       ` Krzysztof Kozlowski
  2019-01-22 13:51     ` Geert Uytterhoeven
  1 sibling, 1 reply; 7+ messages in thread
From: Heiner Kallweit @ 2019-01-18 21:30 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andrew Lunn, David S. Miller,
	Florian Fainelli, netdev, linux-kernel, linux-arm-kernel,
	Stefan Agner

On 18.01.2019 21:58, Heiner Kallweit wrote:
> On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
>> On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>>
>>> Hi,
>>>
>>> On today's next (next-20190118) my Colibri VF50 board fails to boot up
>>> from network (DHCP, NFSv4 root). Looks like missing network adapter.
>>> Expected:
>>> [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
>>> [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)
>>>
>>> Result:
>>> [ 15.614964] Root-NFS: no NFS server address
>>> [ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
>>> [ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
>>> [ 15.634252] Please append a correct "root=" boot option; here are the
>>> available partitions:
>>> [ 15.642791] 0100 16384 ram0
>>> [ 15.642804] (driver?)
>>> [ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
>>> on unknown-block(2,0)
>>> [ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
>>> root fs on unknown-block(2,0) ]---
>>>
>>> Bisect pointed to:
>>>     net: phy: check return code when requesting PHY driver module
>>
>> I see now in the logs:
>> [ 2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY
>> driver module for ID 0x00221513
>> which is kind of misleading. There is no initramfs so there is no
>> usermod library at this point. It is not needed. This seems to break
>> all DHCP/NFS root boots without initrd/initramfs.
>>
> Thanks for the report. Could you please provide your kernel config
> and the syslog of a boot before or w/o the patch in question?
> 
> If you boot via nfs then I'd expect that the PHY driver is built-in and
> not a module. Therefore it's not fully clear to me yet why
> request_module() returns -ENOENT.
> 
OK, I see. The -ENOENT could refer to the modprobe binary, not the PHY
driver module. Still it would be helpful to see the kernel config and
the requested log.

>> Best regards,
>> Krzysztof
>>
> Heiner
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
  2019-01-18 21:30     ` Heiner Kallweit
@ 2019-01-19  9:51       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2019-01-19  9:51 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Andrew Lunn, David S. Miller, Florian Fainelli, netdev,
	linux-kernel, linux-arm-kernel, Stefan Agner

On Fri, 18 Jan 2019 at 22:30, Heiner Kallweit <hkallweit1@gmail.com> wrote:
>
> On 18.01.2019 21:58, Heiner Kallweit wrote:
> > On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
> >> On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >>>
> >>> Hi,
> >>>
> >>> On today's next (next-20190118) my Colibri VF50 board fails to boot up
> >>> from network (DHCP, NFSv4 root). Looks like missing network adapter.
> >>> Expected:
> >>> [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
> >>> [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)
> >>>
> >>> Result:
> >>> [ 15.614964] Root-NFS: no NFS server address
> >>> [ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
> >>> [ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
> >>> [ 15.634252] Please append a correct "root=" boot option; here are the
> >>> available partitions:
> >>> [ 15.642791] 0100 16384 ram0
> >>> [ 15.642804] (driver?)
> >>> [ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
> >>> on unknown-block(2,0)
> >>> [ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
> >>> root fs on unknown-block(2,0) ]---
> >>>
> >>> Bisect pointed to:
> >>>     net: phy: check return code when requesting PHY driver module
> >>
> >> I see now in the logs:
> >> [ 2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY
> >> driver module for ID 0x00221513
> >> which is kind of misleading. There is no initramfs so there is no
> >> usermod library at this point. It is not needed. This seems to break
> >> all DHCP/NFS root boots without initrd/initramfs.
> >>
> > Thanks for the report. Could you please provide your kernel config
> > and the syslog of a boot before or w/o the patch in question?
> >
> > If you boot via nfs then I'd expect that the PHY driver is built-in and
> > not a module. Therefore it's not fully clear to me yet why
> > request_module() returns -ENOENT.
> >
> OK, I see. The -ENOENT could refer to the modprobe binary, not the PHY
> driver module. Still it would be helpful to see the kernel config and
> the requested log.

As I wrote - there is no initramfs so there is no modprobe binary
neither. The log and config were attached to the first email.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
  2019-01-18 20:58   ` Heiner Kallweit
  2019-01-18 21:30     ` Heiner Kallweit
@ 2019-01-22 13:51     ` Geert Uytterhoeven
  2019-01-22 14:22       ` Krzysztof Kozlowski
  1 sibling, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2019-01-22 13:51 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Krzysztof Kozlowski, Andrew Lunn, David S. Miller,
	Florian Fainelli, netdev, Linux Kernel Mailing List, Linux ARM,
	Stefan Agner, Linux-Renesas

Hi Heiner,

On Fri, Jan 18, 2019 at 9:58 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
> On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
> > On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >> On today's next (next-20190118) my Colibri VF50 board fails to boot up
> >> from network (DHCP, NFSv4 root). Looks like missing network adapter.
> >> Expected:
> >> [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
> >> [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)
> >>
> >> Result:
> >> [ 15.614964] Root-NFS: no NFS server address
> >> [ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
> >> [ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
> >> [ 15.634252] Please append a correct "root=" boot option; here are the
> >> available partitions:
> >> [ 15.642791] 0100 16384 ram0
> >> [ 15.642804] (driver?)
> >> [ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
> >> on unknown-block(2,0)
> >> [ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
> >> root fs on unknown-block(2,0) ]---
> >>
> >> Bisect pointed to:
> >>     net: phy: check return code when requesting PHY driver module
> >
> > I see now in the logs:
> > [ 2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY
> > driver module for ID 0x00221513
> > which is kind of misleading. There is no initramfs so there is no
> > usermod library at this point. It is not needed. This seems to break
> > all DHCP/NFS root boots without initrd/initramfs.
> >
> Thanks for the report. Could you please provide your kernel config
> and the syslog of a boot before or w/o the patch in question?
>
> If you boot via nfs then I'd expect that the PHY driver is built-in and
> not a module. Therefore it's not fully clear to me yet why
> request_module() returns -ENOENT.

I'm seeing the same booting nfsroot on several Renesas boards.
E.g. on r8a7791/koelsch:

    mdio_bus ee700000.ethernet-ffffffff:01: error -2 loading PHY
driver module for ID 0x00221537
    sh-eth ee700000.ethernet: MDIO init failed: -2

This failure happens only when CONFIG_MODULES=y.
Reverting commit 13d0ab6750b20957 ("net: phy: check return code when
requesting PHY driver module") fixes the issue.

phy_request_driver_module() tries to load module
"mdio:00000000001000100001010100110111", which fails.
When CONFIG_MODULES=n, the error is ignored, and everything works fine.

0b00000000001000100001010100110111 == 0x00221537 == PHY_ID_KSZ8041RNLI,
which is served by drivers/net/phy/micrel.c.
Interestingly, CONFIG_MICREL_PHY=y, so I'm wondering why the PHY subsystem
tries to load a module for a driver which is already present in the first
place?

Oh, the following comment tries to explain:

        /* Request the appropriate module unconditionally; don't
         * bother trying to do so only if it isn't already loaded,
         * because that gets complicated. A hotplug event would have
         * done an unconditional modprobe anyway.

Hence request_module() failures are normal.

       ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
                            MDIO_ID_ARGS(phy_id));
       /* we only check for failures in executing the usermode binary,
        * not whether a PHY driver module exists for the PHY ID
        */
       if (IS_ENABLED(CONFIG_MODULES) && ret < 0) {
               phydev_err(dev, "error %d loading PHY driver module for
ID 0x%08x\n",
                          ret, phy_id);
               return ret;
       }

However:

    /**
     * __request_module - try to load a kernel module
     * @wait: wait (or not) for the operation to complete
     * @fmt: printf style format string for the name of the module
     * @...: arguments as specified in the format string
     *
     * Load a module using the user mode module loader. The function returns
     * zero on success or a negative errno code or positive exit code from
     * "modprobe" on failure.

So perhaps the check should be for "ret > 0"?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)
  2019-01-22 13:51     ` Geert Uytterhoeven
@ 2019-01-22 14:22       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2019-01-22 14:22 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Heiner Kallweit, Andrew Lunn, David S. Miller, Florian Fainelli,
	netdev, Linux Kernel Mailing List, Linux ARM, Stefan Agner,
	Linux-Renesas

On Tue, 22 Jan 2019 at 14:52, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Heiner,
>
> On Fri, Jan 18, 2019 at 9:58 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
> > On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
> > > On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> > >> On today's next (next-20190118) my Colibri VF50 board fails to boot up
> > >> from network (DHCP, NFSv4 root). Looks like missing network adapter.
> > >> Expected:
> > >> [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver
> > >> [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq=POLL)
> > >>
> > >> Result:
> > >> [ 15.614964] Root-NFS: no NFS server address
> > >> [ 15.619353] VFS: Unable to mount root fs via NFS, trying floppy.
> > >> [ 15.626762] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
> > >> [ 15.634252] Please append a correct "root=" boot option; here are the
> > >> available partitions:
> > >> [ 15.642791] 0100 16384 ram0
> > >> [ 15.642804] (driver?)
> > >> [ 15.649076] Kernel panic - not syncing: VFS: Unable to mount root fs
> > >> on unknown-block(2,0)
> > >> [ 15.657423] ---[ end Kernel panic - not syncing: VFS: Unable to mount
> > >> root fs on unknown-block(2,0) ]---
> > >>
> > >> Bisect pointed to:
> > >>     net: phy: check return code when requesting PHY driver module
> > >
> > > I see now in the logs:
> > > [ 2.436822] mdio_bus 400d1000.ethernet-1:00: error -2 loading PHY
> > > driver module for ID 0x00221513
> > > which is kind of misleading. There is no initramfs so there is no
> > > usermod library at this point. It is not needed. This seems to break
> > > all DHCP/NFS root boots without initrd/initramfs.
> > >
> > Thanks for the report. Could you please provide your kernel config
> > and the syslog of a boot before or w/o the patch in question?
> >
> > If you boot via nfs then I'd expect that the PHY driver is built-in and
> > not a module. Therefore it's not fully clear to me yet why
> > request_module() returns -ENOENT.
>
> I'm seeing the same booting nfsroot on several Renesas boards.
> E.g. on r8a7791/koelsch:
>
>     mdio_bus ee700000.ethernet-ffffffff:01: error -2 loading PHY
> driver module for ID 0x00221537
>     sh-eth ee700000.ethernet: MDIO init failed: -2
>

Hi Geert,

There is a follow up patch:
https://www.spinics.net/lists/netdev/msg545573.html

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-22 14:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18  8:39 [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module) Krzysztof Kozlowski
2019-01-18  8:48 ` Krzysztof Kozlowski
2019-01-18 20:58   ` Heiner Kallweit
2019-01-18 21:30     ` Heiner Kallweit
2019-01-19  9:51       ` Krzysztof Kozlowski
2019-01-22 13:51     ` Geert Uytterhoeven
2019-01-22 14:22       ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).