LinuxQuestions.org
Help answer threads with 0 replies.
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 11-16-2006, 03:53 PM   #1
ocgltd
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Rep: Reputation: 15
Hot plug sata causes error in 2.6.18 (FC6)


I have a clean Fedora Core 6 installation, kernel 2.6.18. When I hot plug my sata drive, I get the following error:

Nov 16 09:06:24 vmhost kernel: ata2: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0x2 frozen
Nov 16 09:06:24 vmhost kernel: ata2: (irq_stat 0x00000040, connection status changed)
Nov 16 09:06:25 vmhost kernel: ata2: waiting for device to spin up (8 secs)
Nov 16 09:06:33 vmhost kernel: ata2: soft resetting port
Nov 16 09:06:34 vmhost kernel: ata2: softreset failed (1st FIS failed)
Nov 16 09:06:34 vmhost kernel: ata2: softreset failed, retrying in 5 secs
Nov 16 09:06:39 vmhost kernel: ata2: hard resetting port
Nov 16 09:06:46 vmhost kernel: ata2: port is slow to respond, please be patient
Nov 16 09:07:09 vmhost kernel: ata2: port failed to respond (30 secs)
Nov 16 09:07:09 vmhost kernel: ata2: COMRESET failed (device not ready)
Nov 16 09:07:09 vmhost kernel: ata2: hardreset failed, retrying in 5 secs
Nov 16 09:07:14 vmhost kernel: ata2: hard resetting port
Nov 16 09:07:22 vmhost kernel: ata2: port is slow to respond, please be patient
Nov 16 09:07:45 vmhost kernel: ata2: port failed to respond (30 secs)
Nov 16 09:07:45 vmhost kernel: ata2: COMRESET failed (device not ready)
Nov 16 09:07:45 vmhost kernel: ata2: reset failed, giving up
Nov 16 09:07:45 vmhost kernel: ata2: EH complete

Can anyone offer insite? (In case it's relevant, the hard drive is an Addonics Saturn drive bay connected to SATA on the Asus DSBF motherboard).

Thanks,
MD
 
Old 11-16-2006, 05:17 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Is the sata drive being seen as /dev/sd** or /dev/hd**?
If the hd** then the module or what is built in the kernel may not support hot swap? Need to read the docs from the kernel on that module.
If sd** then you may need to manually remove it from the system before powering off to remove. Check out the echo command to issue a removal from the /proc/scsi/scsi.

http://tldp.org/HOWTO/SCSI-2.4-HOWTO/mlproc.html

Here is script that can run to check for new devices attached to the scsi kernel interface which is used by scsi, USB, Firewire, most Sata, and few others. Rescan Scsi Bus. http://www.garloff.de/kurt/linux/

Brian
 
Old 11-16-2006, 05:37 PM   #3
ocgltd
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Original Poster
Rep: Reputation: 15
The device is not seen at all (so no hd* or sd*). The text I posted above was an excerpt from the syslog. These messages appear upon plug-in of the drive (and never gets as far as associating a device name).

I can tell from bootup that ata[1-6] are my six sata ports however, and ata2 is the second sata port (into which the drive is being plugged).

I think the problem is further down the stack. Any libata experts?

MD
 
Old 11-16-2006, 05:53 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Is it seen if plugged in before turning on the machine?
May not be any support for the Sata Controller.
Are there any permenant sata drives installed? And do they work fine?

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
scan hot plug drives support !! vinay_r99 Linux - Hardware 5 07-08-2008 01:10 AM
volunteers for beta-testing a hot-plug mounter SCerovec Slackware 48 04-26-2007 04:42 AM
USB device hot plug failed sometime raytzer_liao Linux - Hardware 1 06-08-2006 01:31 PM
How to turn off hot plug?? msulik1 Linux - Laptop and Netbook 1 02-07-2006 02:42 PM
USB Hot Plug Problems... reply2vinay Linux - Hardware 1 07-22-2005 09:44 AM


All times are GMT -5. The time now is 09:54 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration