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

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Marc LE DOUARAIN" <mledouarain@garbarini.com>] (fwd)



>From owner-rtl Thu May 17 09:48:19 2001
Received: from fayat-genest.fr (mailhost.fayat-genest.fr [213.56.199.1])
	by hq.fsmlabs.com (8.11.2/8.11.2) with SMTP id f4HFmFr18169
	for <rtl@fsmlabs.com>; Thu, 17 May 2001 09:48:16 -0600
Received: from GROUPE#032#FAYAT-GENEST#032#SEC-Message_Server by fayat-genest.fr
	with Novell_GroupWise; Thu, 17 May 2001 17:43:05 +0200
Message-Id: <sb040da9.099@fayat-genest.fr>
X-Mailer: Novell GroupWise 5.5.2
Date: Thu, 17 May 2001 18:02:09 +0200
From: "Marc LE DOUARAIN" <mledouarain@garbarini.com>
To: <rtl@fsmlabs.com>
Cc: "Patrick VIGOT" <pvigot@garbarini.com>
Subject: Shared memory with Lilo and __va()
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hq.fsmlabs.com id f4HFmJr18170

Hello,

I've tried sharing memory on RTLinux as explained in the Shared Memory HOWTO :

I've 64Megs RAM on the computer...
With Lilo, I set to use only 31m with append="mem=31m"

I do the following define :
#define ADDRESS (31*0x100000)

In the real-time module , I have the following :
my_structure * Params = ADDRESS;

And when I insmod the real-time module, I get the following error :
"Unable to handle kernel paging request"

Any idea?


I've tried the same code on another computer (128Megs RAM) using also 31m with Lilo, and all is working perfectly...

I've tried on the first computer with incorrect #define ADDRESS (5*0x100000), strange, I've no more the error, but datas seems not to be shared...

Many Thanks.