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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-05-2003, 04:16 AM
|
#91
|
LQ Newbie
Registered: Sep 2003
Posts: 2
Rep:
|
hdparm -tT /dev/sda2
/dev/sda2:
Timing buffer-cache reads: 128 MB in 0.36 seconds =355.56 MB/sec
Timing buffered disk reads: 64 MB in 1.15 seconds = 55.65 MB/sec
Thats with RAID 1
When just using the driver on the RedHat 9.0 CD redhat shows two drives instead of only one - thats the reason i use the silicon driver - cause it shows correctly only one drive (RAID 1 = mirror)
|
|
|
09-05-2003, 03:35 PM
|
#92
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
Quote:
Originally posted by taskara
is the new driver in the kernel for raid array only? or for the actualy controller?
I assume u are not using raid on your drives..
thanks
|
Nope I'm not using RAID (RAID 0).
|
|
|
09-07-2003, 07:26 PM
|
#93
|
Member
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34
Rep:
|
cool - so works on just a controller too 
|
|
|
09-07-2003, 09:59 PM
|
#94
|
Member
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 409
Rep:
|
dmcentire & sata
To get get good sata in linux u need 2.4.21 or newer.
see the kernel.org change log.
I run gentoo & 2.6.0 test4 on my a7n8x dx.
|
|
|
09-07-2003, 10:09 PM
|
#95
|
Member
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34
Rep:
|
|
|
|
09-07-2003, 11:21 PM
|
#96
|
Member
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 409
Rep:
|
hdparm -tT /dev/hdx
hdparm -tT /dev/hdx is a hard drive benchmark
|
|
|
09-07-2003, 11:44 PM
|
#97
|
Member
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34
Rep:
|
yeah exactly..
I'm interested in the results your'e getting from 2.6.0 test4 kernel..
can u post them?
Last edited by taskara; 09-07-2003 at 11:47 PM.
|
|
|
09-08-2003, 01:31 AM
|
#98
|
Member
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 409
Rep:
|
thear it is
20G ibm desk star 7200rpm I think it is a ata100 but it my be ata66 being only a 20g drive.
Timing buffer-cache reads: 128 MB in 0.27 seconds =474.07 MB/sec
Timing buffered disk reads: 64 MB in 1.67 seconds = 38.32 MB/sec
Main drive is building abiword.
Last edited by enyawix; 09-08-2003 at 01:39 AM.
|
|
|
09-08-2003, 02:10 AM
|
#99
|
Member
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34
Rep:
|
k...
I think the kernel driver is restricted to ata66, even if u have an ata100 drive..
I don't have a pc at home at, but I can check it sometime..
cheers
|
|
|
09-08-2003, 09:49 AM
|
#100
|
Member
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 409
Rep:
|
have fun
taskara
Quote:
I think the kernel driver is restricted to ata66, even if u have an ata100 drive..
|
That is not true see this
http://www.linux-ide.org/chipsets.html
|
|
|
09-08-2003, 07:33 PM
|
#101
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
A friend of mine and I discovered yesterday one thing: The supplied SATA driver (for Silicon Image 3112a chipset, anyway) locks the system up (on an Nforce A7N8X Deluxe PCB 2.0 motherboard) depending on how much activity the SATA drive has to do. The discovery was made in the following manner:
We tried to copy from his computer to mine (his has the SATA) a bunch of .wav files (a total of 790 Mb, a whole custom-made Audio CD) via Network connection (SAMBA) The problem arose when the copy process tried to copy one of the largest files (117 Mb) the first time. Then the system froze again when tring to copy the rest of files that did not copy. The strange thing is that if we copied the files one at a time (letting the drive around 5 seconds of inactivity) the computer never froze!
Our theory: For some strange reason (niether of us is an electronic engineer, nor a systems programmer) we suppose the drive(r) fails when reading from the internal disk caché, provoking a Segmentation fault on the driver, problem is the driver is compiled into the kernel, causing the system to freeze. This problem was seen when the reading stress on the disk was high (like when transferring 0.78 Gb). Strangely enough the problem is not obseverd (up until now) while writing on the disk, just when reading.
Can anybody else confirm this??
|
|
|
09-08-2003, 08:48 PM
|
#102
|
Member
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34
Rep:
|
yeah.. this is what I was saying.. the current driver is not good... although it is an ata150 controller, linux support is limited to ata66
Well, according to Alan Cox anyway.
I'm not sure the situation has improved.
enyawix, can u run [quote]hdparm -i /dev/hdx[.quote] and and post the results?
Thetargos, this is the problem everyone has been having. there was a work around to do with max kb requests, which I think is posted in here somewhere.
I have yet to see the kernel silicon image driver working properly.
|
|
|
09-09-2003, 02:00 AM
|
#103
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
I don't know if your question is directed to me, but anyways I'll post what I have (well, my friend's machine  ):
hdparm -i /dev/hde reports supported ATA UDMA modes from UDMA 2-UDMA 6, current setting at 6 (ATA 150?)
hdparm /dev/hde only reports PIO @ 16-bit and DMA 1 (on), the rest is off.
I forgot to mention that in this machine, there are two Seagate Barracuda SATA drives, one of 120 Gb and the other 80 Gb. Strangely enough the secondary SATA drive (80 Gb, /dev/hdg) is detected as if it was only using udma2 (the other modes are not detected). The RAID array is set to RAID 0 (no RAID)... But I wonder: Why is the drive using only udma2 on this drive and 6 on the primary (/dev/hde)?
BTW @ nforcershq.com, there is the problem reported some work arounds (or at least one that may help) is to set the IDE chipset (any drive connected to the primary IDE controller) to UDMA 4 (default setting is set to 5 [ATA 100]). We experienced some strange errors while trying out this setting: From within the system I could set the udma mode to 4, so I thought (and many at nfrocershq did also) to put the parameter in /etc/rc.d/rc.local. The problem was that the drive (hda, where the Linux system is installed) was giving up, complainting about an IRQ error, entering an endless loop. So if the only mode supported by this chipset driver (currently) is ATA 66, theoretically it could be set during boot up to use udma 3, right? I have yet to try this, but this could be a solution for the lock ups... in the mean time.
In other news, Silicon Image recently released some drivers, which I've seen are pre-compiled for Red Hat (the distro we use) 9, kernel 2.4.20-8 (i.e. The boxed one) and anounced that they are not going to release any sources for the drivers to the community (or so I understood). My question here is how is ever going to be the support for this chipset under linux good, if they at least don't release some technical papers so the community (in particular the linux-ide project) can get to work on the driver?. Anyway... Has anybody been successful to set an hdparm option to abolish these lock ups? Is this idea of mine to set the udma mode to ATA 66 (udma 3) any good or reasonable at least? Or I got everything mixed up?
Last edited by Thetargos; 09-09-2003 at 02:05 AM.
|
|
|
09-10-2003, 11:29 AM
|
#104
|
Member
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 409
Rep:
|
new kernel
2.6.0test5 is out
when i get it built i will post what i get
|
|
|
09-14-2003, 08:46 PM
|
#105
|
LQ Newbie
Registered: Sep 2003
Location: Melbourne | Australia | Southern Hemisphere | Earth
Distribution: Redhat
Posts: 3
Rep:
|
Serial ATA Support.
I recently got a new pC
I have a bit of understanding in linux. but sheez it took me long enough to realise that winxp doesnt have native support for sata. so i had to load up driver during install in order for it work.
im using teh silicon image chipset. but using amd and gigabyte motherboard.
forgot which motherboard extactly ;/ ill hafta check dat when i git back home
;/
*loves his trusty manuals*
but im wondering, will it be easy to install redhat9?
i maen sheez everyone seems to ahve problems
an *coughs nervously* i think i have a wd hdd. not t00 sure th0
ill hafta l00k.
i only got it yesterday ;p
gimme sum credit for not remembering :P
*i was fiddling with bios for 2 hours trynna udnerstand wtf sata is*
anyways. does any1 have a gigabyte mobo with silicon sata? oh an im using sata as base. not raid.
thanks
-seps-
|
|
|
All times are GMT -5. The time now is 09:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|