LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-15-2011, 04:03 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Is libata.force really working?


In another thread I shared how my system occasionally freezes. I found a solution in which I forced the drive connected to sata port 1 (ata1) to run at 1.5 Gbps and let the second drive connected to sata port 2 run at 3.0 Gbps.

I have multiple systems on this machine. When I boot into Slackware 12.2 with the 2.6.27.58 kernel, I see this in dmesg:

ata1: FORCE: PHY spd limit set to 1.5Gbps
ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xe000 irq 23
ata1: SATA link up 1.5 Gbps (SStatus 123 SControl 300)

Looks okay. When I boot into Slackware 13.1 I see this in dmesg:

ata1: FORCE: PHY spd limit set to 1.5Gbps
ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xe000 irq 23
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

Further, when I boot into 13.1 the freezing problems return. Therefore I suspect the drive is running at 3.0 Gbps.

1. Why isn't libata.force working?

2. How can I know what speed the drive is running?

Thanks.
 
Old 04-17-2011, 11:20 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
the boot option is

libata-force=1.5Gbps

(for all drives)

jumpers will be another way
 
Old 04-22-2011, 09:00 AM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
libata-force=1.5Gbps
I haven't seen anything on the web that using the dash version is correct. Regardless, I updated to the 2.6.33.11 kernel and neither the dot nor dash version succeeds.

Quote:
jumpers will be another way
I'm already using jumpers. I want to know why the kernel parameter fails to function with the 2.6.33.x kernel but works as expected with the 2.6.27.58 kernel.
 
Old 04-25-2011, 09:41 AM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
If it is a module, then provide options to it (but this was the situation 2 years ago).
 
  


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
[SOLVED] how to force libata to ignore 40 wire IDE cable limitation (in laptop) neonsignal Debian 3 08-15-2009 06:10 AM
Force Network Interface changes ie speed?? not working helptonewbie Linux - Newbie 1 07-22-2008 11:04 AM
Libata. How do I get it going??! GingerPrince Fedora 4 12-06-2005 10:26 AM
libata.h 2.6.14 yazdzik Linux - General 0 12-04-2005 03:04 PM
Really Why do they force 56 modem users to use Kinternet instead of the well working maximalred Linux - General 0 08-23-2003 05:49 AM

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

All times are GMT -5. The time now is 05:03 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