Old PowerMac G5 2-socket/2-cores-each: head -r368820 kernel reports: bus_dmamem_alloc failed to align memory properly

Mark Millard via freebsd-ppc <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
I'm upgrading from head -r365932 to -r368820 and on the first
boot -s with the new (non-debug) kernel I saw that bus_dmamem_alloc
was reporting based on:

        } else if (vtophys(*vaddr) & (dmat->alignment - 1)) {
                printf("bus_dmamem_alloc failed to align memory properly.\n");
        }

(Be warned that is is my patched-for-PowerMac context that I've used
for some many years.)

So after the rest of the upgrade to head -r368820 and with boot -v to
provide more context . . .

The 8 bus_dmamem_alloc messages occur during:

. . .
Dec 21 18:12:24 FBSDG5L2 kernel: SMP: AP CPU #1 launched
Dec 21 18:12:24 FBSDG5L2 kernel: SMP: AP CPU #2 launched
Dec 21 18:12:24 FBSDG5L2 kernel: SMP: AP CPU #3 launched
Dec 21 18:12:24 FBSDG5L2 kernel: Trying to mount root from ufs:/dev/ufs/FBSDG5L2rootfs [rw,noatime]...
Dec 21 18:12:24 FBSDG5L2 kernel: Root mount waiting for: usbus2 CAM
Dec 21 18:12:24 FBSDG5L2 kernel: uhub2: 5 ports with 5 removable, self powered
Dec 21 18:12:24 FBSDG5L2 kernel: Root mount waiting for: usbus2 CAM
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 1 times
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 2 times
Dec 21 18:12:24 FBSDG5L2 kernel: ugen0.2: <vendor 0x05ac product 0x9102> at usbus0
Dec 21 18:12:24 FBSDG5L2 kernel: uhub3 numa-domain 0 on uhub1
Dec 21 18:12:24 FBSDG5L2 kernel: uhub3: <vendor 0x05ac product 0x9102, class 9/0, rev 2.00/0.01, addr 2> on usbus0
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 kernel: uhub3: 1 port with 1 removable, self powered
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 1 times
Dec 21 18:12:24 FBSDG5L2 kernel: ugen1.2: <Mitsumi Electric Hub in Apple Extended USB Keyboard> at usbus1
Dec 21 18:12:24 FBSDG5L2 kernel: uhub4 numa-domain 0 on uhub0
Dec 21 18:12:24 FBSDG5L2 kernel: uhub4: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/4.20, addr 2> on usbus1
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 kernel: Root mount waiting for: CAM
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 2 times
Dec 21 18:12:24 FBSDG5L2 kernel: ugen0.3: <vendor 0x05ac product 0x9118> at usbus0
Dec 21 18:12:24 FBSDG5L2 kernel: uhub5 numa-domain 0 on uhub3
Dec 21 18:12:24 FBSDG5L2 kernel: uhub5: <vendor 0x05ac product 0x9118, class 9/0, rev 1.10/1.10, addr 3> on usbus0
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 kernel: uhub4: 3 ports with 2 removable, bus powered
Dec 21 18:12:24 FBSDG5L2 kernel: uhub5: 3 ports with 3 removable, self powered
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 1 times
Dec 21 18:12:24 FBSDG5L2 kernel: ugen1.3: <Mitsumi Electric Apple Extended USB Keyboard> at usbus1
Dec 21 18:12:24 FBSDG5L2 kernel: ukbd0 numa-domain 0 on uhub4
Dec 21 18:12:24 FBSDG5L2 kernel: ukbd0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.20, addr 3> on usbus1
Dec 21 18:12:24 FBSDG5L2 kernel: kbd: new array size 4
Dec 21 18:12:24 FBSDG5L2 kernel: kbd1 at ukbd0
Dec 21 18:12:24 FBSDG5L2 kernel: kbd1: ukbd0, generic (0), config:0x0, flags:0x3d0000
Dec 21 18:12:24 FBSDG5L2 kernel: uhid0 numa-domain 0Root mount waiting for: on uhub4
Dec 21 18:12:24 FBSDG5L2 kernel:  CAM
Dec 21 18:12:24 FBSDG5L2 kernel: uhid0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.20, addr 3> on usbus1
Dec 21 18:12:24 FBSDG5L2 kernel: bus_dmamem_alloc failed to align memory properly.
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 1 times
Dec 21 18:12:24 FBSDG5L2 kernel: ugen0.4: <vendor 0x05ac Studio Display> at usbus0
Dec 21 18:12:24 FBSDG5L2 kernel: uhid1 numa-domain 0 on uhub5
Dec 21 18:12:24 FBSDG5L2 kernel: uhid1: <vendor 0x05ac Studio Display, class 0/0, rev 1.00/1.0e, addr 4> on usbus0
Dec 21 18:12:24 FBSDG5L2 kernel: Root mount waiting for: CAM
Dec 21 18:12:24 FBSDG5L2 syslogd: last message repeated 4 times
Dec 21 18:12:24 FBSDG5L2 kernel: GEOM: new disk cd0
Dec 21 18:12:24 FBSDG5L2 kernel: ada0 at ata2 bus 0 scbus0 target 0 lun 0
Dec 21 18:12:24 FBSDG5L2 kernel: ada0: <OWC Mercury Electra 3G SSD 560ABBF0> ATA8-ACS SATA 2.x device
. . .

(ada0 is the boot/root-file-system media.)

For reference:

# uname -apKU
FreeBSD FBSDG5L2 13.0-CURRENT FreeBSD 13.0-CURRENT #20 r368820M: Sat Dec 19 22:17:47 PST 2020     root@FBSDFHUGE:/usr/obj/powerpc64vtsc_clang/powerpc.powerpc64/usr/src/powerpc.powerpc64/sys/GENERIC64vtsc-NODBG  powerpc powerpc64 1300132 1300132


This machine will be busy building ports for a notable time ( presuming that
it operates well under -r368820 ).

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.