I'm not sure on this.., but it sounds like it is failing on IP=4 from the
beginning of the offset (real CS) for the call to alloc_vm_pages--because of
the lack of physical pages being returned. Now as for the other stuff I am
not really all that sure. I seem to recall that the kernel can be compiled
to have extended debug messages..... If so, then the output of that might
be useful. It is my guess, however, that either plex86 is passing too many
of too few "operands" to the kernel in its call to allocate physical memory.
It might be worth a look.
Kevin, could we run this inside of Bochs & collect the extended machine
code debug that way?
Drew Northup, N1XIM
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Kenneth Arnold
> Sent: Monday, October 09, 2000 1:25 PM
> To: [EMAIL PROTECTED]
> Subject: plex86 and 2.4 coming back...
>
>
> If you remember, a little while back I tried to get plex86 running on
> 2.4-test. Now with 2.4.0-test9...
>
> I got bored again (even though I have very important other things
> to do...)
> and got to hacking around with plex86 again. 2.4 problem traced to
> retrieve_phy_pages. The user-side gets:
>
> Processing command-line options
> Opening VM (/dev/plex86)
> Processing configuration script conf/plex86.conf
> Allocating 4MB of physical memory in VM
> ioctl
> : Cannot allocate memory
>
> and in my kernel logs (with a few inserted printk's):
> host_map_page
> retrieve_phy_pages: P==0
> [so retrieve_phy_pages is returning 0]
> returning page.
> plex86: alloc_vm_pages failed at 4
>
> And that's as far as my feeble mind can comprehend the workings of the
> code. The inline asm in retrieve_phy_pages further serves to bewilder
> me ... Help!
>
> --
> Kenneth Arnold <[EMAIL PROTECTED]>
> Slashdot and K5: kcarnold
> Proudly registered Linux user #180115! See http://counter.li.org/
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCM/CS/E/IT/M/S d?(-)(pu) s:-(:--) a15>? C++(+++) UL+++ P+ L++ E W++(+)
> N? o? K? w--(-) O? M+ V? PS+(++) PE+ Y+ PGP- t+ 5? X? R? tv-(--) b+ DI
> D G e- h! !r !y
> ------END GEEK CODE BLOCK------
>