Re: [hatari-devel] TT emulation crashes when there is no ACSI drive |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] TT emulation crashes when there is no ACSI drive
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Mon, 5 Aug 2019 18:24:44 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1565022285; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=UwdmI7KAcD/H5tBps4BCiXxb+8ShfNGlKyQ+VU0mVyE=; b=Dk19mz6wKaxVyrSw7SZI3hAgX+7Ti3VZsBYZtTlFj9/yXZYnlKFkKpV4O98lsBodAL fpAZMp+ER9UbihxE4Dl8YZsHZ7s5zu/LonLTnkl472LgpAO+cAxj1zarIDLZtVK6iRZ/ qxZRvhFq+T57GJJjRWrqRTbBrI2UADErI9net+0RX1UU1GysFS45DT4hwV4IBWfHchvh qYsC5ljgygvr6s+1nVZVz6sTLoZw0v2BDcaD3KeoAozdNG0kayuCK//zk8FhPIXlPOHk Mhx2rWb7IPXyFtIEIRinoIGUyb9Kn45VFuIoeKZ3RvGUdj5hmtYCf6oOoI9T4d5xQg2Z evFA==
Hi,
I'm afraid I do not have enough time to check all this. Hope some of the
answers below help.
> Does the issue happen even when there's no NF_SCSIDEV available?
> If yes, could you provide the binary, so that we can test it too?
Note that the binary and the sources are available on
https://www.hddriver.net/en/downloads.html. Can you reproduce the issue
with it? Please also see my attached Hatari config.
> Other questions:
>
> * What program flags (e.g. FASTLOAD) are set for NF_SCSI.PRG? [1]
This does not matter, it also crashes without the fastload bit being set.
>
> * Does presence of TT-RAM affect the problem? [1]
Yes it does. Without TT-RAM there is no crash.
> * What if you start it from a floppy image instead of from GEMDOS HD?
> [1]
>
> * Does the issue happen also with Falcon / TOS v4?
When I tried to switch (in the UI) to TOS 4.04 and Falcon, Hatari crashed:
LSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.8/work/alsa-lib-1.1.8/src/pcm/pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.8/work/alsa-lib-1.1.8/src/pcm/pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.8/work/alsa-lib-1.1.8/src/pcm/pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.8/work/alsa-lib-1.1.8/src/pcm/pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib /var/tmp/portage/media-plugins/alsa-plugins-1.1.8/work/alsa-plugins-1.1.8/usb_stream/pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib /var/tmp/portage/media-plugins/alsa-plugins-1.1.8/work/alsa-plugins-1.1.8/usb_stream/pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
hatari: /var/tmp/portage/media-libs/portaudio-19.06.00-r1/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c:3636: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed.
>
> * Which TOS version you're using with TT, EmuTOS or TOS 3.x? [1]
Plain TOS 3.0.6. Also see my attached configuration.
Best regards
Uwe
> > Still, with Hatari 2.2 (instead of 2.2.1) and with Aranym there is no
> > such issue.
>
> According to your earlier mail, 2.2.1 worked also fine:
> "This may be due to a recent change, but the only thing I can say is
> that there was no such issue with a Hatari 2.2.1 version I compiled
> in February."
>
> After 2.2.x, I think there have been only following potentially
> relevant changes:
> * Support FASTLOAD program flag with GEMDOS HD (Thomas) [1]
> * Support for TT MFP (Nicolas)
>
> [1] My current guess is that it's something related to FASTLOAD.
>
>
> - Eero
>
> >> Hi,
> >>
> >> I can reproduce this again, I just forgot to disabled ACSI drives the
> >> last time.
> >> Hatari crashes with the SCSI Driver for Linux (see
> >> https://www.hddriver.net/en/downloads.html). Note that this was not the
> >> case with Hatari in the past, and there is also no crash with Aranym.
> >>
> >> Take care
> >>
> >> Uwe
> >>
> >>> Hi,
> >>>
> >>> I'm afraid I could reproduce the crash this morning, but not this
> >>> afternoon :-(.
> >>>
> >>> Has this issue been addresse in any way since I reported it. When I
> >>> reported it as far as I can tell, it was quite clear which changes might
> >>> have caused this issue.
> >>>
> >>> Best regards
> >>>
> >>> Uwe
> >>>
> >>>> Did you ever find out *which* of your AUTO folder programs is causing
> >>>> the crash? I guess, otherwise the Hatari developers won't be able to
> >>>> figure out the problem.
> >>>>
> >>>> Regards
> >>>> Christian
> >>>>
> >>>> Uwe Seimet schrieb:
> >>>>> Hi all,
> >>>>>
> >>>>> Any news on this?
> >>>>>
> >>>>> Best regards
> >>>>>
> >>>>> Uwe
> >>>>>
> >>>>>> Hi Thomas,
> >>>>>>
> >>>>>>> Uwe, I can not reproduce that crash here. Your crash information
> >>>>>>> contained "PC=$fa005c" ... that's in the cartridge space... Are you
> >>>>>>> using a GEMDOS drive? With AUTO folder? If so, could you temporarily
> >>>>>>> rename the AUTO folder, to see whether it makes a difference? If not,
> >>>>>>> disable the GEMDOS drive?
> >>>>>>> Or are you maybe using an extended VDI resolution? If so, does the
> >>>>>>> crash go away when you disable it?
> >>>>>>> If that all does not help, could you please send your hatari.cfg file
> >>>>>>> and the exact parameters that you use to run Hatari?
> >>>>>>
> >>>>>> Yes, I'm using a GEMDOS drive with AUTO folder. After renaming the AUTO
> >>>>>> folder there is no crash anymore.
> >>>>>>
> >>>>>> Best regards
> >>>>>>
> >>>>>> Uwe
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Christian Zietz - CHZ-Soft - czietz@xxxxxxx
> >>>> WWW: http://www.chzsoft.de/
> >>>> PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>
>
[Log]
sLogFileName = stderr
sTraceFileName = stderr
nTextLogLevel = 4
nAlertDlgLogLevel = 1
bConfirmQuit = FALSE
bNatFeats = TRUE
bConsoleWindow = FALSE
[Screen]
nMonitorType = 0
nFrameSkips = 5
bFullScreen = FALSE
bAllowOverscan = FALSE
nSpec512Threshold = 16
nForceBpp = 0
bUseExtVdiResolutions = FALSE
nVdiWidth = 1280
nVdiHeight = 960
nVdiColors = 0
bShowStatusbar = FALSE
bShowDriveLed = FALSE
bAspectCorrect = TRUE
bCrop = FALSE
nMaxWidth = 832
nMaxHeight = 576
bKeepResolution = FALSE
bForceMax = FALSE
bMouseWarp = TRUE
nRenderScaleQuality = 0
bUseVsync = FALSE
bResizable = FALSE
bUseSdlRenderer = TRUE
[Joystick0]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 1
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl
[Joystick1]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 0
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl
[Joystick2]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 2
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl
[Joystick3]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 3
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl
[Joystick4]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 4
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl
[Joystick5]
nJoystickMode = 0
bEnableAutoFire = FALSE
bEnableJumpOnFire2 = FALSE
nJoyId = 5
kUp = Up
kDown = Down
kLeft = Left
kRight = Right
kFire = Right Ctrl
[Keyboard]
bDisableKeyRepeat = TRUE
nKeymapType = 1
szMappingFileName =
[ShortcutsWithModifiers]
keyOptions = 111
keyFullScreen = 102
keyMouseMode = 109
keyColdReset = 99
keyWarmReset = 114
keyScreenShot = 103
keyBossKey = 105
keyCursorEmu = 106
keyFastForward = 120
keyRecAnim = 97
keyRecSound = 121
keySound = 115
keyPause = 0
keyDebugger = 19
keyQuit = 113
keyLoadMem = 108
keySaveMem = 107
keyInsertDiskA = 100
[ShortcutsWithoutModifiers]
keyOptions = 293
keyFullScreen = 292
keyMouseMode = 0
keyColdReset = 0
keyWarmReset = 0
keyScreenShot = 0
keyBossKey = 0
keyCursorEmu = 0
keyFastForward = 0
keyRecAnim = 0
keyRecSound = 0
keySound = 0
keyPause = 19
keyDebugger = 0
keyQuit = 0
keyLoadMem = 0
keySaveMem = 0
keyInsertDiskA = 0
[Sound]
bEnableSound = FALSE
nPlaybackFreq = 44100
szYMCaptureFileName = /home/us/hatari.wav
bEnableMicrophone = TRUE
nSdlAudioBufferSize = 0
YmVolumeMixing = 2
bEnableSoundSync = FALSE
[Memory]
nMemorySize = 8192
bAutoSave = FALSE
szMemoryCaptureFileName = /home/us/.hatari/hatari.sav
szAutoSaveFileName = /home/us/.hatari/auto.sav
nTTRamSize = 16384
[Floppy]
bAutoInsertDiskB = TRUE
nWriteProtection = 0
szDiskAZipPath =
szDiskAFileName =
szDiskBZipPath =
szDiskBFileName =
szDiskImageDirectory = /home/us/hatari
FastFloppy = FALSE
EnableDriveA = FALSE
EnableDriveB = FALSE
DriveA_NumberOfHeads = 2
DriveB_NumberOfHeads = 2
[HardDisk]
bBootFromHardDisk = TRUE
bUseHardDiskDirectory = TRUE
szHardDiskDirectory = /home/us/TT
#szIdeMasterHardDiskImage = /dev/sdh
#szIdeSlaveHardDiskImage = /dev/sdc
nWriteProtection = 0
nGemdosCase = 0
nGemdosDrive = 0
bFilenameConversion = FALSE
bGemdosHostTime = FALSE
[ROM]
szTosImageFileName = /opt/atari/tos306de.img
#szTosImageFileName = /opt/atari/etos512k.img
szCartridgeImageFileName =
bPatchTos = TRUE
[RS232]
bEnableRS232 = FALSE
szOutFileName = /dev/modem
szInFileName = /dev/modem
[Printer]
bEnablePrinting = TRUE
szPrintToFileName = /tmp/prn.out
[Midi]
bEnableMidi = FALSE
sMidiInFileName = /dev/snd/midiC1D0
sMidiOutFileName = /dev/snd/midiC1D0
sMidiInPortName = Off
sMidiOutPortName = Off
[System]
nCpuLevel = 3
nCpuFreq = 32
bCompatibleCpu = FALSE
bBlitter = FALSE
nDSPType = 0
bPatchTimerD = TRUE
bFastForward = TRUE
bAddressSpace24 = FALSE
bCycleExactCpu = FALSE
n_FPUType = 68882
bMMU = FALSE
bFastBoot = TRUE
nModelType = 4
VideoTiming = 3
bSoftFloatFPU = FALSE
[Debugger]
nNumberBase = 10
nDisasmLines = 8
nMemdumpLines = 8
nDisasmOptions = 15
bDisasmUAE = FALSE
nSymbolLines = -1
nExceptionDebugMask = 515
bSymbolsResident = FALSE
bMatchAllSymbols = FALSE
[Video]
AviRecordVcodec = 2
AviRecordFps = 0
AviRecordFile = /home/us/test/hatari/hatari.avi
[ACSI]
bUseDevice1 = FALSE
sDeviceFile1 = /home/us/hatari/aranym.img
bUseDevice2 = FALSE
sDeviceFile2 = /home/us/hatari/win.img
bUseDevice3 = FALSE
sDeviceFile3 = /home/us/TT/D/HDDRUTIL
bUseDevice4 = FALSE
sDeviceFile4 = /home/us/TT/D/HDDRUTIL
bUseDevice5 = FALSE
sDeviceFile5 = /home/us/TT/D/HDDRUTIL
bUseDevice6 = FALSE
sDeviceFile6 = /home/us/TT/D/HDDRUTIL
bUseDevice7 = FALSE
sDeviceFile7 = /home/us/TT/D/HDDRUTIL
bUseDevice0 = TRUE
sDeviceFile0 = /home/us/hatari/aranym.img
nBlockSize0 = 512
nBlockSize1 = 512
nBlockSize2 = 512
nBlockSize3 = 512
nBlockSize4 = 512
nBlockSize5 = 512
nBlockSize6 = 512
nBlockSize7 = 512
[ShortcutsWithModifiers2]
keyOptions = 111
keyFullScreen = 102
keyMouseMode = 109
keyColdReset = 99
keyWarmReset = 114
keyScreenShot = 103
keyBossKey = 105
keyCursorEmu = 106
keyFastForward = 120
keyRecAnim = 97
keyRecSound = 121
keySound = 115
keyPause = 0
keyDebugger = 1073741896
keyQuit = 113
keyLoadMem = 108
keySaveMem = 107
keyInsertDiskA = 100
keySwitchJoy0 = 1073741882
keySwitchJoy1 = 1073741883
keySwitchPadA = 1073741884
keySwitchPadB = 1073741885
[ShortcutsWithoutModifiers2]
keyOptions = 1073741893
keyFullScreen = 1073741892
keyMouseMode = 0
keyColdReset = 0
keyWarmReset = 0
keyScreenShot = 0
keyBossKey = 0
keyCursorEmu = 0
keyFastForward = 0
keyRecAnim = 0
keyRecSound = 0
keySound = 0
keyPause = 1073741896
keyDebugger = 0
keyQuit = 0
keyLoadMem = 0
keySaveMem = 0
keyInsertDiskA = 0
keySwitchJoy0 = 0
keySwitchJoy1 = 0
keySwitchPadA = 0
keySwitchPadB = 0
[KeyShortcutsWithMod]
kOptions = O
kFullScreen = F
kMouseMode = M
kColdReset = C
kWarmReset = R
kScreenShot = G
kBossKey = I
kCursorEmu = J
kFastForward = X
kRecAnim = A
kRecSound = Y
kSound = S
kPause =
kDebugger = Pause
kQuit = Q
kLoadMem = L
kSaveMem = K
kInsertDiskA = D
kSwitchJoy0 = F1
kSwitchJoy1 = F2
kSwitchPadA = F3
kSwitchPadB = F4
kBorders = B
[KeyShortcutsWithoutMod]
kOptions = F12
kFullScreen = F11
kMouseMode =
kColdReset =
kWarmReset =
kScreenShot =
kBossKey =
kCursorEmu =
kFastForward =
kRecAnim =
kRecSound =
kSound =
kPause = Pause
kDebugger =
kQuit =
kLoadMem =
kSaveMem =
kInsertDiskA =
kSwitchJoy0 =
kSwitchJoy1 =
kSwitchPadA =
kSwitchPadB =
kBorders =
[SCSI]
bUseDevice0 = FALSE
sDeviceFile0 = /home/us/hatari/hatari
bUseDevice1 = FALSE
sDeviceFile1 = /home/us/hatari/hatari
bUseDevice2 = FALSE
sDeviceFile2 = /home/us/hatari/hatari
bUseDevice3 = FALSE
sDeviceFile3 = /home/us/hatari/hatari
bUseDevice4 = FALSE
sDeviceFile4 = /home/us/hatari/hatari
bUseDevice5 = FALSE
sDeviceFile5 = /home/us/hatari/hatari
bUseDevice6 = FALSE
sDeviceFile6 = /home/us/hatari/hatari
nBlockSize0 = 512
nBlockSize1 = 512
nBlockSize2 = 512
nBlockSize3 = 512
nBlockSize4 = 512
nBlockSize5 = 512
nBlockSize6 = 512
bUseDevice7 = FALSE
sDeviceFile7 = /home/us
nBlockSize7 = 512
[IDE]
bUseDevice0 = TRUE
nByteSwap0 = 0
sDeviceFile0 = /home/us/hatari/master.img
nBlockSize0 = 512
bUseDevice1 = TRUE
nByteSwap1 = 0
sDeviceFile1 = /home/us/hatari/slave.img
nBlockSize1 = 512
nDeviceType1 = 0
nDeviceType0 = 0