lenticularis39 / axpbox

AXPbox Alpha emulator
GNU General Public License v2.0
165 stars 16 forks source link

OpenVMS booting hung #94

Closed fsword7 closed 1 year ago

fsword7 commented 1 year ago

I updated axpbox to latest version and re-compiled it when I learned that SCSI command 0x1B was added last month.

I tried to boot OpenVMS 8.4-2L1 from CD but it hung forever after displayed welcome message. It did not show any errors, etc. I had to press ctrl-P to break hung and return back to SRM prompt. I tried it a few times, but it still hung after welcome message displayed.

Does anyone have working-around solution?

lenticularis39 commented 1 year ago

Where exactly does it hang? I can boot OpenVMS 8.4-2L1 and get to the INITIALIZE/PRESERVE prompt just fine (with sym53c810 CD-ROM drive).

fsword7 commented 1 year ago

I tried to boot but it hung after it displayed welcome message. I waited several minutes but it happened nothing. I was able press ctrl-P back to SRM prompt.

Here is session log:

` OpenVMS PALcode V1.98-104, Tru64 UNIX PALcode V1.92-105

starting console on CPU 0 initialized idle PCB initializing semaphores initializing heap initial heap 240c0 memory low limit = 1b0000 heap = 240c0, 17fc0 initializing driver structures initializing idle process PID initializing file system initializing hardware initializing timer data structures lowering IPL CPU 0 speed is 800 MHz create dead_eater create poll create timer create powerup access NVRAM Memory size 256 MB testing memory .. probe I/O subsystem probing hose 1, PCI probing hose 0, PCI probing PCI-to-ISA bridge, bus 1 bus 0, slot 0 -- pka -- NCR 53C810 bus 0, slot 2 -- ewa -- DE500-BA Network Controller starting drivers entering idle loop *** system serial number not set. use set sys_serial_num command. Partition 0, Memory base: 000000000, size: 010000000 initializing GCT/FRU at 1c8000 Initializing pka ewa Memory Testing and Configuration Status Array Size Base Address Intlv Mode


0        256Mb     0000000000000000    4-Way

 256 MB of System Memory

Testing the System Testing the Disks (read only) Testing the Network AlphaServer ES40 Console V7.3-1, built on Feb 27 2007 at 12:57:47 P00>>>sh dev dka0.0.0.0.0 DKA0 RZ58 2000 dka100.1.0.0.0 DKA100 RZ58 2000 dka400.4.0.0.0 DKA400 RRD42 4.5d dva0.0.0.1000.0 DVA0
ewa0.0.0.2.0 EWA0 08-00-2B-E5-40-00 pka0.7.0.0.0 PKA0 SCSI Bus ID 7 P00>>>b dka400 (boot dka400.4.0.0.0 -flags 0) block 0 of dka400.4.0.0.0 is a valid boot block reading 1230 blocks from dka400.4.0.0.0 bootstrap code read in base = 200000, image_start = 0, image_bytes = 99c00(629760) initializing HWRPB at 2000 initializing page table at ff56000 initializing machine state setting affinity to the primary CPU jumping to bootstrap code

OpenVMS (TM) Alpha Operating System, Version V8.4-2L1
                Copyright 2016 VMS Software, Inc.

halted CPU 0

halt code = 1 operator initiated halt PC = ffffffff83244368 P00>>> `

Here is config file:

` sys0 = tsunami { memory.bits = 28; rom.srm = "rom/cl67srmrom.exe"; rom.decompressed = "rom/decompressed.rom"; rom.flash = "rom/flash.rom"; rom.dpr = "rom/dpr.rom";

cpu0 = ev68cb { speed = 800M; icache = true; skip_memtest_hack = false; }

serial0 = serial { port = 21264; }

pci0.0 = sym53c810 { disk0.0 = file { file = "tsaxp1-sys.dsk"; cdrom = false; read_only = false; autocreate_size = 2048M; }

disk0.1 = file
{
  file = "tsaxp1-users.dsk";
  cdrom = false;
  read_only = false;
  autocreate_size = 8192M;
}

disk0.4 = file
{
  file = "dist/alpha0842l1.iso";
  cdrom = true;
  read_only = true;
}

}

pci0.2 = dec21143 { adapter = "br0"; }

pci0.7 = ali { mouse.enabled = false; vga_console = false; }

pci0.19 = ali_usb { } } `

lenticularis39 commented 1 year ago

You have the SCSI card connected to pci0.0, this is not a supported configuration, might be because of some kind of conflict with the ALi IDE bus, even without it enabled (it is integrated on a real AlphaServer ES40 and always appears on pci0.0).

Try changing the SCSI card to a different PCI port, e.g. pci0.1, that should work. I should probably patch AXPbox to print an error in cases when something else than ALi IDE is attached to pci0.0.