Dump driver: step by step
Hi.
I've succeded to read with iodc, and at the right place (good news no). Now I'll try to write. But I prefer to do it on another disk. So I've found an old scsi SE. I've plugged it. The driver is able to find the hpa, retrieve the iodc ENTRY_INIT without any pb. But when calling the ENTRY_INIT with INIT_MOD_DEV or only INIT_DEV it fail with return code -9. But there is a little pb, I don't have this return code in documentation. If I believe the the "parisc 1.1 IO firmware Architecture".
I didn't find it for parisc 2.0 (on
http://www.parisc-linux.org/documentation/index.html).
So if someone know where I can find it.
Thanks.
Signature · 3 lines
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
[email protected]begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard
Quoted 12 lines · Bruno Vidal
Hi.I've succeded to read with iodc, and at the right place (good news no). Now I'll try to write. But I prefer to do it on another disk. So I've found an old scsi SE. I've plugged it. The driver is able to find the hpa, retrieve the iodc
ENTRY_INITwithout any pb. But when calling theENTRY_INITwithINIT_MOD_DEVor onlyINIT_DEVit fail with return code -9. But there is a little pb, I don't have this return code in documentation. If I believe the the "parisc 1.1 IO firmware Architecture".
I didn't find it for parisc 2.0 (on
http://www.parisc-linux.org/documentation/index.html).
So if someone know where I can find it.
-9 Cannot locate a console device or boot device
The search could not locate a console device or boot device on the module. Returned
only by options ARG1=2 and ARG1=3.
CONDITIONAL. Must be used if the search options are provided.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 2 lines · Bruno Vidal
If I believe the the
"parisc 1.1 IO firmware Architecture".
The iodc.pdf document sez (page 3-29)
ENTRY_INIT(index 3)
....
-9 Cannot locate a console device or boot device
Returned only by options arg1=2 and arg1=3.
Dunno if it helps.
Phi
Please take a look to my email -> I'm using arg1=4 or 5 not 2 or 3.
So how do you explain this -9 for "init & test mod & dev"
Thanks.
Quoted 19 lines · phi
Quoted 2 lines · Bruno Vidal
If I believe the the
"parisc 1.1 IO firmware Architecture".The iodc.pdf document sez (page 3-29)
ENTRY_INIT(index 3)
....
-9 Cannot locate a console device or boot device
Returned only by options arg1=2 and arg1=3.Dunno if it helps.
Phi
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Signature · 3 lines
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
[email protected]begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard
Quoted 5 lines · Bruno Vidal
Please take a look to my email -> I'm using arg1=4 or 5 not 2 or 3.
So how do you explain this -9 for "init & test mod & dev"
I red :-) You mentioned 'parisc 1.1 IO firmware Architecture' which is kind of generic title, then thought you missed the iodc.pdf doc.
Quoted 1 line
So how do you explain this -9 for "init & test mod & dev"
May be you used arg1 to 2 or 3 when you really wanted 4 or 5
OR
-9 is also returned for 4 or 5 meaning meaning
1: machdep.h:283 #define IODCE_NOSUCHDEV -9
as returned by scan from ./ISU/mongoose/machdep.h
Cheers,
Phi
hi
Good news, now I'm able to initialise and read/write on multiple disk. The solution a new time was a specific PDC call on PAT system (we don't need it on 712 for example):
dump_pdc_call(PDC_IO, PDC_IO_RESET_DUMP_DEVS, __pa(pdc_result),__pa(dumpdev))
where dumpdev is the list of all "struct device_path". It would be really interresting if someone is able to find the "parisc 2.0 I/O firmware" doc, it would gain a lot's of time to poor little programmers like me.
Bye.
Signature · 3 lines
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
[email protected]begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard
Quoted 6 lines · Bruno Vidal
hi
Good news, now I'm able to initialise and read/write on multiple disk. The solution a new time was a specific PDC call on PAT system (we don't need it on 712 for example):
dump_pdc_call(PDC_IO, PDC_IO_RESET_DUMP_DEVS, __pa(pdc_result),__pa(dumpdev))
IIRC, this call is PAT PDC specific. The reason it was added is PAT PDC only initializes boot and console devices. The RESET_DUMP_DEVs was added to initialize a list of devices so IODC could be used in the HPUX dump path.
Quoted 4 lines
where dumpdev is the list of all "struct
device_path". It would be really interresting if someone is able to find the "parisc 2.0 I/O firmware" doc, it would gain a lot's of time to poor little programmers like me.
Best is to scrounge through HPUX source code.
With docs, it's often difficult to know *where* to find the right info.
grant