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

Dunkirk david at davidkrider.com
Wed Oct 14 10:29:44 UTC 2015


I found this bug through searching on the error message. My box works
great under Windows, my crawls under Linux. (I've been running Linux on
my desktop for 20 years, so it's not like this is the first time I've
compared operating systems on the same hardward.) Seems like it's still
a problem, even after 3 more years.

-- 
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:
  Invalid

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