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

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Norm Dresner" <ndrez@att.net>] (fwd)



>From owner-rtl Thu May 17 19:02:25 2001
Received: from mtiwmhc23.worldnet.att.net (mtiwmhc23.worldnet.att.net [204.127.131.48])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4I12Pr22963
	for <rtl@rtlinux.org>; Thu, 17 May 2001 19:02:25 -0600
Received: from thedm ([12.79.109.9]) by mtiwmhc23.worldnet.att.net
          (InterMail vM.4.01.03.16 201-229-121-116-20010115) with SMTP
          id <20010518005740.PBHV8745.mtiwmhc23.worldnet.att.net@thedm>
          for <rtl@rtlinux.org>; Fri, 18 May 2001 00:57:40 +0000
Message-ID: <01c901c0df35$728a4960$0600a8c0@compumagic>
From: "Norm Dresner" <ndrez@att.net>
To: "rtlinux" <rtl@rtlinux.org>
References: <sb040da9.099@fayat-genest.fr>
Subject: Re: [rtl] Shared memory with Lilo and __va()
Date: Thu, 17 May 2001 20:57:00 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

What kernel version?  If it's 2.2.x or later, you need to call ioremap() to
get a virtual address to use.

    Norm

----- Original Message -----
From: Marc LE DOUARAIN <mledouarain@garbarini.com>
To: <rtl@fsmlabs.com>
Cc: Patrick VIGOT <pvigot@garbarini.com>
Sent: Thursday, May 17, 2001 12:02 PM
Subject: [rtl] Shared memory with Lilo and __va()


> 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.
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>