LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-27-2006, 02:54 PM   #1
Apace
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
hot-plug issue with centos4.4 and fedora 6


I encountered same hot-plug issue on Centos 4.4 (2.6.9) and Fedora 6 (2.6.18).

8 SATA drives is connected to Supermicro 8-port SATA Card. When I hot remove (yank out) any of the drive (assume drive failed) Linux does not detect the drive has been removed. If I fdisk the removed drive, Centos terminal still shows the drive's partitions whereas Fedora 6 terminal hangs.

And when I put the drive back, both Centos and Fedora do not detect the drive.

Is there a way to let linux manually check if the sata drive is hot removed and hot added?


Motherboard: Tyan S2882-D Thunder K8SD Pro
CPU: Dual core Opteron 248
MBA: Supermicro 8-port SATA (AOC-SAT2-MV8) Chipset: Marvell 88SX6081
RAM: 2x1GB registered ECC


Thank you!
 
Old 11-27-2006, 03:04 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
does this quote from slackbasics.org help at all?
Quote:
By default, the hotplug scripts log at the notice level. The standard syslog configuration on Slackware Linux does not log this. To debug hotplugging scripts, it is best to change the logging level. You can do this by replacing the following line in /etc/hotplug/hotplug.functions:


$LOGGER -t $(basename $0)"[$$]" "$@"

to:


$LOGGER -p user.info -t $(basename $0)"[$$]" "$@"

After this change hotplug debug messages will be visible in /var/log/messages.
 
Old 11-27-2006, 06:05 PM   #3
Apace
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you nadroj,

I changed the script and haven't see the difference in how the logger logs the message. But I do notice when I hot remove a drive, the kernel creats a log.

e.g. when I hot remove the 8th SATA drive, messages will log "kernel: ata8: no device found (phy stat 00000000)"
 
  


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
Hot plug sata causes error in 2.6.18 (FC6) ocgltd Linux - Hardware 3 11-16-2006 04:53 PM
GLX / CentOS4 Issue riluve Linux - Software 5 10-11-2006 08:40 PM
USB device hot plug failed sometime raytzer_liao Linux - Hardware 1 06-08-2006 12:31 PM
How to turn off hot plug?? msulik1 Linux - Laptop and Netbook 1 02-07-2006 01:42 PM
USB Hot Plug Problems... reply2vinay Linux - Hardware 1 07-22-2005 08:44 AM


All times are GMT -5. The time now is 10:44 AM.

Main Menu
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