LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-29-2004, 04:37 AM   #1
asm
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Red face kernel 2.6.8.1 - very slow read from sata


Hi.

Sorry for my bad English.

I have two s-ata drives:
Seagete 160 Gb model ST3160023AS
Its connected to Silicon Image Sil 3112A Controller with 2 ports on Asus A7N8X Deluxe motherboard.
But hdparm -t /dev/sda say:
/dev/sda:
Timing buffered disk reads: 36 MB in 3.08 seconds = 11.70 MB/sec

On kernel 2.6.3 a get more than 50 MB/sec.
And this drives had names:
/dev/hde
/dev/hdg

What to do ?

dmsg say:
libata version 1.02 loaded.
sata_sil version 0.54
ACPI: PCI interrupt 0000:01:0b.0[A] -> GSI 18 (level, high) -> IRQ 18
ata1: SATA max UDMA/100 cmd 0xE086A080 ctl 0xE086A08A bmdma 0xE086A000 irq 18
ata2: SATA max UDMA/100 cmd 0xE086A0C0 ctl 0xE086A0CA bmdma 0xE086A008 irq 18
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 312581808 sectors: lba48
ata1(0): applying Seagate errata fix
ata1: dev 0 configured for UDMA/100
scsi0 : sata_sil
ata2: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata2: dev 0 ATA, max UDMA/133, 312581808 sectors: lba48
ata2(0): applying Seagate errata fix
ata2: dev 0 configured for UDMA/100
scsi1 : sata_sil
Vendor: ATA Model: ST3160023AS Rev: 3.18
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: ST3160023AS Rev: 3.18
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2 < sdb5 >
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
 
Old 08-29-2004, 09:36 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
What's the udma listing according to:

hdparm -i /dev/hdX

Might be able to hand set the DMA rating to correct, looks like you're not getting DMA there.

Cheers,

Finegan
 
Old 10-07-2004, 07:49 AM   #3
dr_saturn
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
It's a Sil vs Seagate thing...

ata1(0): applying Seagate errata fix
This line in your dmesg shows that your drive is one of those on a blacklist in the sata_sil driver.

There is a bug which causes Seagate drives to lock up on Sil controllers.
That's what happened to me, which is much worse than slow performance.
The fix limits writes to 8k sectors.

So it's either slow and stable or fast and unstable...much like life really.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
Slow SATA drive Scorper Linux - Hardware 1 04-11-2005 11:04 AM
RH9 and SATA - Kernel 2.4.27 - how to get SATA to work? rolf_mueller Linux - Hardware 5 10-30-2004 08:30 PM
sata+suse9.0=slow ? xxphdg Linux - Hardware 2 03-09-2004 04:27 PM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration