RE: Cannot Recognise External Drive (sbp2 problem?) -- SOLVED

From: Christopher Mc Carthy <cmccarthy_at_gltrade.com>
Date: Tue 14 Oct 2003 - 17:17:11 CEST
Message-ID: <00e601c39266$3d747e30$27021cac@pccmcarthy>

I've now succeeded in recognising my drive. After sending my first post I
understood why I got the errors - I was not executing rescan-scsi-bus.sh as
root - I thought I already was root :( Unfortunately running
rescan-scsi-bus.sh was not enough (i.e. no change). So I followed the
pointers in the FAQ ("My FireWire hardisk/CD-ROM/DVD-Recorder is not
recognized. Now what?"):

1. executed "modprobe -r sbp2", "modprobe sbp2" and looked in
/var/log/messages ("cat /var/log/messages" and "tail /var/log/messages") but
didn't find anything.
2. unloaded all 1394 modules (specifically sbp2, ohci1394, raw1394 and
ieee1394, in that order).
3. ran the command modprobe ohci1394 && modprobe sbp2
3. rescanned the bus once more

root@0[Desktop]# ./rescan-scsi-bus.sh
Host adapter 0 (ide-scsi) found.
Host adapter 2 (sbp2_0) found.
Scanning hosts 0 2 channels 0 for
 SCSI target IDs 0 1 2 3 4 5 6 7 , LUNs 0
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: TOSHIBA Model: CD-ROM XM-1802B Rev: 1119
      Type: CD-ROM ANSI SCSI revision: 02
Scanning for device 2 0 0 0 ...
NEW: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: Maxtor Model: 1394 storage Rev: 60
      Type: Direct-Access ANSI SCSI revision: 02
1 new device(s) found.
0 device(s) removed.
root@0[Desktop]#

Thanks everyone, especially Stefan. Now I know what I have to do, but is
there an easy way to automate this process? Is it just a matter of creating
a script that performs all the commands (unload modules, modprobe the two
modules, rescan bus, mount drives) I performed above? Are there any
superfluous steps?

Chris

>-----Original Message-----
>From: Christopher Mc Carthy [mailto:cmccarthy@gltrade.com]
>Sent: 14 October 2003 11:19
>To: 'linux1394-user@lists.sourceforge.net'
>Cc: 'Stefan Richter'
>Subject: RE: Cannot Recognise External Drive (sbp2 problem?)
>
>
>>From: Stefan Richter [mailto:stefanr@s5r6.in-berlin.de]
>>
>>You use 1394 drivers of Rev. 1010, which is the same revision as
>>in the original kernel 2.4.22 from kernel.org.
>>
>>The sbp2 driver recognized the drive and logged in into it.
>>
>>Now you have to run rescan-scsi-bus.sh to make the scsi driver
>>aware of the new "scsi" harddisk. (This step was not necessary in
>>older kernels under certain circumstances, which is why it may
>>have worked for you without that script in an older Knoppix
>>version.)
>>
>>I really think it is just the missing rescan. (This is mentioned
>>in the FAQ and the sbp2 documentation at www.linux1394.org BTW.)
>
>Thanks for the help. I have looked at the FAQ/documentation a
>number of times, but obviously not close enough the last time
>- sorry about that.
>
>I downloaded a copy of the rescan-scsi-bus.sh, made it
>executable and then ran it from a prompt. Still no go - here
>are the results:
>
>knoppix@ttyp0[Desktop]$ rescan-scsi-bus.sh
>Host adapter 0 (ide-scsi) found.
>Host adapter 2 (sbp2_0) found.
>Scanning hosts 0 2 channels 0 for
> SCSI target IDs 0 1 2 3 4 5 6 7 , LUNs 0
>Scanning for device 0 0 0 0 ...
>OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: TOSHIBA Model: CD-ROM XM-1802B Rev: 1119
> Type: CD-ROM ANSI SCSI revision: 02
>Scanning for device 0 0 1 0 ...
>Scanning for device 0 0 2 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 0 0 3 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 0 0 4 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 0 0 5 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 0 0 6 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 0 0 7 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 0 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 1 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 2 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 3 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 4 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 5 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 6 0 ... 80: /proc/scsi/scsi: Permission denied
>Scanning for device 2 0 7 0 ... 80: /proc/scsi/scsi: Permission denied
>0 new device(s) found. proc/scsi/scsi: Permission denied
>0 device(s) removed.
>
>Can anyone suggest what I should try next?
>
>Thanks for you help.
>
>Christopher
>

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Tue Oct 14 17:36:29 2003

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:44 CEST