BlueSCSI / BlueSCSI-v2

Open source, open hardware, SCSI emulator using the Pi Pico PR2040
https://bluescsi.com
GNU General Public License v3.0
237 stars 25 forks source link

Daynaport SCSI link connection doesn't re-connect after wake from sleep. #93

Closed sideburn closed 4 months ago

sideburn commented 11 months ago

I just tested out Androda's 2023 10a PowerBook hardware with the wake from sleep fix and it looks like it has resolved the HD connection issue. I was able to remove my 5v power jumper wire bandaid.

Sleep/wake and the drive "spins up" and resumes within seconds now. No more freeze for several minutes. 👍

The only issue now is resuming the tcp/ip connection.

Upon wake up if you try to connect to something (telnet/Netscape etc) the system will freeze for a few minutes and then show an error that the connection has broken.

Using the Wi-Fi D/A I can re-establish the Wi-Fi connection and I can change between access points but telnet, Netscape etc. connection is broken so it looks like it's also the tcp/ip to Daynaport scsi link.

With open transport I am able to turn tcp/ip off and back on again but have not been able to reliably recover the connection.

If I wait for a timeout and then do a warm reboot the tcp connection re-established. No need to power down and back up.

renekint commented 10 months ago

I have similar issues (Quadra660AV/system7.5.3 & 7.6.1). However, in my case there are a few differences:

My 2c of course ;-)

erichelgeson commented 4 months ago

We had quite a long discussion on sleep/wake https://tinkerdifferent.com/threads/bluescsi-on-macintosh-portable.2764/ (quite long, feel free to skip to the end)

The theory we ended up with is that really a real DaynaPort was not meant to drop power while in use. The driver can not recover gracefully from this. Your solution of keeping it alive while sleeping is the right solution (for now). We're working on some other networking emulation fixes and features that may address this (or may not).