VirtualBox

Opened 16 years ago

Closed 9 years ago

#2402 closed defect (obsolete)

EComstation (OS/2) crashes during install on 2.0.2 — at Version 13

Reported by: Mario Owned by:
Component: other Version: VirtualBox 3.0.10
Keywords: ECS OS/2 Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

Exception in module: RESOURCE TRAP 000d ERRCD=235c ERACC= ERLIM= etc...

Host Opensuse 11.0 guest ECS 2.0

Tried many options in VB and ECS, nothing works.

Change History (20)

by Mario, 16 years ago

Attachment: VBox.log.2 added

by Mario, 16 years ago

Attachment: VBox.log.3 added

comment:1 by Mario, 16 years ago

This problems was even documented installing ECS 2RC5 in August 08 at Warpstock: http://www.warpstock.org/filemgmt_data/files/vm_inst.pdf just scan for RESOURCE.SYS.

comment:2 by Mario, 16 years ago

Also just tried the 2.0.2 OSE edition had same problem but different log.

by Mario, 16 years ago

Attachment: VBox.log added

comment:3 by Mario, 16 years ago

More info, I was able to install XP as a guest with no problem. Also, this site is very difficult to add/update ticket. I am using Firefox and keep getting TICKET_APPEND privileges are required to perform this operation. Or other problems. Much info I typed was lost and there is no way to know when site will accept info.

comment:4 by Mario, 15 years ago

Update: Tries 2.0.4 on Opensuse 11.0 with latest kernel. No change. Attached log and screen shot.

by Mario, 15 years ago

Attachment: VBox204.log added

by Mario, 15 years ago

Attachment: ecs20 added

comment:5 by Veit Kannegieser, 15 years ago

This is an error in memdisk; the memory size reporting handler for int 15/e820 was depending on the high part of edi beeing zero.

comment:6 by Frank Mehnert, 15 years ago

Veit, can you give some more details? The VirtualBox BIOS does not use the upper part of EDI when filling the buffer.

comment:7 by Veit Kannegieser, 15 years ago

OS2LDR uses various functions to get the size of installed/available memory, including int 15/e820. To reduced the reported size by the size of the allocated memory disk, the code in memboot.bin first call the BIOS to answer the call, and after return check the filled in structure if it must be changed.

Exactly this handler code had used es:edi instead of just es:di for accessing the structure. I have no idea how this mistake happened.

                  ; extended memory ?
                  cmp eax,cs:MemDiskBIOS_Info._phys_addr        ; Anfang<=Memdisk ?
                  ja keine_aenderung_e820       ; nein.

                  add eax,es:[edi].smap.length_lo ; Ende>Memdisk ?
                  adc edx,es:[edi].smap.length_hi
                  test edx,edx
                  jnz patch_SMAP_ext            ; ja.
                  cmp eax,cs:MemDiskBIOS_Info._phys_addr
                  jb keine_aenderung_e820       ; nein.

  patch_SMAP_ext:
                  ; 128 MB -> 121 MB
                  null edx
                  mov eax,cs:MemDiskBIOS_Info._phys_addr
                  sub eax,es:[di].smap.base_lo
                  sbb edx,es:[di].smap.base_hi

                  mov es:[di].smap.length_lo,eax
                  mov es:[di].smap.length_hi,edx

  keine_aenderung_e820:

However there are two things special:

  • a 'normal machine' would not have allowed to use 32 bit offsets larger than 64 Ki to be used in real mode. And if anyone would try, it should fail with invalid opcode exception/interrupt.
  • the code that results in the high part of EDI beeing not 0000xxxx, but 000fxxxx seems to be the the 'PCI install check' in OS2LDR. at about offset 30a9
mov     ax, 0B101h
int     1Ah

jb      loc_0_30C5
cmp     edx, ' ICP'
jnz     loc_0_30C5
or      word_0_B86, 10h

the value in EDI after return in VBox is 000fadb0 (seems ok), for compare in Virtual PC it is 0000ffeb (seems wrong), and on my Thinpad T42p the BIOS does not change the register (this documented to be possible, ok).

comment:8 by Mike, 15 years ago

Still happening in version 2.2.0

comment:9 by Johann H. Addicks, 14 years ago

Problem still the case in version 3.0.10r54097 (Windows XP host, Intel DualCore). Tried again a lot of options/recombination of VT-x, NestedPaging, PAE/NX, ACPI, IO-APIC... tried other OS/2-Boot-CDs and ECS-Demo-Images, running all to the "RESOURCE/Resource.sys-Problem".

comment:10 by Frank Mehnert, 14 years ago

Version: VirtualBox 2.0.2VirtualBox 3.0.10

-jha-, please attach a VBox.log file of such a VM session with VBox 3.0.10. Thank you!

comment:11 by Michael Lueck, 14 years ago

@frank, I just tested it out and get the crash, so will try to figure out how to do attachments in this ticket system.

Host OS: Ubuntu 9.04/32-bit VB: 3.0.12 r54655 installed via the official repository method Guest: Trying to boot the latest eCS 1.2R ISO image.

Aaahh, I see the attach button at the top. So I will post this, then try to attach the log.

by Michael Lueck, 14 years ago

Attachment: VBox.2.log added

VBox.log of crash on a 3.0.12 r54655 build booting eCS 1.2R ISO

comment:12 by Michael Lueck, 14 years ago

Updated to 3.1.2-56127_Ubuntu_jaunty, same old crash with eCS 1.2R. Attaching log file.

Could we please have an update concerning this problem? Thanks and Happy New Year, 2010!

by Michael Lueck, 14 years ago

Attachment: VBox.3.log added

VBox.log from 3.1.2-56127_Ubuntu_jaunty

comment:13 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use