Re: [linux-usb-devel] Problem changing usb external disk

2003-09-02 Thread Alessandro Fiorino
On Tuesday 26 August 2003 17:18, you wrote: > > Follow the directions in the section "Dynamically insert and remove SCSI > devices" in the SCSI-Programming-HOWTO. If that doesn't help, post > another message. > > Alan Stern Using the /proc/scsi/scsi API works! Why the hotplug script doen's do the

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-27 Thread Alan Cox
On Maw, 2003-08-26 at 16:13, Randy.Dunlap wrote: > Sorry, I don't know what else to do. Maybe someone else can offer > some advice. Would faking the removable media bits in the identify responses have the desired effect ? --- This sf.net emai

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-27 Thread Alan Stern
On Mon, 25 Aug 2003, Alessandro Fiorino wrote: > I have a problem with kernel 2.4.21 and an external usb disk enclousure. > If i plug the enclousure, unplug it, change the hard disk inside it and then > replug it the kernel correctly sees the new partition table, but still sees > the old disk s

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread Randy.Dunlap
On Mon, 25 Aug 2003 12:43:51 +0200 Alessandro Fiorino <[EMAIL PROTECTED]> wrote: | I have a problem with kernel 2.4.21 and an external usb disk enclousure. | If i plug the enclousure, unplug it, change the hard disk inside it and then | replug it the kernel correctly sees the new partition table

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread Randy.Dunlap
On Tue, 26 Aug 2003 17:03:00 +0200 Alessandro Fiorino <[EMAIL PROTECTED]> wrote: | On Tuesday 26 August 2003 16:21, you wrote: | > I'm guessing that you 'umount' the drive, e.g., 'umount /dev/sdb'? | > After that, also enter 'eject /dev/sdb'. | | I have tried, but it says | | eject: unable to

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread Matthew Dharm
On Tue, Aug 26, 2003 at 05:03:00PM +0200, Alessandro Fiorino wrote: > On Tuesday 26 August 2003 16:21, you wrote: > > I'm guessing that you 'umount' the drive, e.g., 'umount /dev/sdb'? > > After that, also enter 'eject /dev/sdb'. > > I have tried, but it says > > eject: unable to eject, last er

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread James Courtier-Dutton
Alessandro Fiorino wrote: I have a problem with kernel 2.4.21 and an external usb disk enclousure. If i plug the enclousure, unplug it, change the hard disk inside it and then replug it the kernel correctly sees the new partition table, but still sees the old disk size. I'm doing something wrong

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread Alessandro Fiorino
On Tuesday 26 August 2003 14:38, you wrote: > Did you unmount the disk before you unplug it? Yes. The problem happens also if i never mount the disk and just use fdisk to look at the partition table. As I already said, the partition table is correctly refreshed, only the disk size is kept from

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread Alessandro Fiorino
On Tuesday 26 August 2003 16:21, you wrote: > I'm guessing that you 'umount' the drive, e.g., 'umount /dev/sdb'? > After that, also enter 'eject /dev/sdb'. I have tried, but it says eject: unable to eject, last error: Invalid argument --- T

[linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread Alessandro Fiorino
I have a problem with kernel 2.4.21 and an external usb disk enclousure. If i plug the enclousure, unplug it, change the hard disk inside it and then replug it the kernel correctly sees the new partition table, but still sees the old disk size. I'm doing something wrong or is it a bug? Thanks!