Page 1 of 1

GDT Problems

Posted: Wed Jun 09, 2004 3:37 am
by Pulser

Code: Select all

00000725235p[CPU0 ] >>PANIC<< load_seg_reg(): invalid segment register passed!
00000725235i[SYS  ] Last time is 1086777492
00000725235i[XGUI ] Exit.
00000725235i[CPU0 ] protected mode
00000725235i[CPU0 ] CS.d_b = 32 bit
00000725235i[CPU0 ] SS.d_b = 32 bit
00000725235i[CPU0 ] | EAX=60000020  EBX=00000002  ECX=000a0010  EDX=00000000
00000725235i[CPU0 ] | ESP=0000ffff  EBP=00000000  ESI=00007e03  EDI=00007e00
00000725235i[CPU0 ] | IOPL=0 NV UP DI PL NZ NA PO NC
00000725235i[CPU0 ] | SEG selector     base    limit G D
00000725235i[CPU0 ] | SEG sltr(index|ti|rpl)     base    limit G D
00000725235i[CPU0 ] |  DS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00000725235i[CPU0 ] |  ES:0010( 0002| 0|  0) 00000000 000fffff 1 1
00000725235i[CPU0 ] |  FS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00000725235i[CPU0 ] |  GS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00000725235i[CPU0 ] |  SS:0010( 0002| 0|  0) 00000000 000fffff 1 1
00000725235i[CPU0 ] |  CS:0008( 0001| 0|  0) 00000000 000fffff 1 1
00000725235i[CPU0 ] | EIP=0000fd6e (0000fd6c)
00000725235i[CPU0 ] | CR0=0x60000011 CR1=0x00000000 CR2=0x00000000
00000725235i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00000725235i[CPU0 ] >> 8e
00000725235i[CPU0 ] >> fd
00000725235i[CPU0 ] >> : mov ??, bp
00000725235i[CTRL ] quit_sim called with exit code 1
Could someone explain what this error means please? I get it when:

Code: Select all

jmp 0x08:0x9000 ; CodeSel:KernelLocation
The segment must be there.. right?

Re:GDT Problems

Posted: Wed Jun 09, 2004 5:12 am
by Pype.Clicker
the segment is not the problem. The code is. It looks like the processor has crawled memory from 0x9000 to 0xfd6c and doesn't like what it found there.

I'd say that either you're missing a 0 in 0x90000 or that your bootloader missed some parts of your kernel ...

Re:GDT Problems

Posted: Wed Jun 09, 2004 6:03 am
by Pulser
All sorted now. Thanks :D

Code: Select all

jmp 0x90000
Sorted it :) Thank you very much Pype.clicker *bows* :)