View previous topic :: View next topic |
Author |
Message |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Tue Aug 09, 2005 12:53 am Post subject: SATA disk: fast yesterday, slow today [SOLVED] |
|
|
Last night this PC was working just fine. This morning, disk access takes forever. Check out these appalling results:
Code: | # hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1604 MB in 2.00 seconds = 800.92 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 6 MB in 3.13 seconds = 1.92 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device |
The thing is, I haven't changed anything. This is a home theatre PC and I don't touch it unless something's broken. But overnight, my SATA hard disk has gone from lightning-fast to super-slow.
I've tried fooling with the BIOS to disable P-ATA (which knocks out my DVD-RW drive), and reactivating DMA, but no difference.
Help! What on Earth has happened?
Code: | # hdparm -d1 /dev/sda
/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device |
Code: | # hdparm -iIv /dev/sda
/dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 24321/255/63, sectors = 200049647616, start = 0
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device |
Code: | # lspci
0000:00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
0000:02:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
0000:02:03.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:02:03.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0000:02:05.0 Multimedia video controller: Conexant Winfast TV2000 XP (rev 05)
0000:02:05.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05) |
Kernel is 2.6.10-gentoo-r6.
Last edited by parsim on Tue Aug 09, 2005 10:13 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Tue Aug 09, 2005 2:47 am Post subject: |
|
|
hm. Perhapes your drive is going bad. try 'emerge smartmontools ide-smart' and see what 'smartctl -a /dev/sda' says. _________________ Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Tue Aug 09, 2005 3:02 am Post subject: |
|
|
Thanks for the response. Here's what I get:
Code: | # smartctl -a /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: ATA ST3200822AS Version: 3.01
SATA disks accessed via libata are not currently supported by
smartmontools. When libata is given an ATA pass-thru ioctl() then an
additional '-d libata' device type will be added to smartmontools.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Tue Aug 09, 2005 12:46 pm Post subject: |
|
|
parsim wrote: | Thanks for the response. Here's what I get:
Code: | # smartctl -a /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: ATA ST3200822AS Version: 3.01
SATA disks accessed via libata are not currently supported by
smartmontools. When libata is given an ATA pass-thru ioctl() then an
additional '-d libata' device type will be added to smartmontools.
|
|
Oh.... hm, I don't have any SATA drives so I guess I don't know how to use smart on them. _________________ Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
syg00 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Tue Aug 09, 2005 1:01 pm Post subject: |
|
|
I'd be thinking (in order);
- backup
- fsck
I use (but don't trust since I lost 2 in one incident) SATA disks.
Non-critical data only, and *always* backed up to another box. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Tue Aug 09, 2005 10:12 pm Post subject: |
|
|
Yes, I think the disk may indeed be on a fast track to Hell. Yesterday its speed was variable -- super-slow on bootup, then after an hour or two it got fast again, then after reboot was back to a crawl.
I went out and bought a new disk and have now copied the contents of the drive onto it. The new drive is as fast as it should be, and I didn't have to change a single BIOS or system setting.
I'm buying nothing but Western Digital now. Those drives have always done me right (incl. SATA), but this Seagate was noisy from the beginning and has only lasted 9 months.
Thanks for the help! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Tue Aug 09, 2005 10:18 pm Post subject: |
|
|
parsim wrote: | Yes, I think the disk may indeed be on a fast track to Hell. Yesterday its speed was variable -- super-slow on bootup, then after an hour or two it got fast again, then after reboot was back to a crawl.
I went out and bought a new disk and have now copied the contents of the drive onto it. The new drive is as fast as it should be, and I didn't have to change a single BIOS or system setting.
I'm buying nothing but Western Digital now. Those drives have always done me right (incl. SATA), but this Seagate was noisy from the beginning and has only lasted 9 months.
Thanks for the help! |
I only buy WD, and I've never had one die on me, ever. Maxtor and Seagates have died on me though. <3 Western Digital _________________ Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|