Advertisement

01.21.2008 at 03:08AM PST, ID: 23097883
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Linux AHCI/NCQ problem

Tags: Novell, Opensuse, 10.3
Hi,

Im having problems activating NCQ on Asus P5B-MX , Seagate Barracuda ST3250410AS (250GB) with Opensuse 10.3 installed.
Before installation Ive set in BIOS Enhanced IDE configuration for S-ATA mode (from my understanding that enables advanced features like NCQ), installed the system no problem. After first boot Ive noticed ahci driver wasnt loaded, only ata_piix, so Ive edited /etc/sysconfig/kernel and added ahci before ata_piix driver, rebuilt initrd, edited modprobe.conf and replaced ata_piix occurrences with ahci.
Original line:
# ata_piix can't handle ICH6 in AHCI mode install ata_piix /sbin/modprobe ahci 2>&1 |:; /sbin/modprobe --ignore-install ata_piix

My line:
# ata_piix can't handle ICH6 in AHCI mode install ahci /sbin/modprobe ahci 2>&1 |:; /sbin/modprobe --ignore-install ahci

After reboot I saw ahci loaded under libata but after ata_piix libata | ata_piix, ahci

and actually used was ata_piix despite being loaded first. Ive then:
# dmesg|grep NCQ

And got a line back like:

ata3.00: ATA-7, 321672960 sectors: LBA48 NCQ (depth 0/32)

# echo 31 > /sys/block/sda/device/queue_depth

resulted in permission denied. (as I found on linux-ata FAQ) Further reading on linux-ata FAQ says:
If the line containing the sector count and maximum UDMA speed does not mention NCQ, your drive does not support it.
Im puzzled since I have UDMA showing on:
# dmesg|grep ata3

Which displays all disk info, and NCQ (depth 0/32) would mean NCQ is present but disabled.
 
From what I can see disk should support NCQ and I was informed by person who sold it to me that it was NCQ ready. (I specifically wanted NCQ disk).

I dont know if Im making a mistake somewhere or disk just doesnt support it. Im in for some help please!

P.S. Yes Ive rebooted ;)

--
Best regards,
Nick Zeljkovic
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: jamation
Solution Provided By: Computer101
Participating Experts: 2
Solution Grade: A
Views: 25
Translate:
Loading Advertisement...
01.21.2008 at 06:44AM PST, ID: 20706347

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.21.2008 at 07:14AM PST, ID: 20706539

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.21.2008 at 08:28AM PST, ID: 20707209

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.21.2008 at 08:44AM PST, ID: 20707360

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 01:42PM PST, ID: 20718692

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.17.2008 at 11:32AM PST, ID: 20915141

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.21.2008 at 03:55PM PST, ID: 20953317

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
01.21.2008 at 06:44AM PST, ID: 20706347
You stated:
Before installation Ive set in BIOS Enhanced IDE configuration for S-ATA mode (from my understanding that enables advanced features like NCQ).

This is not correct.  Enhanced IDE mode is the legacy mode of the controller.  It will be make the disk controller look like a regular old IDE controller, not an AHCI controller that will export all the great new functionality.  I'm not as sure of the linux side of things as I haven't put together a linux box in a while, but on the Windows side the only real reason to pick the IDE mode of the controller is so you don't have to install 3rd party drivers (with WinXP, you have to do an F6 install if the chipset is set to either RAID or AHCI mode).
 
01.21.2008 at 07:14AM PST, ID: 20706539
There is only standard and enhanced mode, with P-ATA, S-ATA + P-ATA and S-ATA mode. Standard mode has no additional options AFAIK, either nothing I've noticed that could mention advanced features.
 
01.21.2008 at 08:28AM PST, ID: 20707209
jamation-

I was wrong-- I just looked up the manual for your motherboard, and it does look like your setting is correct.  A number of other motherboards use the term "Enhanced IDE" for the legacy mode.  The Intel chipset itself has three modes "Enhanced IDE, SATA, and RAID"  The former being legacy mode, and the latter two being AHCI modes.  (RAID mode is not supported on all chipsets).  

Anyway, it looks like you need a linux guru to help, and that's not me.  Good luck!
 
01.21.2008 at 08:44AM PST, ID: 20707360
Thank you for looking it up, I appreciate it.
 
01.22.2008 at 01:42PM PST, ID: 20718692
Greg Freemyer replied to my question on OpenSUSE mailing list, I'm pasting it here if anyone else encounters the problem!

Nick,

Linux'es implementation of NCQ had some fundamental problems that have been fixed in the soon to be released 2.6.24

Due to the bug, a bunch of drives got blacklisted.  The majority of that blacklist has been removed from the 2.6.24 rc series.

I have not read about those patches having been released by Novell for the SUSE kernels.  (A Novell employee found the problem and wrote the fix so I would hope his work will get into their kernel eventually.)

So, you can either wait for that to happen (if it happens), or you can move to a recent KOTD kernel.

FYI: I don't know how stable the KOTD kernels are right now.  2.6.24 has been very slow to get released, so I assume there must be some
regression(s) they are trying to resolve currently.

Greg
 
02.17.2008 at 11:32AM PST, ID: 20915141

Rank: Master

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   PAQ with points refunded

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Cyclops3590
EE Cleanup Volunteer
 
02.21.2008 at 03:55PM PST, ID: 20953317
PAQed with points refunded (500)

Computer101
Community Support Moderator
Accepted Solution
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628