trm(4) is not in GENERIC. Loading it causes a panic on my Ultra 10: # kldload trm trm0: <Tekram DC395U/UW/F DC315/U Fast20 Wide SCSI Adapter> port 0x400-0x4ff mem 0x2000-0x2fff at device 1.0 on pci2 panic: trap: data access error The same thing happens if trm.ko is loaded at boot time.
I booted a quite recent 7.0 snapshot. Same panic. Details follow: db> bt (...) -- data access error %o7=0xc0b8552c NVRAM_trm_wait_30us() at NVRAM_trm_wait_30us+0x4c trm_attach() at trm_attach+0x548 device_attach() at device_attach+0x0x60 (...) NetBSD 3.0.1/sparc64 successfully attaches the card and its associated CDROM drive, so this is definitely not a hardware problem.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
I'm sorry that this PR never got any attention. sparc64 platform support has since been removed from FreeBSD, along with trm(4), so I don't think this is going to get fixed, unless it was incidentally addressed sometime after this PR was submitted.