Re: [Patch] Fix oops on rmmod usb-storage

From: Alan Cox (alan_at_lxorguk.ukuu.org.uk)
Date: 09/29/04

  • Next message: Andrea Arcangeli: "Re: heap-stack-gap for 2.6"
    To: James Bottomley <James.Bottomley@SteelEye.com>
    Date:	Wed, 29 Sep 2004 14:17:58 +0100
    
    

    On Mer, 2004-09-29 at 14:56, James Bottomley wrote:
    > The key to the solution of this problem is to know what USB is trying to
    > do with the dead device. SCSI is trying to be polite and explicitly
    > kill the outstanding commands before it removes the HBA. Presumably USB
    > is returning something that says this can't be done so the EH gets all
    > the way up to offlining.

    Its nothing to do with USB, rmmod with eh running crashes all the other
    SCSI drivers I've tested too. After the state transition fails you get
    kobject related errors and a crash.

    That makes me suspect whatever is ill is in the scsi core.

    Alan

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Andrea Arcangeli: "Re: heap-stack-gap for 2.6"

    Relevant Pages

    • PROBLEM: SCSI failure resulting in kernel panic
      ... SCSI failure resulting in kernel panic ... scsi0:A:3:0: Target did not send an IDENTITY message. ... the usb messages near the end originate from a USB CF-card ... CPU: Trace cache: 12K uops, ...
      (Linux-Kernel)
    • Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
      ... so could you please enlighten the Linux people and say in a couple ... > binding of the unique ids for iSCSI, the hotplug infrastructure for usb ... SCSI drives, a couple of flash card slots mapped to SCSI, and a USB ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: What still uses the block layer?
      ... often _only_ be used by going through the SCSI midlayer. ... That's because modern USB, ATAPI, SATA ... As far as I can tell the hard drives do not have serial numbers easily ...
      (Linux-Kernel)
    • RE: Mysterious mouse/keyboard lockup
      ... I finally was able to have my mouse recognized on the USB port, ... something to do with the way my SCSI systems are set up. ... legacy channel of the aic7892 SCSI on my motherboard. ...
      (microsoft.public.win2000.general)
    • Re: 2.6.4: disabling SCSI support not possible
      ... > de-select SCSI for no obvious reason. ... off SCSI, you leave it on, which you need to make USB storage work. ... non-working config is a lot more of a problem. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)