usb/scsi mystery

Tony Alfrey tonyalfrey
Mon May 17 11:39:33 PDT 2004


On Tuesday 29 October 2002 05:32 am,Ben Duncan wrote:
> Yuuuupppp ... try mounting it with a /dev/sde1 .......
>
> A quick Look into /var/log/messages will show the device when/where
> it is plugged in.
>
> Gesssss ..... this is getting scary ..... I am getting to know a
> little about linux ....

No go.  (tried both ways earlier.  When it does work with 3 drives, 
mounts as sdd1) The device sde1 does not exist in /dev/~, only 
/dev/sde.  If mounted as sde1, the message is that the device does not 
exist.  If mounted as sde, it "tries" to mount (recognizes that it is 
read-only) and then barfs.  This may be near the solution to the 
problem;  why are there pleny of device number ("partitions") for sda, 
sdb, sdc, but not for any other SCSI device sde or higher in /dev/?

BTW, /var/log/messages is below

Oct 28 19:36:30 noname kernel: usb.c: registered new driver usb-storage 
Oct 28 19:36:30 noname kernel: scsi3 : SCSI emulation for USB Mass 
Storage devices
Oct 28 19:36:30 noname kernel: scsi : 4 hosts.
Oct 28 19:36:30 noname kernel: usb-uhci.c: interrupt, status 3, frame# 
1349
Oct 28 19:36:30 noname kernel:   Vendor: eUSB      Model: Compact Flash 
    Rev:
Oct 28 19:36:30 noname kernel:   Type:   Direct-Access                  
    ANSI SCSI revision: 02
Oct 28 19:36:30 noname kernel: Detected scsi removable disk sde at 
scsi3, channel 0, id 0, lun 0
Oct 28 19:36:31 noname kernel: SCSI device sde: hdwr sector= 512 bytes. 
Sectors= 62720 [30 MB] [0.0 GB]
Oct 28 19:36:31 noname kernel: usb-uhci.c: interrupt, status 3, frame# 
2015
Oct 28 19:36:31 noname kernel: sde: test WP failed, assume Write 
Protected
Oct 28 19:36:31 noname kernel:  sde:<7>usb-storage: queuecommand() 
called
Oct 28 19:36:31 noname kernel:  sde1
.
>
> Tony Alfrey wrote:
> > OK, here's the wierdness of the week award.
> >
> > My box is all SCSI and has as many as 4 SCSI drives and a USB port
> > for my CompactFlash reader.
> > If I hook up 3 SCSI drives, the USB device (the CompactFlash
> > reader) appears as sdd and is easily mounted.  It appears properly
> > on cat /proc/scsi/scsi and
> > cat /proc/bus/usb/devices  and
> > fdisk -l
> > with a vfat filesystem
> >
> > Now I plug in the 4th SCSI drive, reboot and the USB device appears
> > as sde like it's supposed to, same messages as above (except it's
> > now sde).  But trying to mount it gives the typical "bad
> > superblocks or wrong filesystem type" message and dmesg gives
> >
> > fatfs: bogus cluster size
> > VFS: Can't find a valid MSDOS filesystem on dev 08:40.
> >
> > Any SCSI/usb experts have a clue here??
> > Thanks very much in advance.

-- 
Tony Alfrey
tonyalfrey at earthlink.net
"I'd rather be sailing"


More information about the Linux-users mailing list