On Fri, 6 Sep 2002, Jacek Pliszka wrote:
> 2. In 2.5.33 after modprobe ehci-hcd (device is connected) I am getting:
>
> PCI: Found IRQ 10 for device 01:0b.2
> PCI: Sharing IRQ 10 with 00:1f.3
> PCI: Sharing IRQ 10 with 01:09.0
> hcd-pci.c: ehci-hcd @ 01:0b.2, NEC Corporation USB 2.0
> hcd-pci.c: irq 10, pci mem c8938c00
> hcd.c: new USB bus registered, assigned bus number 1
> ehci-hcd.c: USB 2.0 support enabled, EHCI rev 0.95
> hub.c: USB hub found at 0
> hub.c: 5 ports detected
> hub.c: new USB device 01:0b.2-2, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
> kernel BUG at scsiglue.c:150!
> invalid operand: 0000
> CPU: 0
> EIP: 0060:[<c892319c>] Not tainted
> EFLAGS: 00013006
> eax: 00000003 ebx: c593bf2c ecx: c5ddd200 edx: c5ddd800
> esi: 00003286 edi: c5ddd200 ebp: c5dddc00 esp: c593bf00
> ds: 0068 es: 0068 ss: 0068
> Process scsi_eh_0 (pid: 1236, threadinfo=c593a000 task=c76c4100)
> Stack: c8831ce8 c5ddd200 c88317e0 00000000 00000000 00000000 c593bf38
> c593bf38
> c76c4100 00000000 c02af180 00000000 00000000 00000000 c593bf38
> c593bf38
> c593bf58 c011236e c593bfcc c5ddd200 c5ddd258 00000000 00000000
> c8831b45
> Call Trace: [<c8831ce8>] [<c88317e0>] [<c011236e>] [<c8831b45>]
> [<c8832475>]
> [<c8832b36>] [<c0107238>] [<c8832a60>] [<c01055a5>]
>
> Code: 0f 0b 96 00 c8 d6 92 c8 8b 82 24 01 00 00 85 c0 74 08 0f 0b
>
> Br,
>
> Jacek
It looks like you might be the victim of a bug that I just fixed. The
patch is included below (line numbers might be off slightly).
Alan Stern
--- linux/drivers/usb/storage/transport.c.old Wed Sep 4 10:01:15 2002
+++ linux/drivers/usb/storage/transport.c Wed Sep 4 10:02:51 2002
@@ -880,6 +880,9 @@
usb_stor_CBI_irq(us->irq_urb);
}
+ /* Wait for the aborted command to finish */
+ wait_for_completion(&us->notify);
+
/* Reacquire the lock */
scsi_lock(us->srb->host);
}
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users