LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2010, 07:34 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
force detect hardware


after I reboot the server , I found that there is hardware is not detected , I tried to use the command "kudzu" , but still not work , can advise how can I force detect hardware ? thx
 
Old 06-07-2010, 09:37 AM   #2
g33ky
Member
 
Registered: Jun 2010
Location: France
Distribution: openSUSE 11.2, (B)LFS, Mepis, Linux Mint 9
Posts: 30

Rep: Reputation: 17
Hello Elaine,

If the modules doesn't loads, or the systems doesn't detects any previously added peripheral, you may try to :

1#
Code:
/etc/init.d/kudzu start
2# halt the system properly (halt command...)
3# unplug the card/equipment and re-plug it in another bus
4# power on your server

Then, could you tell me if the kudzu auto-configuration assistant loads up (don't forget to press 'i' when booting up) ?

g33ky

BTW, which version of RHEL (or Fedora) are you running ? Thx

Last edited by g33ky; 06-07-2010 at 09:39 AM.
 
Old 06-07-2010, 09:47 AM   #3
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by g33ky View Post
Hello Elaine,

If the modules doesn't loads, or the systems doesn't detects any previously added peripheral, you may try to :

1#
Code:
/etc/init.d/kudzu start
2# halt the system properly (halt command...)
3# unplug the card/equipment and re-plug it in another bus
4# power on your server

Then, could you tell me if the kudzu auto-configuration assistant loads up (don't forget to press 'i' when booting up) ?

g33ky

BTW, which version of RHEL (or Fedora) are you running ? Thx

thx reply ,

but what I want is just not reboot the system again , I would like to force to rescan the device .

Thx
 
Old 06-07-2010, 10:32 AM   #4
g33ky
Member
 
Registered: Jun 2010
Location: France
Distribution: openSUSE 11.2, (B)LFS, Mepis, Linux Mint 9
Posts: 30

Rep: Reputation: 17
Ok,

Can you tell me what kind of hardware do you want to be found by the system ? Any HBA, ethernet card, SCSI equipment or other ?

It would be perfect if could give me the kind, manufacturer, and product type of the card. So that I could give you the precise command to reload the driver stack.

But if you feel a little ninja, this is the path to follow :

For example, to force a rescan for a QLogic HBA :
Code:
 # echo "scsi-qlascan" > /proc/scsi/<driver-name>/<adapter-id>
Where:
- <driver-name> = qla2100, qla2200, qla2300 (2.4 kernel drivers) or qla2xxx (2.6 kernel drivers)
- <adapter-id> = the instance number of the HBA

Then, you have to force the 'mid-layer' to rebuild the node entry table :

Code:
 # echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
Where:
- "0 1 2 3" = your "Host Channel ID LUN"

That's it. Don't forget to give me the details if you want me to help you a little bit more.

Thanx,


g33ky
 
Old 05-28-2011, 06:43 AM   #5
calande
Member
 
Registered: Oct 2005
Distribution: Urubu
Posts: 161

Rep: Reputation: 15
How could I force my computer to scan wifi dongles at boot up? I have to unplug and plug the dongle back in to get detected at every boot up...
Thanks,
 
  


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
driver for a non-commercial hardware (force feedback wheel) Stas1983 Linux - Hardware 0 05-15-2009 06:31 AM
detect hardware ust Linux - Newbie 1 11-17-2008 02:05 AM
force a usb driver onto a unsupported hardware dukeinlondon Linux - Hardware 1 12-29-2005 05:01 PM
Force Linux to NOT detect hardware?? sos20 Mandriva 2 10-07-2004 04:48 PM
How to detect hardware hotrodowner Linux - Hardware 1 06-11-2002 11:57 AM


All times are GMT -5. The time now is 03:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration