#824 closed defect (fixed)

erc32sonic network driver produces illegal memory access on initialisation in sparc/erc32 sim

Reported by: rjsmith Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: bsps Version: 4.6
Severity: major Keywords:
Cc: bugs@…, rjsmith@…, jiri@… Blocked By:
Blocking:

Description

Code fails in simulator when attempting to initialise the erc32sonic network driver. Simulator flags an illegal memory access when code attempts to access I/O Area #0 (mapped from 0x10000000 onwards) where the network hardware device should be.

Release:
4.6.1

Environment:
Sun Ultra 10, Solaris 2.7, Atmel ERC32, RTEMS 4.6.1 with sparc/erc32 BSP and network supplement.

How-To-Repeat:
I've used the network demo code (enclosed) to reproduce the problem in the sparc/erc32 sim. Additionally, I've run the same executable in the XGC ERC32 sim to verify that the access is legal.

Attachments (1)

netdemo_qq.tar.gz (3.1 KB) - added by rjsmith on 12/03/06 at 13:31:12.
netdemo_qq.tar.gz

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 03/08/06 at 15:09:04 by Joel Sherrill

Status: assignedwaiting

comment:2 Changed on 03/08/06 at 21:24:56 by Joel Sherrill

Status: waitingclosed

comment:3 Changed on 03/09/06 at 21:02:18 by rjsmith

From: Rob Smith <rjsmith@…>
To: Joel Sherrill <joel.sherrill@…>
Cc: bugs@…, ralf_corsepius@…, chrisj@…,

norume@…, vvv@…, mayes@…,
jiri@…

Subject: Re: RTEMS Re: bsps/824
Date: Thu, 09 Mar 2006 16:02:18 +0000

Joel,


All I can do is report what I've found. I believe the bug is in the
simulator memory address validation procedures, not in the networking
module. It's up to you whether you decide to investigate further, but I
think Jiri's comments refer to a different problem.


I have been unable to find any words in the Network Supplement
documentation saying that it does not work with the simulator, assuming I
have understood you correctly. If this is true, I think it would be worth
stating this clearly in the manuals to save idiots like me wasting their
time trying to make it work ;) or directing them to Jiri's TSIM simulator.


Please let me know if you need any further details.


Rob.


At 14:30 09/03/06, Joel Sherrill wrote:

The simulator is part of gdb and does not include networking. The best we
can do is file this as a PR
with the gdb folks. Jiri wrote the simulator in gdb while at ESA so as
far as I am concerned, his comments
are the definitive answer. He wrote tsim specifically to add capabilities
like this. If you want more than
a basic simulator, you need to move to tsim.




#############################################################


The information contained in this email and any subsequent
correspondence is private and is intended solely for the
intended recipient(s). For those other than the intended
recipient(s) any disclosure, copying, distribution, or any
action taken or omitted to be taken in reliance on such
information is prohibited and may be unlawful.


#############################################################

Changed on 12/03/06 at 13:31:12 by rjsmith

Attachment: netdemo_qq.tar.gz added

netdemo_qq.tar.gz

Note: See TracTickets for help on using tickets.