[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Problems with kernel modules



Hi dude,
Nuthin is wrong with your procedure ! Everything is alright !!
Cause the program which I gave was a module which
would panic when unloaded and that is what happened to you !
And I did tell you that we were trying to panic the kernel
and we got the necessary output !!

And to see the printk statements, do a dmesg
and you shall see what you want !!
So you are on the right track !! Enjoy!
Happy Hacking !!
HTH
     Khader

P.S: And you forgot to add an important output
Panic when dereferncing a null pointer ;-)

----------------------------------   @}--------
Syed Khader Vali                  Debian 2.2.1 ( potato )
skhader@xxxxxxxxxx             Kernel 2.3.33
# 91-80-5262355                Extn:2527


Ghins Mathai <ghins@xxxxxxxxxxxxxxx> on 12/19/99 02:51:01 pm


I tried the same thing with the -c option added to the command line. I
did not get any message at all when I tried insmod panic.o. I then said
lsmod and could see the module listed there. rmmod panic gave me the
following output:
---------------------------------------------------------------
Oops: 0002
CPU:    0
<snip>
-----
<snip>
----------------------------------------------------------------

What could be going wrong ?


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.