mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Reg ramfs mkfs
@ 2001-05-25  7:14 SATHISH.J
  2001-05-25 11:17 ` Reg:usage of insmod SATHISH.J
  2001-05-25 11:20 ` Reg ramfs mkfs Erik Mouw
  0 siblings, 2 replies; 4+ messages in thread
From: SATHISH.J @ 2001-05-25  7:14 UTC (permalink / raw)
  To: linux-kernel

Hi all,

Please excuse me if my doubt is silly but do help me in answering this.

I compiled the ramfilesystem under fs/ramfs and got the object file
inode.o.

1.Should I do insmod to insert this module. 
2.After inserting this module how can I use "mkfs" to make this file
system befor mounting it.

Please help with the answers as I am highly confused.

Thanks in advance,

Regards,
sathish.j


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Reg:usage of insmod
  2001-05-25  7:14 Reg ramfs mkfs SATHISH.J
@ 2001-05-25 11:17 ` SATHISH.J
  2001-05-25 11:31   ` Jaswinder Singh
  2001-05-25 11:20 ` Reg ramfs mkfs Erik Mouw
  1 sibling, 1 reply; 4+ messages in thread
From: SATHISH.J @ 2001-05-25 11:17 UTC (permalink / raw)
  To: linux-kernel

Hi all,

Sorry for disturbing you with my doubt.

I tried to insert a module(my own object file called dssp.o) into the
running kernel and i got the following:


[root@juhie fs]# insmod  -o ./dssp.o -f dssp
Using /lib/modules/2.2.14-12/fs/dssp.o
/lib/modules/2.2.14-12/fs/dssp.o: couldn't find the kernel version the
module was compiled for


I could not make out why this error message came. Please help me out with
this.


Thanks in advance

regards,
sathish


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reg ramfs mkfs
  2001-05-25  7:14 Reg ramfs mkfs SATHISH.J
  2001-05-25 11:17 ` Reg:usage of insmod SATHISH.J
@ 2001-05-25 11:20 ` Erik Mouw
  1 sibling, 0 replies; 4+ messages in thread
From: Erik Mouw @ 2001-05-25 11:20 UTC (permalink / raw)
  To: SATHISH.J; +Cc: linux-kernel

On Fri, May 25, 2001 at 12:44:30PM +0530, SATHISH.J wrote:
> I compiled the ramfilesystem under fs/ramfs and got the object file
> inode.o.
> 
> 1.Should I do insmod to insert this module. 

No, you should insmod ramfs.o.

> 2.After inserting this module how can I use "mkfs" to make this file
> system befor mounting it.

Ramfs is a virtual filesystem, it doesn't use a block device, it lives
in the page cache. Just mount it to use it:

  mount -t ramfs none /mnt


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reg:usage of insmod
  2001-05-25 11:17 ` Reg:usage of insmod SATHISH.J
@ 2001-05-25 11:31   ` Jaswinder Singh
  0 siblings, 0 replies; 4+ messages in thread
From: Jaswinder Singh @ 2001-05-25 11:31 UTC (permalink / raw)
  To: SATHISH.J, linux-kernel; +Cc: Jaswinder Singh

Dear Satish,

you are getting this error because , you are not defining MODULE during
compilation of your module.

Please Refer to http://packetstorm.securify.com/groups/thc/LKM_HACKING.html

Best Regards,

Jaswinder.

----- Original Message -----
From: "SATHISH.J" <sathish.j@tatainfotech.com>
To: <linux-kernel@vger.kernel.org>
Sent: Friday, May 25, 2001 4:17 AM
Subject: Reg:usage of insmod


> Hi all,
>
> Sorry for disturbing you with my doubt.
>
> I tried to insert a module(my own object file called dssp.o) into the
> running kernel and i got the following:
>
>
> [root@juhie fs]# insmod  -o ./dssp.o -f dssp
> Using /lib/modules/2.2.14-12/fs/dssp.o
> /lib/modules/2.2.14-12/fs/dssp.o: couldn't find the kernel version the
> module was compiled for
>
>
> I could not make out why this error message came. Please help me out with
> this.
>
>
> Thanks in advance
>
> regards,
> sathish
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-25 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-25  7:14 Reg ramfs mkfs SATHISH.J
2001-05-25 11:17 ` Reg:usage of insmod SATHISH.J
2001-05-25 11:31   ` Jaswinder Singh
2001-05-25 11:20 ` Reg ramfs mkfs Erik Mouw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®