Messages in this thread | | | Subject | Re: [Fastboot] Re: Announce: dumpfs v0.01 - common RAS output API | From | (Eric W. Biederman) | Date | 28 Jul 2004 19:05:36 -0600 |
| |
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
> On Iau, 2004-07-29 at 00:17, Eric W. Biederman wrote: > > What is your concern with stopping DMA? > > - Not smashing the recovery routine. > > - Getting a corrupted core dump because of on-going DMA? > > Completely random happenings occurring when they are trivial to avoid. > Given all the worries about SHA signed in kernel standalone objects I > find it farcical that the same people don't even care about ensuring > something isnt DMAing over their dump partition description.
I was asking so I could give a better answer.
As far as I can tell the long term solution is to simply run the dumper from memory that reserved in the kernel that called panic().
At that point you might get a corrupt DUMP. But it is extremely unlikely any DMA transactions will touch your reserved memory. Only the most buggy drivers or hardware will be running DMA to the invalid addresses. At which point there is very little you can do in any event.
Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |