Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Silicon Image 3112 SerialATA FIX! (kernel patch inside)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lunatc
Guru
Guru


Joined: 18 Apr 2002
Posts: 409
Location: Canary Islands. Spain

PostPosted: Sat Dec 27, 2003 1:48 pm    Post subject: Reply with quote

Moled wrote:

what chipset revision does it claim you to have?


I have only one Maxtor SATA plus only one 80G Seagate ST380021A PATA drive attached to the primary IDE interface.
(BTW, I had to select "SCSI" from the BOOT menú in the bios to boot from the SATA drive instead of the PATA drive :?: )

dmesg wrote:

SiI3112 Serial ATA: IDE controller at PCI slot 0000:01:0b.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: 100% native mode on irq 11
ide2: MMIO-DMA at 0xe0808000-0xe0808007, BIOS settings: hde:pio, hdf:pio
ide3: MMIO-DMA at 0xe0808008-0xe080800f, BIOS settings: hdg:pio, hdh:pio
hde: Maxtor 6Y120M0, ATA DISK drive
ide2 at 0xe0808080-0xe0808087,0xe080808a on irq 11
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
hde: max request size: 64KiB
hde: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
/dev/ide/host2/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 > p4



lspci -vv wrote:

01:0b.0 RAID bus controller: CMD Technology Inc Silicon Image SiI 3112 SATARaid Controller (rev 02)
Subsystem: CMD Technology Inc: Unknown device 6112
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 01
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at a000 [size=8]
Region 1: I/O ports at a400 [size=4]
Region 2: I/O ports at a800 [size=8]
Region 3: I/O ports at ac00 [size=4]
Region 4: I/O ports at b000 [size=16]
Region 5: Memory at ed000000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at <unassigned> [disabled] [size=512K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Back to top
View user's profile Send private message
behd
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 155

PostPosted: Sun Dec 28, 2003 6:37 pm    Post subject: Is it possible to boot in (ata)raid0 with a 2.6.0 kernel ? Reply with quote

Heretic wrote:

Right. 2.6 has many performance enhancements. Software RAID is the fastest RAID you can do for just 2 drives.


Is there any way to boot a kernel 2.6.0 in raid0 (ataraid) ?

Code:
VFS cannot open root device "720a" or unknown-block(114,10)

(with this lilo settings: root = /dev/ataraid/d0p10)

Config:
Code:

P4G8X Deluxe (i7205 w/ Silraid 3112)
Only 2 Seagate SATA disk (ST380023AS)


I've read somewhere that there's no more /dev/ataraid/ support in kernel 2.6.0. So does it means that we are forced to use software raid with such kernel ? is the software raid compatible with the hw raid array created with the SiliconImage controller ?

Thanks for any info !
Back to top
View user's profile Send private message
Heretic
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 114
Location: Austin, TX USA

PostPosted: Mon Dec 29, 2003 1:57 am    Post subject: Reply with quote

No, you were already using inefficient software RAID, and no.

The SI3112 never did hardware RAID, it was always BIOS assisted software RAID, and it was really slow at that. ataraid is gone for that reason.
Back to top
View user's profile Send private message
behd
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 155

PostPosted: Mon Dec 29, 2003 9:45 am    Post subject: Reply with quote

So it would means that people which have installed their OS with SI3112 raid won't be able to switch to a 2.6.n kernel ? (or wil have to re-install every OS hosted on such config, aaaargh... )

> The SI3112 never did hardware RAID, it was always BIOS assisted software RAID,
> and it was really slow at that. ataraid is gone for that reason.
What do you mean by really slow at that ? almost the same as using only one disk ?
(isn't there any boost when dealing with large files ?? NB. I directly setuped my computer with raid0, so I can't say if there's a lot of difference with or without the raid...). btw. do you have any benchmark ?

Thanks anyway for your answer :D
Back to top
View user's profile Send private message
Heretic
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 114
Location: Austin, TX USA

PostPosted: Tue Dec 30, 2003 12:10 pm    Post subject: Reply with quote

behd wrote:
So it would means that people which have installed their OS with SI3112 raid won't be able to switch to a 2.6.n kernel ? (or wil have to re-install every OS hosted on such config, aaaargh... )


You need a temporary harddrive. Boot into 2.4, cp -a all the files under root (besides /proc /mnt and /sys) to /mnt/tempdisk. Boot 2.6 off of the temp disk, redo the RAIDs, cp -a everything back.

Quote:
What do you mean by really slow at that ? almost the same as using only one disk ?
(isn't there any boost when dealing with large files ?? NB. I directly setuped my computer with raid0, so I can't say if there's a lot of difference with or without the raid...). btw. do you have any benchmark ?

Thanks anyway for your answer :D


I mean ataraid was half as efficient as linux software raid. Linux software raid is a highly tuned machine, the ataraid stuff had a shitty disk layout. As for benchmarks, I've benched software RAID1 and RAID0 on the SI3112A with 2 WD360GDs.

RAID1 performance is near optimal. I'm getting 50MB/s sequential write throughput, and 100MB/s parallel sequential read throughput--50MB/s max per sequential read. RAID1 increased average seeks/sec by 80% over a single harddrive and reduces overall read latency. The RAID1 code tracks head locality on drives and uses the drive with heads positioned closest to the requested sector for lowest latency. It's absolutely perfect for my mission critical database.

RAID0 performance was not as good as it could have been (75MB/s v 100MB/s on ICH5s). I suspect this is do to limitations of the PCI bus and raw speed of the harddrives with their large caches. On RAID0, I think the overhead of stripping small blocks saturates the PCI bus with ATA overhead.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Fri Jan 02, 2004 12:17 am    Post subject: Reply with quote

this has been a great read - thanks Ryan and Bart ;)
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Fri Jan 02, 2004 2:03 am    Post subject: OFF-TOPIC Reply with quote

hello.

I thinks it's off-topic, but perhaps any of you can help me. I have an nforce-2 motherboard with pata and sata support. The sata is throught the SI 3112 controller.

It's an Athlon 2500+ and I have my Seagate Barracuda V ST380023A (PATA) HD connected to the PATA controller and I get this in hdparm:

/dev/hda:
Timing buffer-cache reads: 1780 MB in 2.00 seconds = 889.25 MB/sec
Timing buffered disk reads: 98 MB in 3.02 seconds = 32.42 MB/sec

I think 32 MB/sec in this drive is very little, don't you think that?

The motherboard cames with a PATA to SATA adapter. Do you think I can gain any speed if I connect my HD to SATA in this way?

Thanks a lot!
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Fri Jan 02, 2004 3:34 am    Post subject: Reply with quote

hi,

the converter will give you ZERO performance gain.

it's probably more an issue of running in the correct dma mode, and having the right driver installed etc.

what kernel are you using

and can u post
Code:
hdparm /dev/hda
hdparm -i /dev/hda

_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Heretic
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 114
Location: Austin, TX USA

PostPosted: Fri Jan 02, 2004 4:27 am    Post subject: Reply with quote

taskara wrote:
hi, the converter will give you ZERO performance gain.


You'll actually take a performance hit from a PATA<->SATA converter.
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Fri Jan 02, 2004 11:02 am    Post subject: Reply with quote

Hello

I was not talking again gaining performance with the converter, but with the "more advanced" controller.

The motherboard is an nforce-2 so I think the "amd and nvidia ide" is the correct.

I have enabled in kernel config the options:
* ATAPI support
* Enhanced IDE....
* Include IDE / ATA2 DISK support
* Use multi-mode by default
* Include IDE/ATAPI cdrom support
* PCI ide chipset support
* Generic PCI Bus-Master DMA support
* Use PCI DMA by default when available
* AMD and nVidia IDE support
* Silicon Image chipset support


bash-2.05b# hdparm -i /dev/hda

/dev/hda:

Model=ST380023A, FwRev=3.53, SerialNo=3KA140JH
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2:

* signifies the current active mode
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Fri Jan 02, 2004 11:04 am    Post subject: Reply with quote

sorry.... I forget this:

bash-2.05b# hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 156301488, start = 0
bash-2.05b#

I think I followed the suggestion by one guy that say setting the Read-ahead to 4K but nothing improved.

Thanks!
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Fri Jan 02, 2004 11:08 am    Post subject: Reply with quote

And I gorgot mentioning that I'm running 2.6-mm2 kernel.

I have tried with 2.6.0 test-x in the past.... even 2.6.0.... no improvements...

I'm using 2.6.0-mm2 because someone says me it improves performance in nforce2 motherboards because in this kernel I can enable APIC / LAPCI.

Thanks and sorry for all of this posts...
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Fri Jan 02, 2004 1:58 pm    Post subject: Reply with quote

ahh ok.. well I think that's prob about right.

2.4 kernel is faster than 2.6 for amd ide.

under 2.4 you'd prob get 40-45 or so

also your drive only has 2mb cache.. and people with 7200rpm with 8mb cache get about 40-45..

everything is set correctly...

oh one final thought, do u have something on hdb? if so, move it and try again..
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Fri Jan 02, 2004 2:22 pm    Post subject: Reply with quote

No, I have nothing in hdb... only hdc...

Then... do you suggest me something more to try?

Have you heard something about _why_ is 2.4 fastest that 2.6? Or perhaps any plan to improve the driver?

Do you think I can get faster speeds with SATA controller throught PATA-SATA adapter?

Thanks!
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jan 03, 2004 12:21 am    Post subject: Reply with quote

no idea.. I remember switching from 2.4 to 2.6 and got slower speeds on the ide controller - it may be because the old driver (at faster speeds) was causing some problems, no idea.

and I don't think you will get any performance increase from the converter, like someone else said it will prob run slower.
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
sneakerski
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 168

PostPosted: Sat Jan 03, 2004 4:25 am    Post subject: Reply with quote

well, i'm using the same kernel and this patch is included, i've got 2 maxtor 160GB plus 9s in RAID 0. performance is around 110MB/s on the sil 3112 controller, it's atleast worth giving a shot removing the converter. incidentally i've got the nf7-s too (v2)
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Sat Jan 03, 2004 9:57 am    Post subject: Reply with quote

What set of patches do you recommends me in order to run a Seagate drive in the Si 3112 chip?

it's not that I don't believe you, but I must try this because my transfer speeds suck so much.

Thanks!

P.S.: I'm using now 2.6.0-mm2
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jan 03, 2004 10:35 am    Post subject: Reply with quote

ktech wrote:
What set of patches do you recommends me in order to run a Seagate drive in the Si 3112 chip?

it's not that I don't believe you, but I must try this because my transfer speeds suck so much.

Thanks!

P.S.: I'm using now 2.6.0-mm2


latest mm sources is the best I believe because it includes the latest patch-fix
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Sun Jan 04, 2004 10:28 pm    Post subject: Reply with quote

@Heretic

Nice work you did, I just saw this thread now. Checked siimage 1.09 and so far the best driver I had. Nevertheless a few issues:

I have a Samsung pata drive connected to siimage with bios 4.2.43 via pata->sata converter (has some benefits for me).

With all older drivers I could not do hdparm -d1 /dev/hde. (Nevertheless the drive was in fast dma mode from boot onwards, so only issue for me was unability to use swsusp.) Then I would get controller reset and crapping up, so that I would have press the reset button. Now this doesn't happen, but my drive (or controller) doesn't get into DMA mode. hdparm -t just gives me a few miserable mb/sec. dmesg (tried -d1 twice):


hde: dma_intr: status=0xd0 { Busy }

hde: DMA disabled
ide2: reset phy, status=0x00000113, siimage_reset
ide2: reset: success
hde: sata_error = 0x00000000, watchdog = 0, siimage_mmio_ide_dma_test_irq
hde: dma_intr: status=0xd0 { Busy }

hde: DMA disabled
ide2: reset phy, status=0x00000113, siimage_reset
ide2: reset: success

But using -d1 -X69 gives me back my speed. So far so good.

But nevertheless I am constantly getting this error/warning on drive access:

hde: sata_error = 0x00000000, watchdog = 0, siimage_mmio_ide_dma_test_irq

Any ideas how to fix this? This one is really nasty as I have to comment it out in the driver.

Below a few infos which might be useful. Would be great if you could help me or at least advise me how to fix it.

dmesg:
SiI3112 Serial ATA: IDE controller at PCI slot 0000:01:0b.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: 100% native mode on irq 18
ide2: MMIO-DMA , BIOS settings: hde:DMA, hdf:DMA
ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
hde: SAMSUNG SP1614N, ATA DISK drive
ide2 at 0xf981c080-0xf981c087,0xf981c08a on irq 18
hde: max request size: 64KiB
hde: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
/dev/ide/host2/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 >


bash-2.05b# hdparm -iI /dev/hde

/dev/hde:

Model=SAMSUNG SP1614N, FwRev=TM100-24, SerialNo=0735J1FW702444
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: (null):

* signifies the current active mode


ATA device, with non-removable media
Model Number: SAMSUNG SP1614N
Serial Number: 0735J1FW702444
Firmware Revision: TM100-24
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 312581808
device size with M = 1024*1024: 152627 MBytes
device size with M = 1000*1000: 160041 MBytes (160 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
96min for SECURITY ERASE UNIT. 96min for ENHANCED SECURITY ERASE UNIT.
HW reset results:
CBLID- below Vih
Device num = 0 determined by the jumper
Checksum: correct

bash-2.05b# hdparm -tT /dev/hde

/dev/hde:
Timing buffer-cache reads: 2040 MB in 2.00 seconds = 1019.14 MB/sec
Timing buffered disk reads: 184 MB in 3.03 seconds = 60.74 MB/sec
Back to top
View user's profile Send private message
ballyn
n00b
n00b


Joined: 14 Aug 2003
Posts: 73

PostPosted: Sat Jan 10, 2004 4:55 am    Post subject: Reply with quote

PrakashKC wrote:
@Heretic

Nice work you did, I just saw this thread now. Checked siimage 1.09 and so far the best driver I had. Nevertheless a few issues:


What kernel are you using?
Back to top
View user's profile Send private message
GTVincent
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 91
Location: Las Vegas, NV

PostPosted: Sat Jan 10, 2004 5:10 am    Post subject: Reply with quote

I have tried the patch, but with it my computer hangs during read/write mounting of the file systems.

/dev/hda: 120 GB WD SATA
/dev/hdc: 36GB Raptor SATA
A7N8X Deluxe/SiI3112
kernel 2.6.1

without the patch:
/dev/hda:
Timing buffer-cache reads: 1420 MB in 2.00 seconds = 708.34 MB/sec
Timing buffered disk reads: 60 MB in 3.08 seconds = 19.50 MB/sec

/dev/hdc:
Timing buffer-cache reads: 1380 MB in 2.00 seconds = 689.42 MB/sec
Timing buffered disk reads: 86 MB in 3.02 seconds = 28.49 MB/sec

I'm not unhappy, but faster would be nicer...
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jan 10, 2004 5:35 am    Post subject: Reply with quote

GTVincent wrote:
I have tried the patch, but with it my computer hangs during read/write mounting of the file systems.

/dev/hda: 120 GB WD SATA
/dev/hdc: 36GB Raptor SATA
A7N8X Deluxe/SiI3112
kernel 2.6.1

without the patch:
/dev/hda:
Timing buffer-cache reads: 1420 MB in 2.00 seconds = 708.34 MB/sec
Timing buffered disk reads: 60 MB in 3.08 seconds = 19.50 MB/sec

/dev/hdc:
Timing buffer-cache reads: 1380 MB in 2.00 seconds = 689.42 MB/sec
Timing buffered disk reads: 86 MB in 3.02 seconds = 28.49 MB/sec

I'm not unhappy, but faster would be nicer...


you could try mm-sources 2.6-r1 it has the patch included I believe.

emerge it and see what speed u get.
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Sat Jan 10, 2004 5:53 am    Post subject: Reply with quote

@ballyn

2.6.1-love1
Back to top
View user's profile Send private message
Heretic
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 114
Location: Austin, TX USA

PostPosted: Sat Jan 10, 2004 7:40 am    Post subject: Reply with quote

PrakashKC wrote:

dmesg:
SiI3112 Serial ATA: IDE controller at PCI slot 0000:01:0b.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: 100% native mode on irq 18
ide2: MMIO-DMA , BIOS settings: hde:DMA, hdf:DMA
ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio


I find it very interesting that the BIOS defaults to DMA on the first channel... and the imaginary slave channel. Neither my development 3112A board, nor the P4G8X Deluxe with 3112A onboard defaulted to anything but PIO.

Quote:


IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: (null):

* signifies the current active mode


What the hell? You have no active mode set, and udma modes 3-5 don't show up. udma5 = ATA100. I would suggest flashing your BIOS to the newest revision if you have not done so yet.


Quote:
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5


Oh... now it shows up?

Quote:
/dev/hde:
Timing buffer-cache reads: 2040 MB in 2.00 seconds = 1019.14 MB/sec
Timing buffered disk reads: 184 MB in 3.03 seconds = 60.74 MB/sec


That's not bad. Why must you put this PATA drive on the SATA controller? The only time I had problems like yours was when I turned off my SATA hot-swap enclosure. Even after unmounting everything, when I turn it back on the drive does not get properly reprogrammed and will timeout. You cannot hot-swap SATA yet on Linux yet, and especially not with the siimage driver. Check your cables. I also had a problem when one of my cable become a little unseated.
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Sat Jan 10, 2004 8:00 am    Post subject: Reply with quote

BIOS is latest (and AFAIK with older ones it was the same).

I put the drive to SATA, as I want my DVD-ROM and CD-RW have a channel for their own, so all devices are independant. SO I have maximum performance. I think my cable is OK (all firmly inserted). I am sure it is a driver issue. Only this hde: sata_error = 0x00000000, watchdog = 0, siimage_mmio_ide_dma_test_irq message is really annoying. Do you have an idea why it *constantly* appears? (If it wasn't clear: Every time data is transfered from hd, this message appears, thus dmesg gets flooded...)

Using libata siimage I have no annoying messages and everything seems fine (except that swsusp doesn't currently support scsi layer).

What is really strange: I cannot (well I don't want to;)) make the kernel to init my hd in pio mode, ie even if I don't select DMA on in the kernel compile options, the HD on siimage will be running in DMA mode, so I don't understand, which path the driver takes in my case.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
Jump to:  
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