Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sun SPARCStation IPX does not like the new RP2040 based Compact, but works fine with the old GigaDevice based Mini #361

Closed
retrotechIIfx opened this issue Dec 27, 2023 · 1 comment

Comments

@retrotechIIfx
Copy link

Recently picked up an RP2040 Compact for use in my SPARCStation IPX. If I boot from a known-good image of SunOS 4.1.4 via the RP2040 based ZuluSCSI, I get constant error messages put out to console about write errors taking place. No such errors occur on a GigaDevice based Mini on the external SCSI port with the same SD card. SCSI2SD, and regular mechanical hard drives have worked on the internal 50 pin cable in the past. The power supply was recapped and is putting out correct voltages.

Error indicated by SunOS:
sd0a: Error for command 'write' Error Level: Fatal Block 48880, Absolute Block 4880 Sense Key: Media Error Vendor 'ZULUSCSI' error code 0xc

ZuluSCSI RP2040 Compact log:
[10ms] Platform: ZuluSCSI RP2040 [10ms] FW Version: 23.07.01-release Jun 30 2023 16:12:07 [11ms] DIP switch settings: debug log 0, termination 1 [11ms] SCSI termination is enabled [12ms] Flash chip size: 4096 kB [14ms] SCSI target/disk mode selected by DIP switch, acting as a SCSI disk [22ms] SD card detected, FAT64 volume size: 14825 MB [22ms] SD MID: 0x02, OID: 0x54 0x4D [22ms] SD Name: SA16G [23ms] SD Date: 7/2021 [23ms] SD Serial: 0x2ACA4954 [31ms] Config file zuluscsi.ini not found, using defaults [34ms] Active configuration: [38ms] -- SelectionDelay = 255 [40ms] -- EnableUnitAttention = No [42ms] -- EnableSCSI2 = Yes [45ms] -- EnableSelLatch = No [47ms] -- MapLunsToIDs = No [49ms] -- EnableParity = Yes [531ms] Finding HDD images in directory /: [533ms] -- Opening /HD3.img for id:3 lun:0 [537ms] ---- Read prefetch enabled: 8192 bytes [557ms] -- Platform supports ROM drive up to 3740 kB [558ms] ---- ROM drive image not detected [558ms] SCSI ID:3 BlockSize:512 Type:0 Quirks:0 ImageSize:2097151kB [661ms] Initialization complete! [51761ms] SCSI ID 3 negotiated synchronous mode 6 MB/s (period 4x45 ns, offset 15 bytes) [58218ms] SDIO checksum error in reception: block 0 calculated 0x907820272794D08E expected 0xCCB1235712B22357 [58219ms] SdioCard::readSector(0x00003D02) failed: 6

@retrotechIIfx
Copy link
Author

Actually, I think I can close this ticket. I will leave the solution - use a faster/better microSD card. This was recommended by a Friend and it looks like it was the problem I was trying to solve tonight all along! The Kioxia 16GB, SanDisk Ultra 16GB, and Netac 8GB cards were not fast enough. A 128GB SanDisk Ultra is working fine so far with no errors printed to the command line.

Looks like the RP2040 HW is fast enough to actually be impacted by lame SD cards! :)

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

No branches or pull requests

1 participant