On Fri, 2004-06-04 at 13:57, Brad Parker wrote:
> 
> Pete Zaitcev wrote:
> >On 03 Jun 2004 13:05:01 -0700
> >David Meggy <[EMAIL PROTECTED]> wrote:
> >
> >> When the 1st device is plugged in it will receive /dev/sda, and the
> >> second device will receive /dev/sdb.  If I were to unplug the first
> ...
> >AFAIK, 2.4 never frees host structures. It only makes sure they are
> >reused when you plug the first device back.
> 
> I'm seeing a bug in 2.4.22 and 2.4.23 where 
> 
> - plug in usb disk "stick" #1; mount, works fine, unmount
> - remove usb disk "stick" #1
> - insert usb disk "stick" #2
> - device is recognized, kernel printk's look good
> - mount fails, fdisk fails, i/o errors reading device
> - remove  usb disk "stick" #2
> - insert  usb disk "stick" #1, mount, works fine, unmount
> 
> Note that this recipe is not disk dependent.  Basically the first disk
> works forever and no other disk will ever work (until I reboot).
> 
> Is this a known bug?
> 
> I found the problem is host controller independant.
> 
> I diff'd 2.4.22 and 2.4.26 and there does not seem to be a fix for this.
> Just thought I'd ask before I dove into it...
> 
> I noticed some reports of this on other lists with "just rmmod/insmod
> usb storage" as the solution :-(
> 
> -brad

I don't know your level of knowledge of Linux, but its best to go over
simple things first.  Sometimes it is best to just cut and paste what
you typed on the command line.  The reason I came up with my original
question is that I had a customer that didn't realize that the different
mass storage devices kept getting higher scsi device numbers.  They were
trying to use the same entry in the fstab file which of course didn't
work.  Just verifying that you aren't trying to use /dev/sda when it
doesn't exist anymore and /dev/sdb is where you should be looking.

David

-- 
~~~~~~~~~~~~~~~~~~~~~~~~
     David Meggy
     Engineering

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
     www.techsol.ca

eMail: [EMAIL PROTECTED]
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to