Menu

#1 New BinUtils (20050520-1) breaks GeekOs in Cygwin

open
nobody
None
5
2014-10-17
2005-06-02
No

When project0 is compiled using the the new version of
BinUtils, version 20050520-1, the image file created
will not start in Bochs. The following error is given:

00000000000i[ ] installing win32 module as the
Bochs GUI
00000000000i[ ] using log file ./bochs.out
Failed assertion in Add_Page_Range: start < end at
../src/geekos/mem.c, line 65,
RA=11fbd, thread=0x00000000

The bochs.log file is as follows:
00000000000i[ ] Bochs x86 Emulator 2.1.1
00000000000i[ ] February 08, 2004
00000000000i[ ] System configuration
00000000000i[ ] processors: 1
00000000000i[ ] A20 line support: yes
00000000000i[ ] APIC support: no
00000000000i[ ] CPU configuration
00000000000i[ ] level: 5
00000000000i[ ] fpu support: yes
00000000000i[ ] paging support: yes, tlb enabled: yes
00000000000i[ ] mmx support: yes
00000000000i[ ] sse support: no
00000000000i[ ] v8086 mode support: yes
00000000000i[ ] 3dnow! support: no
00000000000i[ ] PAE support: no
00000000000i[ ] PGE support: no
00000000000i[ ] PSE support: no
00000000000i[ ] x86-64 support: no
00000000000i[ ] SEP support: no
00000000000i[ ] Optimization configuration
00000000000i[ ] Guest2HostTLB support: yes
00000000000i[ ] RepeatSpeedups support: yes
00000000000i[ ] Icache support: yes
00000000000i[ ] Host Asm support: yes
00000000000i[MEM0 ] allocated memory at 01330020. after
alignment, vector=013310
00
00000000000i[MEM0 ] 8.00MB
00000000000i[MEM0 ] rom at 0xf0000/65536 ('C:\Program
Files\Bochs-2.1.1\BIOS-boc
hs-latest')
00000000000i[MEM0 ] rom at 0xc0000/29664 ('C:\Program
Files\Bochs-2.1.1\VGABIOS-
lgpl-latest')
00000000000i[CMOS ] Using local time for initial clock
00000000000i[CMOS ] Setting initial clock to: Wed Jun
01 23:31:23 2005 (time0=11
17677683)
00000000000i[DMA ] channel 4 used by cascade
00000000000i[DMA ] channel 2 used by Floppy Drive
00000000000i[FDD ] fd0: 'fd.img' ro=0, h=2,t=80,spt=18
00000000000i[WGUI ] IME disabled
00000000000i[VGA ] interval=300000
00000000000i[VGA ] VBE Bochs Display Extension Enabled
00000000000i[ ] init_mem of 'harddrv' plugin device
by virtual method
00000000000i[ ] init_mem of 'keyboard' plugin
device by virtual method
00000000000i[ ] init_mem of 'serial' plugin device
by virtual method
00000000000i[ ] init_mem of 'parallel' plugin
device by virtual method
00000000000i[ ] init_mem of 'extfpuirq' plugin
device by virtual method
00000000000i[ ] init_mem of 'gameport' plugin
device by virtual method
00000000000i[ ] init_dev of 'harddrv' plugin device
by virtual method
00000000000i[HD ] Boot device will be 'a'
00000000000i[HD ] Floppy boot signature check is enabled
00000000000i[ ] init_dev of 'keyboard' plugin
device by virtual method
00000000000i[KBD ] will paste characters every 1000
keyboard ticks
00000000000i[ ] init_dev of 'serial' plugin device
by virtual method
00000000000i[SER ] com1 at 0x03f8 irq 4
00000000000i[ ] init_dev of 'parallel' plugin
device by virtual method
00000000000i[PAR ] parallel port 1 at 0x378 irq 7
00000000000i[ ] init_dev of 'extfpuirq' plugin
device by virtual method
00000000000i[ ] init_dev of 'gameport' plugin
device by virtual method
00000000000i[ ] reset of 'harddrv' plugin device by
virtual method
00000000000i[ ] reset of 'keyboard' plugin device
by virtual method
00000000000i[ ] reset of 'serial' plugin device by
virtual method
00000000000i[ ] reset of 'parallel' plugin device
by virtual method
00000000000i[ ] reset of 'extfpuirq' plugin device
by virtual method
00000000000i[ ] reset of 'gameport' plugin device
by virtual method
00000004325i[BIOS ] rombios.c,v 1.103.2.2 2004/02/02
22:39:22 cbothamy Exp $
00000318066i[KBD ] reset-disable command received
00000321751i[VBIOS] VGABios $Id: vgabios.c,v 1.38
2003/11/05 23:21:19 cbothamy E
xp $
00000321982i[VGA ] VBE known Display Interface b0c2
00000322067i[VGA ] VBE known Display Interface b0c0
00000325012i[VBIOS] VBE Bios $Id: vbe.c,v 1.35
2003/11/03 20:57:01 vruppert Exp
$
00000325127i[VGA ] VBE known Display Interface b0c2
00000527463i[VGA ] VBE known Display Interface b0c2
00000600000i[WGUI ] dimension update x=720 y=400
fontheight=16 fontwidth=9 bpp=8

00000614373e[HD ] device set to 0 which does not exist
00000614666e[HD ] device set to 1 which does not exist
-1191103048p[ ] >>PANIC<< SIGNAL 2 caught
-1191103048i[SYS ] Last time is 1117685081
-1191103048i[CPU ] protected mode
-1191103048i[CPU ] CS.d_b = 32 bit
-1191103048i[CPU ] SS.d_b = 32 bit
-1191103048i[CPU ] | EAX=00000000 EBX=00006000
ECX=ffffff00 EDX=000003d4
-1191103048i[CPU ] | ESP=00101f74 EBP=00101f9c
ESI=00000800 EDI=00101ff8
-1191103048i[CPU ] | IOPL=0 NV UP DI PL NZ NA PO NC
-1191103048i[CPU ] | SEG selector base limit G D
-1191103048i[CPU ] | SEG sltr(index|ti|rpl) base
limit G D
-1191103048i[CPU ] | DS:0010( 0002| 0| 0) 00000000
000fffff 1 1
-1191103048i[CPU ] | ES:0010( 0002| 0| 0) 00000000
000fffff 1 1
-1191103048i[CPU ] | FS:0010( 0002| 0| 0) 00000000
000fffff 1 1
-1191103048i[CPU ] | GS:0010( 0002| 0| 0) 00000000
000fffff 1 1
-1191103048i[CPU ] | SS:0010( 0002| 0| 0) 00000000
000fffff 1 1
-1191103048i[CPU ] | CS:0008( 0001| 0| 0) 00000000
000fffff 1 1
-1191103048i[CPU ] | EIP=00011dc5 (00011dc5)
-1191103048i[CPU ] | CR0=0x60000011 CR1=0x00000000
CR2=0x00000000
-1191103048i[CPU ] | CR3=0x00000000 CR4=0x00000000
-1191103048i[ ] restoring default signal behavior
-1191103048i[CTRL ] quit_sim called with exit code 1
-1191102592p[WGUI ] >>PANIC<< Window closed, exiting!
-1191102592i[CTRL ] quit_sim called with exit code 1

This error is corrected if you install the older
version of BinUtils, 20041229-1, that comes with Cygwin
2.457.2.2.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.