Dump: need disk layout function.
Hi all.
I'm looking for function that manage disk layout. In fact I'm looking for functions that are able to return start block and end block of
a partition. Do you know if it exists (I'm sure that it exists), and where it is ? By the way, I'm looking for a function (or structure) that return the HPA and the SPA of a disk (but for this I find nothing, except for the boot disk in page0).
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 6 lines · Bruno Vidal
I'm looking for function that manage disk layout. In fact I'm looking for functions that are able to return start block and end block of
a partition. Do you know if it exists (I'm sure that it exists), and where it is ? By the way, I'm looking for a function (or structure) that return the HPA and the SPA of a disk (but for this I find nothing, except for the boot disk in page0).
Tried fs/partitions/msdos.c?
How can a disc have HPA and SPA? Are you trying to find the HPA/SPA of the disc's controller?
Signature · 1 line
Revolutions do not require corporate support.
[parisc-linux] does audio works on 712,715 and 735?
hi,
I ear that audio works with 735!
Does it work with 712 and 715??
I tried a few month ago on 712, but it didn't work... I didn't upgrade since that time, from which kernel/packages versions could it work?
best regards
jl.
Re: [parisc-linux] does audio works on 712,715 and 735?
hi,
Quoted 1 line
Does it work with 712 and 715??
With 712 it works fine.
I've got a 712/60 and it works fine while playing MP3.
Quoted 1 line
I tried a few month ago on 712, but it didn't work... I didn't upgrade=
since
Quoted 1 line
that time, from which kernel/packages versions could it work?
You need the harmony driver.
I think all Kernel > 2.4.17 do have this driver.
cya,
Tilo
|[ Tilo Jandt, K=F6rnerstra=DFe 8, D-09306 Rochlitz ]| |[ mailto:[email protected] ] [ ICQ: 73832493 ]| |[ Phone: +49 179 5333 255 ] [ Fax: +49 3737 771478 ]|
Quoted 2 lines · Matthew Wilcox
How can a disc have HPA and SPA? Are you trying to find the HPA/SPA of the disc's controller?
I thought the boot and dump devices have a faked HPA for IODC. The code in palo/ipl/pdc_misc.c looks like it:
intpdc_iodc_bootin(unsigned devaddr, char *memaddr, unsigned size)
{
int r;
r = firmware_call(PAGE0->mem_boot.iodc_io,
PAGE0->mem_boot.hpa, ENTRY_IO_BOOTIN,
PAGE0->mem_boot.spa, PAGE0->mem_boot.dp.layers,
pdc_result, devaddr, memaddr, size, size);....