Re: OverDrive 1000 head -r360311 -> r363021 upgrade: USB & Ethernet disappeared, "usb_needs_explore_all: no devclass" (Now: artifact.ci bisect)

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 11 Jul 2020 01:32:35 -0700
On 2020-Jul-11, at 00:14, Mark Millard <marklmi at yahoo.com> wrote:

> Anyone else with such Overdrive 1000 problems after
> upgrading into this range or beyond?
> 
> boot -v output:
> 
> ---<<BOOT>>---
> KDB: debugger backends: ddb
> KDB: current backend: ddb
>                   Type     Physical      Virtual   #Pages Attr
>               Reserved 008000000000            0 00000e80 WC WT WB 
>     ConventionalMemory 008000e80000            0 0001ef7d WC WT WB 
>       BootServicesData 00801fdfd000            0 00000203 WC WT WB 
>     ConventionalMemory 008020000000            0 001d0583 WC WT WB 
>             LoaderData 0081f0583000            0 00008000 WC WT WB 
>             LoaderCode 0081f8583000            0 0000017d WC WT WB 
>      ACPIReclaimMemory 0081f8700000            0 000000a0 WC WT WB 
>     ConventionalMemory 0081f87a0000            0 0000000b WC WT WB 
>             LoaderData 0081f87ab000            0 00000001 WC WT WB 
>     ConventionalMemory 0081f87ac000            0 000020ab WC WT WB 
>       BootServicesData 0081fa857000            0 00000029 WC WT WB 
>     ConventionalMemory 0081fa880000            0 0000000b WC WT WB 
>       BootServicesData 0081fa88b000            0 0000001f WC WT WB 
>     ConventionalMemory 0081fa8aa000            0 00000003 WC WT WB 
>       BootServicesData 0081fa8ad000            0 000002f0 WC WT WB 
>     ConventionalMemory 0081fab9d000            0 00000001 WC WT WB 
>       BootServicesData 0081fab9e000            0 00000012 WC WT WB 
>     ConventionalMemory 0081fabb0000            0 00000001 WC WT WB 
>       BootServicesData 0081fabb1000            0 00000006 WC WT WB 
>     ConventionalMemory 0081fabb7000            0 00000002 WC WT WB 
>       BootServicesData 0081fabb9000            0 00000ae7 WC WT WB 
>     ConventionalMemory 0081fb6a0000            0 00000046 WC WT WB 
>       BootServicesCode 0081fb6e6000            0 0000014a WC WT WB 
>    RuntimeServicesCode 0081fb830000   81fb830000 000003e0 WC WT WB RUNTIME
>     ConventionalMemory 0081fbc10000            0 000001a0 WC WT WB 
>    RuntimeServicesData 0081fbdb0000   81fbdb0000 00000250 WC WT WB RUNTIME
>     ConventionalMemory 0081fc000000            0 0000001f WC WT WB 
>       BootServicesData 0081fc01f000            0 00000001 WC WT WB 
>     ConventionalMemory 0081fc020000            0 00003732 WC WT WB 
>       BootServicesData 0081ff752000            0 0000087a WC WT WB 
>     ConventionalMemory 0081fffcc000            0 00000004 WC WT WB 
>    RuntimeServicesData 0081fffd0000   81fffd0000 00000020 WC WT WB RUNTIME
>     ConventionalMemory 0081ffff0000            0 0000000c WC WT WB 
>       BootServicesData 0081ffffc000            0 00000004 WC WT WB 
> Physical memory chunk(s):
>  0x8000e80000 - 0x81f86fffff,  8056 MB (2062464 pages)
>  0x81f87a0000 - 0x81fb82ffff,    48 MB (  12432 pages)
>  0x81fbc10000 - 0x81ffffffff,    67 MB (  17392 pages)
> Excluded memory regions:
>  0x8000000000 - 0x8000e7ffff,    14 MB (   3712 pages) NoAlloc 
>  0x81f0600000 - 0x81f1992fff,    19 MB (   5011 pages) NoAlloc 
>  0x81f8700000 - 0x81f879ffff,     0 MB (    160 pages) NoAlloc 
>  0x81fb830000 - 0x81fbc0ffff,     3 MB (    992 pages) NoAlloc 
>  0x81fbdb0000 - 0x81fbffffff,     2 MB (    592 pages) NoAlloc 
>  0x81fffd0000 - 0x81fffeffff,     0 MB (     32 pages) NoAlloc 
> Found 4 CPUs in the device tree
> Copyright (c) 1992-2020 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>        The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 13.0-CURRENT #6 r363021M: Thu Jul  9 22:46:01 PDT 2020
>    markmi_at_FBSDFHUGE:/usr/obj/cortexA57_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG arm64
> FreeBSD clang version 10.0.1 (git_at_github.com:llvm/llvm-project.git llvmorg-10.0.1-rc2-0-g77d76b71d7d)
> VT: init without driver.
> Preloaded elf kernel "/boot/kernel/kernel" at 0xffff000001166000.
> Preloaded hostuuid "/etc/hostid" at 0xffff00000116f310.
> Preloaded boot_entropy_cache "/boot/entropy" at 0xffff00000116f360.
> module firmware already present!
> module_register: cannot register simplebus/gpio from kernel; already loaded from kernel
> Module simplebus/gpio failed to register: 17
> module_register: cannot register simplebus/pcib from kernel; already loaded from kernel
> Module simplebus/pcib failed to register: 17
> Starting CPU 1 (101)
> Starting CPU 2 (200)
> Starting CPU 3 (201)
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> random: read 4096 bytes from preloaded cache
> random: unblocking device.
> VIMAGE (virtualized network stack) enabled
> hostuuid: using #
> ULE: setup cpu 0
> ULE: setup cpu 1
> ULE: setup cpu 2
> ULE: setup cpu 3
> Table 'FACP' at 0x81f8770000
> Table 'APIC' at 0x81f8750000
> Table 'GTDT' at 0x81f8740000
> Table 'DBG2' at 0x81f8730000
> Table 'SPCR' at 0x81f8720000
> Table 'MCFG' at 0x81f8710000
> Table 'CSRT' at 0x81f8700000
> ACPI: No IORT table found
> snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
> feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=2 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
> random: entropy device external interface
> MAP 81fb830000 mode 2 pages 992
> MAP 81fbdb0000 mode 2 pages 592
> MAP 81fffd0000 mode 2 pages 32
> WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
> kbd0 at kbdmux0
> crypto: <crypto core>
> mem: <memory>
> null: <full device, null device, zero device>
> openfirm: <Open Firmware control device>
> WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
> ofwbus0: <Open Firmware Device Tree>
> simplebus0: <Flattened device tree simple bus> on ofwbus0
> clk_fixed0: <Fixed clock> on simplebus0
> clk_fixed1: <Fixed clock> on simplebus0
> clk_fixed2: <Fixed clock> on simplebus0
> clk_fixed3: <Fixed clock> on simplebus0
> clk_fixed4: <Fixed clock> on simplebus0
> clk_fixed5: <Fixed clock> on simplebus0
> clk_fixed6: <Fixed clock> on simplebus0
> clk_fixed7: <Fixed clock> on simplebus0
> clk_fixed8: <Fixed clock> on simplebus0
> clk_fixed9: <Fixed clock> on simplebus0
> clk_fixed10: <Fixed clock> on simplebus0
> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
> psci0: PSCI version 0.2 compatible
> gic0: <ARM Generic Interrupt Controller> mem 0xe1110000-0xe1110fff,0xe112f000-0xe1130fff,0xe1140000-0xe114ffff,0xe1160000-0xe116ffff irq 4 on ofwbus0
> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 448
> gicv2m0: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x80000-0x80fff on gic0
> gicv2m0: using spi 64 to 319
> generic_timer0: <ARMv8 Generic Timer> irq 5,6,7,8 on ofwbus0
> Timecounter "ARM MPCore Timecounter" frequency 250000000 Hz quality 1000
> Event timer "ARM MPCore Eventtimer" frequency 250000000 Hz quality 1000
> efirtc0: <EFI Realtime Clock>
> efirtc0: registered as a time-of-day clock, resolution 1.000000s
> cpulist0: <Open Firmware CPU Group> on ofwbus0
> cpu0: <Open Firmware CPU> on cpulist0
> cpu0: missing 'clock-frequency' property
> cpu1: <Open Firmware CPU> on cpulist0
> cpu1: missing 'clock-frequency' property
> cpu2: <Open Firmware CPU> on cpulist0
> cpu2: missing 'clock-frequency' property
> cpu3: <Open Firmware CPU> on cpulist0
> cpu3: missing 'clock-frequency' property
> pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
> ahci0: <AHCI SATA controller> mem 0xe0300000-0xe03effff irq 9 on simplebus0
> ahci0: AHCI v1.30 with 8 6Gbps ports, Port Multiplier supported
> ahci0: Caps: 64bit NCQ SNTF SS AL CLO 6Gbps PM PMD 32cmd CCC 8ports
> ahci0: Caps2: APST
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich0: Caps: HPCP
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ahcich1: Caps: HPCP
> ahcich2: not probed (disabled)
> ahcich3: not probed (disabled)
> ahcich4: not probed (disabled)
> ahcich5: not probed (disabled)
> ahcich6: not probed (disabled)
> ahcich7: not probed (disabled)
> simplebus0: <sata_at_e0d00000> mem 0xe0d00000-0xe0deffff irq 10 disabled compat snps,dwc-ahci (no driver attached)
> simplebus0: <i2c_at_e1000000> mem 0xe1000000-0xe1000fff irq 11 compat snps,designware-i2c (no driver attached)
> simplebus0: <i2c_at_e0050000> mem 0xe0050000-0xe0050fff irq 12 compat snps,designware-i2c (no driver attached)
> uart0: <PrimeCell UART (PL011)> mem 0xe1010000-0xe1010fff irq 13 on simplebus0
> uart0: console (115200,n,8,1)
> uart0: fast interrupt
> uart0: PPS capture mode: DCD
> simplebus0: <ssp_at_e1020000> mem 0xe1020000-0xe1020fff irq 14 compat arm,pl022 (no driver attached)
> simplebus0: <ssp_at_e1030000> mem 0xe1030000-0xe1030fff irq 15 compat arm,pl022 (no driver attached)
> simplebus0: <gpio_at_e1050000> mem 0xe1050000-0xe1050fff irq 16 compat arm,pl061 (no driver attached)
> simplebus0: <gpio_at_e0020000> mem 0xe0020000-0xe0020fff irq 17 compat arm,pl061 (no driver attached)
> simplebus0: <gpio_at_e0030000> mem 0xe0030000-0xe0030fff irq 18 compat arm,pl061 (no driver attached)
> simplebus0: <gpio_at_e0080000> mem 0xe0080000-0xe0080fff irq 19 compat arm,pl061 (no driver attached)
> simplebus0: <ccp_at_e0100000> mem 0xe0100000-0xe010ffff irq 20 compat amd,ccp-seattle-v1a (no driver attached)
> simplebus0: <pcie_at_f0000000> mem 0xf0000000-0xffffffff type pci compat pci-host-ecam-generic (no driver attached)
> simplebus0: <ccn_at_0xe8000000> mem 0xe8000000-0xe8ffffff irq 21 compat arm,ccn-504 (no driver attached)
> simplebus0: <gwdt_at_e0bb0000> mem 0xe0bb0000-0xe0bbffff,0xe0bc0000-0xe0bcffff irq 22 compat arm,sbsa-gwdt (no driver attached)
> simplebus0: <kcs_at_e0010000> mem 0xe0010000-0xe0010007 irq 23 type ipmi compat ipmi-kcs (no driver attached)
> simplebus0: <phy_at_e1240800> mem 0xe1240800-0xe1240bff,0xe1250000-0xe125005f,0xe12500f8-0xe12500fb irq 24 disabled compat amd,xgbe-phy-seattle-v1a (no driver attached)
> simplebus0: <phy_at_e1240c00> mem 0xe1240c00-0xe1240fff,0xe1250080-0xe12500df,0xe12500fc-0xe12500ff irq 25 disabled compat amd,xgbe-phy-seattle-v1a (no driver attached)
> simplebus0: <xgmac_at_e0700000> mem 0xe0700000-0xe077ffff,0xe0780000-0xe07fffff irq 26,27,28,29,30 disabled compat amd,xgbe-seattle-v1a (no driver attached)
> simplebus0: <xgmac_at_e0900000> mem 0xe0900000-0xe097ffff,0xe0980000-0xe09fffff irq 31,32,33,34,35 disabled compat amd,xgbe-seattle-v1a (no driver attached)
> cryptosoft0: <software crypto>
> crypto: assign cryptosoft0 driver id 0, flags 0x6000000
> Device configuration finished.
> Found SMCCC version 1.0
> procfs registered
> Timecounters tick every 1.000 msec
> lo0: bpf attached
> vlan: initialized, using hash tables with chaining
> IPsec: Initialized Security Association Processing.
> tcp_init: net.inet.tcp.tcbhashsize auto tuned to 65536
> Obsolete code will be removed soon: random(9) is the obsolete Park-Miller LCG from 1988
> usb_needs_explore_all: no devclass
> Release APs...ahcich0: AHCI reset...
> Trying to mount root from ufs:/dev/gpt/FBSDCA57root [rw]...
> done
> Root mount waiting for: CAMCPU  0: ARM Cortex-A57 r1p2 affinity:  1  0
> 
>                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
> ahcich0: SATA connect timeout time=10000us status=00000000
> Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
> ahcich0: AHCI reset: device not found
> Instruction Set Attributes 1 = <>
> ahcich1: AHCI reset...
>         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
> ahcich1: SATA connect time=100us status=00000133
>         Processor Features 1 = <>
> ahcich1: AHCI reset: device found
>      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
> ahcich1: AHCI reset: device ready after 0ms
>      Memory Model Features 1 = <8bit VMID>
>      Memory Model Features 2 = <32bit CCIDX,48bit VA>
>             Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
>             Debug Features 1 = <>
>         Auxiliary Features 0 = <>
>         Auxiliary Features 1 = <>
> CPU  1: ARM Cortex-A57 r1p2 affinity:  1  1
> CPU  2: ARM Cortex-A57 r1p2 affinity:  2  0
> CPU  3: ARM Cortex-A57 r1p2 affinity:  2  1
> regulator: shutting down unused regulators
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> Root mount waiting for: CAM
> GEOM: new disk ada0
> ada0 at ahcich1 bus 0 scbus1 target 0 lun 0
> ada0: <Samsung SSD 860 PRO 1TB RVM01B6Q> ACS-4 ATA SATA 3.x device
> ada0: Serial Number #
> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
> ada0: Command Queueing enabled
> ada0: 976762MB (2000409264 512 byte sectors)
> pass0 at ahcich1 bus 0 scbus1 target 0 lun 0
> pass0: <Samsung SSD 860 PRO 1TB RVM01B6Q> ACS-4 ATA SATA 3.x device
> pass0: Serial Number #
> pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
> pass0: Command Queueing enabled
> efirtc0: providing initial system time
> start_init: trying /sbin/init
> Setting hostuuid: #.
> Setting hostid: #.
> Starting file system checks:
> /dev/gpt/FBSDCA57root: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/gpt/FBSDCA57root: clean, 189555062 free (288086 frags, 23658372 blocks, 0.1% fragmentation)
> Mounting local filesystems:.
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/gcc10 /usr/local/lib/perl5/5.30/mach/CORE /usr/local/lib/qt5 /usr/local/llvm10/lib /usr/local/llvm80/lib
> Setting hostname: FBSDCA57.
> Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
> Feeding entropy: .
> lo0: link state changed to UP
> Starting Network: lo0.
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
>        inet6 ::1 prefixlen 128
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>        inet 127.0.0.1 netmask 0xff000000
>        groups: lo
>        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> Starting devd.
> add host 127.0.0.1: gateway lo0 fib 0: route already in table
> add host ::1: gateway lo0 fib 0: route already in table
> add net fe80::: gateway ::1
> add net ff02::: gateway ::1
> add net ::ffff:0.0.0.0: gateway ::1
> add net ::0.0.0.0: gateway ::1

I used artificat.ci.freebsd.org to do an approximate
bisect and the results are:

head -r362952 and before work.
there was no -r362953 artifact
head -r362954 and later fail.


The potential failure checkins are -r362953 and
-r362954 :

Author: hselasky
Date: Mon Jul  6 08:50:11 2020
New Revision: 362953
URL: 
https://svnweb.freebsd.org/changeset/base/362953


Log:
  Infiniband clients must be attached and detached in a specific order in ibcore.
. . .
 Differential Revision:	https://reviews.freebsd.org/D23973
. . .

and:

Author: andrew
Date: Mon Jul  6 08:51:55 2020
New Revision: 362954
URL: 
https://svnweb.freebsd.org/changeset/base/362954


Log:
  Add a driver for bcm2838 PCI express controller
. . .
  Submitted by:	Robert Crowston <crowston_protonmail.com>
  Differential Revision:	https://reviews.freebsd.org/D25068
. . .





===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Sat Jul 11 2020 - 06:32:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC