Skip to contentSkip to conversation

Cosmetic error: 2.4.20 bootup and >2^31 sector SCSI devices

DISCUSSION [email protected] 2 participants 2 messages Sep 29, 2003 – Sep 30, 2003

lore
Share & tools
lore
#0 lore raw

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.

Signature · 4 lines
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
#1 lore raw

On Mon, 29 Sep 2003 20:20:22 +1000 [email protected] 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