lkcd
[Top] [All Lists]

Problem in using lcrash commands

To: "Tom Morano" <tjm@xxxxxxx>
Subject: Problem in using lcrash commands
From: "Ashish Arora" <ashisharora@xxxxxxxxxxxx>
Date: Thu, 23 Dec 1999 00:44:35 -0800
Cc: "Matt Robinson" <yakker@xxxxxxxxxxxxxxxxxxxx>, lkcd@xxxxxxxxxxx
Organization: MailCity (http://www.mailcity.lycos.com:80)
Reply-to: ashisharora@xxxxxxxxxxxx
Sender: owner-lkcd@xxxxxxxxxxx
 hi Matt and Tom,
    I tried the commands in Lcrash again but will the same problem, it gives to 
me that the usage of the command is not proper. like in the   ptype command it 
asks for the --- type addr    i dont know where to get these parameters to 
supply to the commands and what does those parameters mean. Also at some places 
it asks for some addresses, like stack address etc. where to get those 
addresses from.  I am not able to find namelists, what is meant by namelists 
and how are they specified.
Can u tell me where can i get the comprehensive documentation for the commands 
that are being used here so that i can get to know the proper usage for these 
commands. 
In my previous mail i stated wrong by mistake that i get segmentation fault  
with " whatis -s "  , i get that problem with  "whatis -a".
 i am not able to find these answers in the FAQ's . i have also gone through 
the source code for the commands and am not able to solve these problems.

--Ashish
--

On Tue, 21 Dec 1999 09:00:15   Tom Morano wrote:
>Ashish Arora wrote:
>> 
>> Dear Matt,
>>         i am using the commands with the lcrash. In this i am unable to find 
>> the proper usage for the commands. Whenever i type a command in lcrash, it 
>> gives a message saying that the usage for the command is wrong. Can u tell 
>> me where can i get to know about the proper usage for all those commands. I 
>> have already gone through the help provided for each command but i am still 
>> unable to overcome that problem.
>
>It's hard to tell what's going on without an example of what you are trying.
>Could you 
>please provide such an example?
>
>>          Also when i used the   whatis command with -s option it gave a  
>> segmentation fault error and quitted from lcrash.
>
>Hi Ashish,
>
>I'm not sure what's going on here. The -s flag is not valid for the 'whatis'
>command. When
>I tried it, here's what I got...
>
>>> whatis -s
>Illegal comamnd line option: 's'
>USAGE: whatis [-a] [-f] [-l] [-n] [-w outfile] expression
>
>BTW, the whatis command doesn't do anything unless you first load in type
>information from
>a namelist file (one is created in the cmd/lcrash/lib/libklib directory). You
>have to 
>issue a command such as this:
>
>>> addtypes namelist
>
>Then you can do something like this...
>
>>> whatis socket
>struct socket {
>        socket_state state;
>        long unsigned int flags;
>        struct proto_ops *ops;
>        struct inode *inode;
>        struct fasync_struct *fasync_list;
>        struct file *file;
>        struct sock *sk;
>        struct wait_queue *wait;
>        short int type;
>        unsigned char passcred;
>        unsigned char tli;
>};
>
>Hope this helps,
>
>Tom
>
>> --Ashish
>> 
>> --
>> 
>> On Tue, 14 Dec 1999 23:17:45   Matt Robinson wrote:
>> >Ashish, have you read the FAQ?
>> >
>> >       http://oss.sgi.com/projects/lkcd/faq.html#2.3
>> >
>> >This should have answered your question.
>> >
>> >--Matt
>> >
>> >On Wed, 15 Dec 1999, Keith Owens wrote:
>> >|>On Tue, 14 Dec 1999 22:27:17 -0800,
>> >|>"Ashish Arora" <ashisharora@xxxxxxxxxxxx> wrote:
>> >|>>          I applied the patch for the lkcd 1.0.3.  to the linux  kernel 
>> >version 2.2.12 but i faced the problem that it was not able to find the 
>> >declarations of    AS_KERNEL, AS_USER, AS_REMOTE etc.  I am attaching the 
>> >file for reference.
>> >|>
>> >|>You have to apply the raw I/O patch (sgi+straw2.2.13.patch) *before*
>> >|>the lkcd patch.
>> >|>
>> >
>> >
>> 
>> LYCOShop is now open. On your mark, get set, SHOP!!!
>> http://shop.lycos.com/
>


LYCOShop is now open. On your mark, get set, SHOP!!!
http://shop.lycos.com/

<Prev in Thread] Current Thread [Next in Thread>