LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-21-2007, 02:50 PM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
scsi_eh_[0-7] processes


Code:
ps aux | grep scsi
returns:
Quote:
root 379 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_0]
root 380 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_1]
root 383 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_2]
root 384 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_3]
root 385 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_4]
root 388 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_5]
root 389 0.0 0.0 0 0 ? S< Aug20 0:05 [scsi_eh_6]
root 392 0.0 0.0 0 0 ? S< Aug20 0:00 [scsi_eh_7]
I googled scsi_eh - it is "SCSI Error Handler." I take it that this is bad. How do I get information on the "errors" that are likely present?
 
Old 08-22-2007, 12:29 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
no it isn't.

may I guess you've got 8 scsi disks in you system ?
 
Old 08-22-2007, 12:30 PM   #3
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Code:
no it isn't.
Praytell then - what!

Quote:
may I guess you've got 8 scsi disks in you system ?
Hell, even I thought that after seeing the running processes. But no, I have 4 SATA ("scsi") disks. Perhaps each has two processes.
 
Old 08-22-2007, 04:14 PM   #4
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
we've got 2 machines here:

a) 3 sata disks + 1 sata raid (shows up as one disk) + 2 software raid devices = 6 block devices
this machine has a total of 6 scsi_eh threads.

b) 2 raids = 2 block devices. 2 scsi_eh threads.

so it seams reasonable to assume that each disk gets one scsi_eh thread.

Last edited by rtspitz; 08-22-2007 at 04:15 PM.
 
Old 08-22-2007, 04:39 PM   #5
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
forget that crap ;-)

if you have a look at /var/log/boot.msg you can see how many scsi channels are found.
each of those gets one scsi_eh thread. so maybe you have 8 sata ports ?
 
Old 08-22-2007, 09:33 PM   #6
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Aha!

Code:
[jameson@sage ~]$ cat /var/log/dmesg  | egrep scsi[0-9]+\ :
scsi0 : sata_via
scsi1 : sata_via
scsi2 : sata_promise
scsi3 : sata_promise
scsi4 : sata_promise
scsi5 : pata_via
scsi6 : pata_via
scsi7 : SCSI emulation for USB Mass Storage devices
 
  


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
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-02-2007 11:52 PM
How many processes does everyone have? Furlinastis Slackware 22 09-26-2005 02:53 AM
what do these processes do? sdat1333 Fedora 2 11-26-2004 08:40 PM
too many processes linus123 Linux - Distributions 1 11-16-2004 05:30 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM

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

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