size limit of the hard disk drive

Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it to t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong

Hi,

Are you saving the new partiton configuration before you quit fdisk?

Regards,

Joe

Xuedong Chen <Xuedong.Chen@igt.com> wrote:

Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it to t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong

Yes. I did.
“Hardware Support Account” <hw@qnx.com> wrote in message
news:9hfe0t$bf2$1@nntp.qnx.com

Hi,

Are you saving the new partiton configuration before you quit fdisk?

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it to
t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from
the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong

Yes, I did. Have you guys tried hard drives of 30G or more? Did they work
for you? Which version of fdisk/devb-eide did you use? Thanks.
“Hardware Support Account” <hw@qnx.com> wrote in message
news:9hfe0t$bf2$1@nntp.qnx.com

Hi,

Are you saving the new partiton configuration before you quit fdisk?

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it to
t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from
the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong

Hi Xuedong,

What version of the OS are you running? Any patches installed?
Can you provide full details to the steps your are taking and the status of the
system before and after you create the partition. Could you also post the output
from ‘fdisk /dev/hd0 show’ before and after you use fdisk to create the partition.

Regards,

Joe

Xuedong Chen <Xuedong.Chen@igt.com> wrote:

Yes, I did. Have you guys tried hard drives of 30G or more? Did they work
for you? Which version of fdisk/devb-eide did you use? Thanks.
“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9hfe0t$bf2$> 1@nntp.qnx.com> …
Hi,

Are you saving the new partiton configuration before you quit fdisk?

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it to
t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from
the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong

Joe:

The system I am using is QNX 6.0 Patch B.

Here is what I got:


Before I use Fdisk:

fdisk /dev/hd1 show

OS Start End _Number Size Boot
name type Cylinder Cylinder Cylinders Blocks

  1. ------ (—) ----- ----- ----- -------- -----
  2. ------ (—) ----- ----- ----- -------- -----
  3. ------ (—) ----- ----- ----- -------- -----
  4. ------ (—) ----- ----- ----- -------- -----

AFter I used fdisk.

fdisk /dev/hd1 show

OS Start End _Number Size Boot
name type Cylinder Cylinder Cylinders Blocks

  1. QNZ ( 79) 0 2516 2517 16513956 8063 MB
    warning
  2. ------ (—) ----- ----- ----- -------- -----
  3. ------ (—) ----- ----- ----- -------- -----
  4. ------ (—) ----- ----- ----- -------- -----

Then I reboot to let system recognize this new partition, after machine
coming up, I checked the /dev, I got:

ls /dev

con1 hd0t79 pci ptyp4 text ttyp4
con2 hd1 pipe ptyp5 tty ttyp5
con3 io-net ptyp0 ptyp6 ttyp0 ttyp6
con4 kbd ptyp1 ptyp7 ttyp1 ttyp7
console mem ptyp2 shmem ttyp2 zero
hd0 null ptyp3 socket ttyp3

****** Note: there is no /dev/hd1t79 * *******

Now, I use fdisk again, I got:

fdisk /dev/hd1 show

OS Start End _Number Size Boot
name type Cylinder Cylinder Cylinders Blocks

  1. ------ (—) ----- ----- ----- -------- -----
  2. ------ (—) ----- ----- ----- -------- -----
  3. ------ (—) ----- ----- ----- -------- -----
  4. ------ (—) ----- ----- ----- -------- -----

****** It comes back empty again ! ******

Regards,

Xuedong



“Hardware Support Account” <hw@qnx.com> wrote in message
news:9hg0jl$mh2$1@nntp.qnx.com

Hi Xuedong,

What version of the OS are you running? Any patches installed?
Can you provide full details to the steps your are taking and the status
of the
system before and after you create the partition. Could you also post the
output
from ‘fdisk /dev/hd0 show’ before and after you use fdisk to create the
partition.

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Yes, I did. Have you guys tried hard drives of 30G or more? Did they
work
for you? Which version of fdisk/devb-eide did you use? Thanks.
“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9hfe0t$bf2$> 1@nntp.qnx.com> …
Hi,

Are you saving the new partiton configuration before you quit fdisk?

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it
to
t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from
the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong
\

I suspect it is the same problem as I reported a while back. Disk
geometry on big drives does not match QNX assumptions and they appear to
be unable to read it from BIOS.

To fix it you need

  1. Zero out partition table.
  2. Restart driver with proper geometry (see what BIOS thinks about it).
  3. Write partition table again.

It is important that whenever you write partition table the driver
must be running with proper geometry options, otherwise you will have to
zero out partition table again. Once you write it with bad geometry it
is sticky and just restarting driver does not help until you clear it.

I got 36Gb SCSI drive working this way and yes I had exactly same
symptoms as you have now.

  • igor

Xuedong Chen wrote:

Joe:

The system I am using is QNX 6.0 Patch B.

Here is what I got:

Before I use Fdisk:

fdisk /dev/hd1 show

OS Start End _Number Size Boot
name type Cylinder Cylinder Cylinders Blocks

  1. ------ (—) ----- ----- ----- -------- -----
  2. ------ (—) ----- ----- ----- -------- -----
  3. ------ (—) ----- ----- ----- -------- -----
  4. ------ (—) ----- ----- ----- -------- -----

AFter I used fdisk.

fdisk /dev/hd1 show

OS Start End _Number Size Boot
name type Cylinder Cylinder Cylinders Blocks

  1. QNZ ( 79) 0 2516 2517 16513956 8063 MB
    warning
  2. ------ (—) ----- ----- ----- -------- -----
  3. ------ (—) ----- ----- ----- -------- -----
  4. ------ (—) ----- ----- ----- -------- -----

Then I reboot to let system recognize this new partition, after machine
coming up, I checked the /dev, I got:

ls /dev

con1 hd0t79 pci ptyp4 text ttyp4
con2 hd1 pipe ptyp5 tty ttyp5
con3 io-net ptyp0 ptyp6 ttyp0 ttyp6
con4 kbd ptyp1 ptyp7 ttyp1 ttyp7
console mem ptyp2 shmem ttyp2 zero
hd0 null ptyp3 socket ttyp3

****** Note: there is no /dev/hd1t79 * *******

Now, I use fdisk again, I got:

fdisk /dev/hd1 show

OS Start End _Number Size Boot
name type Cylinder Cylinder Cylinders Blocks

  1. ------ (—) ----- ----- ----- -------- -----
  2. ------ (—) ----- ----- ----- -------- -----
  3. ------ (—) ----- ----- ----- -------- -----
  4. ------ (—) ----- ----- ----- -------- -----

****** It comes back empty again ! ******

Regards,

Xuedong

“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9hg0jl$mh2$> 1@nntp.qnx.com> …
Hi Xuedong,

What version of the OS are you running? Any patches installed?
Can you provide full details to the steps your are taking and the status
of the
system before and after you create the partition. Could you also post the
output
from ‘fdisk /dev/hd0 show’ before and after you use fdisk to create the
partition.

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Yes, I did. Have you guys tried hard drives of 30G or more? Did they
work
for you? Which version of fdisk/devb-eide did you use? Thanks.
“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9hfe0t$bf2$> 1@nntp.qnx.com> …
Hi,

Are you saving the new partiton configuration before you quit fdisk?

Regards,

Joe

Xuedong Chen <> Xuedong.Chen@igt.com> > wrote:
Hi, Guys:

When using a new hard drive of 30G size, I used fdisk to parition it
to
t79,
it seems that I got a partition of about 8 G, but when I reboot, this
partition didn’t appear, and then I used fdisk again to check it, it
appeared that no t79 partition on the hard drive, does it result from
the
EIDE driver or fdisk’s limit?

HD of 20G size is fine.

Thanks.

Xuedong
\