21.02.0 (and snapshot) fail to boot on My Book Live Duo

(Paging @chunkeey since he's most involved with the apm821xx target.)

Here's a showstopper: 21.02.0 and current snapshot (as of today, 2021-09-16) fail to boot on My Book Live Duo (they boot fine on MBL Single).

Boot process bums out with:

[    6.260853] /dev/root: Can't open blockdev
[    6.264970] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6
[    6.272251] Please append a correct "root=" boot option; here are the available partitions:
[    6.280580] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    6.288808] Rebooting in 1 seconds..
Full bootlog on 21.02.0 release, pre-built from downloads.openwrt.org


U-Boot 2009.08-svn54115 (Nov 15 2011 - 10:54:56), Build: 0.0.12

CPU:   AMCC PowerPC APM82181 Rev. D at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
       Security support
       Bootstrap Option E - Boot ROM Location NOR/SRAM (8 bits)
       32 kB I-Cache 32 kB D-Cache
Board: Apollo-3G - APM82181 Board, 2*SATA, 1*USB
I2C:   ready
DRAM:  Auto calibration 256 MB
FLASH: 512 kB
DTT:   1 FAILED INIT
Net:   PHY EC1 Register: 0x2c8c
ppc_4xx_eth0

Type run flash_nfs to mount root filesystem over NFS

p=============================================================================q
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::WWWWWWWWW::::WWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDD::::::::::::|
|:::::::::::WWWWWWWW::::WWWWWWWW:::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD::::::::::|
|:::::::::::WWWWWWWW:::WWWWWWWWW::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDDDD:::::::::|
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::DDDDDDDDDDD::::::::|
|:::::::::::WWWWWWW:::WWWWWWWWWW::::WWWWWWW::DDDDDDDDD:::::::DDDDDDDDD::::::::|
|:::::::::::WWWWWWW::WWWWWWWWWWW:::WWWWWWW::DDDDDDDDD::::::::DDDDDDDDD::::::::|
|:::::::::::WWWWWW::WWWWWW::WWWWW:WWWWWWW::DDDDDDDDDD:::::::DDDDDDDDDD::::::::|
|:::::::::::WWWWWWWWWWWWW:::WWWWWWWWWWWW::DDDDDDDDDD::::::DDDDDDDDDDD:::::::::|
|:::::::::::WWWWWWWWWWWW::::WWWWWWWWWWW::DDDDDDDDDDD:::DDDDDDDDDDDDD::::::::::|
|:::::::::::WWWWWWWWWWW:::::WWWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::|
|:::::::::::WWWWWWWWWW::::::WWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::|
|:::::::::::WWWWWWWWW:::::::WWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::::|
|:::::::::::WWWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD:::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
b=============================================================================d
Hit any key to stop autoboot:  0
USB:    OTG-Controller ID(0x4F54) Version(0x290A)
Err detect usb time out hostport.d32 0x00001000
0 USB Device(s) found
       scanning bus for storage devices...
0 Storage Device(s) found
** Block device usb 0 not supported
Board is not configured for test. Do normal boot.
----- Checking Boot Partitions -----
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
** Bad partition 1 **
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
Loading file "/boot/boot.scr" from sata device 0:1 (hda1)
622 bytes read
0:1
## Executing script at 00100000
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
Loading file "/boot/uImage" from sata device 0:1 (hda1)
3726701 bytes read
Loading file "/boot/apollo3g.dtb" from sata device 0:1 (hda1)
16384 bytes read
Loaded part 1
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   POWERPC OpenWrt Linux-5.4.143
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3726637 Bytes =  3.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01800000
   Booting using the fdt blob at 0x1800000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ff9000, end 00ffffff ... OK
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 Tue Aug 31 22:20:08 2021
[    0.000000] Using PowerPC 44x Platform machine description
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x10000000
[    0.000000] dcache_bsize      = 0x20
[    0.000000] icache_bsize      = 0x20
[    0.000000] cpu_features      = 0x0000000000000120
[    0.000000]   possible        = 0x0000000040000120
[    0.000000]   always          = 0x0000000000000120
[    0.000000] cpu_user_features = 0x8c008000 0x00000000
[    0.000000] mmu_features      = 0x00000008
[    0.000000] -----------------------------------------------------
[    0.000000] Top of RAM: 0x10000000, Total RAM: 0x10000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: root=/dev/sda2 rw rootfstype=squashfs,ext4 console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 251692K/262144K available (6436K kernel code, 236K rwdata, 744K rodata, 180K init, 229K bss, 10452K reserved, 0K cma-reserved)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xd1000000..0xfffdf000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] random: get_random_u32 called from 0xc07059e4 with crng_init=0
[    0.000000] time_init: decrementer frequency = 800.000008 MHz
[    0.000000] time_init: processor frequency   = 800.000008 MHz
[    0.000019] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
[    0.010284] clocksource: timebase mult[1400000] shift[24] registered
[    0.016604] clockevent: decrementer mult[ccccccef] shift[32] cpu[0]
[    0.022896] pid_max: default: 32768 minimum: 301
[    0.027564] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.034801] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046912] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.056586] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.066012] NET: Registered protocol family 16
[    0.070964] DMA: preallocated 256 KiB pool for atomic allocations

[    0.079036] 256k L2-cache enabled
[    0.082385] PCIE0: Port disabled via device-tree
[    0.087604] PCI: Probing PCI hardware
[    0.105378] SCSI subsystem initialized
[    0.109820] libata version 3.00 loaded.
[    0.114755] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.125537] clocksource: Switched to clocksource timebase
[    0.131586] thermal_sys: Registered thermal governor 'step_wise'
[    0.131797] NET: Registered protocol family 2
[    0.142127] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.149801] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.158080] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.165674] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.172664] TCP: Hash tables configured (established 2048 bind 2048)
[    0.179038] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.185494] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.192528] NET: Registered protocol family 1
[    0.196837] PCI: CLS 0 bytes, default 32
[    0.204850] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[    0.216640] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.228368] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.304031] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.312323] GPIO line 473 (Enable Reset Button, disable NOR) hogged as output/low
[    0.320563] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.328989] printk: console [ttyS0] disabled
[    0.333251] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 33, base_baud = 462962) is a TI16750
[    0.342217] printk: console [ttyS0] enabled
[    0.342217] printk: console [ttyS0] enabled
[    0.350489] printk: bootconsole [udbg0] disabled
[    0.350489] printk: bootconsole [udbg0] disabled
[    0.363799] loop: module loaded
[    0.366976] Loading iSCSI transport class v2.0-870.
[    0.378226] sata-dwc 4bffd1000.sata: id 0, controller version 1.91
[    0.385657] scsi host0: sata-dwc
[    0.389193] ata1: SATA max UDMA/133 irq 40
[    0.393442] sata-dwc 4bffd1800.sata: id 0, controller version 1.91
[    0.400906] scsi host1: sata-dwc
[    0.404384] ata2: SATA max UDMA/133 irq 41
[    0.409264] libphy: Fixed MDIO Bus: probed
[    0.413367] PPC 4xx OCP EMAC driver, version 3.54
[    0.418490] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
[    0.424265] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    0.431479] TAH /plb/opb/emac-tah@ef601350 initialized
[    0.436931] /plb/opb/emac-rgmii@ef601500: input 0 in rgmii mode
[    0.442998] libphy: emac_mdio: probed
[    0.451291] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:90:a9:b6:0b:ca
[    0.458195] eth0: found Broadcom BCM50610 PHY (0x01)
[    0.463252] i2c /dev entries driver
[    0.466846] booke_wdt: powerpc book-e watchdog driver loaded
[    0.487400] NET: Registered protocol family 10
[    0.493637] Segment Routing with IPv6
[    0.497367] NET: Registered protocol family 17
[    0.501853] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.514770] 8021q: 802.1Q VLAN Support v1.8
[    0.519018] drmem: No dynamic reconfiguration memory found
[    0.524954] usb-regulator GPIO handle specifies active low - ignored
[    0.531599] sata1-regulator GPIO handle specifies active low - ignored
[    0.538391] sata0-regulator GPIO handle specifies active low - ignored
[    0.759791] ata2: SATA link down (SStatus 0 SControl 300)
[    0.765251] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.909555] ata1.00: qc timeout (cmd 0xec)
[    5.913656] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[    6.231757] ata1: SATA link down (SStatus 0 SControl 300)
[    6.237222] md: Waiting for all devices to be available before autodetect
[    6.243995] md: If you don't use raid, use raid=noautodetect
[    6.250133] md: Autodetecting RAID arrays.
[    6.254241] md: autorun ...
[    6.257024] md: ... autorun DONE.
[    6.260853] /dev/root: Can't open blockdev
[    6.264970] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6
[    6.272251] Please append a correct "root=" boot option; here are the available partitions:
[    6.280580] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    6.288808] Rebooting in 1 seconds..

I can't see how it is possibly the fault of the boot variable like it says, but I'm not knowledgeable enough to make any guesses why it can't find sda2. Again, boots fine on Single boards.

Halp.

1 Like

Well, the drive disappeared... It should be like this (from a Single):

But no idea why. Have you tried switching the HDDs?

I just tried with another drive in the right bay, same result. (Sidenote: Fumbling a 2.5" drive into the enclosure is fun :wink: )

Then I tried it with two drives, and ... now it boots. So it seems to be a problem if only one drive is inserted. Which was not a problem in 19.07.x, in fact, another duo is running next to me with only a single 19.07 drive inside.

Does that help?

Hmm, doesn't ring any bells.

can you build a current snapshot with CONFIG_TESTING_KERNEL?
(so it uses a 5.10 kernel)?

Sorry, I currently have no compiling machine set up. :frowning: I will be happy to test anything you throw at me, though.

It gets weirder: Even if it is booting up with two drives inserted, fully booted it only recognizes sda, /dev/sdb is missing. Same result if I swap the two disks around, it still doesn't see sdb.

(But now the bootloader insists to boot off 1:1 instead of 0:1, as if 0:1 didn't contain OpenWrt. I'm not sure what that's about, because both disks still independently boot fine on a MBL Single board. Maybe it somehow doesn't like the combination of my two disks? I'm confused, but that doesn't explain why it wouldn't boot off a single disk. I tried both, and in two different Duo enclosures.)

Is it normal that /dev/sda2 takes only 104 MiB (sectors 32768--245759)?
Doc says 128 MiB, v19.07.8 takes 256 MiB.

Thanks.

Yes, that is the new default size since 21.02.

1 Like

I dug out another 3.5" drive because I feel like my 80 GB 2.5" drive is a bit wonky and not exactly the best test item. I then ironed the completely default, no-configuration kept OpenWrt 21.02 ext4 release on both test disks, just to make sure I didn't have anything iffy in my configuration or the image itself. (I also still remember the 18.06 bug where booting would fail if a drive had additional partitions, so I wanted to make sure it's not that.)

And for the life of me, I can't manage to boot an MBL Duo with any possible setup permutation: two disks, one disk in either bay, swapped around, any possible combination. I even tried with three different MBL Duo enclosures. Every time the kernel loads, and every time the kernel panics like quoted above, and the disks audibly park.

I am really inclined to say it's not my enclosures (I put one of them back in service with its 19.07 disk and it boots just fine again), and also not my disks (since they each still boot perfectly fine on an MBL Single). I am not a developer, but for all the world it looks like the SATA driver or something around it breaks on the Duo.

Edit: @chunkeey, I know your MBL Duo is broken, but you may remember that I offered to send you one of mine if it helps to debug.

Well, if 19.07 boots & works fine, then it's likely not your enclosure....

Though, I don't see any major changes from v19.07 to v21.02 in this regards apart from the kernel switch to Linux 5.4.

I would like to see if the 5.10 kernel changes anything first. If this doesn't help, then I would disable/remove both sata1- and sata0-regulators from the DTS and leave them "as uboot step them up".

I will do my best to help debug this, but I won't have access to my stuff over the weekend. If and when I find time, I will get a compilation environment going next week, let's see then.

For now, though, I would really appreciate if someone else could chime in, just to confirm it's not just me having this problem.

Ok, here's something that doesn't require a lenghty re-compilation.

These are two uuencoded files (uploaded to the debian pastebin). You can unpack these files
with uudecode file. But be careful here! Both pastebins will extract to the same apollo3g.dtb file and uudecode doesn't warn you when it overwrites the file.

Hence, do don't try to unpack both at the same time. Since you'll be overwriting the apollo3g.dtb without knowing if the first test worked... or not.

The extracted "apollo3g.dtb" should be moved (as in mv) in place of the existing /boot/boot/apollo3g.dtb on the MBL Duo HDD with the daulty OpenWrt 21.02 image.

  1. sets regulators-boot-on; property in the sata[0|1]regulators property:

https://paste.debian.net/1212145/

  1. removes the sata[0|1]regulator nodes all together.

https://paste.debian.net/1212146/

Cheers,
Christian

(EDIT: better wording)

So, after returning home this evening I immediately went to work on trying the modified DTBs (I must say, sharing files uuencoded via pastebin is ... uncommon, but it reminded me a bit of the Usenet times of yore :wink: ).

Unfortunately, I was too late for #1, the pastebin already expired (or was deleted.)

However, #2 was still available, and ... yes, it does the trick, with "sata regulator nodes removed", the single disk boots now in a Duo, and with two disks both sda (natch) and sdb are recognized. So you were right on the money there.

In the interest of pinpointing the offending DTB entry more closely, could I ask you to paste #1 again?

Sorry, yes. I don't have these files here.... But I can generate another one.

https://paste.debian.net/1212399

Basically, every .dtb file can be reversed with the help of the dtc - compiler (the same tool which generates them) to a decompiled source dts again (it's not the same, all the symbolic links are gone. But since the interconnections aren't modified they work for this purpose), .... modified (i.e. added the properties)... and recompiled again.

You can check if these were applied by doing something like a find -name regulators-boot-on in either /proc/device-tree or /sys/firmware/devicetree.

Cheers,
Christian

Result:
DTB #1 (sets regulators-boot-on; property in the sata[0|1]regulators property) does not remedy the problem
DTB #2 (removes the sata[0|1]regulator nodes all together) does remedy the problem

That regulator definitions haven't changed since the 19.07.0 days (2018-07-29).
No idea what broke with the regulator driver or the regulator devicetree since then.

Anyway, the DTB #1 I just posted contained an error (it's regulator-boot-on and not regulators-boot-on )

https://paste.debian.net/1212408

this should now should "do" something in the regulator driver. (though there was a patch for boot-on property in 5.8. So this might or might not work... and could behave differently with 5.10)

Downloaded and applied new/fixed DTB #1, didn't help, doesn't boot:

Bootlog with DTB #1 - sets regulators-boot-on; property in the sata regulators property


U-Boot 2009.08-svn54115 (Nov 15 2011 - 10:54:56), Build: 0.0.12

CPU:   AMCC PowerPC APM82181 Rev. E at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
       Security support
       Bootstrap Option E - Boot ROM Location NOR/SRAM (8 bits)
       32 kB I-Cache 32 kB D-Cache
Board: Apollo-3G - APM82181 Board, 2*SATA, 1*USB


U-Boot 2009.08-svn54115 (Nov 15 2011 - 10:54:56), Build: 0.0.12

CPU:   AMCC PowerPC APM82181 Rev. E at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
       Security support
       Bootstrap Option E - Boot ROM Location NOR/SRAM (8 bits)
       32 kB I-Cache 32 kB D-Cache
Board: Apollo-3G - APM82181 Board, 2*SATA, 1*USB
I2C:   ready
DRAM:  Auto calibration 256 MB
FLASH: 512 kB
DTT:   1 FAILED INIT
Net:   PHY EC1 Register: 0x2c8c
ppc_4xx_eth0

Type run flash_nfs to mount root filesystem over NFS

p=============================================================================q
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::WWWWWWWWW::::WWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDD::::::::::::|
|:::::::::::WWWWWWWW::::WWWWWWWW:::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD::::::::::|
|:::::::::::WWWWWWWW:::WWWWWWWWW::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDDDD:::::::::|
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::DDDDDDDDDDD::::::::|
|:::::::::::WWWWWWW:::WWWWWWWWWW::::WWWWWWW::DDDDDDDDD:::::::DDDDDDDDD::::::::|
|:::::::::::WWWWWWW::WWWWWWWWWWW:::WWWWWWW::DDDDDDDDD::::::::DDDDDDDDD::::::::|
|:::::::::::WWWWWW::WWWWWW::WWWWW:WWWWWWW::DDDDDDDDDD:::::::DDDDDDDDDD::::::::|
|:::::::::::WWWWWWWWWWWWW:::WWWWWWWWWWWW::DDDDDDDDDD::::::DDDDDDDDDDD:::::::::|
|:::::::::::WWWWWWWWWWWW::::WWWWWWWWWWW::DDDDDDDDDDD:::DDDDDDDDDDDDD::::::::::|
|:::::::::::WWWWWWWWWWW:::::WWWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::|
|:::::::::::WWWWWWWWWW::::::WWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::|
|:::::::::::WWWWWWWWW:::::::WWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::::|
|:::::::::::WWWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD:::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
b=============================================================================d
Hit any key to stop autoboot:  0
USB:    OTG-Controller ID(0x4F54) Version(0x290A)
Err detect usb time out hostport.d32 0x00001000
0 USB Device(s) found
       scanning bus for storage devices...
0 Storage Device(s) found
** Block device usb 0 not supported
Board is not configured for test. Do normal boot.
----- Checking Boot Partitions -----
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
** Bad partition 1 **
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
Loading file "/boot/boot.scr" from sata device 0:1 (hda1)
622 bytes read
0:1
## Executing script at 00100000
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
Loading file "/boot/uImage" from sata device 0:1 (hda1)
3726701 bytes read
Loading file "/boot/apollo3g.dtb" from sata device 0:1 (hda1)
16384 bytes read
Loaded part 1
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   POWERPC OpenWrt Linux-5.4.143
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3726637 Bytes =  3.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01800000
   Booting using the fdt blob at 0x1800000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ff9000, end 00ffffff ... OK
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 Tue Aug 31 22:20:08 2021
[    0.000000] Using PowerPC 44x Platform machine description
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x10000000
[    0.000000] dcache_bsize      = 0x20
[    0.000000] icache_bsize      = 0x20
[    0.000000] cpu_features      = 0x0000000000000120
[    0.000000]   possible        = 0x0000000040000120
[    0.000000]   always          = 0x0000000000000120
[    0.000000] cpu_user_features = 0x8c008000 0x00000000
[    0.000000] mmu_features      = 0x00000008
[    0.000000] -----------------------------------------------------
[    0.000000] Top of RAM: 0x10000000, Total RAM: 0x10000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: root=/dev/sda2 rw rootfstype=squashfs,ext4 console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 251692K/262144K available (6436K kernel code, 236K rwdata, 744K rodata, 180K init, 229K bss, 10452K reserved, 0K cma-reserved)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xd1000000..0xfffdf000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] random: get_random_u32 called from 0xc07059e4 with crng_init=0
[    0.000000] time_init: decrementer frequency = 800.000008 MHz
[    0.000000] time_init: processor frequency   = 800.000008 MHz
[    0.000019] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
[    0.010285] clocksource: timebase mult[1400000] shift[24] registered
[    0.016603] clockevent: decrementer mult[ccccccef] shift[32] cpu[0]
[    0.022897] pid_max: default: 32768 minimum: 301
[    0.027565] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.034801] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046927] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.056602] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.066036] NET: Registered protocol family 16
[    0.070991] DMA: preallocated 256 KiB pool for atomic allocations

[    0.079066] 256k L2-cache enabled
[    0.082410] PCIE0: Port disabled via device-tree
[    0.087627] PCI: Probing PCI hardware
[    0.105407] SCSI subsystem initialized
[    0.109848] libata version 3.00 loaded.
[    0.114778] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.125564] clocksource: Switched to clocksource timebase
[    0.131611] thermal_sys: Registered thermal governor 'step_wise'
[    0.131821] NET: Registered protocol family 2
[    0.142153] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.149828] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.158106] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.165700] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.172689] TCP: Hash tables configured (established 2048 bind 2048)
[    0.179064] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.185519] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.192554] NET: Registered protocol family 1
[    0.196863] PCI: CLS 0 bytes, default 32
[    0.204882] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[    0.216670] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.228400] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.299419] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.307688] GPIO line 473 (Enable Reset Button, disable NOR) hogged as output/low
[    0.315930] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.324344] printk: console [ttyS0] disabled
[    0.328601] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 33, base_baud = 462962) is a TI16750
[    0.337573] printk: console [ttyS0] enabled
[    0.337573] printk: console [ttyS0] enabled
[    0.345841] printk: bootconsole [udbg0] disabled
[    0.345841] printk: bootconsole [udbg0] disabled
[    0.359157] loop: module loaded
[    0.362325] Loading iSCSI transport class v2.0-870.
[    0.373502] sata-dwc 4bffd1000.sata: id 0, controller version 1.91
[    0.380910] scsi host0: sata-dwc
[    0.384476] ata1: SATA max UDMA/133 irq 40
[    0.388722] sata-dwc 4bffd1800.sata: id 0, controller version 1.91
[    0.396189] scsi host1: sata-dwc
[    0.399666] ata2: SATA max UDMA/133 irq 41
[    0.404546] libphy: Fixed MDIO Bus: probed
[    0.408651] PPC 4xx OCP EMAC driver, version 3.54
[    0.413786] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
[    0.419567] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    0.426783] TAH /plb/opb/emac-tah@ef601350 initialized
[    0.432232] /plb/opb/emac-rgmii@ef601500: input 0 in rgmii mode
[    0.438296] libphy: emac_mdio: probed
[    0.446584] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:90:a9:36:57:dc
[    0.453474] eth0: found Broadcom BCM50610 PHY (0x01)
[    0.458534] i2c /dev entries driver
[    0.462127] booke_wdt: powerpc book-e watchdog driver loaded
[    0.482692] NET: Registered protocol family 10
[    0.488885] Segment Routing with IPv6
[    0.492655] NET: Registered protocol family 17
[    0.497140] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.510054] 8021q: 802.1Q VLAN Support v1.8
[    0.514300] drmem: No dynamic reconfiguration memory found
[    0.520234] usb-regulator GPIO handle specifies active low - ignored
[    0.526882] sata1-regulator GPIO handle specifies active low - ignored
[    0.533703] sata0-regulator GPIO handle specifies active low - ignored
[    0.755816] ata2: SATA link down (SStatus 0 SControl 300)
[    0.761278] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.909584] ata1.00: qc timeout (cmd 0xec)
[    5.913682] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[    6.231783] ata1: SATA link down (SStatus 0 SControl 300)
[    6.237246] md: Waiting for all devices to be available before autodetect
[    6.244021] md: If you don't use raid, use raid=noautodetect
[    6.250151] md: Autodetecting RAID arrays.
[    6.254258] md: autorun ...
[    6.257040] md: ... autorun DONE.
[    6.260865] /dev/root: Can't open blockdev
[    6.264979] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6
[    6.272268] Please append a correct "root=" boot option; here are the available partitions:
[    6.280597] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    6.288826] Rebooting in 1 seconds..

Re-applied DTB #2, boots:

Bootlog with DTB #2 - removes the sata regulator nodes all together
U-Boot 2009.08-svn54115 (Nov 15 2011 - 10:54:56), Build: 0.0.12

CPU:   AMCC PowerPC APM82181 Rev. E at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
       Security support
       Bootstrap Option E - Boot ROM Location NOR/SRAM (8 bits)
       32 kB I-Cache 32 kB D-Cache
Board: Apollo-3G - APM82181 Board, 2*SATA, 1*USB
I2C:   ready
DRAM:  Auto calibration 256 MB
FLASH: 512 kB
DTT:   1 FAILED INIT
Net:   PHY EC1 Register: 0x2c8c
ppc_4xx_eth0

Type run flash_nfs to mount root filesystem over NFS

p=============================================================================q
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::WWWWWWWWW::::WWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDD::::::::::::|
|:::::::::::WWWWWWWW::::WWWWWWWW:::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD::::::::::|
|:::::::::::WWWWWWWW:::WWWWWWWWW::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDDDD:::::::::|
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::DDDDDDDDDDD::::::::|
|:::::::::::WWWWWWW:::WWWWWWWWWW::::WWWWWWW::DDDDDDDDD:::::::DDDDDDDDD::::::::|
|:::::::::::WWWWWWW::WWWWWWWWWWW:::WWWWWWW::DDDDDDDDD::::::::DDDDDDDDD::::::::|
|:::::::::::WWWWWW::WWWWWW::WWWWW:WWWWWWW::DDDDDDDDDD:::::::DDDDDDDDDD::::::::|
|:::::::::::WWWWWWWWWWWWW:::WWWWWWWWWWWW::DDDDDDDDDD::::::DDDDDDDDDDD:::::::::|
|:::::::::::WWWWWWWWWWWW::::WWWWWWWWWWW::DDDDDDDDDDD:::DDDDDDDDDDDDD::::::::::|
|:::::::::::WWWWWWWWWWW:::::WWWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::|
|:::::::::::WWWWWWWWWW::::::WWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::|
|:::::::::::WWWWWWWWW:::::::WWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::::|
|:::::::::::WWWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD:::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
b=============================================================================d
Hit any key to stop autoboot:  0
USB:    OTG-Controller ID(0x4F54) Version(0x290A)
Err detect usb time out hostport.d32 0x00001000
0 USB Device(s) found
       scanning bus for storage devices...
0 Storage Device(s) found
** Block device usb 0 not supported
Board is not configured for test. Do normal boot.
----- Checking Boot Partitions -----
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
** Bad partition 1 **
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
Loading file "/boot/boot.scr" from sata device 0:1 (hda1)
622 bytes read
0:1
## Executing script at 00100000
SATA DWC initialization 0
init: Waiting for device...
sata_dwc: Device found
scan: Waiting for device...
SATA DWC initialization 1
sata_dwc: Hard Disk not found. Status = 0x7f
Loading file "/boot/uImage" from sata device 0:1 (hda1)
3726701 bytes read
Loading file "/boot/apollo3g.dtb" from sata device 0:1 (hda1)
16384 bytes read
Loaded part 1
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   POWERPC OpenWrt Linux-5.4.143
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3726637 Bytes =  3.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01800000
   Booting using the fdt blob at 0x1800000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ff9000, end 00ffffff ... OK
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 Tue Aug 31 22:20:08 2021
[    0.000000] Using PowerPC 44x Platform machine description
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x10000000
[    0.000000] dcache_bsize      = 0x20
[    0.000000] icache_bsize      = 0x20
[    0.000000] cpu_features      = 0x0000000000000120
[    0.000000]   possible        = 0x0000000040000120
[    0.000000]   always          = 0x0000000000000120
[    0.000000] cpu_user_features = 0x8c008000 0x00000000
[    0.000000] mmu_features      = 0x00000008
[    0.000000] -----------------------------------------------------
[    0.000000] Top of RAM: 0x10000000, Total RAM: 0x10000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: root=/dev/sda2 rw rootfstype=squashfs,ext4 console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 251696K/262144K available (6436K kernel code, 236K rwdata, 744K rodata, 180K init, 229K bss, 10448K reserved, 0K cma-reserved)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xd1000000..0xfffdf000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] random: get_random_u32 called from 0xc07059e4 with crng_init=0
[    0.000000] time_init: decrementer frequency = 800.000008 MHz
[    0.000000] time_init: processor frequency   = 800.000008 MHz
[    0.000019] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
[    0.010285] clocksource: timebase mult[1400000] shift[24] registered
[    0.016604] clockevent: decrementer mult[ccccccef] shift[32] cpu[0]
[    0.022897] pid_max: default: 32768 minimum: 301
[    0.027564] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.034802] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046862] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.056542] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.065963] NET: Registered protocol family 16
[    0.070909] DMA: preallocated 256 KiB pool for atomic allocations

[    0.078970] 256k L2-cache enabled
[    0.082314] PCIE0: Port disabled via device-tree
[    0.087519] PCI: Probing PCI hardware
[    0.105316] SCSI subsystem initialized
[    0.109751] libata version 3.00 loaded.
[    0.114696] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.125467] clocksource: Switched to clocksource timebase
[    0.131517] thermal_sys: Registered thermal governor 'step_wise'
[    0.131733] NET: Registered protocol family 2
[    0.142068] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.149727] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.158001] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.165597] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.172586] TCP: Hash tables configured (established 2048 bind 2048)
[    0.178960] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.185414] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.192453] NET: Registered protocol family 1
[    0.196759] PCI: CLS 0 bytes, default 32
[    0.204471] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[    0.216070] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.227826] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.297428] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.305846] GPIO line 473 (Enable Reset Button, disable NOR) hogged as output/low
[    0.314079] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.322566] printk: console [ttyS0] disabled
[    0.326819] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 33, base_baud = 462962) is a TI16750
[    0.335789] printk: console [ttyS0] enabled
[    0.335789] printk: console [ttyS0] enabled
[    0.344060] printk: bootconsole [udbg0] disabled
[    0.344060] printk: bootconsole [udbg0] disabled
[    0.357357] loop: module loaded
[    0.360535] Loading iSCSI transport class v2.0-870.
[    0.371750] sata-dwc 4bffd1000.sata: id 0, controller version 1.91
[    0.379141] scsi host0: sata-dwc
[    0.382719] ata1: SATA max UDMA/133 irq 40
[    0.386971] sata-dwc 4bffd1800.sata: id 0, controller version 1.91
[    0.394474] scsi host1: sata-dwc
[    0.397948] ata2: SATA max UDMA/133 irq 41
[    0.402830] libphy: Fixed MDIO Bus: probed
[    0.406939] PPC 4xx OCP EMAC driver, version 3.54
[    0.412056] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
[    0.417828] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    0.425031] TAH /plb/opb/emac-tah@ef601350 initialized
[    0.430471] /plb/opb/emac-rgmii@ef601500: input 0 in rgmii mode
[    0.436531] libphy: emac_mdio: probed
[    0.444855] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:90:a9:36:57:dc
[    0.451768] eth0: found Broadcom BCM50610 PHY (0x01)
[    0.456818] i2c /dev entries driver
[    0.460408] booke_wdt: powerpc book-e watchdog driver loaded
[    0.480925] NET: Registered protocol family 10
[    0.487121] Segment Routing with IPv6
[    0.490884] NET: Registered protocol family 17
[    0.495368] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.508282] 8021q: 802.1Q VLAN Support v1.8
[    0.512529] drmem: No dynamic reconfiguration memory found
[    0.518483] usb-regulator GPIO handle specifies active low - ignored
[    0.751677] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    0.757948] ata2: SATA link down (SStatus 0 SControl 300)
[    0.785693] ata1.00: ATA-8: SAMSUNG HD501LJ, CR100-12, max UDMA7
[    0.791692] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    0.800772] ata1.00: configured for UDMA/133
[    0.805431] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  0-12 PQ: 0 ANSI: 5
[    0.814719] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    0.822623] sd 0:0:0:0: [sda] Write Protect is off
[    0.827424] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.832579] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.850021]  sda: sda1 sda2
[    0.853909] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.858718] md: Waiting for all devices to be available before autodetect
[    0.865503] md: If you don't use raid, use raid=noautodetect
[    0.871615] md: Autodetecting RAID arrays.
[    0.875721] md: autorun ...
[    0.878507] md: ... autorun DONE.
[    0.890295] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
[    0.908277] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[    0.915380] VFS: Mounted root (ext4 filesystem) on device 8:2.
[    0.921932] Freeing unused kernel memory: 180K
[    0.926415] Run /sbin/init as init process
[    1.022739] init: Console is alive
[    1.026364] init: - watchdog -
[    1.068541] random: fast init done
[    1.076871] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.102897] usbcore: registered new interface driver usbfs
[    1.108473] usbcore: registered new interface driver hub
[    1.113844] usbcore: registered new device driver usb
[    1.127750] dwc2 4bff80000.usbotg: 4bff80000.usbotg supply vusb_d not found, using dummy regulator
[    1.136833] dwc2 4bff80000.usbotg: 4bff80000.usbotg supply vusb_a not found, using dummy regulator
[    1.246961] dwc2 4bff80000.usbotg: DWC OTG Controller
[    1.252056] dwc2 4bff80000.usbotg: new USB bus registered, assigned bus number 1
[    1.259483] dwc2 4bff80000.usbotg: irq 36, io mem 0x4bff80000
[    1.266120] hub 1-0:1.0: USB hub found
[    1.270114] hub 1-0:1.0: 1 port detected
[    1.280976] usbcore: registered new interface driver usb-storage
[    1.287738] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.297565] init: - preinit -
[    1.457790] eth0: link is down
[    1.470717] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.558632] mount_root: mounting /dev/root
[    5.568909] EXT4-fs (sda2): re-mounted. Opts: (null)
[    5.574099] mount_root: loading kmods from internal overlay
[    5.589824] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.597445] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    5.776499] block: attempting to load /etc/config/fstab
[    5.782894] block: extroot: not configured
[    5.810658] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[    5.843054] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[    5.851752] urandom-seed: Seeding with /etc/urandom.seed
[    5.907043] procd: - early -
[    5.910705] procd: - watchdog -
[    6.462534] procd: - watchdog -
[    6.468283] procd: - ubus -
[    6.485959] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.521744] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.528422] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.536442] procd: - init -
Please press Enter to activate this console.
[    6.907256] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.949824] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    7.022615] xt_time: kernel timezone is -0000
[    7.063169] kmodloader: done loading kernel modules from /etc/modules.d/*
[    7.120090] urngd: v1.0.2 started.
[    7.229806] random: crng init done
[    7.233200] random: 6 urandom warning(s) missed due to ratelimiting
[   10.227611] eth0: link is down
[   10.245090] br-lan: port 1(eth0) entered blocking state
[   10.250354] br-lan: port 1(eth0) entered disabled state
[   10.255822] device eth0 entered promiscuous mode



BusyBox v1.33.1 (2021-08-31 22:20:08 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02.0, r16279-5cc0535800
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#

(Check: With DTB #2 I can't find any file containing regulators. Can't boot DTB #1, so can't check there.)

I'm applying these to default-standard-unmodified 21.02.0, so kernel 5.6 5.4

By the way, what I struggle to comprehend is why this only happens on the Duo, not on the Single, as they are virtually the same board. Do their uboots or uboot-envs differ, would that even have any influence on the sata issue?

OpenWrt 19.07 had the same regulators definition in place. My guess is that something broke in the kernel, but I have no idea why the DUO and not the single.

1 Like

Alright, so where do we go from here? I'm assuming this change to the DTB should go into 21.02 ASAP*, and tested with a 5.10 snapshot. Is there more testing to do, by more people, or will my single point of anecdotal evidence suffice?

In summary: Is there anything I can do to help?

*) Also, is it reasonable/possible/realistic to try to get this into 21.02.0 and have the images recompiled, given that 21.02.1 is nowhere in sight yet?

I'm supposing this was never fixed then :frowning: :