* [parisc-linux] Dump driver: step by step
@ 2002-10-15 11:13 Bruno Vidal
2002-10-15 12:26 ` Matthew Wilcox
2002-10-15 12:28 ` phi
0 siblings, 2 replies; 7+ messages in thread
From: Bruno Vidal @ 2002-10-15 11:13 UTC (permalink / raw)
To: parisc-linux@lists.parisc-linux.org
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
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.
--
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
bruno_vidal@admin.france.hp.com
[-- Attachment #2: Card for Bruno Vidal --]
[-- Type: text/x-vcard, Size: 386 bytes --]
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:bruno_vidal@hp.com
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [parisc-linux] Dump driver: step by step
2002-10-15 11:13 [parisc-linux] Dump driver: step by step Bruno Vidal
@ 2002-10-15 12:26 ` Matthew Wilcox
2002-10-15 12:28 ` phi
1 sibling, 0 replies; 7+ messages in thread
From: Matthew Wilcox @ 2002-10-15 12:26 UTC (permalink / raw)
To: Bruno Vidal; +Cc: parisc-linux@lists.parisc-linux.org
On Tue, Oct 15, 2002 at 01:13:41PM +0200, Bruno Vidal wrote:
> 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.
-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.
--
Revolutions do not require corporate support.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [parisc-linux] Dump driver: step by step
2002-10-15 11:13 [parisc-linux] Dump driver: step by step Bruno Vidal
2002-10-15 12:26 ` Matthew Wilcox
@ 2002-10-15 12:28 ` phi
2002-10-15 12:44 ` Bruno Vidal
1 sibling, 1 reply; 7+ messages in thread
From: phi @ 2002-10-15 12:28 UTC (permalink / raw)
To: Bruno Vidal; +Cc: parisc-linux@lists.parisc-linux.org
Bruno Vidal wrote:
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [parisc-linux] Dump driver: step by step
2002-10-15 12:28 ` phi
@ 2002-10-15 12:44 ` Bruno Vidal
2002-10-15 13:01 ` phi
2002-10-17 17:40 ` Bruno Vidal
0 siblings, 2 replies; 7+ messages in thread
From: Bruno Vidal @ 2002-10-15 12:44 UTC (permalink / raw)
Cc: parisc-linux@lists.parisc-linux.org
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
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.
phi wrote:
>
> Bruno Vidal wrote:
> > 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
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
--
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
bruno_vidal@admin.france.hp.com
[-- Attachment #2: Card for Bruno Vidal --]
[-- Type: text/x-vcard, Size: 386 bytes --]
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:bruno_vidal@hp.com
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [parisc-linux] Dump driver: step by step
2002-10-15 12:44 ` Bruno Vidal
@ 2002-10-15 13:01 ` phi
2002-10-17 17:40 ` Bruno Vidal
1 sibling, 0 replies; 7+ messages in thread
From: phi @ 2002-10-15 13:01 UTC (permalink / raw)
To: Bruno Vidal; +Cc: parisc-linux@lists.parisc-linux.org
Bruno Vidal wrote:
>
> 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.
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [parisc-linux] Dump driver: step by step
2002-10-15 12:44 ` Bruno Vidal
2002-10-15 13:01 ` phi
@ 2002-10-17 17:40 ` Bruno Vidal
2002-10-18 4:04 ` Grant Grundler
1 sibling, 1 reply; 7+ messages in thread
From: Bruno Vidal @ 2002-10-17 17:40 UTC (permalink / raw)
Cc: parisc-linux@lists.parisc-linux.org
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
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.
--
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
bruno_vidal@admin.france.hp.com
[-- Attachment #2: Card for Bruno Vidal --]
[-- Type: text/x-vcard, Size: 386 bytes --]
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:bruno_vidal@hp.com
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [parisc-linux] Dump driver: step by step
2002-10-17 17:40 ` Bruno Vidal
@ 2002-10-18 4:04 ` Grant Grundler
0 siblings, 0 replies; 7+ messages in thread
From: Grant Grundler @ 2002-10-18 4:04 UTC (permalink / raw)
To: Bruno Vidal; +Cc: parisc-linux@lists.parisc-linux.org
Bruno Vidal wrote:
> 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.
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-10-18 4:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-15 11:13 [parisc-linux] Dump driver: step by step Bruno Vidal
2002-10-15 12:26 ` Matthew Wilcox
2002-10-15 12:28 ` phi
2002-10-15 12:44 ` Bruno Vidal
2002-10-15 13:01 ` phi
2002-10-17 17:40 ` Bruno Vidal
2002-10-18 4:04 ` Grant Grundler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox