[Prev][Next][Index][Thread]

Re: sproc - assertion "vm" failed - in Bochs IA32 emulator



 --- k-abe@media.osaka-cu.ac.jp wrote: > Hi,
Thanks for the reply - I havent had much time recently
and have hit against a problem which has held me
up(see more recent posting). 

> example, I only tested the UVM/sproc code on Pentium
> class CPU so
> there might be a problem on 486 class.  So, please
> let me know the
> detail of your hardware configuration and the boot
> loader you are
> using.  (I only tested on GRUB-NetBoot).

I'm using bochs IA32 emulator so the hardware I'm
using is whatever this emulates - according to their
web site this emulates a 486 but acording to the title
on the window it emulates a pentium. I've added a bit
to the kernel to identify the cpu using oskit's cpuid
- when I get things going again I'll let you know what
it reports. I'm using GRUB as bootloader on a hard
disk image. 

> This assertion failure means, 
> 
> - a page fault occured,
> - and the accessed memory address that caused the
> page fault is outside
>   the kernel region (i.e. the fault occured in a
> user address space),
> - but no virtual address space is associated with
> current running
>   thread.

I had kinda come to this conclusion frnm looking at
the code where the assertion was occuring, which is a
bit strange I thought because the kernel had not go to
the point where it was creating attempting to create
any user properties.

Thanks again and I hope to get back to you with more
details soon. 

Ryan

> Also, if possible, please send the results of GDB
> commands "where",
> "p/x *p" and "p/x va" when the assertion failed.

I'll also do this and let you know the result shortly.

> 
> Seems it is the same problem Mr. Chung reported. 
> 
> This assertion failure means, 
> 
> - a page fault occured,
> - and the accessed memory address that caused the
> page fault is outside
>   the kernel region (i.e. the fault occured in a
> user address space),
> - but no virtual address space is associated with
> current running
>   thread.
> 
> Hum..  The problem might depend on hardware
> configuration.  For
> example, I only tested the UVM/sproc code on Pentium
> class CPU so
> there might be a problem on 486 class.  So, please
> let me know the
> detail of your hardware configuration and the boot
> loader you are
> using.  (I only tested on GRUB-NetBoot).
> 
> Also, if possible, please send the results of GDB
> commands "where",
> "p/x *p" and "p/x va" when the assertion failed.
> 
> Kota
> 
> At Fri, 12 Apr 2002 21:56:52 +0100 (BST),
> Ryan Baldwin <ryanb486@yahoo.co.uk> wrote:
> > 
> > Hello, 
> > 
> > I've been trying to run the example from the sproc
> > directory from the 20020317 snapshot. I'm using
> the
> > bochs 1.3 IA32 emulator to run the example. 
> > 
> > The problem is that assertion "vm" fails on line
> 110
> > of /uvm/uvm/oskit_uvm_pfault.c
> > 
> > The preceeding output is:
> > 
> > UVM: page directory pa = 1153000, PTE_BASE =
> > 0x3f800000
> > UVM: loaded physical memory block [0x115c000 -
> > 0x1fffffff ]
> > UVM: loaded physical memory block [0x4c4000 -
> > 0xa19fff]
> > UVM: 20456 KB (5114 pages) reserved
> > UVM: kernel VA starts at 0x2000000
> > 
> > I am new to this source code and currently working
> > through it to see if I can find what might be the
> > problem, but if someone knows what is causing this
> I
> > would be very greatfull for some help.
> > 
> > Thanks 
> > 	Ryan
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

References: