Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-20 Thread Alan Stern
On Sun, 19 Sep 2004, David Brownell wrote: > On Saturday 18 September 2004 8:18 pm, Alan Stern wrote: > > > The "known bug" is that when an HCD module is rmmod'ed it doesn't wait for > > all the USB device refcounts to go to 0 -- but when they do a routine in > > the HCD is called to release some

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-19 Thread David Brownell
On Saturday 18 September 2004 8:18 pm, Alan Stern wrote: > The "known bug" is that when an HCD module is rmmod'ed it doesn't wait for > all the USB device refcounts to go to 0 -- but when they do a routine in > the HCD is called to release some memory. That should be nearly fixable now, if it is

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-19 Thread Nix N. Nix
On Sun, 2004-09-19 at 08:31, Alan Stern wrote: > > I think I'll simply kluge it: I'll add a line that says "modprobe > > ehci-hcd" to the script responsible for umounting local file systems > > upon shutdown. *shrug* > > No, don't do that! You'll still have unflushed buffers and lack of a > clea

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-19 Thread Alan Stern
On Sat, 18 Sep 2004, Nix N. Nix wrote: > On Sat, 2004-09-18 at 21:18, Alan Stern wrote: > > The "known bug" is that when an HCD module is rmmod'ed it doesn't wait for > > all the USB device refcounts to go to 0 -- but when they do a routine in > > the HCD is called to release some memory. Of cour

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-18 Thread Nix N. Nix
On Sat, 2004-09-18 at 21:18, Alan Stern wrote: > The "known bug" is that when an HCD module is rmmod'ed it doesn't wait for > all the USB device refcounts to go to 0 -- but when they do a routine in > the HCD is called to release some memory. Of course, if the HCD code has > already been unloaded

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-18 Thread Alan Stern
On Sat, 18 Sep 2004, Nix N. Nix wrote: > Rather, when I mount a partition, it should become impossible > to rmmod ehci_hcd (or uhci_hcd, or whichever host controller the drive > happens to be going through at the time) and all other modules involved > in the access to the file system (such as s

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-18 Thread Pete Zaitcev
On Sat, 18 Sep 2004 15:57:42 -0600 "Nix N. Nix" <[EMAIL PROTECTED]> wrote: > On Sat, 2004-09-18 at 09:10, Alan Stern wrote: > > At any rate, this oops occurs whenever a USB host controller driver is > > unloaded while one of the devices it controls is still open. Your drive > > was still open be

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-18 Thread Nix N. Nix
On Sat, 2004-09-18 at 09:10, Alan Stern wrote: > At any rate, this oops occurs whenever a USB host controller driver is > unloaded while one of the devices it controls is still open. Your drive > was still open because it was mounted, and when the shutdown scripts > unmounted it the oops was tri

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-18 Thread Alan Stern
On Fri, 17 Sep 2004, Nix N. Nix wrote: > Just before the computer is about to start over, there's a crash. The > last message is: > INIT: No more processes left in this runlevel > > > For that matter, how did the kernel panic before when the system > > was going down? > > Before the patch: > sc

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-17 Thread Nix N. Nix
On Fri, 2004-09-17 at 08:12, Alan Stern wrote: > > I just finished rebooting and, unfortunately the kernel panic-ed much as > > it did before when the system was going down. > > > That's not much help to anybody. For one thing it's unclear: Did the > kernel panic just as you finished rebooting or

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-17 Thread Alan Stern
On Thu, 16 Sep 2004, Nix N. Nix wrote: > I have applied the patch, and now I am able to transfer files as large > as 1.4GB to the drive. Nonetheless, messages such as the ones at the > bottom of this mail are still being produced in the syslog. I find the > fact that the messages are mangled - i

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-16 Thread Nix N. Nix
On Thu, 2004-09-16 at 16:06, Nix N. Nix wrote: > I have applied the patch, and now I am able to transfer files as large > as 1.4GB to the drive. I just finished rebooting and, unfortunately the kernel panic-ed much as it did before when the system was going down. Conclusion: Transfers now seem

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-16 Thread Nix N. Nix
On Tue, 2004-09-14 at 11:39, Alan Stern wrote: > Your problem is that the enclosure was made by Genesys Logic. It was only > very recently that we have been able to get their USB-IDE bridges to work > properly at high speed. The necessary changes aren't in 2.6.8.1, but they > are in 2.6.9-rc1.

Re: [linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-14 Thread Alan Stern
On Sun, 12 Sep 2004, Nix N. Nix wrote: > Hi! > > I recently bought a USB drive enclosure and I'm experiencing the > following problem with it: > > When I try writing to it, there's an I/O error after about 600MB, and > the device corresponding to the destination partition (/dev/sda1) > disappear

[linux-usb-devel] usb_storage crash when writing to USB drive.

2004-09-12 Thread Nix N. Nix
Hi! I recently bought a USB drive enclosure and I'm experiencing the following problem with it: When I try writing to it, there's an I/O error after about 600MB, and the device corresponding to the destination partition (/dev/sda1) disappears from /dev. I'm running kernel 2.6.8.1 (vanilla) on an