** Summary changed:
- Ubuntu Hard disk performance
+ failed: Inappropriate ioctl for device
** Description changed:
- Hi.
+ I am using Ubuntu 8.04. System configuration: pentium4 2.26GHz with
+ intel 845g chipset motherboard. I have an IDE disk of 40 GB
- Please consider me a newbie to linux
+ Cannot read DMA status of hard disk nor active DMA.
- my English is also bad
+ $ sudo hdparm /dev/sda
- I am using ubuntu 8.04
-
- My system configuration is a bit older
-
- pentium4 2.26GHz with intel 845g chipset motherboard.
-
- I have an IDE disk of 40 GB
+ /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)
- In linux all IDE disk listed as 'hda' and SATA as 'sda'
-
- In my case my IDE disk mapped as SATA
-
$ 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
-
- but i have no SATA disk and even no SATA port
-
- Here is the performance of my HDD-
-
- ~$ sudo hdparm -tT /dev/sda
-
- /dev/sda:
- Timing cached reads: 642 MB in 2.00 seconds = 320.61 MB/sec
- Timing buffered disk reads: 58 MB in 3.04 seconds = 19.05 MB/sec
-
- Which is not a good answer given by `hdparm`
-
- My hard disk is slow..
-
- also DMA seems to be not working...
-
- $ 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
-
- I check $lsmod command it shows me that the "libata" modules are loaded
- and there is no ide-disk and ide-cd
-
- modules.
-
- I think "libata" controls SATA disk.
-
- Is my IDE disk is controlled by SATA drivers?
-
- or it is the natural speed of my hard disk?
-
- It may be a Bug. I don't know!
** Changed in: hdparm (Ubuntu)
Sourcepackagename: None => hdparm
Status: Invalid => Confirmed
--
failed: Inappropriate ioctl for device
https://bugs.launchpad.net/bugs/257840
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs