raouf505 / fpos

Automatically exported from code.google.com/p/fpos
GNU General Public License v2.0
0 stars 0 forks source link

Page Fault #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run VMWare Workstation and install FPOS in it (from FPOS ISO). I used
"Other 32bit OS" as OS type selection.
2. Boot the installed OS.
3. Select the OS from the GRUB OS selection menu.

What is the expected output? What do you see instead?
The running OS? I'm sorry and couldn't run this on other systems so not
really sure what came next.

What version of the product are you using? On what operating system?
FreePascal OS 0.01 (on VMWare workstation 6.5.1).

Please provide any additional information below.
This is what I saw on the screen:
---------------------------------------------------------------------------
Installing heap...              [ OK ]

Page Fault Exception
Error Code = 2
EAX        = $FF000004
EBX        = $00047000
ECX        = $FFFFC000
EDX        = $0009F800
ESI        = $000348EC
EDI        = $000348EC
ESP        = $0012A024
EBP        = $0012A03C
CS         = $00000008
DS         = $00000010
ES         = $00000010
FS         = $00000010
GS         = $00000010
SS         = $0012A058
EIP        = $001024DE
EFLAGS     = $00210016
User ESP   = $00047000
Page Fault at $001024DE, Faulting Address = $FF000004
Page is user-mode reserved
_
                                                         FreePascal OS 0.01
---------------------------------------------------------------------------

There was also a continuous system sound/beep, which only stopped when I
killed the OS (from VMware, eg, like you pull off the plug from your PC ;) ).

Original issue reported on code.google.com by uuf6...@gmail.com on 25 Oct 2009 at 7:59

GoogleCodeExporter commented 8 years ago
Yes, that was a glitch in the sound() code I had to work out. Im still working 
thru that code.Had something to 
do with readkey not being implemented and the ISR not giving like it should. 
SHould be fixed.

The current sources are in flux and are currently semi-broken.I just got 
finished with the new RTL.

VMWare is not supported, though it might work. Try VBox or qemu.

We dont use user-mode yet., maybe you are using unstable code. Looks like a GPF 
if you ask me.

--Jazz

Original comment by frazzled...@gmail.com on 21 Dec 2009 at 6:33

GoogleCodeExporter commented 8 years ago
Hello Jazz!

I started worrying this project could have actually died; please don't!
I'm willing to donate my money and time when I see this runnable (a little 
motivation
for you :P).

I would also have liked to help, but I'm a bit new in this field and without 
this
being able to run, I can't play with it.

I'll try this again, wish me luck!

NB: I could help you sort this out under VMWare; I'm the VMWare-kind of guy 
when it
comes to virtualization ;).

Best wishes,
Christian Sciberras.

Original comment by uuf6...@gmail.com on 21 Dec 2009 at 7:42

GoogleCodeExporter commented 8 years ago
"Many people judge that Pascal can't be used to write an OS, this project will 
prove
that they are *WRONG*."

Darn it, you don't know how much I wanted to hear that. One just can't keep 
answering
to the crap *some* C programmers come up with. Pascal being underused is its 
only
"weakness".

Go for it! Make me a proud developer of Pascal!

Original comment by uuf6...@gmail.com on 21 Dec 2009 at 7:47

GoogleCodeExporter commented 8 years ago
it IS working. I need a heap for threads to work ok. Looking here for some old 
sources.Mine are a bit of a mess right now.

Ive moved on. 
Mario is not taking much time with the project. Due to unemployment and other 
reasons, I have kept pushing this as it proves I have something unique to 
offer,despite a bad economy.There is always need for a good programmer is you 
can prove you can beat the competitiion.Already had an offer for subversion 
setup but it didnt work out and I never heard from the guy after the PGP 
message couldn't be read(I had several keys and none apparantly matched what he 
sent me)

More concerned with webspace right now. I lost the DH server I had. Its 
$10/month but they bill in yearly cycles and I cant afford the yearly expense 
right now. I can get the site up with hotsauce and drupal(took me 15 mins) 
again if the server was setup(paid for).I can walk you through it.(or setup two 
lin boxes, net connected and do it yourself, much easier with ubuntu than 
debian but its a single shot method if it doesnt catch the first time.[had a 
local copy of another site at one point and gave up b/c of this.])

subversion needs an SSH account and they(DH) are one of few to give you access 
with unlimited space and bandwidth. TRAC however, is a headache. Google code is 
nice but it has limits. i dont think Mario has the time or knowledge to figure 
out how to set SVN up. I moved to CoffeeOS project on google. SVN is good to go 
and I think I have a C dev from nanoOS who is willing (if I can get the code 
into C or something semi-readable for him).

Less concerned with language as long as the code is stable but asm is difficult 
to read and C and its variants are difficult to debug.[let alone read]

Ive hit some headaches in the past few years, but i think I have something 
SOLID now, I just need time to pull the rabbit out of the hat. What a 
bitflipping nightmare this has been so far but the end of the tunnel is near.

Looks like lspci -n or the equivalent thereof is possible, the guy from nanoOS 
has working code. VMWare and VBox are close enough. Mixed results getting VBox 
to install on custom kerneled ubuntu, but its been done. I needed >2.6.27 for 
my ENE card reader on my netbook. My tower is across the states in storage.I 
think I have VBox on it but i forget if im running OSX or ubuntu on the tower.

I pull from whereever i can get the understanding from as long as licensing 
isnt an issue, and to do that, I had to switch to GPLv3/NewBSD.

It also allows me to use otherwise defunct code from DOS (when needed) that is 
public domain. Copywright isnt the issue, its the licencing. (The other 
headache.Most people pick GPLv2 without thinking of consequences...) I dont 
think will write closed source, but it doesnt mean others cant.

Original comment by frazzled...@gmail.com on 24 Feb 2011 at 12:24

GoogleCodeExporter commented 8 years ago
I can help you with hosting. I currently have a VPS server running at 
HostGator. Problem's space is limited (10gb disk and 250gb b/w). Also, having 
the ability to set it up as I see fit is one big advantage, however, there are 
certain practical limits, such us to ensure existing software requirements do 
not compromise the server.

Original comment by uuf6...@gmail.com on 24 Feb 2011 at 1:00

GoogleCodeExporter commented 8 years ago
on closer inspection:

Looks like VMM was not initing correctly..a problem I am still to date fixing 
at the coffee pages here also on google. Project hasn't died, but allowed more 
open licensing, this was necessary or I would be left in the dark codewise.

2)The HEAP itself was not stable.This has been fixed.
3) On even closer inspection, the vmm REQUIRES a kernel HEAP to work 
correctly.You must MemAlloc(PD [0+1]) to use them at the correct addresses.

The initial VMM did not map in the kernel. (Probably whhy it faulted)

I am however, having allocPage issues after the first page directory...
FFxx xxxx would be correct area after vmm init, however..

I normally use dreamhost.I have to get hosting going again.Im using google for 
now.

Original comment by frazzled...@gmail.com on 9 Aug 2011 at 8:07

GoogleCodeExporter commented 8 years ago
issue needs to be closed. SOLUTION is under heap/vmm/pmm issue below this one.

Original comment by frazzled...@gmail.com on 15 Aug 2011 at 8:33