New IBM IDE drive recognized as 40 GB but is 80 GB

New IBM IDE drive recognized as 40 GB but is 80 GB

Post by Martin Rod » Thu, 21 Mar 2002 05:10:10



Dear kernel hackers,

This problem is on a:


We have bought a new IDE hard drive:

hdb: IC35L040AVVA07-0, ATA DISK drive

This is wrongly recognized as 40GB (should be 80GB) drive:

From dmesg:
====================
ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:pio, hdd:pio
hda: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=3649/255/63,
(U)DMA
hdb: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=5005/255/63,
UDMA(33)
                       <----> this is wrong
But doing:


80418240           <--------------------------------- this is correct

shows the right capacity.

The CHS counts in dmesg are not the ones physically printed on the
drive. However, a kernel command line "hdb=16383/16/63" did not fix the
problem and resulted in the same GB count.

mke2fs on a fully allocated /dev/hdb1 shows 40GB to me.
Using LVM on the whole drive /dev/hdb same thing, only 40 GB.

What am I doing wrong?

Thanks for your help and a private cc, since I'm no subscriber.

Take Care,

;Martin

Below my kernel config (IDE relevant stuff):

Config:
=====================

# CONFIG_PARIDE is not set
# ATA/IDE/MFM/RLL support
CONFIG_IDE=y
# IDE, ATA and ATAPI Block devices
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
# CONFIG_BLK_DEV_IDEDISK_IBM is not set
# CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
# CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
# CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
# CONFIG_BLK_DEV_IDEDISK_WD is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_BLK_DEV_IDE_MODES=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_VIDEO_DEV is not set
# CONFIG_VIDEO_SELECT is not set

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

New IBM IDE drive recognized as 40 GB but is 80 GB

Post by Barry K. Nath » Thu, 21 Mar 2002 05:50:08


Quote:> We have bought a new IDE hard drive:

> hdb: IC35L040AVVA07-0, ATA DISK drive

             ^^ 40GB (well, according to IBM, "41.17GB")

Look here if you don't believe me:
http://www.storage.ibm.com/hdd/support/d120gxp/d120gxpmod.htm

> This is wrongly recognized as 40GB (should be 80GB) drive:
[snip]

> 80418240           <--------------------------------- this is correct

> shows the right capacity.

80418240 512-byte sectors is about 40GB.

The kernel is reporting the correct size... 40GB.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

New IBM IDE drive recognized as 40 GB but is 80 GB

Post by Alan Co » Thu, 21 Mar 2002 09:30:12


Quote:> hdb: IC35L040AVVA07-0, ATA DISK drive

> This is wrongly recognized as 40GB (should be 80GB) drive:

Thats a 40Gb drive.   IC35L[capacity]....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

New IBM IDE drive recognized as 40 GB but is 80 GB

Post by Martin Rod » Thu, 21 Mar 2002 22:40:21


Thanks all for your help!

The drive had a wrong labeled bag and the wrong sticker on it
(indicating 80GB instead of 40GB)!! So Linux IDE works fine...

;Martin

--
Dipl.-Kfm. Martin Rode

Zeroscale GmbH & Co. KG
Frankfurter Allee 73d
10247 Berlin

http://www.zeroscale.com/
http://www.programmfabrik.de/

Fon +49-(0)30-4281-8001
Fax +49-(0)30-4281-8008
Funk +49-(0)163-5321400
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 40 GB Seagate disk and only 8 GB usable

Hello,

I am running Solaris 9 on a Sun Netra X1 with the latest
9_Recommended.zip patches. I have a 40 GB IDE harddisk from Seagate
(ST340016A) and the problem is that in the partition tool of the format
command I can only use 8 GB and not more... How can I somehow change
that ? I must be able somehow to tell Solaris that there is more space
available...

Here is the entry in the format tool about the disk:

        0. c0t0d0 <ST340016A cyl 16383 alt 2 hd 16 sec 63>

And here is the partition table:

Part      Tag    Flag     Cylinders         Size            Blocks
   0       root    wm    2081 - 10207        3.91GB    (8127/0/0)   8192016
   1        var    wm   10208 - 12288        1.00GB    (2081/0/0)   2097648
   2     backup    wm       0 - 16382        7.87GB    (16383/0/0) 16514064
   3       swap    wu       0 -  2080        1.00GB    (2081/0/0)   2097648
   4 unassigned    wm       0                0         (0/0/0)            0
   5 unassigned    wm       0                0         (0/0/0)            0
   6 unassigned    wm       0                0         (0/0/0)            0
   7 unassigned    wm       0                0         (0/0/0)            0

Thank you very much in advance for your help
Regards

2. Limit concurrent connections

3. Will 20/40 GB tape drv write 5 GB tape?

4. I Need PPP admin help!

5. large 40 GB IDE drives in U5

6. Notify of user logging

7. Sol 8 and 40 GB IDE drives

8. Connect request timeout

9. 40 GB IDE disk on 2.6

10. 80 GB IDE disks compared

11. Dual Boot, partitioning, Windows Me, 40 GB drive.

12. fdisk and 40 GB drives

13. Promise Ultra100TX2 IDE controller with 200 gb drive - 135 gig recognized