On Thursday 03 July 2003 01:04, you wrote:
Thanks Bruce for your patients
On Wednesday 02 July 2003 12:40, Bruce Marshall wrote:
On Wednesday 02 July 2003 19:44, Bill Wisse wrote:
On Wednesday 02 July 2003 11:07, Bruce Marshall wrote:
On Wednesday 02 July 2003 16:55, Bill Wisse wrote:
Hi Bruce
On Wednesday 02 July 2003 08:58, Bruce Marshall wrote:
On Wednesday 02 July 2003 16:00, Bill Wisse wrote: > Hi Patrick, I'm back again. > > On Tuesday 01 July 2003 15:02, Patrick Shanahan wrote: > > * Bill Wisse
[07-01-03 20:38]: > > > On Tuesday 01 July 2003 13:28, Patrick Shanahan wrote: > > > > [snip ...] > > > > > > > > Finally, if no positive results, > > > > cat /proc/scsi/scsi > > > > and provide the results here. > > > > > > Attached devices: > > > Host: scsi1 Channel: 00 Id: 00 Lun: 00 > > > Vendor: OEI-USB Model: CompactFlash Rev: 1.01 > > > Type: Direct-Access ANSI SCSI > > > revision: 02 > > > > Ok, system is recognizing the card-reader. I guess what's > > left is manually mounting. > > > > add to /etc/fstab: > > /dev/sda1 /media/sda1 auto noauto,user,exec 0 0 > > > > then: > > mount /dev/sda1 /media/sda1 Isn't your CD showing as being on scsi0 lun 0 = sda1
Try mounting a CD
Yes, I have a cd /writer on scsi0 lun 00 Then I have the compactflash on scsi1 lun 00 and then there is my printer connected ( although it doesn't show up as such in cat /proc ) on scsi1 lun 01
> result is : mount : you must specify the filesystem type > The same result when I change it to sdb1.
Did you have a CF card in the unit when you tried this? The message you got indicates it at least would like to mount it.
I had the SD card in the reader.
and try: mount -t vfat /dev/sdb1 /media/<whatever>
result: Password:
1) And I have told you that only the Compact Flash is showing and that you may have to try the commands in my script in order to get the other devices to show. As it was, you didn't have a CF card in the device and you tried to mount the CF card.
here is the reult billy@linux:~> su Password: linux:/home/billy # cd /bin sh linux:/bin # echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi linux:/bin # echo "scsi add-single-device 0 0 0 1" > /proc/scsi/scsi linux:/bin # echo "scsi add-single-device 0 0 0 2" > /proc/scsi/scsi linux:/bin # echo "scsi add-single-device 0 0 0 3" > /proc/scsi/scsi linux:/bin # /
Ok, try again.... one more tyme.... and as I said before "change the first 0 in the commands above to be a 1 instead of a 0"
The above commands are pointing at scsi0 controller and they need to point to scsi1.
(it's good to think about these things and learn rather than blindly following instructions)
If you look at what cat /proc/scsi/scsi is showing you:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
do the math: scsi(1) chan: (00) Id: (00) Lun (00)
needs to correspond with the commands I gave you. In this case:
linux:/bin # echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi
result
billy@linux:~> su Password: linux:/home/billy # echo "scsi add-single-device 1 0 0 5" > /proc/scsi/scsi linux:/home/billy # echo "scsi add-single-device 1 0 0 4" > /proc/scsi/scsi linux:/home/billy # echo "scsi add-single-device 1 0 0 3" > /proc/scsi/scsi linux:/home/billy # echo "scsi add-single-device 1 0 0 2" > /proc/scsi/scsi linux:/home/billy # echo "scsi add-single-device 1 0 0 1" > /proc/scsi/scsi linux:/home/billy # echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi linux:/home/billy # cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: CD-Writer+ 9300 Rev: 1.0c Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: OEI-USB Model: CompactFlash Rev: 1.01 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 01 Vendor: OEI-USB Model: SM/MS/SD Rev: 1.01 Type: Direct-Access ANSI SCSI revision: 02 linux:/home/billy #
/bill
Ok, I assume you did the above from a 'fresh start' (reboot) just to eliminate any farkles that may have happened by plugging or unplugging. And if the SM/MS/MD device is your printer, I would try it without that just to see if that is affecting the situation. I don't see why that should show up as LUN 1 when really it should show up as ID 1.