From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G0etG-0005xc-SY for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:36:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G0etF-0005x4-5q for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:36:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0etE-0005x1-W8 for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:36:33 -0400 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G0eum-0005aq-Me for qemu-devel@nongnu.org; Wed, 12 Jul 2006 09:38:09 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Insert module into kernel Date: Wed, 12 Jul 2006 14:36:25 +0100 References: <20060712131515.966.qmail@web38102.mail.mud.yahoo.com> In-Reply-To: <20060712131515.966.qmail@web38102.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607121436.26998.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wednesday 12 July 2006 14:15, Tieu Ma Dau wrote: > Hi all, > I want to simulate the ARM system and add a simple simulated device with > its corresponding module device driver. So: > 1. I must run the command "insmod" to insert this module into kernel. > But there is not this command in the ARM Linux shell > 2. I must run the command "mknod" to make a file > (exp: /dev/my_simulated_device) corresponding to the simulated device. But > this command is not run because the "read only" property of file system. > 3. I must make a small program in which I open the file by the command > "fopen("/dev/my_simulated_device","w")" but I think that I have the problem > as in the question 2 Do you have any idea? None of these problems have anything to do with qemu. They are problems with your root FS. Qemu works exactly the same way as a real Arm machine. The arm_test image on the qemu website is a minimal cut-down test/demo system. It is not not intended to be a full general purpose linux system. Sounds like you need to get yourself a proper linux install. The Debian installers work pretty much out the box. If you already are using a different linux distro, you need to contact whoever supplied it. Paul