Skip to content

daynaport: record the two-driver verification; fail loudly on a missi… - #82

Merged
techomancer merged 2 commits into
techomancer:mainfrom
danifunker:add-daynaport
Aug 13, 2026
Merged

daynaport: record the two-driver verification; fail loudly on a missi…#82
techomancer merged 2 commits into
techomancer:mainfrom
danifunker:add-daynaport

Conversation

@danifunker

Copy link
Copy Markdown
Contributor

…ng --config

The DaynaPort target is now verified end to end against both IRIX drivers (irixdayna), with no changes needed to the emulation itself:

rung IRIX 6.5 IRIX 5.3
detected dp0 at SCSI id 3 dp0 at scsi(0) target 3 lun 0
MAC read yes 00:80:19:44:50:03
ARP resolved resolved
ping replies valid, 0 bad cksums 4/4, 0% loss
TCP RST received RST -> connection refused

So the record format and its CRC accounting, RETRIEVE STATS, ENABLE, SET INTERFACE MODE and the WRITE path all hold up against an independent implementation of the other end. Both drivers needed fixes of their own to get there (see irixdayna 3b9ab26 and c4b328d); none of them were here.

Also: exit with an error when --config names a file that does not exist. A missing iris.toml is still fine - that is the "just run it" path - but a config the user named explicitly and that isn't there was silently booting a DEFAULT machine instead: different disks, no DaynaPort, none of what they configured. That cost a full 12-minute build-and-boot cycle to notice, because the relative path was resolved against a different cwd.

danifunker and others added 2 commits August 13, 2026 11:30
…ng --config

The DaynaPort target is now verified end to end against both IRIX drivers
(irixdayna), with no changes needed to the emulation itself:

  rung          IRIX 6.5                       IRIX 5.3
  detected      dp0 at SCSI id 3               dp0 at scsi(0) target 3 lun 0
  MAC read      yes                            00:80:19:44:50:03
  ARP           resolved                       resolved
  ping          replies valid, 0 bad cksums    4/4, 0% loss
  TCP           RST received                   RST -> connection refused

So the record format and its CRC accounting, RETRIEVE STATS, ENABLE, SET
INTERFACE MODE and the WRITE path all hold up against an independent
implementation of the other end. Both drivers needed fixes of their own to get
there (see irixdayna 3b9ab26 and c4b328d); none of them were here.

Also: exit with an error when --config names a file that does not exist. A
missing iris.toml is still fine - that is the "just run it" path - but a config
the user named explicitly and that isn't there was silently booting a DEFAULT
machine instead: different disks, no DaynaPort, none of what they configured.
That cost a full 12-minute build-and-boot cycle to notice, because the relative
path was resolved against a different cwd.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@techomancer
techomancer merged commit 6a4ba57 into techomancer:main Aug 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants