Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Force rescan of SCSI bus - FIXED (but poll still active)

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  

Do you still use SCSI devices ?
Yes
80%
 80%  [ 4 ]
No
20%
 20%  [ 1 ]
What's SCSI ?
0%
 0%  [ 0 ]
Total Votes : 5

Author Message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Tue Jun 14, 2005 11:33 am    Post subject: Force rescan of SCSI bus - FIXED (but poll still active) Reply with quote

Hi Folks,

I have a couple of external SCSI devices (scanner + DAT drive) attached to my SuSE 8.2 box. Both work fine. I usually have them turned off when not in use (the DAT drive PSU is quite noisy), but that's OK provided that I have them turned on when I boot the machine - I can then turn them offf when not needed and when I turn them on again they can be used as normal.

However, if I forget to turn them on at boot time (eg yesterday when YAST gave me a kernel update & advised a reboot), they don't appear on the device list.

Is there any way I can force a rescan of the SCSI bus to detect them without rebooting the machine ?

Many thanks,



Nigel.


Last edited by Nigel on Tue Jun 14, 2005 12:24 pm; edited 2 times in total
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Tue Jun 14, 2005 12:09 pm    Post subject: RE: Force rescan of SCSI bus Reply with quote

You could rmmod and modprobe the driver for the SCSI interface.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Tue Jun 14, 2005 12:21 pm    Post subject: RE: Force rescan of SCSI bus Reply with quote

Aha... yes, that seems to do the trick.
Doesn't happen too often (this machine stays up for weeks on end, only being shutdown or rebooted when there's a power cut or a kernel update), so a couple of commands as root will do the job nicely Smile

Many thanks,


Nigel.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Tue Jun 14, 2005 12:53 pm    Post subject: RE: Force rescan of SCSI bus Reply with quote

This is one of the reasons I prefer to compile drivers as modules and not into the kernel.

BTW, anyone who votes no in this poll is wrong, as the question is "Does anyone still use SCSI?", not "Do you still use SCSI?" Very Happy
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7602
Location: Midlands, UK

PostPosted: Tue Jun 14, 2005 7:40 pm    Post subject: RE: Force rescan of SCSI bus Reply with quote

I assumed that the question was posed with the usual degree of literacy seen on the net, and so I answered no. Razz
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Tue Jun 14, 2005 8:11 pm    Post subject: RE: Force rescan of SCSI bus Reply with quote

OK, OK... it's been another one of "those" days.
Yes, I did mean "Do YOU still use SCSI devices" Razz

Now, if one of you clever people would care to tell me how to, I'll amend the wording on the poll...
_________________
Hope this helps,

Nigel.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Tue Jun 14, 2005 9:11 pm    Post subject: Re: RE: Force rescan of SCSI bus Reply with quote

Nigel wrote:
OK, OK... it's been another one of "those" days.
Yes, I did mean "Do YOU still use SCSI devices" Razz


Yes I do, a scanner. Now how about asking everyone else? Razz
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Tue Jun 14, 2005 9:30 pm    Post subject: Re: RE: Force rescan of SCSI bus Reply with quote

nelz wrote:
Now how about asking everyone else? Razz


Well, I'd love to, but as at least one person has now voted I can't change the question.

Quote:
However, if people have already placed votes only moderators or administrators can edit or delete it


So, Nelz, could you alter the question to "Do you still use SCSI devices ?"
Please ?
Pretty Please ?

Very Happy

All the best,

Nigel.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Tue Jun 14, 2005 11:36 pm    Post subject: RE: Re: RE: Force rescan of SCSI bus Reply with quote

I would, if I could find a button to edit the poll Sad
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Tue Jun 14, 2005 11:54 pm    Post subject: Re: RE: Re: RE: Force rescan of SCSI bus Reply with quote

nelz wrote:
I would, if I could find a button to edit the poll Sad


From the FAQ :
Quote:
How do I edit or delete a poll?
As with posts, polls can only be edited by the original poster, a moderator, or board administrator. To edit a poll, click the first post in the topic, which always has the poll associated with it. If no one has cast a vote then users can delete the poll or edit any poll option. However, if people have already placed votes only moderators or administrators can edit or delete it; this is to prevent people rigging polls by changing options mid-way through a poll


I'm guessing you can do it by editing the first post in the thread. Doesn't that make the poll question and options available for editing as well ?
_________________
Hope this helps,

Nigel.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Wed Jun 15, 2005 12:21 am    Post subject: RE: Re: RE: Re: RE: Force rescan of SCSI bus Reply with quote

You mean I need to RTFM? Sad
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Wed Jun 15, 2005 9:53 am    Post subject: Re: RE: Re: RE: Re: RE: Force rescan of SCSI bus Reply with quote

nelz wrote:
You mean I need to RTFM? Sad


I wouldn't dream of suggesting that Wink

Many thanks,


Nigel

To err is human - to really foul things up you need a computer
Back to top
View user's profile Send private message
towy71
Moderator


Joined: Wed Apr 06, 2005 3:11 pm
Posts: 4242
Location: wild West Wales

PostPosted: Wed Jun 15, 2005 12:51 pm    Post subject: Re: RE: Re: RE: Re: RE: Force rescan of SCSI bus Reply with quote

Nigel wrote:
To err is human - to really foul things up you need a computer


Its the combination of the two that leads to most problems!
Of course, the biggest error being between the seat and the keyboard Confused Laughing Cool

Dick
_________________
still looking for that door into summer
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast