Re: [Linux-ia64] Dump driver module

From: David Mosberger <>
Date: 2003-05-13 17:25:59
>>>>> On Tue, 13 May 2003 09:02:48 +0200, Bruno Vidal <> said:

  Bruno> I've already wrote a dump modules driver for linux-parisc.
  Bruno> This module goal is to create a memory image on a swap area, and
  Bruno> at reboot time to save it to disk with all kernel modules, in
  Bruno> order to analyze it after by "support" people with tools like
  Bruno> gdb/p4. The problem while dumping is that the dump modules
  Bruno> cannot trust anymore the system, so dumping means: no interruption,
  Bruno> no disk driver, no buffer, nothing. The solution is to use low level
  Bruno> call. For parisc I use the IODC calls, for ia64 I think I'll
  Bruno> use the EFI calls. My questions:
  Bruno> -do you think it is a "good" and realistic solution.
  Bruno> -because I think "yes", does exist somewhere an example of
  Bruno> reading/writing with EFI call on disk using BLOCK IO. I've already
  Bruno> looked in elilo, but it seems that it use FS access.

Once the kernel is booted, you can access only the EFI runtime
services (see struct efi in include/linux/efi.h).  I'm afraid there is
no support for writing disk blocks.  Given this limitation, I suspect
you'd have to include your own (simple) disk driver(s).

Received on Tue May 13 00:27:42 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST