All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: > 2TB storage
  2005-10-24 15:35 > 2TB storage Carlos Pardo
@ 2005-10-24 15:34 ` Randy.Dunlap
  2005-10-24 15:48 ` Jeff Garzik
  2005-10-24 16:43 ` Bryan O'Sullivan
  2 siblings, 0 replies; 9+ messages in thread
From: Randy.Dunlap @ 2005-10-24 15:34 UTC (permalink / raw)
  To: Carlos Pardo; +Cc: Jeff Garzik, Tejun Heo, linux-ide, Edward Falk

On Mon, 24 Oct 2005, Carlos Pardo wrote:

> To everyone,
>
> Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
> instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by
> reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.

With CONFIG_LBD enabled or disabled?

Please post precise log messages.

-- 
~Randy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* > 2TB storage
@ 2005-10-24 15:35 Carlos Pardo
  2005-10-24 15:34 ` Randy.Dunlap
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Carlos Pardo @ 2005-10-24 15:35 UTC (permalink / raw)
  To: Jeff Garzik, Tejun Heo; +Cc: linux-ide, Edward Falk

To everyone,

Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by 
reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.  

C Pardo

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: > 2TB storage
  2005-10-24 15:35 > 2TB storage Carlos Pardo
  2005-10-24 15:34 ` Randy.Dunlap
@ 2005-10-24 15:48 ` Jeff Garzik
  2005-10-24 15:53   ` Randy.Dunlap
  2005-10-24 16:43 ` Bryan O'Sullivan
  2 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2005-10-24 15:48 UTC (permalink / raw)
  To: Carlos Pardo; +Cc: Tejun Heo, linux-ide, Edward Falk

Carlos Pardo wrote:
> To everyone,
> 
> Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
> instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by 
> reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.  

We read IDENTIFY DEVICE data directly, and use that...

Make sure you have CONFIG_LBD turned on, as Randy mentioned.  There may 
be other factors at play here too that I'm not seeing...

	Jeff



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: > 2TB storage
  2005-10-24 15:48 ` Jeff Garzik
@ 2005-10-24 15:53   ` Randy.Dunlap
  0 siblings, 0 replies; 9+ messages in thread
From: Randy.Dunlap @ 2005-10-24 15:53 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Carlos Pardo, Tejun Heo, linux-ide, Edward Falk

On Mon, 24 Oct 2005, Jeff Garzik wrote:

> Carlos Pardo wrote:
> > To everyone,
> >
> > Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> > essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
> > instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by
> > reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.
>
> We read IDENTIFY DEVICE data directly, and use that...
>
> Make sure you have CONFIG_LBD turned on, as Randy mentioned.  There may
> be other factors at play here too that I'm not seeing...

With CONFIG_LBD=n and drive size near max 32-bit value,
there is a drive size calculation overflow error.
That's (another) reason that I asked for precise message logs.

It only affects the reported size (in the message log).
James has a fix for it.

-- 
~Randy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: > 2TB storage
@ 2005-10-24 16:09 Carlos Pardo
  2005-10-24 16:19 ` Randy.Dunlap
  0 siblings, 1 reply; 9+ messages in thread
From: Carlos Pardo @ 2005-10-24 16:09 UTC (permalink / raw)
  To: Randy.Dunlap, Jeff Garzik; +Cc: Tejun Heo, linux-ide, Edward Falk

Randy,

I did not get any errors. Will recheck CONFIG_LBD settings. This is what I saw:

With open source driver: 

scsi1: sata_sil
SCSI device sda: 586153984 512-byte hdwr sectors (300111 MB)
SCSI device sda: drive cache: write back
mke2fs reports => 2232 

With our driver:

sda : use 0xffffffff as device size
SCSI device sda: 4294967296 512-byte hdwr sectors (2199023 MB)
SCSI device sda: drive cache: none
mke2fs reports => 16384

C-

-----Original Message-----
From: Randy.Dunlap [mailto:rdunlap@xenotime.net]
Sent: Monday, October 24, 2005 8:54 AM
To: Jeff Garzik
Cc: Carlos Pardo; Tejun Heo; linux-ide@vger.kernel.org; Edward Falk
Subject: Re: > 2TB storage


On Mon, 24 Oct 2005, Jeff Garzik wrote:

> Carlos Pardo wrote:
> > To everyone,
> >
> > Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> > essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
> > instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by
> > reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.
>
> We read IDENTIFY DEVICE data directly, and use that...
>
> Make sure you have CONFIG_LBD turned on, as Randy mentioned.  There may
> be other factors at play here too that I'm not seeing...

With CONFIG_LBD=n and drive size near max 32-bit value,
there is a drive size calculation overflow error.
That's (another) reason that I asked for precise message logs.

It only affects the reported size (in the message log).
James has a fix for it.

-- 
~Randy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: > 2TB storage
  2005-10-24 16:09 Carlos Pardo
@ 2005-10-24 16:19 ` Randy.Dunlap
  0 siblings, 0 replies; 9+ messages in thread
From: Randy.Dunlap @ 2005-10-24 16:19 UTC (permalink / raw)
  To: Carlos Pardo; +Cc: Randy.Dunlap, Jeff Garzik, Tejun Heo, linux-ide, Edward Falk

On Mon, 24 Oct 2005, Carlos Pardo wrote:

> Randy,
>
> I did not get any errors. Will recheck CONFIG_LBD settings. This is what I saw:
>
> With open source driver:
>
> scsi1: sata_sil
> SCSI device sda: 586153984 512-byte hdwr sectors (300111 MB)
> SCSI device sda: drive cache: write back
> mke2fs reports => 2232
>
> With our driver:
>
> sda : use 0xffffffff as device size

Wasn't there a message above this one?  There should have been
one like:

		printk(KERN_NOTICE "%s : READ CAPACITY(16) failed.\n"
		       "%s : status=%x, message=%02x, host=%d, driver=%02x \n",

> SCSI device sda: 4294967296 512-byte hdwr sectors (2199023 MB)
           == hex: 1_0000_0000

Looks to me like you really need CONFIG_LBD=y.

What CPU arch. are you using?

> SCSI device sda: drive cache: none
> mke2fs reports => 16384
>
> C-
>
> -----Original Message-----
> From: Randy.Dunlap [mailto:rdunlap@xenotime.net]
> Sent: Monday, October 24, 2005 8:54 AM
> To: Jeff Garzik
> Cc: Carlos Pardo; Tejun Heo; linux-ide@vger.kernel.org; Edward Falk
> Subject: Re: > 2TB storage
>
>
> On Mon, 24 Oct 2005, Jeff Garzik wrote:
>
> > Carlos Pardo wrote:
> > > To everyone,
> > >
> > > Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> > > essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
> > > instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by
> > > reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.
> >
> > We read IDENTIFY DEVICE data directly, and use that...
> >
> > Make sure you have CONFIG_LBD turned on, as Randy mentioned.  There may
> > be other factors at play here too that I'm not seeing...
>
> With CONFIG_LBD=n and drive size near max 32-bit value,
> there is a drive size calculation overflow error.
> That's (another) reason that I asked for precise message logs.
>
> It only affects the reported size (in the message log).
> James has a fix for it.

-- 
~Randy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: > 2TB storage
  2005-10-24 15:35 > 2TB storage Carlos Pardo
  2005-10-24 15:34 ` Randy.Dunlap
  2005-10-24 15:48 ` Jeff Garzik
@ 2005-10-24 16:43 ` Bryan O'Sullivan
  2 siblings, 0 replies; 9+ messages in thread
From: Bryan O'Sullivan @ 2005-10-24 16:43 UTC (permalink / raw)
  To: Carlos Pardo; +Cc: Jeff Garzik, Tejun Heo, linux-ide, Edward Falk

On Mon, 2005-10-24 at 08:35 -0700, Carlos Pardo wrote:

> Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset.

Since you appear work for SiImage, was this a SteelVine SV-2000 box?
That ships configured as a port multiplier, not a fake RAID.  There are
no Linux drivers that can usefully talk to it, and no software available
for Linux to reconfigure it out of JBOD mode.  It's a Windows-only box.

	<b


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: > 2TB storage
@ 2005-10-24 17:11 Carlos Pardo
  0 siblings, 0 replies; 9+ messages in thread
From: Carlos Pardo @ 2005-10-24 17:11 UTC (permalink / raw)
  To: Bryan O'Sullivan; +Cc: Jeff Garzik, Tejun Heo, linux-ide, Edward Falk

You are correct. It is actually an SV-2000 configured as "BIG". It concatenates the disk drives to make them look like one gigantic disk. There will soon be a way to configure the SV-2000 under Linux.

C- 

-----Original Message-----
From: Bryan O'Sullivan [mailto:bos@serpentine.com]
Sent: Monday, October 24, 2005 9:43 AM
To: Carlos Pardo
Cc: Jeff Garzik; Tejun Heo; linux-ide@vger.kernel.org; Edward Falk
Subject: Re: > 2TB storage


On Mon, 2005-10-24 at 08:35 -0700, Carlos Pardo wrote:

> Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset.

Since you appear work for SiImage, was this a SteelVine SV-2000 box?
That ships configured as a port multiplier, not a fake RAID.  There are
no Linux drivers that can usefully talk to it, and no software available
for Linux to reconfigure it out of JBOD mode.  It's a Windows-only box.

	<b

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: > 2TB storage
@ 2005-10-24 17:18 Carlos Pardo
  0 siblings, 0 replies; 9+ messages in thread
From: Carlos Pardo @ 2005-10-24 17:18 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: Jeff Garzik, Tejun Heo, linux-ide, Edward Falk

Randy et al,

I will retest and do a more accurate report in a couple of days. Thanks.

C-

-----Original Message-----
From: Randy.Dunlap [mailto:rdunlap@xenotime.net]
Sent: Monday, October 24, 2005 9:20 AM
To: Carlos Pardo
Cc: Randy.Dunlap; Jeff Garzik; Tejun Heo; linux-ide@vger.kernel.org;
Edward Falk
Subject: RE: > 2TB storage


On Mon, 24 Oct 2005, Carlos Pardo wrote:

> Randy,
>
> I did not get any errors. Will recheck CONFIG_LBD settings. This is what I saw:
>
> With open source driver:
>
> scsi1: sata_sil
> SCSI device sda: 586153984 512-byte hdwr sectors (300111 MB)
> SCSI device sda: drive cache: write back
> mke2fs reports => 2232
>
> With our driver:
>
> sda : use 0xffffffff as device size

Wasn't there a message above this one?  There should have been
one like:

		printk(KERN_NOTICE "%s : READ CAPACITY(16) failed.\n"
		       "%s : status=%x, message=%02x, host=%d, driver=%02x \n",

> SCSI device sda: 4294967296 512-byte hdwr sectors (2199023 MB)
           == hex: 1_0000_0000

Looks to me like you really need CONFIG_LBD=y.

What CPU arch. are you using?

> SCSI device sda: drive cache: none
> mke2fs reports => 16384
>
> C-
>
> -----Original Message-----
> From: Randy.Dunlap [mailto:rdunlap@xenotime.net]
> Sent: Monday, October 24, 2005 8:54 AM
> To: Jeff Garzik
> Cc: Carlos Pardo; Tejun Heo; linux-ide@vger.kernel.org; Edward Falk
> Subject: Re: > 2TB storage
>
>
> On Mon, 24 Oct 2005, Jeff Garzik wrote:
>
> > Carlos Pardo wrote:
> > > To everyone,
> > >
> > > Has anyone tested libATA drivers using disks bigger than 2 Terabytes? I just attached what is
> > > essentially a 2.2 TB disk drive to a Silicon Image 3114 chipset. It reported around 300 Megabytes
> > > instead of the expected 2200 Megabytes. How is the disk geometry determined ? Is it done by
> > > reading the IDENTIFY data or by accessing the BIOS ? Thanks in advance for any feedback.
> >
> > We read IDENTIFY DEVICE data directly, and use that...
> >
> > Make sure you have CONFIG_LBD turned on, as Randy mentioned.  There may
> > be other factors at play here too that I'm not seeing...
>
> With CONFIG_LBD=n and drive size near max 32-bit value,
> there is a drive size calculation overflow error.
> That's (another) reason that I asked for precise message logs.
>
> It only affects the reported size (in the message log).
> James has a fix for it.

-- 
~Randy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-10-24 17:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24 15:35 > 2TB storage Carlos Pardo
2005-10-24 15:34 ` Randy.Dunlap
2005-10-24 15:48 ` Jeff Garzik
2005-10-24 15:53   ` Randy.Dunlap
2005-10-24 16:43 ` Bryan O'Sullivan
  -- strict thread matches above, loose matches on Subject: below --
2005-10-24 16:09 Carlos Pardo
2005-10-24 16:19 ` Randy.Dunlap
2005-10-24 17:11 Carlos Pardo
2005-10-24 17:18 Carlos Pardo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.