[PLUG] Strange df output

Derek Loree drl at drloree.com
Sun Apr 11 17:58:02 UTC 2004


On Sun, 2004-04-11 at 14:57, Matt Alexander wrote:
> Quoting Derek Loree <drl at drloree.com>:
> 
> > On Sun, 2004-04-11 at 09:01, Matt Alexander wrote:
> > > Here's the output from df on my Debian box:
> > > 
> > > Filesystem            Size  Used Avail Use% Mounted on
> > > /dev/hda1            -5155770632644k  1.0k  0.0k   2% /
> > > /dev/hda2            -1030762396011k  1.0k  0.0k   3% /var
> > > /dev/hda3            -9033376957100k  1.0k  0.0k   8% /home
> > > 
> > > 
> > > Odd, no?
> > 
> > Yes, quite odd.
> > > 
> > > When I run "hdparm /dev/hda", I see this as the last line:
> > > 
> > > HDIO_GET_BUSSTATE failed: Input/output error
> > > 
> > > 
> > > Any ideas what's going on?
> > 
> > More details, what is the chipset controlling the hard drive, what is
> > the make and size of the hard drive, what kernel are you running, what
> > is the rest of the output from hdparm?
> 
> Random info gleaned from various locations:
> 
> 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 unknown
> 
A newer kernel wouldn't hurt, might even help.  Going to a 2.4.2? would
increase performance, especially if this is a more modern motherboard.

> Bus  0, device  31, function  1:
>     IDE interface: Intel Unknown device (rev 2).
>       Vendor id=8086. Device id=24db.
>       Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.
>       I/O at 0x0 [0x1].
>       I/O at 0x0 [0x1].
>       I/O at 0x0 [0x1].
>       I/O at 0x0 [0x1].
>       I/O at 0xf000 [0xf001].
> 
> PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=24db

What does lspci show as the IDE controller?
> 
> hda: HDS722580VLAT20, ATA DISK drive
> hda: HDS722580VLAT20, 58644MB w/1794kB Cache, CHS=7943/240/63
> 
> /dev/hda:
>  multcount    = 16 (on)
>  I/O support  =  3 (32-bit w/sync)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 7943/240/63, sectors = 120103200, start = 0
>  HDIO_GET_BUSSTATE failed: Input/output error
> 
> Disk /dev/hda: 240 heads, 63 sectors, 7943 cylinders
> Units = cylinders of 15120 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1      2646  20003728+  83  Linux
> /dev/hda2          2647      3175   3999240   83  Linux
> /dev/hda3          3176      7811  35048160   83  Linux
> /dev/hda4          7812      7943    997920   82  Linux swap

Was this disk partitioned on this machine, or was it partitioned on
another machine and then installed on this machine?

Still looks strange.

Derek Loree





More information about the PLUG mailing list