Nava,
There is module support for lcrash in the latest SF CVS version.
You can add module symbols using the following command:
> nm mymodule.o > mymodule.lst
> lcrash ...
>> symtab -a mymodule.lst mymodule
There is also an additional command "module" which can list all
kernel modules and their symbols.
Michael
------------------------------------------------------------------------
Linux/390 Development
Phone: +49-7031-16-2360, Bld 71032-06-109
Email: holzheu@xxxxxxxxxx
Nava Navaruparajah <nava@xxxxxxxxxxxxxxxx>@oss.sgi.com on 10/03/2001
12:31:46 AM
Please respond to Nava Navaruparajah <nava@xxxxxxxxxxxxxxxx>
Sent by: owner-lkcd@xxxxxxxxxxx
To: lkcd@xxxxxxxxxxx
cc:
Subject: module debug supported? kernel module supported?
Hi,
I am new to lkcd and just installed it and tested on Redhat 7.1 and
2.4.2 base on a Pentium system. I just created the system panic with
my module type driver. When I generated report I got the following:
================================================================
STACK TRACE FOR TASK: 0xc14c4000 (soe_mgr)
0 dump_execute+189 [0xc016adc9]
1 panic+131 [0xc0116b23]
2 panic+131 [0xc0116b23]
TRACE ERROR 0x1
================================================================
Since my driver is kernel a module, I think, lcrash cound't find the
symbols.
Can someone help me how I can use lcrash and lkcd to debug module type
drivers.
Are there any documents to show the usage of lcrash and create new
macros to generate traces?.
Thanks,
Nava
--
--------------------------------------------------------------------
Nava Navaruparajah Telephone: (916) 785 1647
Hewlett Packard, SIL
8000 Foothills Blvd., M/S 5668
Roseville, CA 95747
--------------------------------------------------------------------
--
--------------------------------------------------------------------
Nava Navaruparajah Telephone: (916) 785 1647
Hewlett Packard, SIL
8000 Foothills Blvd., M/S 5601
Roseville, CA 95747
--------------------------------------------------------------------
|