[Crash-utility] introduce a new command to display the disk's information

Dave Anderson anderson at redhat.com
Mon Jan 30 20:56:31 UTC 2012



----- Original Message -----

> > 
> > Fifth, I tried it on a much older RHEL3 kernel, which shows:
> > 
> >   crash> dev -d
> >   dev: invalid request_queue.in_flight's size
> >   crash>
> 
> I do not have such kernel. What is the version of such kernel?
> > 
> > It's not really invalid size, but it's more the case that you
> > don't support that old a kernel version.  In that case, instead
> > of doing this:
> > 
> >     error(FATAL, "invalid request_queue.in_flight's size\n");
> > 
> > you should do this instead:
> > 
> >     option_not_supported('d');
> 
> Good idea.

RHEL3 was a 2.4.21-based kernel, where the request_queue didn't have
the in_flight member.  So the use of the option_not_supported() is
good enough.

Dave
 




More information about the Crash-utility mailing list