Re: [Fastboot] [RFC] [PATCH 2/2] kdump: cciss driver initialization issue fix



"Miller, Mike (OS Dev)" <Mike.Miller@xxxxxx> writes:

Thanks Eric, that helps me understand. Section 8.2.2 of the open cciss
spec supports a reset message. Target 0x00 is the controller. We could
add this to the init routine to ensure the board is made sane again but
this would drastically increase init time under normal circumstances.

Where does the init time penalty come from? How large is the
init penalty? I suspect it is from waiting for the scsi disks to spin up.
But I am just guessing in the dark.

And I suspect this is a hard reset, also. Not sure if that would
negatively impact kdump. If there were some condition we could test
against and perform the reset when that condition is met it would not
impact 99.9% of users.

I am wondering if it is possible to look at the controller and
see if it is in a bad state, (i.e. in some state besides just coming
out of reset) and if so issue a reset. If this really is a long operation
that would be the ideal way to handle it.

If the amount of time is really user noticeable and testing for it
is impossible then it is probably time to talk kernel command line
options.

Although it might simply be appropriate to handle commands completing
you didn't start. I am not at all familiar with that particular piece
of hardware so I can't make a good guess on what needs to happen there.

Thoughts, comments, flames?

Good question.

It is a bit of a pain but not too hard to setup a test environment
so you can reproduce this if you are interested. Vivek should
be the authority there.

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [Fastboot] [RFC] [PATCH 2/2] kdump: cciss driver initialization issue fix
    ... spec supports a reset message. ... Target 0x00 is the controller. ... this would drastically increase init time under normal circumstances. ...
    (Linux-Kernel)
  • Re: Dual data rate in Xilinx WebPACK 7.1
    ... I've seen your template, and although I prefer not to split everything ... reset, ... "init" process/clause will result in a clock disable on reset (using ... the clocked clause will not execute. ...
    (comp.lang.vhdl)
  • Re: Dual data rate in Xilinx WebPACK 7.1
    ... I've seen your template, and although I prefer not to split everything ... reset, ... "init" process/clause will result in a clock disable on reset (using ... the clocked clause will not execute. ...
    (comp.lang.vhdl)
  • Re: PATH variable
    ... Since init is the first process from which all other processes are ... Now that a display manager is running it might be reset again. ... Not to be left out is your shell as defined in /etc/passwd ...
    (Fedora)
  • Re: SM501 Video
    ... or just at init time to get ... If only at init then you don't really need rotation ... contacting SMI to see if they can help. ... Steve Maillet ...
    (microsoft.public.windowsce.embedded)