FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 02-08-2012, 11:12 PM
Bob Montgomery
 
Default mod cmd fixes for -g -r

6.0.3 added -g and -r options to the mod command, but they can't be used
together. This patch allows "-r -g" or "-rg" or "-Srg" etc.

crash-6.0.3> mod -r -g -S /usr/lib/debug/lib/modules/3.1.4-clim-3-amd64
mod: invalid option -- 'g'
Usage:
mod -s module [objfile] | -d module | -S [directory] | -D | -r | -R | -o | -g
Enter "help mod" for details.

Still working on the flaky module symbol problem...

Bob Montgomery

--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 
Old 02-09-2012, 03:33 PM
Dave Anderson
 
Default mod cmd fixes for -g -r

----- Original Message -----
> 6.0.3 added -g and -r options to the mod command, but they can't be used
> together. This patch allows "-r -g" or "-rg" or "-Srg" etc.

Ahhh -- I didn't even consider that possibility...

I pretty much painted myself into a corner long ago when I put
that "mod -S [optional-dir]" and "mod -s module [optional-objfile]"
argument usage mechanism into place, and I've regretted it ever since.

Anyway, thanks for catching and fixing that -- queued for crash-6.0.4.

Dave

>
> crash-6.0.3> mod -r -g -S
> /usr/lib/debug/lib/modules/3.1.4-clim-3-amd64
> mod: invalid option -- 'g'
> Usage:
> mod -s module [objfile] | -d module | -S [directory] | -D | -r | -R
> | -o | -g
> Enter "help mod" for details.
>
> Still working on the flaky module symbol problem...
>
> Bob Montgomery
>
>

--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 

Thread Tools




All times are GMT. The time now is 04:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org