I have added a second hard drive to my system. It is supposed to be
200 GB (it’s 268 GB unformatted). However, when QNX boots it only sees
it as 131 GB.
BIOS displays this drive as Drive Type Unknown. There is no additional
BIOS information on this drive.
I am able to I/O to the 131 GB. But I really need all that space.
What must I do to have the drive recognized as 200 GB?
I assume that I need to put the “real” geometry on the devb-eide
command line. But I couldn’t figure out exactly where to put it.
I.E. there is the “disk/cam translation=” option or the drive specific
“geometry=” option. Also, I need to know how to enter it so that it
only affects the decond drive.
Bill Caroselli <qtps@earthlink.net> wrote:
I am able to I/O to the 131 GB. But I really need all that space.
What must I do to have the drive recognized as 200 GB?
The ATA spec maxes out at 137GB (65536 cyls, 16 heads, 255 sectors).
It needs a new spec, ATA6 (and 48-bit addressing to see beyond this).
QNX6 devb-eide supports this (with the “lba48” option). Refer to
“use devb-eide” for if your version has this support and how to pass
it on the command-line …
John Garvey <jgarvey@qnx.com> wrote:
JG > Bill Caroselli <qtps@earthlink.net> wrote:
I am able to I/O to the 131 GB. But I really need all that space.
What must I do to have the drive recognized as 200 GB?
JG > The ATA spec maxes out at 137GB (65536 cyls, 16 heads, 255 sectors).
JG > It needs a new spec, ATA6 (and 48-bit addressing to see beyond this).
JG > QNX6 devb-eide supports this (with the “lba48” option). Refer to
JG > “use devb-eide” for if your version has this support and how to pass
JG > it on the command-line …
I tried this. It did not seem to work. It still shows as 131 GB.
What “type” of option is this? (i.e. block, cam, disk, eide)
The documentation is not real clear on this.
Bill Caroselli <qtps@earthlink.net> wrote:
BC > John Garvey <jgarvey@qnx.com> wrote:
BC > JG > Bill Caroselli <qtps@earthlink.net> wrote:
I am able to I/O to the 131 GB. But I really need all that space.
What must I do to have the drive recognized as 200 GB?
BC > JG > The ATA spec maxes out at 137GB (65536 cyls, 16 heads, 255 sectors).
BC > JG > It needs a new spec, ATA6 (and 48-bit addressing to see beyond this).
BC > JG > QNX6 devb-eide supports this (with the “lba48” option). Refer to
BC > JG > “use devb-eide” for if your version has this support and how to pass
BC > JG > it on the command-line …
BC > I tried this. It did not seem to work. It still shows as 131 GB.
BC > What “type” of option is this? (i.e. block, cam, disk, eide)
BC > The documentation is not real clear on this.
Also, how do I indicate that this should apply to the second drive.
I am currently using:
devb-eide blk auto=partition dos exec=all eide eide lba48
We change this line in /boot/build/qnxbasedma.build
[pri=10o] PATH=/proc/boot diskboot -b1 -D1 -odevc-con,-n4
to
[pri=10o] PATH=/proc/boot diskboot -b1 -D1 -odevc-con,-n4 -o"devb-eide, eide master=lba48"
Then we chnge boot image.
#mkifs /boot/build/qnxbasedma.build /boot/build/qnxbasedma.ifs
#cp /boot/build/qnxbasedma.ifs /.boot
Question:
How can I combine this:
[pri=10o] PATH=/proc/boot diskboot -b1 -D1 -odevc-con,-n4 -o"devb-eide, eide master=lba48"
and
[pri=10o] PATH=/proc/boot diskboot -b1 -D1 -odevc-con,-n4 -o"devb-eide, eide master=udma=1"
???
Thanks
David
“Bill Caroselli” <qtps@earthlink.net> pí¹e v diskusním pøíspìvku news:c1ds4l$brd$1@inn.qnx.com…
Bill Caroselli <> qtps@earthlink.net> > wrote:
BC > John Garvey <> jgarvey@qnx.com> > wrote:
BC > JG > Bill Caroselli <> qtps@earthlink.net> > wrote:
I am able to I/O to the 131 GB. But I really need all that space.
What must I do to have the drive recognized as 200 GB?
BC > JG > The ATA spec maxes out at 137GB (65536 cyls, 16 heads, 255 sectors).
BC > JG > It needs a new spec, ATA6 (and 48-bit addressing to see beyond this).
BC > JG > QNX6 devb-eide supports this (with the “lba48” option). Refer to
BC > JG > “use devb-eide” for if your version has this support and how to pass
BC > JG > it on the command-line …
BC > I tried this. It did not seem to work. It still shows as 131 GB.
BC > What “type” of option is this? (i.e. block, cam, disk, eide)
BC > The documentation is not real clear on this.
Also, how do I indicate that this should apply to the second drive.
I am currently using:
devb-eide blk auto=partition dos exec=all eide eide lba48
I’m not using the diskboot utility. But this gave me enough to go by.
It is now working as desired. It clocks in at 238 GB.
For anyone interested, my final command line was:
devb-eide blk auto=partition dos exec=all eide slave=lba48
David Brdi?ka <dbrdicka@retia.cz> wrote:
DBk > This is a multi-part message in MIME format.
DBk > ------=_NextPart_000_0412_01C3FAE8.B87AAD30
DBk > Content-Type: text/plain;
DBk > charset=“iso-8859-2”
DBk > Content-Transfer-Encoding: quoted-printable
DBk > We change this line in /boot/build/qnxbasedma.build
DBk > [pri=3D10o] PATH=3D/proc/boot diskboot -b1 -D1 -odevc-con,-n4
DBk > to=20
DBk > [pri=3D10o] PATH=3D/proc/boot diskboot -b1 -D1 -odevc-con,-n4 =
DBk > -o"devb-eide, eide master=3Dlba48"
DBk > Then we chnge boot image.
DBk > #mkifs /boot/build/qnxbasedma.build /boot/build/qnxbasedma.ifs
DBk > #cp /boot/build/qnxbasedma.ifs /.boot
DBk > Question:=20
DBk > How can I combine this:
DBk > [pri=3D10o] PATH=3D/proc/boot diskboot -b1 -D1 -odevc-con,-n4 =
DBk > -o"devb-eide, eide master=3Dlba48"
DBk > and
DBk > [pri=3D10o] PATH=3D/proc/boot diskboot -b1 -D1 -odevc-con,-n4 =
DBk > -o"devb-eide, eide master=3Dudma=3D1"
DBk > ???
DBk > Thanks
DBk > David