bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: DF (coreutils) - bug??


From: Alex
Subject: Re[2]: DF (coreutils) - bug??
Date: Sun, 28 May 2006 22:54:34 +0700

PE> Alex aka Parasite <address@hidden> writes:

>> The problem seems to be related to well-known "137Gb LBA limitation".
PE> Most likely it's not a bug in df, then, and is instead a bug in the
PE> underyling operating system or file system.  You can check this by
PE> invoking strace on df, and seeing what numbers the underyling system
PE> calls return.

Dear Paul,

the subj still has its place (with the same descriptions) at 3
different NEC 5800 computers at my office (all are with large 250Gb
HDDs formatted as one ext2 partition) - and one with just freshly
reformatted, reinstalled and fsck'ed system. I believe that the subj
is NOT about the OS or FS. And other programs (exclude df) are
detected the space correctly. Anyway, I've just reporting you the bug,
and you decide what to do abt it, bcause I've no idea what to do - df
was an easiest way to me to check the free HDD space available, and
now it's been failing. :\

See below (the large disk is /dev/hdc everywhere below):

dmesg (a bit cropped):
------------------
Linux version 2.4.32 (address@hidden) (gcc version 3.3.6) #5 SMP Wed May 17 
03:42:27 ICT 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000018000000 (usable)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
384MB LOWMEM available.
found SMP MP-table at 000f71d0
hm, page 000f7000 reserved twice.
hm, page 000f8000 reserved twice.
hm, page 0009f000 reserved twice.
hm, page 000a0000 reserved twice.
OEM ID: NEC      Product ID: EXP5800      APIC at: 0xFEE00000
Processor #3 Pentium(tm) Pro APIC version 17
Processor #2 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
Processor #0 Pentium(tm) Pro APIC version 17
I/O APIC #4 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat.       Using 2 I/O APICs
Processors: 4

<...>

[drm] Initialized i810 1.2.1 20020211 on minor 2
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:0f.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xec90-0xec97, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xec98-0xec9f, BIOS settings: hdc:DMA, hdd:pio
hda: ST340016A, ATA DISK drive
blk: queue c050e280, I/O limit 4095Mb (mask 0xffffffff)
hdc: ST3250823A, ATA DISK drive
blk: queue c050e6ec, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(33)
------------------




hdparm -g /dev/hdc
------------------
/dev/hdc:

 Model=ST3250823A, FwRev=3.03, SerialNo=5ND1D32123
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 
 AdvancedPM=no WriteCache=enabled
 * signifies the current active mode
------------------




hdparm -i /dev/hdc
------------------
/dev/hdc:
 geometry     = 30401/255/63, sectors = 488397168, start = 0
------------------




fdisk /dev/hdc
------------------
Command (m for help):
>p
Disk /dev/hdc: 250.0 GB, 250059350016 bytes
16 heads, 63 sectors/track, 484521 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1      484521   244198552+  83  Linux
------------------





df
------------------
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1             35013320  14060288  19145724  43% /
/dev/sda2               640388        24    607836   1% /mount/scsi-drive
/dev/hdc1            132111804 105895596  19505324  85% /mount/250Gb
------------------
                     ^^^^^^^^^ ^^^^^^^^^  ^^^^^^^^  ^^^ = all are
                     WRONG, and only for hdc (for other 2 HDDs it is OK)




df version
------------------
df (GNU coreutils) 5.96
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
------------------



Hope it helps,
ready to provide more data if requested,

Thanks,
Alex.










reply via email to

[Prev in Thread] Current Thread [Next in Thread]