LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-30-2008, 08:27 AM   #1
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
hdparm -s1: how to make drive work after BIOS & kernel failure to support it


I set my IDE drive to start in standby mode. When i restarted, BIOS was able to identify the drive (it showed its model), but after that it hung. When i start with the drive powered down (mechanically off), and go to grub menu, then power it up, linux starts but doesn't find the drive. How can i make it work without searching for a machine which supports such a feature? Maybe some way to force it spin-up?..

P.S. yes, i know this was on my own risk, i just made an experiment

add: my kernel version: 2.6.22.5

Last edited by 10110111; 09-30-2008 at 08:36 AM.
 
Old 09-30-2008, 09:03 AM   #2
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Original Poster
Rep: Reputation: 51
Solved

I found how to do this. The solution:
https://sourceforge.net/project/show...roup_id=136732

I disabled the ide channel in BIOS setup to force BIOS not to probe it.
Then i started from the floppy in the link above and this disabled start-up standby.

Now, does anybody know what should i enable in the kernel to be able to handle such issues without such floppy?
 
Old 09-30-2008, 09:24 AM   #3
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Original Poster
Rep: Reputation: 51
OK. Now i solved all my questions about this. All we have to do in such a situation (if the disk in question is not boot disk) is to just issue hdparm -s0 with that disk and it will automatically spin up. (libata driver is ok for this)
 
  


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
Upgrading hard drive and RAM/Drivers & BIOS 2sassy Linux - Hardware 7 03-21-2008 06:34 PM
Booting to thumb drive with Grub without BIOS support, possible? Baix Linux - Software 1 06-24-2005 12:12 PM
Need help with BIOS & shot CD-ROM drive... Ausar Linux - Newbie 3 06-29-2004 09:11 PM
Adding a large hard drive when the BIOS doesn't support it. bferry LinuxQuestions.org Member Success Stories 0 05-19-2004 05:44 PM
Can I add a large hard drive even if the BIOS doesn't support it? bferry Linux - Hardware 7 05-11-2004 06:38 AM

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

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