Skip to contentSkip to conversation

160gb disk showing up as 137gb

DISCUSSION Wakko Warner 5 participants 7 messages Apr 26, 2002

lore
Share & tools
lore
#0 lore raw

Just bought a maxtor 160gb disk and it shows upt as a 137gb disk. I thought this might be the system board's ide chipset limitation so I put a scsi->ide adapter on the drive. Same situation occurs. I'm looking at what the kernel reports when it finds the drive. /proc/partitions shows this drive as:
8 0 134217727 sda
/proc/scsi/scsi shows:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Maxtor 4 Model: G160J8 Rev: GAK8
Type: Direct-Access ANSI SCSI revision: 02

I tried kernel 2.4.14 and 2.4.18. Any ideas?

lspci -v:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Flags: bus master, medium devsel, latency 32

00:07.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev
01)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 32
I/O ports at ffa0 [size=16]

00:10.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05) Subsystem: Intel Corporation EtherExpress PRO/100+ Management Adapter

        Flags: bus master, medium devsel, latency 64, IRQ 16
        Memory at ffaff000 (32-bit, prefetchable) [size=4K]
        I/O ports at ef80 [size=32]
        Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at fe900000 [disabled] [size=1M]
        Capabilities: [dc] Power Management version 1

00:11.0 SCSI storage controller: Adaptec AIC-7881U
Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at ec00 [disabled] [size=256] Memory at febef000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febd0000 [disabled] [size=64K]

00:12.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06) (prog-if 00 [VGA])
Flags: bus master, medium devsel, latency 64, IRQ 17
Memory at f8000000 (32-bit, non-prefetchable) [size=64M] Expansion ROM at febf0000 [disabled] [size=64K]

00:13.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
Subsystem: Ensoniq: Unknown device 1371
Flags: bus master, slow devsel, latency 64, IRQ 18
I/O ports at ef00 [size=64]
Capabilities: [dc] Power Management version 1

Signature · 1 line
 Lab tests show that use of micro$oft causes cancer in lab animals
#1 lore raw

On Fri, 26 Apr 2002, Wakko Warner wrote:

| Just bought a maxtor 160gb disk and it shows upt as a 137gb disk.  I thought
| this might be the system board's ide chipset limitation so I put a scsi->ide
| adapter on the drive.  Same situation occurs.  I'm looking at what the kernel
| reports when it finds the drive.  /proc/partitions shows this drive as:
|    8     0  134217727 sda
| /proc/scsi/scsi shows:
| Attached devices:
| Host: scsi0 Channel: 00 Id: 00 Lun: 00
|   Vendor: Maxtor 4 Model: G160J8           Rev: GAK8
|   Type:   Direct-Access                    ANSI SCSI revision: 02
|
| I tried kernel 2.4.14 and 2.4.18.  Any ideas?

Hi,

There was a thread on this 2-3 months back.
IDE in 2.4 doesn't have a 48-bit block address interface IIRC, although Andre has some patches for this.
This is necessary to go above 137 GB.

Signature · 1 line
~Randy
#2 lore raw
In reply to Wakko Warner
Quoted 15 lines · Randy.Dunlap

On Fri, 26 Apr 2002, Wakko Warner wrote:

| Just bought a maxtor 160gb disk and it shows upt as a 137gb disk.  I thought
| this might be the system board's ide chipset limitation so I put a scsi->ide
| adapter on the drive.  Same situation occurs.  I'm looking at what the kernel
| reports when it finds the drive.  /proc/partitions shows this drive as:
|    8     0  134217727 sda
| /proc/scsi/scsi shows:
| Attached devices:
| Host: scsi0 Channel: 00 Id: 00 Lun: 00
|   Vendor: Maxtor 4 Model: G160J8           Rev: GAK8
|   Type:   Direct-Access                    ANSI SCSI revision: 02
|
| I tried kernel 2.4.14 and 2.4.18.  Any ideas?
Quoted 6 lines

Hi,

There was a thread on this 2-3 months back.
IDE in 2.4 doesn't have a 48-bit block address interface IIRC, although Andre has some patches for this.
This is necessary to go above 137 GB.

Wasn't some of that merged into one of the early 2.4.19-pre kernels?

#3 lore raw
In reply to Wakko Warner

ERM,

Why is it showing up under SCSI ?

Quoted 44 lines · Wakko Warner

Just bought a maxtor 160gb disk and it shows upt as a 137gb disk. I thought this might be the system board's ide chipset limitation so I put a scsi->ide adapter on the drive. Same situation occurs. I'm looking at what the kernel reports when it finds the drive. /proc/partitions shows this drive as:

   8     0  134217727 sda

/proc/scsi/scsi shows:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Maxtor 4 Model: G160J8 Rev: GAK8
Type: Direct-Access ANSI SCSI revision: 02

I tried kernel 2.4.14 and 2.4.18. Any ideas?

lspci -v:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Flags: bus master, medium devsel, latency 32

00:07.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev
01)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 32
I/O ports at ffa0 [size=16]

00:10.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05) Subsystem: Intel Corporation EtherExpress PRO/100+ Management Adapter

        Flags: bus master, medium devsel, latency 64, IRQ 16
        Memory at ffaff000 (32-bit, prefetchable) [size=4K]
        I/O ports at ef80 [size=32]
        Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at fe900000 [disabled] [size=1M]
        Capabilities: [dc] Power Management version 1

00:11.0 SCSI storage controller: Adaptec AIC-7881U
Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at ec00 [disabled] [size=256] Memory at febef000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febd0000 [disabled] [size=64K]

00:12.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06) (prog-if 00 [VGA])
Flags: bus master, medium devsel, latency 64, IRQ 17
Memory at f8000000 (32-bit, non-prefetchable) [size=64M] Expansion ROM at febf0000 [disabled] [size=64K]

Quoted 14 lines

00:13.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
Subsystem: Ensoniq: Unknown device 1371
Flags: bus master, slow devsel, latency 64, IRQ 18
I/O ports at ef00 [size=64]
Capabilities: [dc] Power Management version 1

Signature · 6 lines
 Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Andre Hedrick
LAD Storage Consulting Group

#4 lore raw
In reply to Wakko Warner

If you are using a 3Ware adapter, you will need to upgrade the firmware to enable 48 bit lba. Ditto other RAID controllers.

Jeff

Quoted 30 lines · Randy.Dunlap

On Fri, 26 Apr 2002, Wakko Warner wrote:

| Just bought a maxtor 160gb disk and it shows upt as a 137gb disk.  I thought
| this might be the system board's ide chipset limitation so I put a scsi->ide
| adapter on the drive.  Same situation occurs.  I'm looking at what the kernel
| reports when it finds the drive.  /proc/partitions shows this drive as:
|    8     0  134217727 sda
| /proc/scsi/scsi shows:
| Attached devices:
| Host: scsi0 Channel: 00 Id: 00 Lun: 00
|   Vendor: Maxtor 4 Model: G160J8           Rev: GAK8
|   Type:   Direct-Access                    ANSI SCSI revision: 02
|
| I tried kernel 2.4.14 and 2.4.18.  Any ideas?

Hi,

There was a thread on this 2-3 months back.
IDE in 2.4 doesn't have a 48-bit block address interface IIRC, although Andre has some patches for this.
This is necessary to go above 137 GB.

Signature · 7 lines
~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#5 lore raw
In reply to Wakko Warner
Quoted 18 lines · Mike Fedyk
Quoted 17 lines · Randy.Dunlap

On Fri, 26 Apr 2002, Wakko Warner wrote:

| Just bought a maxtor 160gb disk and it shows upt as a 137gb disk.  I thought
| this might be the system board's ide chipset limitation so I put a scsi->ide
| adapter on the drive.  Same situation occurs.  I'm looking at what the kernel
| reports when it finds the drive.  /proc/partitions shows this drive as:
|    8     0  134217727 sda
| /proc/scsi/scsi shows:
| Attached devices:
| Host: scsi0 Channel: 00 Id: 00 Lun: 00
|   Vendor: Maxtor 4 Model: G160J8           Rev: GAK8
|   Type:   Direct-Access                    ANSI SCSI revision: 02
|
| I tried kernel 2.4.14 and 2.4.18.  Any ideas?

Hi,

Quoted 7 lines
Quoted 4 lines

There was a thread on this 2-3 months back.
IDE in 2.4 doesn't have a 48-bit block address interface IIRC, although Andre has some patches for this.
This is necessary to go above 137 GB.

Wasn't some of that merged into one of the early 2.4.19-pre kernels? -

True, but some cards will require a firmware upgrade.

Jeff

Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#6 lore raw
In reply to Wakko Warner
Quoted 2 lines

If you are using a 3Ware adapter, you will need to upgrade the firmware to enable 48 bit lba. Ditto other RAID controllers.

It's not on a raid controller. The machine has a PIIX3 ide controller and a AHA-2940UW scsi controller. Both exibit the same problem.

Quoted 28 lines
Quoted 28 lines
| Just bought a maxtor 160gb disk and it shows upt as a 137gb disk.  I thought
| this might be the system board's ide chipset limitation so I put a scsi->ide
| adapter on the drive.  Same situation occurs.  I'm looking at what the kernel
| reports when it finds the drive.  /proc/partitions shows this drive as:
|    8     0  134217727 sda
| /proc/scsi/scsi shows:
| Attached devices:
| Host: scsi0 Channel: 00 Id: 00 Lun: 00
|   Vendor: Maxtor 4 Model: G160J8           Rev: GAK8
|   Type:   Direct-Access                    ANSI SCSI revision: 02
|
| I tried kernel 2.4.14 and 2.4.18.  Any ideas?

Hi,

There was a thread on this 2-3 months back.
IDE in 2.4 doesn't have a 48-bit block address interface IIRC, although Andre has some patches for this.
This is necessary to go above 137 GB.

Signature · 7 lines
~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Signature · 1 line
 Lab tests show that use of micro$oft causes cancer in lab animals