PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wie installiere ich am besten Bochs?


Senior Sanchez
2007-10-16, 23:17:49
Hi,

Ich brauche Bochs für die Uni und habs kompiliert ausm Source.
Das Problem beim Start ist jetzt allerdings, dass es ne Assertion in der carbon.cc gibt und ich weiß nicht wie ich das beheben soll.


========================================================================
Bochs x86 Emulator 2.3.5
Build from CVS snapshot, on September 16, 2007
========================================================================
00000000000i[ ] fixing default bxshare location ...
00000000000i[ ] now my BXSHARE is /Users/andreas/Desktop/oostubs
00000000000i[ ] reading configuration from .bochsrc
00000000000i[ ] installing carbon module as the Bochs GUI
00000000000i[ ] Bochs x86 Emulator 2.3.5
00000000000i[ ] Build from CVS snapshot, on September 16, 2007
00000000000i[ ] System configuration
00000000000i[ ] processors: 1 (cores=1, HT threads=1)
00000000000i[ ] A20 line support: yes
00000000000i[ ] APIC support: no
00000000000i[ ] CPU configuration
00000000000i[ ] level: 5
00000000000i[ ] TLB enabled: yes
00000000000i[ ] SMP support: no
00000000000i[ ] FPU support: yes
00000000000i[ ] MMX support: yes
00000000000i[ ] SSE support: no
00000000000i[ ] CLFLUSH support: no
00000000000i[ ] v8086 mode support: yes
00000000000i[ ] VME support: yes
00000000000i[ ] 3dnow! support: no
00000000000i[ ] PAE support: no
00000000000i[ ] PGE support: no
00000000000i[ ] PSE support: yes
00000000000i[ ] x86-64 support: no
00000000000i[ ] SEP support: no
00000000000i[ ] Optimization configuration
00000000000i[ ] Guest2HostTLB support: no
00000000000i[ ] RepeatSpeedups support: no
00000000000i[ ] Icache support: no
00000000000i[ ] Host Asm support: yes
00000000000i[ ] Fast function calls: no
00000000000i[ ] Devices configuration
00000000000i[ ] NE2000 support: no
00000000000i[ ] PCI support: no
00000000000i[ ] SB16 support: no
00000000000i[ ] USB support: no
00000000000i[ ] VGA extension support: vbe
00000000000i[MEM0 ] allocated memory at 0x2008000. after alignment, vector=0x2008000
00000000000i[MEM0 ] 32.00MB
00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('/Users/andreas/Desktop/bochs-2.3.5/bios/BIOS-bochs-latest')
00000000000i[MEM0 ] rom at 0xc0000/32768 ('/Users/andreas/Desktop/bochs-2.3.5/bios/VGABIOS-elpin-2.40')
00000000000i[CMOS ] Using local time for initial clock
00000000000i[CMOS ] Setting initial clock to: Tue Oct 16 23:17:08 2007 (time0=1192569428)
00000000000i[DMA ] channel 4 used by cascade
00000000000i[DMA ] channel 2 used by Floppy Drive
00000000000i[FDD ] fd0: 'bootdisk.img' ro=0, h=2,t=80,spt=18
00000000000i[MEM0 ] Register memory access handlers: 000a0000-000bffff
00000000000p[MGUI ] >>PANIC<< failed assertion "gCTable != NULL" at carbon.cc:826

========================================================================
Bochs is exiting with the following message:
[MGUI ] failed assertion "gCTable != NULL" at carbon.cc:826

========================================================================
00000000000i[CTRL ] quit_sim called with exit code 1



Hat jemand ne Idee wie ich das Problem lösen kann oder vllt eine andere Variante um an Bochs unter OS X ranzukommen?


Danke

drdope
2007-10-16, 23:36:27
Die Quick & Dirty Lösung wäre es z.B. via Parallels unter nem virtualisierten XP laufen zu lassen...
;)

Allerdings sehr Dirty imho...

Senior Sanchez
2007-10-16, 23:45:41
nur das problem ist das ich ne gcc toolchain brauche und dazu bräuchte ich unter win xp dann wieder cygwin, wenn ich nicht ständig hin und her kopieren will.

drdope
2007-10-16, 23:52:47
Kannst es auch auch auf nen virtualisierten Linux laufen lassen...
;)
--> http://www.parallels.com/en/products/desktop/

Senior Sanchez
2007-10-16, 23:57:29
Naja, das wäre wirklich die letzte Variante ;) Aber es ist eine Option, die ich in betracht ziehen sollte.

Mir wäre es lieber das ganze nativ unter OS X zu haben.

sidn
2007-10-17, 08:54:27
Hast du mal eine frühere Version versucht? Vielleicht reicht die ja auch.

Senior Sanchez
2007-10-17, 09:12:47
Nee, siehste, das wäre noch ne Variante.

Das werde ich mal ausprobieren.

Senior Sanchez
2007-10-18, 21:21:10
So, Bochs läuft, aber ein neues Problem.

Ich muss etwas kompilieren, dass auch ein passendes bootimage erzeugt.

Nur das kompilieren klappt schon nicht mittels make. Das Problem ist, dass das makefile an ld als Parameter -T und ne Datei übergibt, bei der irgendwie das Standardlinkverhalten geändert wird. Das scheint mit dem GNU ld unter Linux-Systemen zu funktionieren, aber der Mach Link Editor, sprich das ld von OS X, kennt diesen Parameter aber nicht und somit bekomme ich es nicht kompiliert.

Hat jemand ne Idee, was ich machen kann?