[parisc-linux] iodc call and HPMC: dump driver.
Bruno Vidal
bruno_vidal@hpfrcu03.france.hp.com
Mon, 02 Sep 2002 08:12:26 +0200
This is a multi-part message in MIME format.
--------------C8EBD1BF8147A59EBF9CB289
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi all.
Do you know a guy who is a guru of iodc calls ?
I'm still stuck with this. I think I was really near the
solution. Now my iodc call create beatifull HPMC.
Take a look to this call, I was thinking that it
was all right, but there is still something wrong.
now i'm able to retrieve hpa,
I based this on palo code:
ret = real32_call(PAGE0->mem_boot.iodc_io, (unsigned long)PAGE0->mem_boot.hpa, DUMPDEV_WRITE,
PAGE0->mem_boot.spa, __pa(PAGE0->mem_boot.dp.layers), __pa(pdc_result), devaddr, __pa(iodc_dbuf), 2048);
DUMPDEV_WRITE = 1
static unsigned long pdc_result[32] __attribute__ ((aligned (8)));
static char __attribute__((aligned(64))) iodc_dbuf[DUMP_PAGE_SZ];
and devaddr=191889408
Disk /dev/sda: 64 heads, 32 sectors, 17366 cylinders
Units = cylinders of 2048 * 512 bytes
/dev/sda1 * 1 61 62448 f0 Linux/PA-RISC boot
/dev/sda2 62 183 124928 83 Linux
/dev/sda3 184 1648 1500160 82 Linux swap
/dev/sda4 1649 17366 16095232 5 Extended
/dev/sda5 1649 5554 3999728 83 Linux
/dev/sda6 5555 9460 3999728 82 Linux swap
/dev/sda7 9461 13366 3999728 83 Linux
/dev/sda8 13367 17366 4095984 83 Linux
Do you know someone who is well aware of iodc calls ?
I want to discuss a bit about this.
Thanks.
--
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
bruno_vidal@admin.france.hp.com
--------------C8EBD1BF8147A59EBF9CB289
Content-Type: text/x-vcard; charset=iso-8859-1;
name="bruno_vidal.vcf"
Content-Transfer-Encoding: base64
Content-Description: Card for Bruno Vidal
Content-Disposition: attachment;
filename="bruno_vidal.vcf"
YmVnaW46dmNhcmQgCm46QnJ1bm87VklEQUwKdGVsO2ZheDowMS02OS04Mi02MC0xNAp0ZWw7
d29yazowMS02OS0yOS00Mi03MQp4LW1vemlsbGEtaHRtbDpUUlVFCnVybDp3d3cuZnJhbmNl
LmhwLmNvbQpvcmc6U29sdXRpb24gQ2VudGVyCnZlcnNpb246Mi4xCmVtYWlsO2ludGVybmV0
OmJydW5vX3ZpZGFsQGhwLmNvbQp0aXRsZTpFeHBlcnQgTG9naWNpZWwgRW52aXJvbm5lbWVu
dCBIYXV0ZSBEaXNwb25pYmlsaXTpCmFkcjtxdW90ZWQtcHJpbnRhYmxlOjs7SFAgRnJhbmNl
PTBEPTBBO1ouQSBkZSBDb3VydGFib2V1ZjsxIEF2LiBkdSBDYW5hZGE7OTE5NDcgTGVzIFVs
aXMgY2VkZXg7RnJhbmNlCngtbW96aWxsYS1jcHQ6OzI2MjA4CmZuOlZJREFMIEJydW5vCmVu
ZDp2Y2FyZAo=
--------------C8EBD1BF8147A59EBF9CB289--