qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1921635] [NEW] ESP SCSI adapter not working with DOS ASPI drivers
@ 2021-03-28 17:29 Hein-PietervanBraam
  2021-03-28 17:30 ` [Bug 1921635] " Hein-PietervanBraam
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Hein-PietervanBraam @ 2021-03-28 17:29 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I have been trying to install the DOS ASPI drivers for the ESP scsi
card. Both in am53c974 and dc390 modes. Neither works but they don't
work in different ways.

The following things appear to be problematic:

* The am53c974 should work with the PcSCSI drivers (AMSIDA.SYS) but the ASPI driver never manages to get past initializing the card. The VM never continues.
* The dc390 ASPI driver fares a little better. The ASPI driver loads and is semi-functional but the drivers for the peripherals don't work.
 - ASPI.SYS (creative name) loads
 - TRMDISK.SYS fails to load when a cd-drive is attached and will crashs scanning the scsi-id where the cd drive is attached
 - TRMDISK.SYS loads without a CD drive attached but fails to read any scsi-hd devices attached. The TFDISK.EXE formatter crashes.
 - TRMCD.SYS loads, but can not detect any CD drives.

The various permutations:
am53c974 hang on ASPI driver load: (CD only attached)

~/src/qemu/build/qemu-system-i386 -m 64 -device am53c974,id=scsi0
-device scsi-cd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0
-drive file=../Windows\ 98\ Second\ Edition.iso,if=none,id=drive0 -vga
cirrus -fda am53c974_aspi.img -bios /home/hp/src/seabios/out/bios.bin
-boot a  -trace 'scsi*' -trace 'esp*' -D log

dc390 crash because of CDROM attachment and loading TRMDISK.SYS (Only CD attached)
~/src/qemu/build/qemu-system-i386 -m 64 -device dc390,id=scsi0,rombar=0 -device scsi-cd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0 -drive file=../Windows\ 98\ Second\ Edition.iso,if=none,id=drive0 -vga cirrus -fda dc390_all.img  -bios /home/hp/src/seabios/out/bios.bin -boot a  -trace 'scsi*' -trace 'esp*' -D log

dc390 successful boot, but TRMDISK.SYS not working (TFDISK.EXE will crash)
~/src/qemu/build/qemu-system-i386 -m 64 -device dc390,id=scsi0 -device scsi-hd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0,logical_block_size=512 -drive file=small.qcow2,if=none,id=drive0 -vga cirrus -fda dc390_all.img -bios /home/hp/src/seabios/out/bios.bin -boot a  -trace 'scsi*' -trace 'esp*' -D log

dc390 successful boot, TRMDISK.SYS not loaded, only TRMCD.SYS. CDROM not detected
~/src/qemu/build/qemu-system-i386 -m 64 -device dc390,id=scsi0,rombar=0 -device scsi-cd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0 -drive file=../Windows\ 98\ Second\ Edition.iso,if=none,id=drive0 -vga cirrus -fda dc390_cd.img  -bios /home/hp/src/seabios/out/bios.bin -boot a  -trace 'scsi*' -trace 'esp*' -D log

All of these tests were done on 7b9a3c9f94bcac23c534bc9f42a9e914b433b299
as well as the 'esp-next' branch found here:
https://github.com/mcayland/qemu/tree/esp-next

The bios file is a seabios master with all int13 support disabled. With
it enabled even less works but I figured this would be a seabios bug and
not a qemu one.

The actual iso and qcow2 files used don't appear the matter. the
'small.qcow2' is an empty drive of 100MB. I have also tried other ISOs
in the CD drives, or even not put any cd in the drives with the same
results.

I will attach all of the above images.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "Seabios patched to disable INT13 support for all controllers"
   https://bugs.launchpad.net/bugs/1921635/+attachment/5481636/+files/bios.bin

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1921635

Title:
  ESP SCSI adapter not working with DOS ASPI drivers

Status in QEMU:
  New

Bug description:
  I have been trying to install the DOS ASPI drivers for the ESP scsi
  card. Both in am53c974 and dc390 modes. Neither works but they don't
  work in different ways.

  The following things appear to be problematic:

  * The am53c974 should work with the PcSCSI drivers (AMSIDA.SYS) but the ASPI driver never manages to get past initializing the card. The VM never continues.
  * The dc390 ASPI driver fares a little better. The ASPI driver loads and is semi-functional but the drivers for the peripherals don't work.
   - ASPI.SYS (creative name) loads
   - TRMDISK.SYS fails to load when a cd-drive is attached and will crashs scanning the scsi-id where the cd drive is attached
   - TRMDISK.SYS loads without a CD drive attached but fails to read any scsi-hd devices attached. The TFDISK.EXE formatter crashes.
   - TRMCD.SYS loads, but can not detect any CD drives.

  The various permutations:
  am53c974 hang on ASPI driver load: (CD only attached)

  ~/src/qemu/build/qemu-system-i386 -m 64 -device am53c974,id=scsi0
  -device scsi-cd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0
  -drive file=../Windows\ 98\ Second\ Edition.iso,if=none,id=drive0 -vga
  cirrus -fda am53c974_aspi.img -bios /home/hp/src/seabios/out/bios.bin
  -boot a  -trace 'scsi*' -trace 'esp*' -D log

  dc390 crash because of CDROM attachment and loading TRMDISK.SYS (Only CD attached)
  ~/src/qemu/build/qemu-system-i386 -m 64 -device dc390,id=scsi0,rombar=0 -device scsi-cd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0 -drive file=../Windows\ 98\ Second\ Edition.iso,if=none,id=drive0 -vga cirrus -fda dc390_all.img  -bios /home/hp/src/seabios/out/bios.bin -boot a  -trace 'scsi*' -trace 'esp*' -D log

  dc390 successful boot, but TRMDISK.SYS not working (TFDISK.EXE will crash)
  ~/src/qemu/build/qemu-system-i386 -m 64 -device dc390,id=scsi0 -device scsi-hd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0,logical_block_size=512 -drive file=small.qcow2,if=none,id=drive0 -vga cirrus -fda dc390_all.img -bios /home/hp/src/seabios/out/bios.bin -boot a  -trace 'scsi*' -trace 'esp*' -D log

  dc390 successful boot, TRMDISK.SYS not loaded, only TRMCD.SYS. CDROM not detected
  ~/src/qemu/build/qemu-system-i386 -m 64 -device dc390,id=scsi0,rombar=0 -device scsi-cd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0 -drive file=../Windows\ 98\ Second\ Edition.iso,if=none,id=drive0 -vga cirrus -fda dc390_cd.img  -bios /home/hp/src/seabios/out/bios.bin -boot a  -trace 'scsi*' -trace 'esp*' -D log

  All of these tests were done on
  7b9a3c9f94bcac23c534bc9f42a9e914b433b299 as well as the 'esp-next'
  branch found here: https://github.com/mcayland/qemu/tree/esp-next

  The bios file is a seabios master with all int13 support disabled.
  With it enabled even less works but I figured this would be a seabios
  bug and not a qemu one.

  The actual iso and qcow2 files used don't appear the matter. the
  'small.qcow2' is an empty drive of 100MB. I have also tried other ISOs
  in the CD drives, or even not put any cd in the drives with the same
  results.

  I will attach all of the above images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1921635/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-08-27 10:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 17:29 [Bug 1921635] [NEW] ESP SCSI adapter not working with DOS ASPI drivers Hein-PietervanBraam
2021-03-28 17:30 ` [Bug 1921635] " Hein-PietervanBraam
2021-03-28 17:30 ` Hein-PietervanBraam
2021-03-28 17:31 ` Hein-PietervanBraam
2021-03-28 17:31 ` Hein-PietervanBraam
2021-03-28 17:38 ` Hein-PietervanBraam
2021-04-05 10:23 ` Mark Cave-Ayland
2021-04-06  2:54 ` Hein-PietervanBraam
2021-05-14 19:03 ` Thomas Huth
2021-07-14  4:17 ` Launchpad Bug Tracker
2021-08-27 10:31 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).