LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-17-2005, 01:46 PM   #1
samhus
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
SATA Sii3112 on Asus A7N8X-E Deluxe


I'm having some troubles with SATA and Linux, I have seagate SATA disk.
DMA seems to be disabled on the disk.
The following is from the default fedora core 3 installation (kernel -2.6.9-1.667), the test gave me different results every time, it kept increasing all the time by approx. 14MB/sec.

#/sbin/lsmod
sata_sil 7813 3
libata 39813 1 sata_sil
sd_mod 13521 4
scsi_mod 76993 2 libata,sd_mod

#hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2116 MB in 2.00 seconds = 1058.16 MB/sec
BLKFLSBUF failed: Operation not supported
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Operation not supported
Timing buffered disk reads: 46 MB in 3.11 seconds = 14.79 MB/sec
BLKFLSBUF failed: Operation not supported
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Operation not supported

#hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2028 MB in 2.00 seconds = 1014.15 MB/sec
BLKFLSBUF failed: Operation not supported
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Operation not supported
Timing buffered disk reads: 88 MB in 3.09 seconds = 28.46 MB/sec
BLKFLSBUF failed: Operation not supported
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Operation not supported

and after some more times

# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1988 MB in 2.00 seconds = 993.65 MB/sec
BLKFLSBUF failed: Operation not supported
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Operation not supported
Timing buffered disk reads: 400 MB in 3.06 seconds = 130.65 MB/sec
BLKFLSBUF failed: Operation not supported
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Operation not supported

[root@localhost source]# hdparm -i /dev/sda
/dev/sda:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
---------------------------------------------------------------------------
After recompiling the new 2.6.10 kernel:
#/sbin/lsmod
sata_sil 7813 3
libata 39813 1 sata_sil
sd_mod 13521 4
scsi_mod 76993 2 libata,sd_mod

[root@localhost source]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2120 MB in 2.00 seconds = 1059.63 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 44 MB in 3.09 seconds = 14.23 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

Here th result is stuck to 14 MB/sec
[root@localhost source]# hdparm -i /dev/sda
/dev/sda:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

This is a part of # dmesg

SCSI subsystem initialized
libata version 1.10 loaded.
sata_sil version 0.8
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI interrupt 0000:01:0b.0[A] -> GSI 11 (level, low) -> IRQ 11
ata1: SATA max UDMA/100 cmd 0xE0802080 ctl 0xE080208A bmdma 0xE0802000 irq 11
ata2: SATA max UDMA/100 cmd 0xE08020C0 ctl 0xE08020CA bmdma 0xE0802008 irq 11
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: no device found (phy stat 00000000)
scsi1 : sata_sil
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
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
------------------------------------------------------------------------
Can you please advise, is it Seagate mistake? (I have heared that there are some troubles with Seagate SATA disks) or is it SATA SiI 3112 error?
Can anybody with similar setup post results of hdparm -tT /dev/sda?

Thanks in advance

Last edited by samhus; 01-17-2005 at 01:56 PM.
 
Old 02-03-2005, 06:56 AM   #2
foldus
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
I have a same problem, the temporary solution was use 2.4 kernel, where I get Timing buffered disk reads around 60 MB/s.
 
Old 02-03-2005, 08:03 PM   #3
foldus
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
I probably found better solution. The main problem is that a seagate disks are blacklisted in libata and siimage driver and driver runs with seagate errata fix.
Now I run on 2.6.10 kernel with siimage driver, where i do walkaround seagate errata fix, and disk works very well. I think that seagate fix is only for Sil 3112 and asus a7n8x have Sil3112a.
I am going to try do walkaround in libata driver , if I will be success I post reply.
 
Old 09-18-2005, 08:15 AM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Lightbulb Renewing this thread!

Has anyone actually found any solution with coexistance of sata_sil and kernel 2.6??
The problem is stil valid because neither Slackware 10.2 with kernel test26.s nor suse 9.3 recognize this module. The problem is NOT is SATA disk but Serial CONTROLLER of Silicon Image that powers the serial HD.
I read all the threads of LQ on the "sata_sil" subject and still no answer has been given to that one. Of course, it's possible to still use 2.4, but come on...

Last edited by SlackerLX; 09-18-2005 at 08:16 AM.
 
Old 10-08-2005, 04:18 PM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
01:0b.0 RAID bus controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)

This is my SATA chipset and it works fine with a 10.2. As i said in another thread, you probably have to enable SATA raid in your bios, even if you don't have one. My MoBo is an ABIT-NF7. My kernel a 2.6.13.
 
Old 10-08-2005, 06:59 PM   #6
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Quote:
Originally posted by Linux.tar.gz
As i said in another thread, you probably have to enable SATA raid in your bios, even if you don't have one. My MoBo is an ABIT-NF7. My kernel a 2.6.13.
You probably didn't get the problem. SuSe as well as Slackware see the device and recognize it as Silicon Image SATA Controller, but while loading driver "sata_sil" box just hangs. This is when loading with kernel "sata.i" and "test26.s". When loading kernel 2.4 though, system doesn't see the SATA controller at all.
Slackware 10.0, however, recognizes this module and loads the driver with no problem whatsoever. As well as SuSE 9.1 .
This is the only reason I switched to Debian-Etch, because it has no problems with loading driver "sata_sil" in kernel 2.6
 
Old 10-09-2005, 11:20 PM   #7
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
This is strange. I made the install with sata.i, then i installed a custom kernel with no problem. Did you tried to make your own bootdisks?
 
Old 10-09-2005, 11:26 PM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
If you mean FDD then I have no such device. Obsolete
 
Old 10-11-2005, 01:16 PM   #9
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Exclamation

SUCCESS!! On SuSE 10 though, not 9.3.
I used "irqpoll" option on boot-install and it recognized "Silicon Image S-ATA Controller" and loaded "sata_sil" driver. Same trick with 9.3 doesn't work though, system still hangs while
"Searching for info file".......
 
  


Reply



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
Silicon Image 3112A SATA Raid on Asus A7N8X-E Deluxe jrbush82 Fedora 3 09-08-2006 09:37 AM
SATA Silicon Image Raid 3112A on Asus A7N8X-E Deluxe jrbush82 Linux - Hardware 3 09-16-2005 07:26 AM
A7N8X Deluxe/A7N8X-E Deluxe SATA:RAID-FC1/2 biatche Linux - Hardware 7 05-18-2004 09:30 PM
asus A7N8X deluxe | sii3112 | redhat 9 | serial ata | raid 1 jot.zet Linux - Hardware 0 11-05-2003 07:01 AM
ASUS A7N8X Deluxe and Seagate SATA Judokas Linux - Hardware 5 10-29-2003 01:07 AM

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

All times are GMT -5. The time now is 06:38 PM.

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
Open Source Consulting | Domain Registration