* Re: prblm with first module prog
[not found] <01121712435301.02022@manta>
@ 2001-12-17 12:07 ` vijayalakshmi krishnamurthy
0 siblings, 0 replies; 2+ messages in thread
From: vijayalakshmi krishnamurthy @ 2001-12-17 12:07 UTC (permalink / raw)
To: vda; +Cc: linux-kernel
Hi,
Thanx for the reply. it works. but it was only an
offshoot of the problem. I'm not able to find my
module in /proc/module.i cat it. how else should i
find it? what does the warning say?
I ran it from home dir in vt , not from xterm. shuld i
directly run it in /proc ?
thanx again.
lakshmi
--- vda <vda@port.imtp.ilyichevsk.odessa.ua> wrote:
> On Monday 17 December 2001 08:20, vijayalakshmi
> krishnamurthy wrote:
>
> > when I redirected my make file o/p from terminal
> only
> > lines 4 - 11 were in the
> > redirected file. the rest were in the console.
> can
> > somebody explain me the reason.
> > why do they echo the insmod & rmmod & other
> things? i
> > dont getit.
>
> make >file 2>file2
> ^^^^^^^
> redirects stderr to file2
>
> make >file 2>&1
> ^^^^
> redirects stderr to stdout, i.e. to file
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* prblm with first module prog
@ 2001-12-17 10:20 vijayalakshmi krishnamurthy
0 siblings, 0 replies; 2+ messages in thread
From: vijayalakshmi krishnamurthy @ 2001-12-17 10:20 UTC (permalink / raw)
To: linux-kernel
hi all
I'm a novice ,here I tried the first module prog
given in the tutorial in the link
http://www.linuxdoc.org/LDP/lkmpg/
i followed all the instructions, verfied with
header files but on running make i get
1.fist.c: In function `init_module':
2.fist.c:11: warning: implicit declaration of
function `printk_Rsmp_1b7d4074'
3.cc -Wall -DMODULE -D__KERNEL__ -DLINUX -c
fist.c
4.echo insmod fist.o to turn it on
5.insmod fist.o to turn it on
6.echo rmmod fist to turn it off
7.rmmod fist to turn it off
8.echo
9.
10.echo X & kernel prog do not mix.
11.X
12./bin/sh: kernel: command not found
13.make: *** [fist.o] Error 127
when I redirected my make file o/p from terminal only
lines 4 - 11 were in the
redirected file. the rest were in the console. can
somebody explain me the reason.
why do they echo the insmod & rmmod & other things? i
dont getit.
All kind of explanations R welcome
thanx in advance
lakshmi
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-17 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <01121712435301.02022@manta>
2001-12-17 12:07 ` prblm with first module prog vijayalakshmi krishnamurthy
2001-12-17 10:20 vijayalakshmi krishnamurthy
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®