[Geekos-devel] Immediate assertion failures in project 1
Status: Pre-Alpha
Brought to you by:
daveho
From: Joshua G. <jos...@gm...> - 2005-06-06 15:43:09
|
Hello, Moving from project0 to project1 I'm having immediate problems. Here's the output of my bochs tests. Note that this is the output with JUST project1 code, I didn't modify it at all. 8192KB memory detected, 1669 pages in freelist, 1048576 bytes in kernel heap Initializing IDT... Initializing timer... Delay loop: 1824 iterations per tick Initializing keyboard... Initializing DMA Controller... Initializing floppy controller... fd0: cyl=80, heads=2, sectors=18 Initializing IDE controller... Bad magic number (0) for PFAT filesystem Failed to mount /a filesystem Welcome to GeekOS! Starting the Spawner thread... Read_Fully failed to read /c/a.exe from disk Failed assertion in brel: buf != ((void *)0) at ../src/geekos/bget.c, line 836, RA=1360b, thread=0x0000a000 Below is the full bochs.out file, if anyone needs it. Any ideas? Thanks, Josh Bochs.out: 00000000000i[ ] Bochs x86 Emulator 2.2 00000000000i[ ] Build from CVS snapshot on May 28, 2005 00000000000i[ ] System configuration 00000000000i[ ] processors: 1 00000000000i[ ] A20 line support: yes 00000000000i[ ] APIC support: yes 00000000000i[ ] CPU configuration 00000000000i[ ] level: 6 00000000000i[ ] fpu support: yes 00000000000i[ ] paging support: yes, tlb enabled: yes 00000000000i[ ] mmx support: yes 00000000000i[ ] sse support: 1 00000000000i[ ] v8086 mode support: yes 00000000000i[ ] 3dnow! support: no 00000000000i[ ] PAE support: yes 00000000000i[ ] PGE support: yes 00000000000i[ ] PSE support: yes 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[ ] Fast function calls: yes 00000000000i[MEM0 ] allocated memory at 0x40680008. after alignment, vector=0x40681000 00000000000i[MEM0 ] 8.00MB 00000000000i[MEM0 ] rom at 0xf0000/65536 ('/usr/share/bochs/BIOS-bochs-latest') 00000000000i[MEM0 ] rom at 0xc0000/32768 ('/usr/share/bochs/VGABIOS-lgpl-latest') 00000000000i[APIC?] local apic in initializing 00000000000i[APIC?] set APIC ID to 0 00000000000i[APIC0] 80686 00000000000i[APIC0] local apic in CPU apicid=00 initializing 00000000000i[ ] lt_dlhandle is 0x8271158 00000000000i[PLGIN] loaded plugin libbx_unmapped.la 00000000000i[ ] lt_dlhandle is 0x8277fa0 00000000000i[PLGIN] loaded plugin libbx_biosdev.la 00000000000i[ ] lt_dlhandle is 0x8278580 00000000000i[PLGIN] loaded plugin libbx_cmos.la 00000000000i[ ] lt_dlhandle is 0x8278ae8 00000000000i[PLGIN] loaded plugin libbx_dma.la 00000000000i[ ] lt_dlhandle is 0x8279130 00000000000i[PLGIN] loaded plugin libbx_pic.la 00000000000i[ ] lt_dlhandle is 0x8279678 00000000000i[PLGIN] loaded plugin libbx_vga.la 00000000000i[ ] lt_dlhandle is 0x8279b58 00000000000i[PLGIN] loaded plugin libbx_floppy.la 00000000000i[ ] lt_dlhandle is 0x827a338 00000000000i[PLGIN] loaded plugin libbx_harddrv.la 00000000000i[ ] lt_dlhandle is 0x827fed8 00000000000i[PLGIN] loaded plugin libbx_keyboard.la 00000000000i[ ] lt_dlhandle is 0x8273128 00000000000i[PLGIN] loaded plugin libbx_serial.la 00000000000i[ ] lt_dlhandle is 0x8280fd0 00000000000i[PLGIN] loaded plugin libbx_parallel.la 00000000000i[ ] lt_dlhandle is 0x82815d8 00000000000i[PLGIN] loaded plugin libbx_extfpuirq.la 00000000000i[ ] lt_dlhandle is 0x8281058 00000000000i[PLGIN] loaded plugin libbx_gameport.la 00000000000i[ ] lt_dlhandle is 0x8281f08 00000000000i[PLGIN] loaded plugin libbx_speaker.la 00000000000i[IOAP ] initializing I/O APIC 00000000000i[IOAP ] set APIC ID to 1 00000000000i[CMOS ] Using local time for initial clock 00000000000i[CMOS ] Setting initial clock to: Sat Jun 4 13:23:33 2005 (time0=1117916613) 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[CLVGA] interval=30000 00000000000i[CLVGA] CL-GD5430 ISA initialized 00000000000i[PLGIN] init_mem of 'harddrv' plugin device by virtual method 00000000000i[PLGIN] init_mem of 'keyboard' plugin device by virtual method 00000000000i[PLGIN] init_mem of 'serial' plugin device by virtual method 00000000000i[PLGIN] init_mem of 'parallel' plugin device by virtual method 00000000000i[PLGIN] init_mem of 'extfpuirq' plugin device by virtual method 00000000000i[PLGIN] init_mem of 'gameport' plugin device by virtual method 00000000000i[PLGIN] init_mem of 'speaker' plugin device by virtual method 00000000000i[PLGIN] init_dev of 'harddrv' plugin device by virtual method 00000000000i[HD ] Using boot sequence floppy, none, none 00000000000i[HD ] Floppy boot signature check is enabled 00000000000i[PLGIN] init_dev of 'keyboard' plugin device by virtual method 00000000000i[KBD ] will paste characters every 1000 keyboard ticks 00000000000i[PLGIN] init_dev of 'serial' plugin device by virtual method 00000000000i[SER ] com1 at 0x03f8 irq 4 00000000000i[PLGIN] init_dev of 'parallel' plugin device by virtual method 00000000000i[PAR ] parallel port 1 at 0x0378 irq 7 00000000000i[PLGIN] init_dev of 'extfpuirq' plugin device by virtual method 00000000000i[PLGIN] init_dev of 'gameport' plugin device by virtual method 00000000000i[PLGIN] init_dev of 'speaker' plugin device by virtual method 00000000000i[SPEAK] Failed to open /dev/console: No such device 00000000000i[SPEAK] Deactivating beep on console 00000000000i[PLGIN] reset of 'harddrv' plugin device by virtual method 00000000000i[PLGIN] reset of 'keyboard' plugin device by virtual method 00000000000i[PLGIN] reset of 'serial' plugin device by virtual method 00000000000i[PLGIN] reset of 'parallel' plugin device by virtual method 00000000000i[PLGIN] reset of 'extfpuirq' plugin device by virtual method 00000000000i[PLGIN] reset of 'gameport' plugin device by virtual method 00000000000i[PLGIN] reset of 'speaker' plugin device by virtual method 00000004163i[BIOS ] rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $ 00000330070i[KBD ] reset-disable command received 00000451783i[VBIOS] VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ 00000454789i[VBIOS] VBE Bios $Id: vbe.c,v 1.47 2005/05/24 16:50:50 vruppert Exp $ 00000722291e[HD ] device set to 0 which does not exist 00000722584e[HD ] device set to 1 which does not exist 00009611901e[HD ] device set to 0 which does not exist 00009611912i[HD ] disk ata0-0 not present, aborting 00009611965e[HD ] device set to 0 which does not exist 00009612036e[HD ] device set to 1 which does not exist 00009612100e[HD ] device set to 1 which does not exist 00157830000p[SDL ] >>PANIC<< POWER button turned off. 00157830000i[SYS ] Last time is 1117916928 00157830000i[CPU0 ] protected mode 00157830000i[CPU0 ] CS.d_b = 32 bit 00157830000i[CPU0 ] SS.d_b = 32 bit 00157830000i[CPU0 ] | EAX=00000000 EBX=fffffff8 ECX=ffffff00 EDX=000003d4 00157830000i[CPU0 ] | ESP=0000bf4c EBP=0000bf54 ESI=00000000 EDI=00000000 00157830000i[CPU0 ] | IOPL=0 NV UP DI PL NZ NA PO NC 00157830000i[CPU0 ] | SEG selector base limit G D 00157830000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D 00157830000i[CPU0 ] | CS:0008( 0001| 0| 0) 00000000 000fffff 1 1 00157830000i[CPU0 ] | DS:0010( 0002| 0| 0) 00000000 000fffff 1 1 00157830000i[CPU0 ] | SS:0010( 0002| 0| 0) 00000000 000fffff 1 1 00157830000i[CPU0 ] | ES:0010( 0002| 0| 0) 00000000 000fffff 1 1 00157830000i[CPU0 ] | FS:0000( 0000| 0| 0) 00000000 000fffff 1 1 00157830000i[CPU0 ] | GS:0000( 0000| 0| 0) 00000000 000fffff 1 1 00157830000i[CPU0 ] | EIP=00013088 (00013088) 00157830000i[CPU0 ] | CR0=0x00000011 CR1=0 CR2=0x00000000 00157830000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 00157830000i[ ] restoring default signal behavior 00157830000i[CTRL ] quit_sim called with exit code 1 -- [ WebDDM - Web Drop Down Menu, the world's leading open source website menu software - http://www.jportalhome.com/webddm/ ] [ JPortal - Open source software and web development - http://www.jportalhome.com/ ] |