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

From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 09/30/03

  • Next message: Paul Jakma: "Re: Can't X be elemenated?"
    Date:	Tue, 30 Sep 2003 11:39:04 -0700
    To: david@luyer.net
    
    

    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Paul Jakma: "Re: Can't X be elemenated?"

    Relevant Pages

    • Re: 2.6-test11 build error (fs/proc/array.c gcc 2.96 again!)
      ... | Kernel .config support (IKCONFIG) ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: Issues in Booting kernel 2.6.13
      ... Randy, Simen and list ... I am sorry If this has created any confusion among the list. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Cosmetic error: 2.4.20 bootup and >2^31 sector SCSI devices
      ... However all the tools (mkfs etc) work correctly and work out the correct ... 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/ ...
      (Linux-Kernel)
    • Re: Floppy in 2.6
      ... | Enable ISA-Bus Support. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: kgdb for mainline kernel: core-lite [patch 1/3]
      ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)