[Bug 257840] Re: failed: Inappropriate ioctl for device

yurikoles yurikoles at gmail.com
Sun Feb 26 15:31:38 UTC 2012


** Changed in: hdparm (Ubuntu)
     Assignee: yurikoles (yurikoles) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/257840

Title:
  failed: Inappropriate ioctl for device

Status in “hdparm” package in Ubuntu:
  Confirmed

Bug description:
  I am using Ubuntu 8.04. System configuration: pentium4 2.26GHz with
  intel 845g chipset motherboard. I have an IDE disk of 40 GB

  Cannot read DMA status of hard disk nor active DMA.

  $ sudo hdparm /dev/sda

  /dev/sda:
  IO_support = 0 (default)
  16-bit)
  HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
  HDIO_GET_DMA failed: Inappropriate ioctl for device
  HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
  readonly = 0 (off)
  readahead = 256 (on)
  geometry = 4870/255/63, sectors = 78242976, start = 0

  ~$ lspci
  00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
  00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
  00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
  00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
  00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
  00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
  00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
  00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
  00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
  00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
  00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
  01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

  $ sudo fdisk -l
  [sudo] password for nitish:

  Disk /dev/sda: 40.0 GB, 40060403712 bytes
  255 heads, 63 sectors/track, 4870 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Disk identifier: 0xb225b225

  Device Boot Start End Blocks Id System
  /dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
  /dev/sda2 2551 4009 11719417+ c W95 FAT32 (LBA)
  /dev/sda3 4010 4799 6345675 83 Linux
  /dev/sda4 4800 4870 570307+ 82 Linux swap / Solaris

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/257840/+subscriptions




More information about the foundations-bugs mailing list