Page 1 of 1

[BUG] OS2 SCSI boot failures

Posted: Mon 16 Apr, 2018 6:49 pm
by win2kgamer
OS/2 2.x fails to boot from the hard drive after installation completes when using the Adaptec AHA-1542C SCSI controller, displaying the following message:

Code: Select all

A disk read error occurred.
Insert a system diskette and restart
the system.
OS/2 2.x boots correctly if I either use an IDE disk controller or if I rename AHA154x.ADD to prevent it from loading, forcing OS/2 2.x to use the INT13 fallback.

OS/2 Warp 3.0 will display a TRAP error after the splash screen when using the Adaptec SCSI controller:
OS2v3_AHA1542_TRAP.png
OS2v3_AHA1542_TRAP.png (18.9 KiB) Viewed 8590 times
Using an IDE controller with an ATAPI CD-ROM works correctly.

PCem configuration used for both systems:
Machine: AMI 486 clone
CPU: Intel i486DX2/66
Dynamic recompiler: enabled (also tested with the recompiler disabled)
Memory: 16MB
Video: Tseng ET4000AX
Sound: Sound Blaster Pro v2 (IO 220, IRQ 7, DMA 1)
HDD: Adaptec AHA-1542C (IO 330, IRQ 11, DMA 5, HBA SCSI ID 7)
FDD1: 3.5" 1.44M
FDD2: 5.25" 1.2M
HDD is on SCSI ID 0
CDROM is on SCSI ID 2
Mouse: Microsoft 2-button mouse (serial)
Network: None

Re: [BUG] OS2 SCSI boot failures

Posted: Thu 16 May, 2019 5:16 am
by win2kgamer
As of the current dev build (ac37538), both issues are fixed. OS/2 2.1 and Warp 3.0 work properly with the Adaptec AHA-1542C and detect the SCSI CD-ROM. OS/2 2.0 boots correctly now but will not detect the CD-ROM drive (but for all I know that could have happened on real hardware too).

Re: [BUG] OS2 SCSI boot failures

Posted: Thu 16 May, 2019 7:17 am
by ppgrainbow
Have you had any luck getting OS/2 2.1 to work with the "DISKCACHE=D,LW,AC:C" enabled in the CONFIG.SYS file? I tried that and for some obvious reason, OS/2 2.1 doesn't seem to start up correctly. The OS ends up booting to a pale light gray desktop (or cyan coloured desktop if on OS/2 2.11) with no icons in the background. Restarting doesn't help.

I can't test this on PCem, because I'm using the original PCem v14 build and not the dev build.

Re: [BUG] OS2 SCSI boot failures

Posted: Fri 17 May, 2019 8:42 pm
by win2kgamer
OS/2 2.11 works with "DISKCACHE=1024,LW,AC:C" in CONFIG.SYS when using the Adaptec AHA-1542C (I haven't tested it with IDE.) Using "D" in place of 1024 simply results in a warning at startup that the DISKCACHE line is invalid.

Re: [BUG] OS2 SCSI boot failures

Posted: Fri 17 May, 2019 9:00 pm
by ppgrainbow
win2kgamer wrote: Fri 17 May, 2019 8:42 pm OS/2 2.11 works with "DISKCACHE=1024,LW,AC:C" in CONFIG.SYS when using the Adaptec AHA-1542C (I haven't tested it with IDE.) Using "D" in place of 1024 simply results in a warning at startup that the DISKCACHE line is invalid.
I actually have the DISKCACHE parameter disabled as enabling it may only cause OS/2 2.1x to start up properly.