Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-02 Thread Alan Stern
On Wed, 1 Aug 2007, Alan Stern wrote: Okay, good work. Thanks to your careful experiments, plus the hints from Oliver and Tejun, I figured out the problem. In short, the attribute files were registered on the control interface but the driver tried to delete them from the data interface.

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-02 Thread Oliver Neukum
Am Donnerstag 02 August 2007 schrieb Alan Stern: On Wed, 1 Aug 2007, Alan Stern wrote: Okay, good work.  Thanks to your careful experiments, plus the hints from Oliver and Tejun, I figured out the problem.  In short, the attribute files were registered on the control interface but the

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-02 Thread A. Kalten
On Thu, 2 Aug 2007 10:42:14 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: And here it is. You can remove the earlier diagnostic patches; this one by itself should fix everything. This solves the problem. I can load and unload the modules without any error. Thanks to all for your

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-01 Thread Alan Stern
On Tue, 31 Jul 2007, A. Kalten wrote: The kernel 2.6.22 was patched and recompiled. It shouldn't make a difference but the problem occurs only if I load the modules _before_ plugging in the external modem. If I load the modules _after_ plugging in the modem, the problem disappears. (At

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-01 Thread A. Kalten
On Wed, 1 Aug 2007 11:55:25 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: This shouldn't make any difference. Your later message was self-contradictory; you wrote that the oops occurred only if the modules were loaded before the modem was plugged in, and that it also occurred if the

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-01 Thread Alan Stern
On Wed, 1 Aug 2007, A. Kalten wrote: On Wed, 1 Aug 2007 11:55:25 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: This shouldn't make any difference. Your later message was self-contradictory; you wrote that the oops occurred only if the modules were loaded before the modem was

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-01 Thread A. Kalten
On Wed, 1 Aug 2007 17:19:34 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: There's some useful information here but still not enough. I've got a third patch for you to add in; hopefully we are zeroing in on the correct spot. For this test you don't have to run the non-oopsing scenarios.

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-08-01 Thread Alan Stern
On Wed, 1 Aug 2007, A. Kalten wrote: The patch was applied (along with the previous two patches) and 2.6.22 was recompiled. Then after a reboot, I performed the same sequence to generate the oops: modprobe uhci-hcd modprobe cdc-acm mount -t usbfs none /proc/bus/usb Plug in external

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Alan Stern
On Mon, 30 Jul 2007, A. Kalten wrote: On Mon, 30 Jul 2007 18:09:23 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: Does this patch help? http://article.gmane.org/gmane.linux.kernel/556682/raw I cannot apply that patch to the 2.6.22 source: [linux-2.6.22]# patch -p1

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 10:22:42 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: That patch is meant for 2.6.23-rc1. Can you try running 2.6.23-rc1 plus the patch and see if together they fix the problem? The patch is already applied to 2.6.23-rc1. But after compiling 2.6.23-rc1 and

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, A. Kalten wrote: On Tue, 31 Jul 2007 13:00:38 -0400 A. Kalten [EMAIL PROTECTED] wrote: But after compiling 2.6.23-rc1 and undergoing the same steps with the usb modem as before, the problem remains. The only difference is that the command rmmod uhci-hcd now

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 13:00:38 -0400 A. Kalten [EMAIL PROTECTED] wrote: But after compiling 2.6.23-rc1 and undergoing the same steps with the usb modem as before, the problem remains. The only difference is that the command rmmod uhci-hcd now reports the message Killed instead of Device busy.

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 13:35:54 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: Hmmm. So if you stop before the modprobe cdc-acm step there's no trouble with rmmod uhcd-hcd. What about if you do load cdc-acm but don't run the fax program? Here are some variations. I plug in the external

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Oliver Neukum
Am Dienstag 31 Juli 2007 schrieb A. Kalten: On Tue, 31 Jul 2007 13:00:38 -0400 A. Kalten [EMAIL PROTECTED] wrote: But after compiling 2.6.23-rc1 and undergoing the same steps with the usb modem as before, the problem remains.  The only difference is that the command rmmod uhci-hcd now

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, Oliver Neukum wrote: Am Dienstag 31 Juli 2007 schrieb A. Kalten: On Tue, 31 Jul 2007 13:00:38 -0400 A. Kalten [EMAIL PROTECTED] wrote: But after compiling 2.6.23-rc1 and undergoing the same steps with the usb modem as before, the problem remains.  The only

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 16:27:51 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: Here's a diagnotic patch to try under 2.6.22. It should add some interesting information to the kernel log, starting from the point where the modem gets plugged in. The kernel 2.6.22 was patched and recompiled.

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 16:27:51 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: Here's a diagnotic patch to try under 2.6.22. It should add some interesting information to the kernel log, starting from the point where the modem gets plugged in. The error occurs only if the modules are

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Oliver Neukum
Am Dienstag 31 Juli 2007 schrieb Alan Stern: For whatever it's worth.I should point out that this problem only occurs when using the USB Abstract Control Model driver for USB modems (i.e. the cdc_acm module).  When using my USB scanner or USB printer I can unload the uhci-hcd module

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-30 Thread Gabriel C
A. Kalten wrote: [ added usb peoples to CC ] Hello, To send a fax using an external usb modem, I do the following: modprobe uhci-hcd modprobe cdc-acm mount -t usbfs none /proc/bus/usb Then I send the fax. However, when I attempt to unload the modules by reversing the above steps,

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-30 Thread Alan Stern
On Mon, 30 Jul 2007, Gabriel C wrote: A. Kalten wrote: [ added usb peoples to CC ] Hello, To send a fax using an external usb modem, I do the following: modprobe uhci-hcd modprobe cdc-acm mount -t usbfs none /proc/bus/usb Then I send the fax. However, when I attempt to

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-30 Thread A. Kalten
On Mon, 30 Jul 2007 18:09:23 -0400 (EDT) Alan Stern [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007, Gabriel C wrote: A. Kalten wrote: [ added usb peoples to CC ] Hello, To send a fax using an external usb modem, I do the following: modprobe uhci-hcd modprobe cdc-acm