Linux - HardwareThis 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.
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.
I have an old server with dual PII and SCSI, I think it is Ultra Wide SCSI, but I'm not sure about this. It is an IBM Pc Server 325, so if someone knows better what is inside it, please tell me.
The problem is that my SCSI drive seems too slow and I really don't know what could be done about it. Well, hdparm said the speed was a little more than 8MB/sec and this seems low as the driver informs be 40MB/s during boot.
hdparm -t -T /dev/sda
Code:
/dev/sda:
Timing buffer-cache reads: 156 MB in 2.01 seconds = 77.47 MB/sec
Timing buffered disk reads: 26 MB in 3.14 seconds = 8.28 MB/sec
As I have not any real specs for my machine it is difficult to know what the SCSI in use is and what the rest of the hardware is. Now I would like to know whether there is someone with more knowledge about this machine or how to "fix" the SCSI thing. Please help as I am quite new to SCSI and have tried to search the Internet for help in this matter, but without luck.
Thanks randyding for giving me at least something to start with. Well, the first thing that comes to my mind is why are you having so much better results than i have? This was exactly the thing I was suspecting all along.
Could it be so that the driver is the same for both of us - that's why it prints 40MB/s - but the bus is not the same?! Or is this totally impossible?
I wouldn't rule out software problems yet but there are some hardware problems that can cause poor performance. The 4 big ones that I've run accross in some of my systems has been
1. bad scsi cable or connector
2. improper bus termination
3. bad hard drive
4. bad controller card
I've sometimes seen degraded performance just before a drive failure. Most of the time you start to hear unusual sounds of head movement on the drive.
I personally have not seen the diagnostic software for linux, but there is some adaptec software that does diagnostics on others where they print out scsi bus and drive error logs and codes.
You may take a look at the SCSI bios screen, you hit some key on bootup to get into it. Depending on the adaptec card there usually is some diagnostic programs that can be run from there too.
You may also check that your hardware really is the speed you think it is. SCSI drives come in speeds from 5 to 320 MB/s, and the bus speed is going to negotiate to the slowest device on the bus. I'd also double check that all your drives are the same bus, like you don't want to mix LVD and Single Ended drives (both have the same 68 pin connector) and that you have the right controller type, like my 2940UW is single ended only and some newer LVD don't work for some reason... they are usually backward compatable but I have a Maxtor that shows problems (runs very slow) with that controller.
If all else fails, try Adaptec tech support. I've called them a couple times for various things and they've always been helpful.
So, you mean that if I have the SCSI CD-ROM connected to the same cable and this has a speed of 10MB/s the speed of the SCSI harddrive will be 10MB/s even if it says 40MB/s when it boots? If this is the case it can easily be checked when I get home from work.
Well kind of, if your SCSI cd-rom(s) are like mine then they have the 50 pin connector. Which is single ended 8 bit ultra SCSI (20MB/s).
I don't know your exact setup, but the 40MB/s scsi bus is ultra-wide and it usually has the 68 pin connector on the drives. So they can't be plugged into the same SCSI cable unless you are running the ultra-wide drive on the ultra bus using a scsi adaptor.
Normally, the adaptec controllers have 2 different SCSI busses and two different connectors, one is ultra scsi for cdrom's, etc, and a different one that is faster for hard drives. They are usually on separate cables but don't necessarily have to be, depending on your card and the cables/adapters you are using.
You probably should take it all apart and write down what you have and how its all connected to troubleshoot it more. The adaptec web site has lots of good scsi diagrams that explain everything and what's compatible with what. I've got a lot of those PDF files and reference them everytime I have to work on stuff. It helps a lot to know the part numbers and get the data sheets for each part in your system too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.