Re: I/O flexpages / new mapping DB issue with overlapping ports

Frank Mehnert <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Organization InnoTek Systemberatung GmbH
Message-ID <[email protected]>
On Wednesday 07 June 2006 18:43, Espen Skoglund wrote:
> [Frank Mehnert]
>
> > Sorry for the delay. I just updated Pistachio from CVS including
> > your latest fixes. Same problem. Enabled VRT_MAP and VRT_MAPCTRL:
>
> [...]
>
> > Assertion isize > newsize failed in file
> > /home-sarge/fm3/src/afterburner/extern/pistachio/kernel/src/generic/vrt.c
> >c, line 346 (fn=f0303151)
>
> Don't think this is the latest version.  According to my sources the
> assertion should be on line 354.  The version I committed should have
> Id 1.8.2.1.  Might be that the checkin I did was not mirrored to the
> outside yet (happens every hour if I recall correctly).

Ok, next try with up-to-date CVS from this morning, using version 1.8.2.1
of vrt.c (my comments in brackets):

  [Requesting I/O flexpage port=0x0000 log2_size=0x10 from Sigma0]

io<f0352020>::map (fp=00004027 [00000000,16] base=00000000) to io<f0352040> 
(fp=00004020 [00000000,16])
Received I/O ports 0000-ffff

  [MR2 was 00004027 after IPC]

--- "enter_kdebug" ---
/mdb> dumpallio
00000000 table [objsize=256  radix=256  count=255] (f0363060)
  00000100 [1] port: 100, space: f0358000
   00000200 [1] port: 200, space: f0358000
   00000300 [1] port: 300, space: f0358000
   00000400 [1] port: 400, space: f0358000
     ...
   0000fd00 [1] port: fd00, space: f0358000
   0000fe00 [1] port: fe00, space: f0358000
   0000ff00 [1] port: ff00, space: f0358000

  [PROBLEM1: although we requested the whole I/O space from Sigma0 we did
   not receive any port below 0x100, right?]

> go

...

  [00800001 requests I/O flexpage port=0x0cfb log2_size=0x00 from root task]

ROOT: Sending ports 0cfb-0cfb to task #08
io<f0352040>::map (fp=0cfb0026 [00000cfb,0] base=00000cfb) to io<f0352060> 
(fp=00004020 [00000000,16])

  [00800001 requests I/O flexpage port=0x0cf8 log2_size=0x02 from root task]

ROOT: Sending ports 0cf8-0cfb to task #08
io<f0352040>::map (fp=0cf80826 [00000cf8,2] base=00000cf8) to io<f0352060> 
(fp=0
0004020 [00000000,16])
Assertion isize > newsize failed in 
file /home-sarge/fm3/src/afterburner/extern/
pistachio/kernel/src/generic/vrt.cc, line 354 (fn=f0303671)
--- "KD# assert" ---

  [This is PROBLEM2]

Please tell me if you need more information.

Frank
-- 
## InnoTek Systemberatung GmbH, http://www.innotek.de ##
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBEh9NG6z8pigLf3EcRAsLMAJ9snT6QRXz6WTMzw65p07grJBZkXwCdH1ty
6ANlx8w4/zMGfyBLlN8dJTE=
=uQe0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.