LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-06-2004, 10:00 AM   #1
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Rep: Reputation: 15
Question Scsi bus re-scan


I have an externel tape drive connected to an AHA-2910 Adaptec SCSI controller. If I manage to turn on the tape drive BEFORE linux boots (Mandrake 9.2) it shows up as /dev/st0 (nst0) and all works fine. However, if I fail to do it in time then /dev/st0 disappears. I want to be able to turn on the tape drive, rescan the bus and have /dev/st0 re-appear. How can I do this (short of rebooting linux)?
 
Old 01-06-2004, 06:40 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I tracked down a script to rescan the scsi bus, Verbosely! when fiddling with an iPod:

http://www.clockwatching.net/~fin/ra...an-scsi-bus.sh

Cheers,

Finegan
 
Old 01-07-2004, 10:33 AM   #3
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
I ran the script and it reported my tape drive and IDE cdrom (ide-scsi). Of course, the tape drive had been recognised on last reboot so the script did not add it. I looked at the script and looks like it should do the trick. Next time I need it I'll try it for real.

Thanks.
 
  


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
discovering devices on SCSI BUS vhrao Linux - Enterprise 1 10-19-2004 01:09 AM
How do I scan my pci bus? Thaidog Linux - Newbie 4 08-31-2004 12:11 PM
SCSI bus hang at boot... Thaidog Linux - Hardware 1 08-23-2004 08:09 PM
Re-Scanning a SCSI BUS Crazy Joe Davol Linux - Hardware 6 08-15-2004 12:18 PM
SCSI bus has been reset ...hangs... Thaidog Linux - Newbie 2 02-20-2004 04:06 PM

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

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