This particular version of 9.99.17 has been extremely stable for me for several months. Now I tried copying the contents of sd1 to a bigger USB (hard) disk. Didn't complete due to panic:
panic: kernel diagnostic assertion "offset < dma->udma_block->size" failed: file "/c/usr/src/sys/dev/usb/usb_mem.c", line 383 offset 65536 vs 65536
Maybe this has been fixed in newer -current?
True, I didn't fsck this sd1 drive. But, even so, if there's something wrong with the fs, it's shouldn't panic.
Thanks again, all, for the tremendous work and continued perseverance.
[ 165872.8892151] umass1 at uhub3 port 4 configuration 1 interface 0
[ 165872.8998795] umass1: Lexar (0x5dc) USB Flash Drive (0xa838), rev 2.10/11.00, addr 7
[ 165872.9110765] scsibus1 at umass1: 2 targets, 1 lun per target
[ 165873.0999142] sd1 at scsibus1 target 0 lun 0: <Lexar, USB Flash Drive, 1100> disk removable
[ 165873.1099178] sd1: fabricating a geometry
[ 165873.1099178] sd1: 61054 MB, 61054 cyl, 64 head, 32 sec, 512 bytes/sect x 125038592 sectors
[ 165873.1299255] sd1: fabricating a geometry
[165903.8144229] /dev/sd1e: file system not clean (fs_clean=0x8); please fsck(8)
[ 165903.8283906] /dev/sd1e: lost blocks 0 files 0
[ 169039.9242134] panic: kernel diagnostic assertion "offset < dma->udma_block->size" failed: file "/c/usr/src/sys/dev/usb/usb_mem.c", line 383 offset 65536 vs 65536
[ 169039.9242134] cpu0: Begin traceback...
[ 169039.9242134] 0x80b55cbc: netbsd:db_panic+0x14
[ 169039.9242134] 0x80b55cd4: netbsd:vpanic+0x194
[ 169039.9242134] 0x80b55cec: netbsd:__aeabi_uldivmod
[ 169039.9242134] 0x80b55d2c: netbsd:usb_dmaaddr+0x124
[ 169039.9242134] 0x80b55d4c: netbsd:dwc2_hc_init_xfer_data.isra.12+0x38
[ 169039.9242134] 0x80b55d8c: netbsd:dwc2_assign_and_init_hc+0x45c
[ 169039.9242134] 0x80b55dc4: netbsd:dwc2_hcd_select_transactions+0x160
[ 169039.9242134] 0x80b55de4: netbsd:dwc2_release_channel+0x188
[ 169039.9242134] 0x80b55e2c: netbsd:dwc2_handle_hcd_intr+0xc08
[ 169039.9242134] 0x80b55e4c: netbsd:dwc2_intr+0x78
[ 169039.9242134] 0x80b55e74: netbsd:pic_dispatch+0x38
[ 169039.9242134] 0x80b55f04: netbsd:pic_do_pending_ints+0x40c
[ 169039.9242134] 0x80b55f6c: netbsd:irq_entry+0x68
[ 169039.9242134] 0x80b55fac: netbsd:idle_loop+0x1a0
[ 169039.9242134] cpu0: End traceback...
[ 169039.9242134] dump to dev 92,1 not possible
[ 169039.9242134] rebootin[ 1.0000000] NetBSD/evbarm (fdt) booting ...
[ 1.0000000] [ Kernel symbol table missing! ]
[ 1.0000000] pool redzone disabled for 'kmem-8192'
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019 The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 9.99.17 (GENERIC) #2: Wed Nov 13 09:59:13 UTC 2019
[ 1.0000000] mac%S.Culver.Net@localhost:/c/usr/src/sys/arch/evbarm/compile/obj/GENERIC