* Cosmetic error: 2.4.20 bootup and >2^31 sector SCSI devices
@ 2003-09-29 10:20 david
2003-09-30 18:39 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: david @ 2003-09-29 10:20 UTC (permalink / raw)
To: linux-kernel
This looks like it's using some signed numbers that should be unsigned:
SCSI device sdc: -876998784 512-byte hdwr sectors (-449022 MB)
However all the tools (mkfs etc) work correctly and work out the correct
drive size (~1.75Tb):
/dev/sdc 1.7T 465G 1.2T 27% /usr/local/netflow/data
Apologies if it's already fixed in later 2.4.x.
David.
--
David Luyer Phone: +61 3 9674 7525
Network Development Manager P A C I F I C Fax: +61 3 9698 4825
Pacific Internet (Australia) I N T E R N E T Mobile: +61 4 1111 BYTE
http://www.pacific.net.au/ NASDAQ: PCNTF
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cosmetic error: 2.4.20 bootup and >2^31 sector SCSI devices
2003-09-29 10:20 Cosmetic error: 2.4.20 bootup and >2^31 sector SCSI devices david
@ 2003-09-30 18:39 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-09-30 18:39 UTC (permalink / raw)
To: david; +Cc: linux-kernel
On Mon, 29 Sep 2003 20:20:22 +1000 david@luyer.net wrote:
| This looks like it's using some signed numbers that should be unsigned:
|
| SCSI device sdc: -876998784 512-byte hdwr sectors (-449022 MB)
|
| However all the tools (mkfs etc) work correctly and work out the correct
| drive size (~1.75Tb):
|
| /dev/sdc 1.7T 465G 1.2T 27% /usr/local/netflow/data
|
| Apologies if it's already fixed in later 2.4.x.
I checked 2.4.22: it uses unsigned instead of signed values.
I checked 2.6.0-test4: it uses long long data types there, even better.
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-30 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-29 10:20 Cosmetic error: 2.4.20 bootup and >2^31 sector SCSI devices david
2003-09-30 18:39 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®