rd(4) HP-IB disks emulated by the HPDrive emulator
Izumi Tsutsui <[email protected]> Sat, 9 Jan 2021 05:49:58 +0900
| Newsgroups | gmane.os.netbsd.ports.hp300 |
|---|---|
| Message-ID | <[email protected]> |
FYI, Today I've just tried the "HPdrive" HP-IB device emulator https://www.hp9845.net/9845/projects/hpdrive/ with National Instruments PCI-GPIB (TNT5004) board on NetBSD/hp300 9.1 and hp425t, and it's recognized properly and just works! --- NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 [email protected]:/usr/src/sys/arch/hp300/compile/GENERIC HP 9000/425t (25MHz MC68040 CPU+MMU+FPU, 4k on-chip physical I/D caches) total memory = 49140 KB avail memory = 43532 KB timecounter: Timecounters tick every 10.000 msec Kernelized RAIDframe activated mainbus0 (root) intio0 at mainbus0 rtc0 at intio0 addr 0x420000 frodo0 at intio0 addr 0x41c000 ipl 5 dnkbd0 at frodo0 offset 0x0: no keyboard com1 at frodo0 offset 0x40: ns8250 or ns16450, no fifo com2 at frodo0 offset 0x60: ns8250 or ns16450, no fifo hil0 at intio0 addr 0x428000 ipl 1 nhpib1 at intio0 addr 0x478000 ipl 3: internal HP-IB hpibbus1 at nhpib1 rd0 at hpibbus1 slave 0 punit 0: 7937H rd0: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block [snip] RAIDframe: can't get disk size for dev rd0 (22) boot device: rd0 root on rd0a dumps on rd0b root file system type: ffs kern.module.path=/stand/hp300/9.1/modules --- See also: https://twitter.com/tsutsuii/status/1347613977124114432 https://twitter.com/tsutsuii/status/1347634194558586882 Note newfs(8) and fsck(8) etc. in NetBSD 9.1 have a bug that causes SIGSEGV on accessing disks without DIOCGDISKINFO ioctl (including rd(4)), while it has already been fixed in -current: http://www.nerv.org/netbsd/?q=id:20190928T180319Z I'll send a pullup request for this soon. Have fun, --- Izumi Tsutsui